History

Use bool instead of bool_t

bool is one of the built in, standard types in C++, there's no need for a typedef for it.

Martin Storsjö committed 12 years ago

Commit 2b77fe71 parent 17d7b5d82 files · +468 −471Browse files

Showing the changes to codec/decoder/core/src/manage_dec_ref.cpp (1 of 82 files). Show all

Unified · Split

codec/decoder/core/src/manage_dec_ref.cpp+5−5
@@ -92,7 +92,7 @@ void_t WelsResetRefPic (PWelsDecoderContext pCtx) { · 91 unmodified lines
9292 */
9393 int32_t WelsInitRefList (PWelsDecoderContext pCtx, int32_t iPoc) {
9494 int32_t i, j, iCount = 0;
95− const bool_t kbUseRefBasePicFlag = pCtx->pCurDqLayer->bUseRefBasePicFlag;
95+ const bool kbUseRefBasePicFlag = pCtx->pCurDqLayer->bUseRefBasePicFlag;
9696 PPicture* ppShoreRefList = pCtx->sRefPic.pShortRefList[LIST_0];
9797 PPicture* ppLongRefList = pCtx->sRefPic.pLongRefList[LIST_0];
9898 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
215215 return ERR_NONE;
216216 }
217217
218−int32_t WelsMarkAsRef (PWelsDecoderContext pCtx, const bool_t kbRefBaseMarkingFlag) {
218+int32_t WelsMarkAsRef (PWelsDecoderContext pCtx, const bool kbRefBaseMarkingFlag) {
219219 PRefPic pRefPic = &pCtx->sRefPic;
220220 PRefPicMarking pRefPicMarking = pCtx->pCurDqLayer->pRefPicMarking;
221221 PRefBasePicMarking pRefPicBaseMarking = pCtx->pCurDqLayer->pRefPicBaseMarking;
222222 PAccessUnit pCurAU = pCtx->pAccessUnitList;
223− bool_t bIsIDRAU = FALSE;
223+ bool bIsIDRAU = FALSE;
224224 uint32_t j;
225225
226226 int32_t iRet = ERR_NONE;
@@ -322,7 +322,7 @@ static int32_t MMCO (PWelsDecoderContext pCtx, PRefPicMarking pRefPicMarking) { · 95 unmodified lines
322322
323323 return ERR_NONE;
324324 }
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,
326326 int32_t iShortFrameNum, uint32_t uiLongTermPicNum , int32_t iLongTermFrameIdx, int32_t iMaxLongTermFrameIdx) {
327327 PRefPic pRefPic = &pCtx->sRefPic;
328328 PPicture pPic = NULL;
@@ -551,4 +551,4 @@ static int32_t MarkAsLongTerm (PRefPic pRefPic, int32_t iFrameNum, int32_t iLong · 222 unmodified lines
551551 return iRet;
552552 }
553553
554−} // namespace WelsDec
554+} // namespace WelsDec

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t