Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 8 files). Show all
Unified · Split
| @@ -73,7 +73,7 @@ namespace WelsEnc { · 72 unmodified lines | |||
| 73 | void UpdateMbListNeighborParallel (SSliceCtx* pSliceCtx, | 73 | void UpdateMbListNeighborParallel (SSliceCtx* pSliceCtx, |
| 74 | SMB* pMbList, | 74 | SMB* pMbList, |
| 75 | const int32_t uiSliceIdc) { | 75 | const int32_t uiSliceIdc) { |
| 76 | const uint8_t* kpMbMap = pSliceCtx->pOverallMbMap; | 76 | const uint16_t* kpMbMap = pSliceCtx->pOverallMbMap; |
| 77 | const int32_t kiMbWidth = pSliceCtx->iMbWidth; | 77 | const int32_t kiMbWidth = pSliceCtx->iMbWidth; |
| 78 | int32_t iIdx = pSliceCtx->pFirstMbInSlice[uiSliceIdc]; | 78 | int32_t iIdx = pSliceCtx->pFirstMbInSlice[uiSliceIdc]; |
| 79 | const int32_t kiEndMbInSlice = iIdx + pSliceCtx->pCountMbNumInSlice[uiSliceIdc] - 1; | 79 | const int32_t kiEndMbInSlice = iIdx + pSliceCtx->pCountMbNumInSlice[uiSliceIdc] - 1; |