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/encoder/core/src/svc_encode_mb.cpp (1 of 82 files). Show all

Unified · Split

codec/encoder/core/src/svc_encode_mb.cpp+2−2
@@ -325,7 +325,7 @@ void WelsRecPskip (SDqLayer* pCurLayer, SWelsFuncPtrList* pFuncList, SMB* pCu · 324 unmodified lines
325 pFuncList->pfSetMemZeroSize8 (pCurMb->pNonZeroCount, 24);325 pFuncList->pfSetMemZeroSize8 (pCurMb->pNonZeroCount, 24);
326}326}
327 327
328bool_t WelsTryPYskip (sWelsEncCtx* pEncCtx, SMB* pCurMb, SMbCache* pMbCache) {328bool WelsTryPYskip (sWelsEncCtx* pEncCtx, SMB* pCurMb, SMbCache* pMbCache) {
329 int32_t iSingleCtrMb = 0;329 int32_t iSingleCtrMb = 0;
330 int16_t* pRes = pMbCache->pCoeffLevel;330 int16_t* pRes = pMbCache->pCoeffLevel;
331 const uint8_t kuiQp = pCurMb->uiLumaQp;331 const uint8_t kuiQp = pCurMb->uiLumaQp;
@@ -352,7 +352,7 @@ bool_t WelsTryPYskip (sWelsEncCtx* pEncCtx, SMB* pCurMb, SMbCache* pMbCache) { · 20 unmodified lines
352 return TRUE;352 return TRUE;
353}353}
354 354
355bool_t WelsTryPUVskip (sWelsEncCtx* pEncCtx, SMB* pCurMb, SMbCache* pMbCache, int32_t iUV) {355bool WelsTryPUVskip (sWelsEncCtx* pEncCtx, SMB* pCurMb, SMbCache* pMbCache, int32_t iUV) {
356 int16_t* pRes = ((iUV == 1) ? & (pMbCache->pCoeffLevel[256]) : & (pMbCache->pCoeffLevel[256 + 64]));356 int16_t* pRes = ((iUV == 1) ? & (pMbCache->pCoeffLevel[256]) : & (pMbCache->pCoeffLevel[256 + 64]));
357 357
358 const uint8_t kuiQp = g_kuiChromaQpTable[CLIP3_QP_0_51 (pCurMb->uiLumaQp +358 const uint8_t kuiQp = g_kuiChromaQpTable[CLIP3_QP_0_51 (pCurMb->uiLumaQp +

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