Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2456,7 +2456,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 2455 unmodified lines | |||
| 2456 | } | 2456 | } |
| 2457 | } | 2457 | } |
| 2458 | #if defined (_DEBUG) && !defined (CODEC_FOR_TESTBED) | 2458 | #if defined (_DEBUG) && !defined (CODEC_FOR_TESTBED) |
| 2459 | fprintf (stderr, "cur_frame : %d\tiCurrIdD : %d\n ", | 2459 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_DEBUG, "cur_frame : %d\tiCurrIdD : %d\n ", |
| 2460 | dq_cur->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iFrameNum, iCurrIdD); | 2460 | dq_cur->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iFrameNum, iCurrIdD); |
| 2461 | #endif//#if !CODEC_FOR_TESTBED | 2461 | #endif//#if !CODEC_FOR_TESTBED |
| 2462 | iLastIdD = iCurrIdD; | 2462 | iLastIdD = iCurrIdD; |
| @@ -2485,7 +2485,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 22 unmodified lines | |||
| 2485 | // A dq layer decoded here | 2485 | // A dq layer decoded here |
| 2486 | #if defined (_DEBUG) && !defined (CODEC_FOR_TESTBED) | 2486 | #if defined (_DEBUG) && !defined (CODEC_FOR_TESTBED) |
| 2487 | #undef fprintf | 2487 | #undef fprintf |
| 2488 | fprintf (stderr, "POC: #%d, FRAME: #%d, D: %d, Q: %d, T: %d, P: %d, %d\n", | 2488 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_DEBUG, "POC: #%d, FRAME: #%d, D: %d, Q: %d, T: %d, P: %d, %d\n", |
| 2489 | pSh->iPicOrderCntLsb, pSh->iFrameNum, iCurrIdD, iCurrIdQ, dq_cur->sLayerInfo.sNalHeaderExt.uiTemporalId, | 2489 | pSh->iPicOrderCntLsb, pSh->iFrameNum, iCurrIdD, iCurrIdQ, dq_cur->sLayerInfo.sNalHeaderExt.uiTemporalId, |
| 2490 | dq_cur->sLayerInfo.sNalHeaderExt.uiPriorityId, dq_cur->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iSliceQp); | 2490 | dq_cur->sLayerInfo.sNalHeaderExt.uiPriorityId, dq_cur->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iSliceQp); |
| 2491 | #endif//#if !CODEC_FOR_TESTBED | 2491 | #endif//#if !CODEC_FOR_TESTBED |