Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 7 files). Show all
Unified · Split
| @@ -284,9 +284,9 @@ void DestroyPicBuff (PWelsDecoderContext pCtx, PPicBuff* ppPicBuf, CMemoryAlign* · 283 unmodified lines | |||
| 284 | 284 | ||
| 285 | //reset picture reodering buffer list | 285 | //reset picture reodering buffer list |
| 286 | void ResetReorderingPictureBuffers (PPictReoderingStatus pPictReoderingStatus, PPictInfo pPictInfo, | 286 | void ResetReorderingPictureBuffers (PPictReoderingStatus pPictReoderingStatus, PPictInfo pPictInfo, |
| 287 | const bool *fullReset) { | 287 | const bool fullReset) { |
| 288 | if (pPictReoderingStatus != NULL && pPictInfo != NULL) { | 288 | if (pPictReoderingStatus != NULL && pPictInfo != NULL) { |
| 289 | int32_t pictInfoListCount = *fullReset ? 16 : (pPictReoderingStatus->iLargestBufferedPicIndex + 1); | 289 | int32_t pictInfoListCount = fullReset ? 16 : (pPictReoderingStatus->iLargestBufferedPicIndex + 1); |
| 290 | pPictReoderingStatus->iPictInfoIndex = 0; | 290 | pPictReoderingStatus->iPictInfoIndex = 0; |
| 291 | pPictReoderingStatus->iMinPOC = IMinInt32; | 291 | pPictReoderingStatus->iMinPOC = IMinInt32; |
| 292 | pPictReoderingStatus->iNumOfPicts = 0; | 292 | pPictReoderingStatus->iNumOfPicts = 0; |
| @@ -1038,7 +1038,7 @@ void InitPredFunc (PWelsDecoderContext pCtx, uint32_t uiCpuFlag) { · 745 unmodified lines | |||
| 1038 | pCtx->pGetIChromaPredFunc[C_PRED_DC_128] = WelsIChromaPredDcNA_c; | 1038 | pCtx->pGetIChromaPredFunc[C_PRED_DC_128] = WelsIChromaPredDcNA_c; |
| 1039 | 1039 | ||
| 1040 | pCtx->pIdctResAddPredFunc = IdctResAddPred_c; | 1040 | pCtx->pIdctResAddPredFunc = IdctResAddPred_c; |
| 1041 | pCtx->pIdctFourResAddPredFunc = (void*)IdctResAddPred_c; | 1041 | pCtx->pIdctFourResAddPredFunc = IdctFourResAddPred_; |
| 1042 | 1042 | ||
| 1043 | pCtx->pIdctResAddPredFunc8x8 = IdctResAddPred8x8_c; | 1043 | pCtx->pIdctResAddPredFunc8x8 = IdctResAddPred8x8_c; |
| 1044 | 1044 | ||