bool is one of the built in, standard types in C++, there's no need for a typedef for it.
Showing the changes to codec/decoder/core/src/au_parser.cpp (1 of 82 files). Show all
Unified · Split
| @@ -108,7 +108,7 @@ uint8_t* ParseNalHeader (PWelsDecoderContext pCtx, SNalUnitHeader* pNalUnitHeade · 107 unmodified lines | ||
| 108 | 108 | uint8_t* pNal = pSrcRbsp; |
| 109 | 109 | int32_t iNalSize = iSrcRbspLen; |
| 110 | 110 | PBitStringAux pBs = NULL; |
| 111 | − bool_t bExtensionFlag = false; | |
| 111 | + bool bExtensionFlag = false; | |
| 112 | 112 | int32_t iErr = ERR_NONE; |
| 113 | 113 | int32_t iBitSize = 0; |
| 114 | 114 | |
| @@ -362,7 +362,7 @@ uint8_t* ParseNalHeader (PWelsDecoderContext pCtx, SNalUnitHeader* pNalUnitHeade · 247 unmodified lines | ||
| 362 | 362 | } |
| 363 | 363 | |
| 364 | 364 | |
| 365 | −bool_t CheckAccessUnitBoundaryExt (PNalUnitHeaderExt pLastNalHdrExt, PNalUnitHeaderExt pCurNalHeaderExt, | |
| 365 | +bool CheckAccessUnitBoundaryExt (PNalUnitHeaderExt pLastNalHdrExt, PNalUnitHeaderExt pCurNalHeaderExt, | |
| 366 | 366 | PSliceHeader pLastSliceHeader, PSliceHeader pCurSliceHeader) { |
| 367 | 367 | const PSps kpSps = pCurSliceHeader->pSps; |
| 368 | 368 | |
| @@ -421,7 +421,7 @@ bool_t CheckAccessUnitBoundaryExt (PNalUnitHeaderExt pLastNalHdrExt, PNalUnitHea · 52 unmodified lines | ||
| 421 | 421 | } |
| 422 | 422 | |
| 423 | 423 | |
| 424 | −bool_t CheckAccessUnitBoundary (const PNalUnit kpCurNal, const PNalUnit kpLastNal, const PSps kpSps) { | |
| 424 | +bool CheckAccessUnitBoundary (const PNalUnit kpCurNal, const PNalUnit kpLastNal, const PSps kpSps) { | |
| 425 | 425 | const PNalUnitHeaderExt kpLastNalHeaderExt = &kpLastNal->sNalHeaderExt; |
| 426 | 426 | const PNalUnitHeaderExt kpCurNalHeaderExt = &kpCurNal->sNalHeaderExt; |
| 427 | 427 | const SSliceHeader* kpLastSliceHeader = &kpLastNal->sNalData.sVclNal.sSliceHeaderExt.sSliceHeader; |
| @@ -560,7 +560,7 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 132 unmodified lines | ||
| 560 | 560 | } |
| 561 | 561 | |
| 562 | 562 | void_t ParseRefBasePicMarking (PBitStringAux pBs, PRefBasePicMarking pRefBasePicMarking) { |
| 563 | − const bool_t kbAdaptiveMarkingModeFlag = !!BsGetOneBit (pBs); | |
| 563 | + const bool kbAdaptiveMarkingModeFlag = !!BsGetOneBit (pBs); | |
| 564 | 564 | pRefBasePicMarking->bAdaptiveRefBasePicMarkingModeFlag = kbAdaptiveMarkingModeFlag; |
| 565 | 565 | if (kbAdaptiveMarkingModeFlag) { |
| 566 | 566 | int32_t iIdx = 0; |
| @@ -670,7 +670,7 @@ static const SLevelLimits g_kSLevelLimits[17] = { · 103 unmodified lines | ||
| 670 | 670 | {2073600, 36864, 184320, 240000, 240000, -2048, 2047, 2, 16} /* level 5.2 */ |
| 671 | 671 | }; |
| 672 | 672 | |
| 673 | −const SLevelLimits *GetLevelLimits(int32_t iLevelIdx, bool_t bConstraint3) { | |
| 673 | +const SLevelLimits *GetLevelLimits(int32_t iLevelIdx, bool bConstraint3) { | |
| 674 | 674 | switch (iLevelIdx) { |
| 675 | 675 | case 10: |
| 676 | 676 | return &g_kSLevelLimits[0]; |
| @@ -737,8 +737,8 @@ int32_t ParseSps (PWelsDecoderContext pCtx, PBitStringAux pBsAux, int32_t* pPicW · 60 unmodified lines | ||
| 737 | 737 | ProfileIdc uiProfileIdc; |
| 738 | 738 | uint8_t uiLevelIdc; |
| 739 | 739 | int32_t iSpsId; |
| 740 | − bool_t bConstraintSetFlags[6] = { false }; | |
| 741 | − const bool_t kbUseSubsetFlag = IS_SUBSET_SPS_NAL (pNalHead->eNalUnitType); | |
| 740 | + bool bConstraintSetFlags[6] = { false }; | |
| 741 | + const bool kbUseSubsetFlag = IS_SUBSET_SPS_NAL (pNalHead->eNalUnitType); | |
| 742 | 742 | |
| 743 | 743 | |
| 744 | 744 | if (kbUseSubsetFlag) { // SubsetSps |