History

trace fix

ruil2 committed 12 years ago

Commit fa138e81 parent 0f4499114 files · +202 −200Browse files

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

Unified · Split

codec/decoder/core/src/decoder_core.cpp+33−32
@@ -63,14 +63,14 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t · 62 unmodified lines
6363 #else
6464 pCtx->bReferenceLostAtT0Flag = false; // need initialize it due new seq, 6/4/2010
6565 #endif //LONG_TERM_REF
66− WelsLog (pCtx, WELS_LOG_INFO,
66+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_INFO,
6767 "DecodeFrameConstruction()::::output first frame of new sequence, %d x %d, crop_left:%d, crop_right:%d, crop_top:%d, crop_bottom:%d.\n",
6868 kiWidth, kiHeight, pCtx->sFrameCrop.iLeftOffset, pCtx->sFrameCrop.iRightOffset, pCtx->sFrameCrop.iTopOffset,
6969 pCtx->sFrameCrop.iBottomOffset);
7070 }
7171
7272 if (pCtx->iTotalNumMbRec != kiTotalNumMbInCurLayer) {
73− WelsLog (pCtx, WELS_LOG_WARNING,
73+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING,
7474 "DecodeFrameConstruction():::iTotalNumMbRec:%d, total_num_mb_sps:%d, cur_layer_mb_width:%d, cur_layer_mb_height:%d \n",
7575 pCtx->iTotalNumMbRec, kiTotalNumMbInCurLayer, pCurDq->iMbWidth, pCurDq->iMbHeight);
7676 bFrameCompleteFlag = false; //return later after output buffer is done
@@ -331,7 +331,7 @@ int32_t ExpandBsBuffer (PWelsDecoderContext pCtx, const int kiSrcLen) { · 254 unmodified lines
331331
332332 int32_t CheckBsBuffer (PWelsDecoderContext pCtx, const int32_t kiSrcLen) {
333333 if (kiSrcLen > MAX_ACCESS_UNIT_CAPACITY) { //exceeds max allowed data
334− WelsLog (pCtx, WELS_LOG_WARNING, "Max AU size exceeded. Allowed size = %d, current size = %d", MAX_ACCESS_UNIT_CAPACITY,
334+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING, "Max AU size exceeded. Allowed size = %d, current size = %d", MAX_ACCESS_UNIT_CAPACITY,
335335 kiSrcLen);
336336 pCtx->iErrorCode |= dsBitstreamError;
337337 return ERR_INFO_INVALID_ACCESS;
@@ -455,6 +455,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 117 unmodified lines
455455 bool bSgChangeCycleInvolved = false; // involved slice group change cycle ?
456456 uint32_t uiCode;
457457 int32_t iCode;
458+ SLogContext* pLogCtx = &(pCtx->sLogCtx);
458459
459460 if (kpCurNal == NULL) {
460461 return ERR_INFO_OUT_OF_MEMORY;
@@ -484,7 +485,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 23 unmodified lines
484485 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //slice_type
485486 uiSliceType = uiCode;
486487 if (uiSliceType > 9) {
487− WelsLog (pCtx, WELS_LOG_WARNING, "slice type too large (%d) at first_mb(%d)\n", uiSliceType,
488+ WelsLog (pLogCtx, WELS_LOG_WARNING, "slice type too large (%d) at first_mb(%d)\n", uiSliceType,
488489 pSliceHead->iFirstMbInSlice);
489490 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_INVALID_SLICE_TYPE);
490491 }
@@ -492,17 +493,17 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 1 unmodified line
492493 uiSliceType -= 5;
493494
494495 if (B_SLICE == uiSliceType) {
495− WelsLog (pCtx, WELS_LOG_WARNING, "ParseSliceHeaderSyntaxs(): B slice not supported.\n");
496+ WelsLog (pLogCtx, WELS_LOG_WARNING, "ParseSliceHeaderSyntaxs(): B slice not supported.\n");
496497 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_BIPRED);
497498 }
498499 if ((NAL_UNIT_CODED_SLICE_IDR == eNalType) && (I_SLICE != uiSliceType)) {
499− WelsLog (pCtx, WELS_LOG_WARNING, "Invalid slice type(%d) in IDR picture. \n", uiSliceType);
500+ WelsLog (pLogCtx, WELS_LOG_WARNING, "Invalid slice type(%d) in IDR picture. \n", uiSliceType);
500501 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_INVALID_SLICE_TYPE);
501502 }
502503
503504 if (kbExtensionFlag) {
504505 if (uiSliceType > 2) {
505− WelsLog (pCtx, WELS_LOG_WARNING, "Invalid slice type(%d).\n", uiSliceType);
506+ WelsLog (pLogCtx, WELS_LOG_WARNING, "Invalid slice type(%d).\n", uiSliceType);
506507 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_INVALID_SLICE_TYPE);
507508 }
508509 }
@@ -513,20 +514,20 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 4 unmodified lines
513514 iPpsId = uiCode;
514515
515516 if (iPpsId >= MAX_PPS_COUNT) {
516− WelsLog (pCtx, WELS_LOG_WARNING, "iPpsId out of range\n");
517+ WelsLog (pLogCtx, WELS_LOG_WARNING, "iPpsId out of range\n");
517518 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_PPS_ID_OVERFLOW);
518519 }
519520
520521 //add check PPS available here
521522 if (pCtx->bPpsAvailFlags[iPpsId] == false) {
522− WelsLog (pCtx, WELS_LOG_ERROR, "PPS id is invalid!\n");
523+ WelsLog (pLogCtx, WELS_LOG_ERROR, "PPS id is invalid!\n");
523524 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_INVALID_PPS_ID);
524525 }
525526
526527 pPps = &pCtx->sPpsBuffer[iPpsId];
527528
528529 if (pPps->uiNumSliceGroups == 0) {
529− WelsLog (pCtx, WELS_LOG_WARNING, "non existing PPS referenced\n");
530+ WelsLog (pLogCtx, WELS_LOG_WARNING, "non existing PPS referenced\n");
530531 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_NO_PARAM_SETS);
531532 }
532533
@@ -534,12 +535,12 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 1 unmodified line
534535 pSubsetSps = &pCtx->sSubsetSpsBuffer[pPps->iSpsId];
535536 pSps = &pSubsetSps->sSps;
536537 if (pCtx->bSubspsAvailFlags[pPps->iSpsId] == false) {
537− WelsLog (pCtx, WELS_LOG_ERROR, "SPS id is invalid!\n");
538+ WelsLog (pLogCtx, WELS_LOG_ERROR, "SPS id is invalid!\n");
538539 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_INVALID_SPS_ID);
539540 }
540541 } else {
541542 if (pCtx->bSpsAvailFlags[pPps->iSpsId] == false) {
542− WelsLog (pCtx, WELS_LOG_ERROR, "SPS id is invalid!\n");
543+ WelsLog (pLogCtx, WELS_LOG_ERROR, "SPS id is invalid!\n");
543544 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_INVALID_SPS_ID);
544545 }
545546 pSps = &pCtx->sSpsBuffer[pPps->iSpsId];
@@ -554,7 +555,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 8 unmodified lines
554555 bIdrFlag = (!kbExtensionFlag && eNalType == NAL_UNIT_CODED_SLICE_IDR) || (kbExtensionFlag && pNalHeaderExt->bIdrFlag);
555556
556557 if (pSps->uiLog2MaxFrameNum == 0) {
557− WelsLog (pCtx, WELS_LOG_WARNING, "non existing SPS referenced\n");
558+ WelsLog (pLogCtx, WELS_LOG_WARNING, "non existing SPS referenced\n");
558559 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_NO_PARAM_SETS);
559560 }
560561 // check first_mb_in_slice
@@ -566,7 +567,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 5 unmodified lines
566567 pSliceHead->bFieldPicFlag = false;
567568 pSliceHead->bBottomFiledFlag = false;
568569 if (!pSps->bFrameMbsOnlyFlag) {
569− WelsLog (pCtx, WELS_LOG_WARNING, "ParseSliceHeaderSyntaxs(): frame_mbs_only_flag = %d not supported. \n",
570+ WelsLog (pLogCtx, WELS_LOG_WARNING, "ParseSliceHeaderSyntaxs(): frame_mbs_only_flag = %d not supported. \n",
570571 pSps->bFrameMbsOnlyFlag);
571572 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_MBAFF);
572573 }
@@ -575,7 +576,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 2 unmodified lines
575576
576577 if (bIdrFlag) {
577578 if (pSliceHead->iFrameNum != 0) {
578− WelsLog (pCtx, WELS_LOG_WARNING, "ParseSliceHeaderSyntaxs(), invaild frame number: %d due to IDR frame introduced!\n",
579+ WelsLog (pLogCtx, WELS_LOG_WARNING, "ParseSliceHeaderSyntaxs(), invaild frame number: %d due to IDR frame introduced!\n",
579580 pSliceHead->iFrameNum);
580581 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_INVALID_FRAME_NUM);
581582 }
@@ -637,14 +638,14 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 55 unmodified lines
637638 }
638639
639640 if (pSliceHead->uiRefCount[0] > MAX_REF_PIC_COUNT || pSliceHead->uiRefCount[1] > MAX_REF_PIC_COUNT) {
640− WelsLog (pCtx, WELS_LOG_WARNING, "reference overflow\n");
641+ WelsLog (pLogCtx, WELS_LOG_WARNING, "reference overflow\n");
641642 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_REF_COUNT_OVERFLOW);
642643 }
643644
644645 if (BASE_QUALITY_ID == uiQualityId) {
645646 iRet = ParseRefPicListReordering (pBs, pSliceHead);
646647 if (iRet != ERR_NONE) {
647− WelsLog (pCtx, WELS_LOG_WARNING, "invalid ref pPic list reordering syntaxs!\n");
648+ WelsLog (pLogCtx, WELS_LOG_WARNING, "invalid ref pPic list reordering syntaxs!\n");
648649 return iRet;
649650 }
650651
@@ -665,7 +666,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 14 unmodified lines
665666 WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); //store_ref_base_pic_flag
666667 pSliceHeadExt->bStoreRefBasePicFlag = !!uiCode;
667668 if ((pNalHeaderExt->bUseRefBasePicFlag || pSliceHeadExt->bStoreRefBasePicFlag) && !bIdrFlag) {
668− WelsLog (pCtx, WELS_LOG_WARNING,
669+ WelsLog (pLogCtx, WELS_LOG_WARNING,
669670 "ParseSliceHeaderSyntaxs(): bUseRefBasePicFlag or bStoreRefBasePicFlag = 1 not supported.\n");
670671 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_ILP);
671672 }
@@ -674,7 +675,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 2 unmodified lines
674675 }
675676
676677 if (pPps->bEntropyCodingModeFlag) {
677− WelsLog (pCtx, WELS_LOG_WARNING, "ParseSliceHeaderSyntaxs(): CABAC in Enhancement layer not supported.\n");
678+ WelsLog (pLogCtx, WELS_LOG_WARNING, "ParseSliceHeaderSyntaxs(): CABAC in Enhancement layer not supported.\n");
678679 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_CABAC_EL);
679680 }
680681
@@ -682,14 +683,14 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 1 unmodified line
682683 pSliceHead->iSliceQpDelta = iCode;
683684 pSliceHead->iSliceQp = pPps->iPicInitQp + pSliceHead->iSliceQpDelta;
684685 if (pSliceHead->iSliceQp < 0 || pSliceHead->iSliceQp > 51) {
685− WelsLog (pCtx, WELS_LOG_WARNING, "QP %d out of range\n", pSliceHead->iSliceQp);
686+ WelsLog (pLogCtx, WELS_LOG_WARNING, "QP %d out of range\n", pSliceHead->iSliceQp);
686687 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_INVALID_QP);
687688 }
688689
689690 //FIXME qscale / qp ... stuff
690691 if (!kbExtensionFlag) {
691692 if (uiSliceType == SP_SLICE || uiSliceType == SI_SLICE) {
692− WelsLog (pCtx, WELS_LOG_WARNING, "SP/SI not supported\n");
693+ WelsLog (pLogCtx, WELS_LOG_WARNING, "SP/SI not supported\n");
693694 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_SPSI);
694695 }
695696 }
@@ -702,7 +703,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 6 unmodified lines
702703 pSliceHead->uiDisableDeblockingFilterIdc = uiCode;
703704 //refer to JVT-X201wcm1.doc G.7.4.3.4--2010.4.20
704705 if (pSliceHead->uiDisableDeblockingFilterIdc > 6) {
705− WelsLog (pCtx, WELS_LOG_WARNING, "disable_deblock_filter_idc (%d) out of range [0, 6]\n",
706+ WelsLog (pLogCtx, WELS_LOG_WARNING, "disable_deblock_filter_idc (%d) out of range [0, 6]\n",
706707 pSliceHead->uiDisableDeblockingFilterIdc);
707708 return ERR_INFO_INVALID_DBLOCKING_IDC;
708709 }
@@ -786,7 +787,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 77 unmodified lines
786787 (pos.iTopOffset + pos.iBottomOffset) / (1 + pSliceHead->bFieldPicFlag);
787788 }
788789 } else if (uiQualityId > BASE_QUALITY_ID) {
789− WelsLog (pCtx, WELS_LOG_WARNING, "MGS not supported.\n");
790+ WelsLog (pLogCtx, WELS_LOG_WARNING, "MGS not supported.\n");
790791 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_MGS);
791792 } else {
792793 pSliceHeadExt->uiRefLayerDqId = (uint8_t) - 1;
@@ -845,7 +846,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 52 unmodified lines
845846 WELS_READ_VERIFY (BsGetBits (pBs, 4, &uiCode)); //scan_idx_end
846847 pSliceHeadExt->uiScanIdxEnd = uiCode;
847848 if (pSliceHeadExt->uiScanIdxStart != 0 || pSliceHeadExt->uiScanIdxEnd != 15) {
848− WelsLog (pCtx, WELS_LOG_WARNING, "uiScanIdxStart (%d) != 0 and uiScanIdxEnd (%d) !=15 not supported here\n",
849+ WelsLog (pLogCtx, WELS_LOG_WARNING, "uiScanIdxStart (%d) != 0 and uiScanIdxEnd (%d) !=15 not supported here\n",
849850 pSliceHeadExt->uiScanIdxStart, pSliceHeadExt->uiScanIdxEnd);
850851 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_MGS);
851852 }
@@ -938,7 +939,7 @@ int32_t UpdateAccessUnit (PWelsDecoderContext pCtx) { · 86 unmodified lines
938939 }
939940 if (uiActualIdx ==
940941 pCurAu->uiActualUnitsNum) { // no found IDR nal within incoming AU, need exit to avoid mosaic issue, 11/19/2009
941− WelsLog (pCtx, WELS_LOG_WARNING, "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU.\n");
942+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING, "UpdateAccessUnit():::::Key frame lost.....CAN NOT find IDR from current AU.\n");
942943 if (pCtx->iErrorConMethod == ERROR_CON_DISABLE) {
943944 #ifdef LONG_TERM_REF
944945 pCtx->iErrorCode |= dsNoParamSets;
@@ -1630,7 +1631,7 @@ int32_t ConstructAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBufferI · 685 unmodified lines
16301631 iErr = SyncPictureResolutionExt (pCtx, pCtx->pSps->iMbWidth, pCtx->pSps->iMbHeight);
16311632
16321633 if (ERR_NONE != iErr) {
1633− WelsLog (pCtx, WELS_LOG_WARNING, "sync picture resolution ext failed, the error is %d", iErr);
1634+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING, "sync picture resolution ext failed, the error is %d", iErr);
16341635 return iErr;
16351636 }
16361637 InitErrorCon (pCtx); //Do EC initialization here, for sequence start
@@ -1648,7 +1649,7 @@ int32_t ConstructAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBufferI · 11 unmodified lines
16481649 if (pCtx->bNewSeqBegin)
16491650 ResetActiveSPSForEachLayer (pCtx);
16501651 if (ERR_NONE != iErr) {
1651− WelsLog (pCtx, WELS_LOG_INFO, "returned error from decoding:[0x%x]\n", iErr);
1652+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_INFO, "returned error from decoding:[0x%x]\n", iErr);
16521653 return iErr;
16531654 }
16541655
@@ -1784,7 +1785,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 129 unmodified lines
17841785 pCtx->pDec = PrefetchPic (pCtx->pPicBuff[0]);
17851786
17861787 if (NULL == pCtx->pDec) {
1787− WelsLog (pCtx, WELS_LOG_ERROR, "DecodeCurrentAccessUnit()::::::PrefetchPic ERROR, pSps->iNumRefFrames:%d.\n",
1788+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_ERROR, "DecodeCurrentAccessUnit()::::::PrefetchPic ERROR, pSps->iNumRefFrames:%d.\n",
17881789 pCtx->pSps->iNumRefFrames);
17891790 pCtx->iErrorCode |= dsOutOfMemory;
17901791 return ERR_INFO_REF_COUNT_OVERFLOW;
@@ -1837,7 +1838,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 46 unmodified lines
18371838 pCtx->pFmo = &pCtx->sFmoList[iPpsId];
18381839 if (!FmoParamUpdate (pCtx->pFmo, pLayerInfo.pSps, pLayerInfo.pPps, &pCtx->iActiveFmoNum)) {
18391840 pCtx->iErrorCode |= dsBitstreamError;
1840− WelsLog (pCtx, WELS_LOG_WARNING, "DecodeCurrentAccessUnit(), FmoParamUpdate failed, eSliceType: %d.\n",
1841+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING, "DecodeCurrentAccessUnit(), FmoParamUpdate failed, eSliceType: %d.\n",
18411842 pSh->eSliceType);
18421843 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_FMO_INIT_FAIL);
18431844 }
@@ -1862,7 +1863,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 18 unmodified lines
18621863 if (!kbIdrFlag &&
18631864 pSh->iFrameNum != pCtx->iPrevFrameNum &&
18641865 pSh->iFrameNum != ((pCtx->iPrevFrameNum + 1) & ((1 << dq_cur->sLayerInfo.pSps->uiLog2MaxFrameNum) - 1))) {
1865− WelsLog (pCtx, WELS_LOG_WARNING,
1866+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING,
18661867 "referencing pictures lost due frame gaps exist, prev_frame_num: %d, curr_frame_num: %d\n", pCtx->iPrevFrameNum,
18671868 pSh->iFrameNum);
18681869
@@ -1883,7 +1884,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 14 unmodified lines
18831884 iRet = InitRefPicList (pCtx, uiNalRefIdc, bFreshSliceAvailable, pSh->iPicOrderCntLsb);
18841885 if (iRet) {
18851886 HandleReferenceLost (pCtx, pNalCur);
1886− WelsLog (pCtx, WELS_LOG_WARNING, "reference picture introduced by this frame is lost during transmission! uiTId: %d\n",
1887+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING, "reference picture introduced by this frame is lost during transmission! uiTId: %d\n",
18871888 pNalCur->sNalHeaderExt.uiTemporalId);
18881889 if (pCtx->iErrorConMethod == ERROR_CON_DISABLE) {
18891890 return iRet;
@@ -1895,7 +1896,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 5 unmodified lines
18951896
18961897 //Output good store_base reconstruction when enhancement quality layer occurred error for MGS key picture case
18971898 if (iRet != ERR_NONE) {
1898− WelsLog (pCtx, WELS_LOG_WARNING, "DecodeCurrentAccessUnit() failed (%d) in frame: %d uiDId: %d uiQId: %d\n",
1899+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING, "DecodeCurrentAccessUnit() failed (%d) in frame: %d uiDId: %d uiQId: %d\n",
18991900 iRet, pSh->iFrameNum, iCurrIdD, iCurrIdQ);
19001901 HandleReferenceLostL0 (pCtx, pNalCur);
19011902 if (pCtx->iErrorConMethod == ERROR_CON_DISABLE) {

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