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 | 63 | #else |
| 64 | 64 | pCtx->bReferenceLostAtT0Flag = false; // need initialize it due new seq, 6/4/2010 |
| 65 | 65 | #endif //LONG_TERM_REF |
| 66 | − WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, | |
| 67 | − "DecodeFrameConstruction()::::output first frame of new sequence, %d x %d, crop_left:%d, crop_right:%d, crop_top:%d, crop_bottom:%d.\n", | |
| 66 | + if (pCtx->iTotalNumMbRec == kiTotalNumMbInCurLayer) { | |
| 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 | 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 | 76 | if (pCtx->iTotalNumMbRec != kiTotalNumMbInCurLayer) { |
| 73 | − WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, | |
| 77 | + WelsLog (& (pCtx->sLogCtx), WELS_LOG_DEBUG, | |
| 74 | 78 | "DecodeFrameConstruction():::iTotalNumMbRec:%d, total_num_mb_sps:%d, cur_layer_mb_width:%d, cur_layer_mb_height:%d \n", |
| 75 | 79 | pCtx->iTotalNumMbRec, kiTotalNumMbInCurLayer, pCurDq->iMbWidth, pCurDq->iMbHeight); |
| 76 | 80 | bFrameCompleteFlag = false; //return later after output buffer is done |