Showing the changes to codec/decoder/core/inc/decoder_context.h (1 of 9 files). Show all
Unified · Split
| @@ -211,6 +211,7 @@ typedef struct TagWelsDecoderContext { · 210 unmodified lines | ||
| 211 | 211 | int32_t* pSliceIdc[LAYER_NUM_EXCHANGEABLE]; // using int32_t for slice_idc |
| 212 | 212 | int8_t* pResidualPredFlag[LAYER_NUM_EXCHANGEABLE]; |
| 213 | 213 | int8_t* pInterPredictionDoneFlag[LAYER_NUM_EXCHANGEABLE]; |
| 214 | + bool* pMbCorrectlyDecodedFlag[LAYER_NUM_EXCHANGEABLE]; | |
| 214 | 215 | uint32_t iMbWidth; |
| 215 | 216 | uint32_t iMbHeight; |
| 216 | 217 | } sMb; |
| @@ -279,6 +280,7 @@ typedef struct TagWelsDecoderContext { · 62 unmodified lines | ||
| 279 | 280 | #endif |
| 280 | 281 | bool bNewSeqBegin; |
| 281 | 282 | int32_t iErrorConMethod; // |
| 283 | + PPicture pPreviousDecodedPictureInDpb; //pointer to previously decoded picture in DPB for error concealment | |
| 282 | 284 | PGetIntraPredFunc pGetI16x16LumaPredFunc[7]; //h264_predict_copy_16x16; |
| 283 | 285 | PGetIntraPredFunc pGetI4x4LumaPredFunc[14]; // h264_predict_4x4_t |
| 284 | 286 | PGetIntraPredFunc pGetIChromaPredFunc[7]; // h264_predict_8x8_t |
| @@ -293,7 +295,7 @@ typedef struct TagWelsDecoderContext { · 8 unmodified lines | ||
| 293 | 295 | |
| 294 | 296 | /* For Block */ |
| 295 | 297 | SBlockFunc sBlockFunc; |
| 296 | − /* For EC */ | |
| 298 | + | |
| 297 | 299 | int32_t iCurSeqIntervalTargetDependId; |
| 298 | 300 | int32_t iCurSeqIntervalMaxPicWidth; |
| 299 | 301 | int32_t iCurSeqIntervalMaxPicHeight; |