Searched refs:ROUND_POWER_OF_TWO (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/mips/ |
D | vp9_idct_msa.c | 27 #define ROUND_POWER_OF_TWO(value, n) (((value) + (1 << ((n) - 1))) >> (n)) macro 352 out = ROUND_POWER_OF_TWO((input[0] * cospi_16_64), VP9_DCT_CONST_BITS); in vp9_idct4x4_1_add_msa() 353 out = ROUND_POWER_OF_TWO((out * cospi_16_64), VP9_DCT_CONST_BITS); in vp9_idct4x4_1_add_msa() 354 out = ROUND_POWER_OF_TWO(out, 4); in vp9_idct4x4_1_add_msa() 606 out = ROUND_POWER_OF_TWO((input[0] * cospi_16_64), VP9_DCT_CONST_BITS); in vp9_idct8x8_1_add_msa() 607 out = ROUND_POWER_OF_TWO((out * cospi_16_64), VP9_DCT_CONST_BITS); in vp9_idct8x8_1_add_msa() 608 val = ROUND_POWER_OF_TWO(out, 5); in vp9_idct8x8_1_add_msa() 1179 out = ROUND_POWER_OF_TWO((input[0] * cospi_16_64), VP9_DCT_CONST_BITS); in vp9_idct16x16_1_add_msa() 1180 out = ROUND_POWER_OF_TWO((out * cospi_16_64), VP9_DCT_CONST_BITS); in vp9_idct16x16_1_add_msa() 1181 out = ROUND_POWER_OF_TWO(out, 6); in vp9_idct16x16_1_add_msa() [all …]
|