Showing the changes to test/processing/ProcessUT_DownSample.cpp (1 of 13 files). Show all
Unified · Split
| @@ -72,7 +72,7 @@ void GeneralBilinearFastDownsampler_ref (uint8_t* pDst, const int32_t kiDstStrid · 71 unmodified lines | ||
| 72 | 72 | x += 1; |
| 73 | 73 | x >>= 1; |
| 74 | 74 | //x = (((__int64)(SCALE_BIG - 1 - iFu))*(SCALE_BIG - 1 - fv)*a + ((__int64)iFu)*(SCALE_BIG - 1 -fv)*b + ((__int64)(SCALE_BIG - 1 -iFu))*fv*c + |
| 75 | − // ((__int64)iFu)*fv*d + (1 << (2*SCALE_BIT_BIG-1)) ) >> (2*SCALE_BIT_BIG); | |
| 75 | + // ((__int64)iFu)*fv*d + (1 << (2*SCALE_BIT_BIG-1)) ) >> (2*SCALE_BIT_BIG); | |
| 76 | 76 | x = WELS_CLAMP (x, 0, 255); |
| 77 | 77 | *pByDst++ = (uint8_t)x; |
| 78 | 78 | |