History

Use bool_t instead of BOOL_T

One bool typedef is already more than enough, two is too many.

Martin Storsjö committed 12 years ago

Commit 17d7b5d1 parent 0f7a95824 files · +82 −83Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 24 files). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+9−9
@@ -636,10 +636,10 @@ static void InitMbInfo (sWelsEncCtx* pEnc, SMB* pList, SDqLayer* pLayer, con · 635 unmodified lines
636636 &pEnc->pRefIndexBlock4x4[MB_BLOCK8x8_NUM * kiOffset]);
637637
638638 for (iIdx = 0; iIdx < iMbNum; iIdx++) {
639− BOOL_T bLeft;
640− BOOL_T bTop;
641− BOOL_T bLeftTop;
642− BOOL_T bRightTop;
639+ bool_t bLeft;
640+ bool_t bTop;
641+ bool_t bLeftTop;
642+ bool_t bRightTop;
643643 int32_t iLeftXY, iTopXY, iLeftTopXY, iRightTopXY;
644644 uint8_t uiSliceIdc;
645645
@@ -1667,7 +1667,7 @@ void FreeMemorySvc (sWelsEncCtx** ppCtx) { · 1021 unmodified lines
16671667 while (ilayer < pParam->iNumDependencyLayer) {
16681668 SDqLayer* pDq = pCtx->ppDqLayerList[ilayer];
16691669 SDLayerParam* pDlp = &pCtx->pSvcParam->sDependencyLayers[ilayer];
1670− const BOOL_T kbIsDynamicSlicing = (SM_DYN_SLICE == pDlp->sMso.uiSliceMode);
1670+ const bool_t kbIsDynamicSlicing = (SM_DYN_SLICE == pDlp->sMso.uiSliceMode);
16711671
16721672 // pDq layers
16731673 if (NULL != pDq) {
@@ -2312,10 +2312,10 @@ void DynslcUpdateMbNeighbourInfoListForAllSlices (SSliceCtx* pSliceCtx, SMB* pMb · 638 unmodified lines
23122312 const int32_t kiMbXY = pMb->iMbXY;
23132313 const int32_t kiMbX = pMb->iMbX;
23142314 const int32_t kiMbY = pMb->iMbY;
2315− BOOL_T bLeft;
2316− BOOL_T bTop;
2317− BOOL_T bLeftTop;
2318− BOOL_T bRightTop;
2315+ bool_t bLeft;
2316+ bool_t bTop;
2317+ bool_t bLeftTop;
2318+ bool_t bRightTop;
23192319 int32_t uiSliceIdc;
23202320 int32_t iLeftXY, iTopXY, iLeftTopXY, iRightTopXY;
23212321

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