History

Convert tabs to spaces before comments

Martin Storsjö committed 11 years ago

Commit 78e0ec61 parent 3052b7a57 files · +278 −278Browse files

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

Unified · Split

codec/decoder/core/src/decoder_core.cpp+6−6
@@ -60,7 +60,7 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t · 59 unmodified lines
6060 #ifdef LONG_TERM_REF
6161 pCtx->bParamSetsLostFlag = false;
6262 #else
63− pCtx->bReferenceLostAtT0Flag = false; // need initialize it due new seq, 6/4/2010
63+ pCtx->bReferenceLostAtT0Flag = false; // need initialize it due new seq, 6/4/2010
6464 #endif //LONG_TERM_REF
6565 if (pCtx->iTotalNumMbRec == kiTotalNumMbInCurLayer) {
6666 pCtx->bPrintFrameErrorTraceFlag = true;
@@ -354,7 +354,7 @@ int32_t ParseRefPicListReordering (PBitStringAux pBs, PSliceHeader pSh) { · 287 unmodified lines
354354 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //abs_diff_pic_num_minus1
355355 WELS_CHECK_SE_UPPER_ERROR_NOLOG (uiCode, (uint32_t) (1 << pSps->uiLog2MaxFrameNum), "abs_diff_pic_num_minus1",
356356 GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_INVALID_REF_REORDERING));
357− pRefPicListReordering->sReorderingSyn[iList][iIdx].uiAbsDiffPicNumMinus1 = uiCode; // uiAbsDiffPicNumMinus1
357+ pRefPicListReordering->sReorderingSyn[iList][iIdx].uiAbsDiffPicNumMinus1 = uiCode; // uiAbsDiffPicNumMinus1
358358 } else if (kuiIdc == 2) {
359359 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //long_term_pic_num
360360 pRefPicListReordering->sReorderingSyn[iList][iIdx].uiLongTermPicNum = uiCode;
@@ -1186,7 +1186,7 @@ int32_t UpdateAccessUnit (PWelsDecoderContext pCtx) { · 825 unmodified lines
11861186 ++ uiActualIdx;
11871187 }
11881188 if (uiActualIdx ==
1189− pCurAu->uiActualUnitsNum) { // no found IDR nal within incoming AU, need exit to avoid mosaic issue, 11/19/2009
1189+ pCurAu->uiActualUnitsNum) { // no found IDR nal within incoming AU, need exit to avoid mosaic issue, 11/19/2009
11901190
11911191 pCtx->sDecoderStatistics.uiIDRLostNum++;
11921192 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
@@ -1215,7 +1215,7 @@ int32_t InitialDqLayersContext (PWelsDecoderContext pCtx, const int32_t kiMaxWid · 22 unmodified lines
12151215 pCtx->sMb.iMbHeight = (kiMaxHeight + 15) >> 4;
12161216
12171217 if (pCtx->bInitialDqLayersMem && kiMaxWidth <= pCtx->iPicWidthReq
1218− && kiMaxHeight <= pCtx->iPicHeightReq) // have same dimension memory, skipped
1218+ && kiMaxHeight <= pCtx->iPicHeightReq) // have same dimension memory, skipped
12191219 return ERR_NONE;
12201220
12211221
@@ -1270,7 +1270,7 @@ int32_t InitialDqLayersContext (PWelsDecoderContext pCtx, const int32_t kiMaxWid · 48 unmodified lines
12701270 sizeof (
12711271 int8_t) * MB_PARTITION_SIZE, "pCtx->sMb.pSubMbType[]");
12721272 pCtx->sMb.pSliceIdc[i] = (int32_t*) WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * sizeof (int32_t),
1273− "pCtx->sMb.pSliceIdc[]"); // using int32_t for slice_idc, 4/21/2010
1273+ "pCtx->sMb.pSliceIdc[]"); // using int32_t for slice_idc, 4/21/2010
12741274 pCtx->sMb.pResidualPredFlag[i] = (int8_t*) WelsMallocz (pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * sizeof (int8_t),
12751275 "pCtx->sMb.pResidualPredFlag[]");
12761276 //pCtx->sMb.pMotionPredFlag[i] = (uint8_t *) WelsMallocz(pCtx->sMb.iMbWidth * pCtx->sMb.iMbHeight * sizeof(uint8_t), "pCtx->sMb.pMotionPredFlag[]");
@@ -2146,7 +2146,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 869 unmodified lines
21462146 GetI4LumaIChromaAddrTable (pCtx->iDecBlockOffsetArray, pCtx->pDec->iLinesize[0], pCtx->pDec->iLinesize[1]);
21472147
21482148 if (pNalCur->sNalHeaderExt.uiLayerDqId > kuiTargetLayerDqId) { // confirmed pNalCur will never be NULL
2149− break; // Per formance it need not to decode the remaining bits any more due to given uiLayerDqId required, 9/2/2009
2149+ break; // Per formance it need not to decode the remaining bits any more due to given uiLayerDqId required, 9/2/2009
21502150 }
21512151
21522152 memset (&pLayerInfo, 0, sizeof (SLayerInfo));

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