Showing the changes to test/encoder/EncUT_DecodeMbAux.cpp (1 of 14 files). Show all
Unified · Split
| @@ -156,10 +156,10 @@ void WelsDequantHadamard2x2DcAnchor (int16_t* pDct, int16_t iMF) { · 155 unmodified lines | |||
| 156 | const int16_t iDelU = pDct[0] - pDct[2]; | 156 | const int16_t iDelU = pDct[0] - pDct[2]; |
| 157 | const int16_t iSumD = pDct[1] + pDct[3]; | 157 | const int16_t iSumD = pDct[1] + pDct[3]; |
| 158 | const int16_t iDelD = pDct[1] - pDct[3]; | 158 | const int16_t iDelD = pDct[1] - pDct[3]; |
| 159 | pDct[0] = ((iSumU + iSumD) * iMF)>>1; | 159 | pDct[0] = ((iSumU + iSumD) * iMF) >> 1; |
| 160 | pDct[1] = ((iSumU - iSumD) * iMF)>>1; | 160 | pDct[1] = ((iSumU - iSumD) * iMF) >> 1; |
| 161 | pDct[2] = ((iDelU + iDelD) * iMF)>>1; | 161 | pDct[2] = ((iDelU + iDelD) * iMF) >> 1; |
| 162 | pDct[3] = ((iDelU - iDelD) * iMF)>>1; | 162 | pDct[3] = ((iDelU - iDelD) * iMF) >> 1; |
| 163 | } | 163 | } |
| 164 | TEST (DecodeMbAuxTest, WelsDequantIHadamard2x2Dc) { | 164 | TEST (DecodeMbAuxTest, WelsDequantIHadamard2x2Dc) { |
| 165 | int16_t iDct[4], iRefDct[4]; | 165 | int16_t iDct[4], iRefDct[4]; |