History

Remove the array_stack_align.h header from the encoder lib

All of these macros are already available in the common macros.h header. Unify all the macros to be named ENFORCE_* instead of mixed FORCE/ENFORCE.

Martin Storsjö committed 12 years ago

Commit 66c39a41 parent e413ed216 files · +41 −174Browse files

Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 16 files). Show all

Unified · Split

codec/decoder/core/src/decode_slice.cpp+4−4
@@ -492,7 +492,7 @@ int32_t WelsActualDecodeMbCavlcISlice (PWelsDecoderContext pCtx) { · 491 unmodified lines
492492 int32_t iNMbMode, i;
493493 uint32_t uiMbType = 0, uiCbp = 0, uiCbpL = 0, uiCbpC = 0;
494494
495− FORCE_STACK_ALIGN_1D (uint8_t, pNonZeroCount, 48, 16);
495+ ENFORCE_STACK_ALIGN_1D (uint8_t, pNonZeroCount, 48, 16);
496496
497497 pCurLayer->pInterPredictionDoneFlag[iMbXy] = 0;
498498 pCurLayer->pResidualPredFlag[iMbXy] = pSlice->sSliceHeaderExt.bDefaultResidualPredFlag;
@@ -553,7 +553,7 @@ int32_t WelsActualDecodeMbCavlcISlice (PWelsDecoderContext pCtx) { · 54 unmodified lines
553553 memset (pCurLayer->pNzc[iMbXy], 16, sizeof (pCurLayer->pNzc[iMbXy])); //JVT-x201wcm1.doc, page229, 2009.10.23
554554 return 0;
555555 } else if (0 == uiMbType) { //reference to JM
556− FORCE_STACK_ALIGN_1D (int8_t, pIntraPredMode, 48, 16);
556+ ENFORCE_STACK_ALIGN_1D (int8_t, pIntraPredMode, 48, 16);
557557 pCurLayer->pMbType[iMbXy] = MB_TYPE_INTRA4x4;
558558 pCtx->pFillInfoCacheIntra4x4Func (&sNeighAvail, pNonZeroCount, pIntraPredMode, pCurLayer);
559559 if (pCtx->pParseIntra4x4ModeFunc (&sNeighAvail, pIntraPredMode, pBs, pCurLayer)) {
@@ -770,7 +770,7 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 210 unmodified lines
770770 int32_t iNMbMode, i;
771771 uint32_t uiMbType = 0, uiCbp = 0, uiCbpL = 0, uiCbpC = 0;
772772
773− FORCE_STACK_ALIGN_1D (uint8_t, pNonZeroCount, 48, 16);
773+ ENFORCE_STACK_ALIGN_1D (uint8_t, pNonZeroCount, 48, 16);
774774 pCurLayer->pInterPredictionDoneFlag[iMbXy] = 0;//2009.10.23
775775
776776 uiMbType = BsGetUe (pBs);
@@ -859,7 +859,7 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 82 unmodified lines
859859 return 0;
860860 } else {
861861 if (0 == uiMbType) {
862− FORCE_STACK_ALIGN_1D (int8_t, pIntraPredMode, 48, 16);
862+ ENFORCE_STACK_ALIGN_1D (int8_t, pIntraPredMode, 48, 16);
863863 pCurLayer->pMbType[iMbXy] = MB_TYPE_INTRA4x4;
864864 pCtx->pFillInfoCacheIntra4x4Func (&sNeighAvail, pNonZeroCount, pIntraPredMode, pCurLayer);
865865 if (pCtx->pParseIntra4x4ModeFunc (&sNeighAvail, pIntraPredMode, pBs, pCurLayer)) {

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