One bool typedef is already more than enough, two is too many.
Showing the changes to codec/encoder/core/src/svc_encode_mb.cpp (1 of 24 files). Show all
Unified · Split
| @@ -325,7 +325,7 @@ void WelsRecPskip (SDqLayer* pCurLayer, SWelsFuncPtrList* pFuncList, SMB* pCu · 324 unmodified lines | ||
| 325 | 325 | pFuncList->pfSetMemZeroSize8 (pCurMb->pNonZeroCount, 24); |
| 326 | 326 | } |
| 327 | 327 | |
| 328 | −BOOL_T WelsTryPYskip (sWelsEncCtx* pEncCtx, SMB* pCurMb, SMbCache* pMbCache) { | |
| 328 | +bool_t WelsTryPYskip (sWelsEncCtx* pEncCtx, SMB* pCurMb, SMbCache* pMbCache) { | |
| 329 | 329 | int32_t iSingleCtrMb = 0; |
| 330 | 330 | int16_t* pRes = pMbCache->pCoeffLevel; |
| 331 | 331 | const uint8_t kuiQp = pCurMb->uiLumaQp; |
| @@ -352,7 +352,7 @@ BOOL_T WelsTryPYskip (sWelsEncCtx* pEncCtx, SMB* pCurMb, SMbCache* pMbCache) { · 20 unmodified lines | ||
| 352 | 352 | return TRUE; |
| 353 | 353 | } |
| 354 | 354 | |
| 355 | −BOOL_T WelsTryPUVskip (sWelsEncCtx* pEncCtx, SMB* pCurMb, SMbCache* pMbCache, int32_t iUV) { | |
| 355 | +bool_t WelsTryPUVskip (sWelsEncCtx* pEncCtx, SMB* pCurMb, SMbCache* pMbCache, int32_t iUV) { | |
| 356 | 356 | int16_t* pRes = ((iUV == 1) ? & (pMbCache->pCoeffLevel[256]) : & (pMbCache->pCoeffLevel[256 + 64])); |
| 357 | 357 | |
| 358 | 358 | const uint8_t kuiQp = g_kuiChromaQpTable[CLIP3_QP_0_51 (pCurMb->uiLumaQp + |