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/encoder/core/src/encoder.cpp (1 of 82 files). Show all
Unified · Split
| @@ -135,7 +135,7 @@ int32_t InitPic (const void* kpSrc, const int32_t kiColorspace, const int32_t ki · 134 unmodified lines | ||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | |
| 138 | −void WelsInitBGDFunc (SWelsFuncPtrList* pFuncList, const bool_t kbEnableBackgroundDetection) { | |
| 138 | +void WelsInitBGDFunc (SWelsFuncPtrList* pFuncList, const bool kbEnableBackgroundDetection) { | |
| 139 | 139 | if (kbEnableBackgroundDetection) { |
| 140 | 140 | pFuncList->pfInterMdBackgroundDecision = WelsMdInterJudgeBGDPskip; |
| 141 | 141 | pFuncList->pfInterMdBackgroundInfoUpdate = WelsMdInterUpdateBGDInfo; |
| @@ -283,7 +283,7 @@ void InitFrameCoding (sWelsEncCtx* pEncCtx, const EFrameType keFrameType) { · 141 unmodified lines | ||
| 283 | 283 | EFrameType DecideFrameType (sWelsEncCtx* pEncCtx, const int8_t kiSpatialNum) { |
| 284 | 284 | SWelsSvcCodingParam* pSvcParam = pEncCtx->pSvcParam; |
| 285 | 285 | EFrameType iFrameType = WELS_FRAME_TYPE_AUTO; |
| 286 | − bool_t bSceneChangeFlag = false; | |
| 286 | + bool bSceneChangeFlag = false; | |
| 287 | 287 | |
| 288 | 288 | // perform scene change detection |
| 289 | 289 | if ((!pSvcParam->bEnableSceneChangeDetect) || pEncCtx->pVaa->bIdrPeriodFlag || |
| @@ -316,7 +316,7 @@ EFrameType DecideFrameType (sWelsEncCtx* pEncCtx, const int8_t kiSpatialNum) { · 26 unmodified lines | ||
| 316 | 316 | |
| 317 | 317 | extern "C" void DumpDependencyRec (SPicture* pCurPicture, const str_t* kpFileName, const int8_t kiDid) { |
| 318 | 318 | WelsFileHandle* pDumpRecFile = NULL; |
| 319 | − static bool_t bDependencyRecFlag[MAX_DEPENDENCY_LAYER] = {0}; | |
| 319 | + static bool bDependencyRecFlag[MAX_DEPENDENCY_LAYER] = {0}; | |
| 320 | 320 | int32_t iWrittenSize = 0; |
| 321 | 321 | |
| 322 | 322 | if (NULL == pCurPicture || NULL == kpFileName || kiDid >= MAX_DEPENDENCY_LAYER) |
| @@ -384,7 +384,7 @@ extern "C" void DumpDependencyRec (SPicture* pCurPicture, const str_t* kpFileNam · 61 unmodified lines | ||
| 384 | 384 | |
| 385 | 385 | void DumpRecFrame (SPicture* pCurPicture, const str_t* kpFileName) { |
| 386 | 386 | WelsFileHandle* pDumpRecFile = NULL; |
| 387 | − static bool_t bRecFlag = false; | |
| 387 | + static bool bRecFlag = false; | |
| 388 | 388 | int32_t iWrittenSize = 0; |
| 389 | 389 | |
| 390 | 390 | if (NULL == pCurPicture || NULL == kpFileName) |