Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 5 files). Show all
Unified · Split
| @@ -63,14 +63,18 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t · 62 unmodified lines | |||
| 63 | #else | 63 | #else |
| 64 | pCtx->bReferenceLostAtT0Flag = false; // need initialize it due new seq, 6/4/2010 | 64 | pCtx->bReferenceLostAtT0Flag = false; // need initialize it due new seq, 6/4/2010 |
| 65 | #endif //LONG_TERM_REF | 65 | #endif //LONG_TERM_REF |
| 66 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, | 66 | if (pCtx->iTotalNumMbRec == kiTotalNumMbInCurLayer) { |
| 67 | "DecodeFrameConstruction()::::output first frame of new sequence, %d x %d, crop_left:%d, crop_right:%d, crop_top:%d, crop_bottom:%d.\n", | 67 | pCtx->bPrintFrameErrorTraceFlag = true; |
| 68 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, | ||
| 69 | "DecodeFrameConstruction()::::output first frame of new sequence, %d x %d, crop_left:%d, crop_right:%d, crop_top:%d, crop_bottom:%d, ignored error packet:%d.\n", | ||
| 68 | kiWidth, kiHeight, pCtx->sFrameCrop.iLeftOffset, pCtx->sFrameCrop.iRightOffset, pCtx->sFrameCrop.iTopOffset, | 70 | kiWidth, kiHeight, pCtx->sFrameCrop.iLeftOffset, pCtx->sFrameCrop.iRightOffset, pCtx->sFrameCrop.iTopOffset, |
| 69 | pCtx->sFrameCrop.iBottomOffset); | 71 | pCtx->sFrameCrop.iBottomOffset, pCtx->iIgnoredErrorInfoPacketCount); |
| 72 | pCtx->iIgnoredErrorInfoPacketCount = 0; | ||
| 73 | } | ||
| 70 | } | 74 | } |
| 71 | 75 | ||
| 72 | if (pCtx->iTotalNumMbRec != kiTotalNumMbInCurLayer) { | 76 | if (pCtx->iTotalNumMbRec != kiTotalNumMbInCurLayer) { |
| 73 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, | 77 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_DEBUG, |
| 74 | "DecodeFrameConstruction():::iTotalNumMbRec:%d, total_num_mb_sps:%d, cur_layer_mb_width:%d, cur_layer_mb_height:%d \n", | 78 | "DecodeFrameConstruction():::iTotalNumMbRec:%d, total_num_mb_sps:%d, cur_layer_mb_width:%d, cur_layer_mb_height:%d \n", |
| 75 | pCtx->iTotalNumMbRec, kiTotalNumMbInCurLayer, pCurDq->iMbWidth, pCurDq->iMbHeight); | 79 | pCtx->iTotalNumMbRec, kiTotalNumMbInCurLayer, pCurDq->iMbWidth, pCurDq->iMbHeight); |
| 76 | bFrameCompleteFlag = false; //return later after output buffer is done | 80 | bFrameCompleteFlag = false; //return later after output buffer is done |