Searched refs:round_for_shift (Results 1 – 2 of 2) sorted by relevance
143 static __m128i round_for_shift(unsigned shift) { in round_for_shift() function150 const __m128i rounding_a = round_for_shift(2 * (bit_depth - 8)); in compute_p()151 const __m128i rounding_b = round_for_shift(bit_depth - 8); in compute_p()180 const __m128i rnd_z = round_for_shift(SGRPROJ_MTABLE_BITS); in calc_ab()181 const __m128i rnd_res = round_for_shift(SGRPROJ_RECIP_BITS); in calc_ab()284 round_for_shift(SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in final_filter()320 const __m128i rnd_z = round_for_shift(SGRPROJ_MTABLE_BITS); in calc_ab_fast()321 const __m128i rnd_res = round_for_shift(SGRPROJ_RECIP_BITS); in calc_ab_fast()458 round_for_shift(SGRPROJ_SGR_BITS + nb0 - SGRPROJ_RST_BITS); in final_filter_fast()460 round_for_shift(SGRPROJ_SGR_BITS + nb1 - SGRPROJ_RST_BITS); in final_filter_fast()[all …]
190 static __m256i round_for_shift(unsigned shift) { in round_for_shift() function197 const __m256i rounding_a = round_for_shift(2 * (bit_depth - 8)); in compute_p()198 const __m256i rounding_b = round_for_shift(bit_depth - 8); in compute_p()229 const __m256i rnd_z = round_for_shift(SGRPROJ_MTABLE_BITS); in calc_ab()230 const __m256i rnd_res = round_for_shift(SGRPROJ_RECIP_BITS); in calc_ab()329 round_for_shift(SGRPROJ_SGR_BITS + nb - SGRPROJ_RST_BITS); in final_filter()366 const __m256i rnd_z = round_for_shift(SGRPROJ_MTABLE_BITS); in calc_ab_fast()367 const __m256i rnd_res = round_for_shift(SGRPROJ_RECIP_BITS); in calc_ab_fast()501 round_for_shift(SGRPROJ_SGR_BITS + nb0 - SGRPROJ_RST_BITS); in final_filter_fast()503 round_for_shift(SGRPROJ_SGR_BITS + nb1 - SGRPROJ_RST_BITS); in final_filter_fast()[all …]