Showing the changes to codec/encoder/core/src/deblocking.cpp (1 of 2 files). Show all
Unified · Split
| @@ -784,11 +784,9 @@ void PerformDeblockingFilter (sWelsEncCtx* pEnc) { · 783 unmodified lines | |||
| 784 | 784 | ||
| 785 | void WelsNonZeroCount_c (int8_t* pNonZeroCount) { | 785 | void WelsNonZeroCount_c (int8_t* pNonZeroCount) { |
| 786 | int32_t i; | 786 | int32_t i; |
| 787 | int32_t iIndex; | ||
| 788 | 787 | ||
| 789 | for (i = 0; i < 24; i++) { | 788 | for (i = 0; i < 24; i++) { |
| 790 | iIndex = g_kuiMbCountScan4Idx[i]; | 789 | pNonZeroCount[i] = !!pNonZeroCount[i]; |
| 791 | pNonZeroCount[iIndex] = !!pNonZeroCount[iIndex]; | ||
| 792 | } | 790 | } |
| 793 | } | 791 | } |
| 794 | void WelsBlockFuncInit (PSetNoneZeroCountZeroFunc* pfSetNZCZero, int32_t iCpu) { | 792 | void WelsBlockFuncInit (PSetNoneZeroCountZeroFunc* pfSetNZCZero, int32_t iCpu) { |