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
636 &pEnc->pRefIndexBlock4x4[MB_BLOCK8x8_NUM * kiOffset]);636 &pEnc->pRefIndexBlock4x4[MB_BLOCK8x8_NUM * kiOffset]);
637 637
638 for (iIdx = 0; iIdx < iMbNum; iIdx++) {638 for (iIdx = 0; iIdx < iMbNum; iIdx++) {
639 BOOL_T bLeft;639 bool_t bLeft;
640 BOOL_T bTop;640 bool_t bTop;
641 BOOL_T bLeftTop;641 bool_t bLeftTop;
642 BOOL_T bRightTop;642 bool_t bRightTop;
643 int32_t iLeftXY, iTopXY, iLeftTopXY, iRightTopXY;643 int32_t iLeftXY, iTopXY, iLeftTopXY, iRightTopXY;
644 uint8_t uiSliceIdc;644 uint8_t uiSliceIdc;
645 645
@@ -1667,7 +1667,7 @@ void FreeMemorySvc (sWelsEncCtx** ppCtx) { · 1021 unmodified lines
1667 while (ilayer < pParam->iNumDependencyLayer) {1667 while (ilayer < pParam->iNumDependencyLayer) {
1668 SDqLayer* pDq = pCtx->ppDqLayerList[ilayer];1668 SDqLayer* pDq = pCtx->ppDqLayerList[ilayer];
1669 SDLayerParam* pDlp = &pCtx->pSvcParam->sDependencyLayers[ilayer];1669 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);
1671 1671
1672 // pDq layers1672 // pDq layers
1673 if (NULL != pDq) {1673 if (NULL != pDq) {
@@ -2312,10 +2312,10 @@ void DynslcUpdateMbNeighbourInfoListForAllSlices (SSliceCtx* pSliceCtx, SMB* pMb · 638 unmodified lines
2312 const int32_t kiMbXY = pMb->iMbXY;2312 const int32_t kiMbXY = pMb->iMbXY;
2313 const int32_t kiMbX = pMb->iMbX;2313 const int32_t kiMbX = pMb->iMbX;
2314 const int32_t kiMbY = pMb->iMbY;2314 const int32_t kiMbY = pMb->iMbY;
2315 BOOL_T bLeft;2315 bool_t bLeft;
2316 BOOL_T bTop;2316 bool_t bTop;
2317 BOOL_T bLeftTop;2317 bool_t bLeftTop;
2318 BOOL_T bRightTop;2318 bool_t bRightTop;
2319 int32_t uiSliceIdc;2319 int32_t uiSliceIdc;
2320 int32_t iLeftXY, iTopXY, iLeftTopXY, iRightTopXY;2320 int32_t iLeftXY, iTopXY, iLeftTopXY, iRightTopXY;
2321 2321

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