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/manage_dec_ref.cpp (1 of 82 files). Show all
Unified · Split
| @@ -92,7 +92,7 @@ void_t WelsResetRefPic (PWelsDecoderContext pCtx) { · 91 unmodified lines | ||
| 92 | 92 | */ |
| 93 | 93 | int32_t WelsInitRefList (PWelsDecoderContext pCtx, int32_t iPoc) { |
| 94 | 94 | int32_t i, j, iCount = 0; |
| 95 | − const bool_t kbUseRefBasePicFlag = pCtx->pCurDqLayer->bUseRefBasePicFlag; | |
| 95 | + const bool kbUseRefBasePicFlag = pCtx->pCurDqLayer->bUseRefBasePicFlag; | |
| 96 | 96 | PPicture* ppShoreRefList = pCtx->sRefPic.pShortRefList[LIST_0]; |
| 97 | 97 | PPicture* ppLongRefList = pCtx->sRefPic.pLongRefList[LIST_0]; |
| 98 | 98 | memset (pCtx->sRefPic.pRefList[LIST_0], 0, MAX_REF_PIC_COUNT * sizeof (PPicture)); |
| @@ -215,12 +215,12 @@ int32_t WelsReorderRefList (PWelsDecoderContext pCtx) { · 116 unmodified lines | ||
| 215 | 215 | return ERR_NONE; |
| 216 | 216 | } |
| 217 | 217 | |
| 218 | −int32_t WelsMarkAsRef (PWelsDecoderContext pCtx, const bool_t kbRefBaseMarkingFlag) { | |
| 218 | +int32_t WelsMarkAsRef (PWelsDecoderContext pCtx, const bool kbRefBaseMarkingFlag) { | |
| 219 | 219 | PRefPic pRefPic = &pCtx->sRefPic; |
| 220 | 220 | PRefPicMarking pRefPicMarking = pCtx->pCurDqLayer->pRefPicMarking; |
| 221 | 221 | PRefBasePicMarking pRefPicBaseMarking = pCtx->pCurDqLayer->pRefPicBaseMarking; |
| 222 | 222 | PAccessUnit pCurAU = pCtx->pAccessUnitList; |
| 223 | − bool_t bIsIDRAU = FALSE; | |
| 223 | + bool bIsIDRAU = FALSE; | |
| 224 | 224 | uint32_t j; |
| 225 | 225 | |
| 226 | 226 | int32_t iRet = ERR_NONE; |
| @@ -322,7 +322,7 @@ static int32_t MMCO (PWelsDecoderContext pCtx, PRefPicMarking pRefPicMarking) { · 95 unmodified lines | ||
| 322 | 322 | |
| 323 | 323 | return ERR_NONE; |
| 324 | 324 | } |
| 325 | −static int32_t MMCOProcess (PWelsDecoderContext pCtx, uint32_t uiMmcoType, bool_t bRefBasePic, | |
| 325 | +static int32_t MMCOProcess (PWelsDecoderContext pCtx, uint32_t uiMmcoType, bool bRefBasePic, | |
| 326 | 326 | int32_t iShortFrameNum, uint32_t uiLongTermPicNum , int32_t iLongTermFrameIdx, int32_t iMaxLongTermFrameIdx) { |
| 327 | 327 | PRefPic pRefPic = &pCtx->sRefPic; |
| 328 | 328 | PPicture pPic = NULL; |
| @@ -551,4 +551,4 @@ static int32_t MarkAsLongTerm (PRefPic pRefPic, int32_t iFrameNum, int32_t iLong · 222 unmodified lines | ||
| 551 | 551 | return iRet; |
| 552 | 552 | } |
| 553 | 553 | |
| 554 | −} // namespace WelsDec | |
| 554 | +} // namespace WelsDec | |