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/decoder/core/src/decoder_core.cpp (1 of 24 files). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+2−2
@@ -105,7 +105,7 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t · 104 unmodified lines
105105 return 0;
106106 }
107107
108−inline BOOL_T CheckSliceNeedReconstruct (int16_t iCurDid, int16_t iCurQid, bool_t bStoreRefBasePicFlag,
108+inline bool_t CheckSliceNeedReconstruct (int16_t iCurDid, int16_t iCurQid, bool_t bStoreRefBasePicFlag,
109109 uint8_t uiDidMax, uint8_t uiLayerDqId, uint8_t uiTargetDqId) {
110110 return ((iCurDid == uiDidMax) && (iCurQid == BASE_QUALITY_ID) && (bStoreRefBasePicFlag)) // store base
111111 || (uiLayerDqId == uiTargetDqId); // target layer
@@ -1774,7 +1774,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, int3 · 1662 unmodified lines
17741774 * Loop decoding for slices (even FMO and/ multiple slices) within a dq layer
17751775 */
17761776 while (iIdx <= iEndIdx) {
1777− BOOL_T bReconstructSlice;
1777+ bool_t bReconstructSlice;
17781778 iCurrIdQ = pNalCur->sNalHeaderExt.uiQualityId;
17791779 iCurrIdD = pNalCur->sNalHeaderExt.uiDependencyId;
17801780 pSh = &pNalCur->sNalData.sVclNal.sSliceHeaderExt.sSliceHeader;

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