/external/libvpx/libvpx/vpx_dsp/mips/ |
D | itrans8_dspr2.c | 642 x0 = ROUND_POWER_OF_TWO((s0 + s4), DCT_CONST_BITS); in iadst8_dspr2() 643 x1 = ROUND_POWER_OF_TWO((s1 + s5), DCT_CONST_BITS); in iadst8_dspr2() 644 x2 = ROUND_POWER_OF_TWO((s2 + s6), DCT_CONST_BITS); in iadst8_dspr2() 645 x3 = ROUND_POWER_OF_TWO((s3 + s7), DCT_CONST_BITS); in iadst8_dspr2() 646 x4 = ROUND_POWER_OF_TWO((s0 - s4), DCT_CONST_BITS); in iadst8_dspr2() 647 x5 = ROUND_POWER_OF_TWO((s1 - s5), DCT_CONST_BITS); in iadst8_dspr2() 648 x6 = ROUND_POWER_OF_TWO((s2 - s6), DCT_CONST_BITS); in iadst8_dspr2() 649 x7 = ROUND_POWER_OF_TWO((s3 - s7), DCT_CONST_BITS); in iadst8_dspr2() 665 x4 = ROUND_POWER_OF_TWO((s4 + s6), DCT_CONST_BITS); in iadst8_dspr2() 666 x5 = ROUND_POWER_OF_TWO((s5 + s7), DCT_CONST_BITS); in iadst8_dspr2() [all …]
|
D | itrans32_cols_dspr2.c | 853 step3_12 = ROUND_POWER_OF_TWO((step1_3 - step2_28), 6); in vpx_idct32_cols_add_blk_dspr2() 854 step3_13 = ROUND_POWER_OF_TWO((step1_2 - step2_29), 6); in vpx_idct32_cols_add_blk_dspr2() 855 step3_14 = ROUND_POWER_OF_TWO((step1_1 - step2_30), 6); in vpx_idct32_cols_add_blk_dspr2() 856 step3_15 = ROUND_POWER_OF_TWO((step1_0 - step2_31), 6); in vpx_idct32_cols_add_blk_dspr2() 930 step3_12 = ROUND_POWER_OF_TWO((step1_7 - step1_24), 6); in vpx_idct32_cols_add_blk_dspr2() 931 step3_13 = ROUND_POWER_OF_TWO((step1_6 - step1_25), 6); in vpx_idct32_cols_add_blk_dspr2() 932 step3_14 = ROUND_POWER_OF_TWO((step1_5 - step1_26), 6); in vpx_idct32_cols_add_blk_dspr2() 933 step3_15 = ROUND_POWER_OF_TWO((step1_4 - step1_27), 6); in vpx_idct32_cols_add_blk_dspr2() 1007 step3_12 = ROUND_POWER_OF_TWO((step1_11 - step1_20), 6); in vpx_idct32_cols_add_blk_dspr2() 1008 step3_13 = ROUND_POWER_OF_TWO((step1_10 - step1_21), 6); in vpx_idct32_cols_add_blk_dspr2() [all …]
|
D | idct4x4_msa.c | 92 out = ROUND_POWER_OF_TWO((input[0] * cospi_16_64), DCT_CONST_BITS); in vpx_idct4x4_1_add_msa() 93 out = ROUND_POWER_OF_TWO((out * cospi_16_64), DCT_CONST_BITS); in vpx_idct4x4_1_add_msa() 94 out = ROUND_POWER_OF_TWO(out, 4); in vpx_idct4x4_1_add_msa()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | loopfilter.c | 106 filter = ROUND_POWER_OF_TWO(filter1, 1) & ~hev; in filter4() 171 *op2 = ROUND_POWER_OF_TWO(p3 + p3 + p3 + 2 * p2 + p1 + p0 + q0, 3); in filter8() 172 *op1 = ROUND_POWER_OF_TWO(p3 + p3 + p2 + 2 * p1 + p0 + q0 + q1, 3); in filter8() 173 *op0 = ROUND_POWER_OF_TWO(p3 + p2 + p1 + 2 * p0 + q0 + q1 + q2, 3); in filter8() 174 *oq0 = ROUND_POWER_OF_TWO(p2 + p1 + p0 + 2 * q0 + q1 + q2 + q3, 3); in filter8() 175 *oq1 = ROUND_POWER_OF_TWO(p1 + p0 + q0 + 2 * q1 + q2 + q3 + q3, 3); in filter8() 176 *oq2 = ROUND_POWER_OF_TWO(p0 + q0 + q1 + 2 * q2 + q3 + q3 + q3, 3); in filter8() 250 *op6 = ROUND_POWER_OF_TWO( in filter16() 252 *op5 = ROUND_POWER_OF_TWO( in filter16() 254 *op4 = ROUND_POWER_OF_TWO( in filter16() [all …]
|
D | vpx_convolve.c | 36 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_horiz() 58 dst[x] = ROUND_POWER_OF_TWO( in convolve_avg_horiz() 59 dst[x] + clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)), 1); in convolve_avg_horiz() 82 dst[y * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_vert() 105 dst[y * dst_stride] = ROUND_POWER_OF_TWO( in convolve_avg_vert() 107 clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)), in convolve_avg_vert() 238 for (x = 0; x < w; ++x) dst[x] = ROUND_POWER_OF_TWO(dst[x] + src[x], 1); in vpx_convolve_avg_c() 308 dst[x] = clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in highbd_convolve_horiz() 330 dst[x] = ROUND_POWER_OF_TWO( in highbd_convolve_avg_horiz() 331 dst[x] + clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd), in highbd_convolve_avg_horiz() [all …]
|
D | quantize.c | 81 tmp = clamp(abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1), in vpx_quantize_dc_32x32() 107 const int64_t tmp = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[0], 1); in vpx_highbd_quantize_dc_32x32() 224 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], 1), in vpx_quantize_b_32x32_c() 225 ROUND_POWER_OF_TWO(zbin_ptr[1], 1) }; in vpx_quantize_b_32x32_c() 256 abs_coeff += ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in vpx_quantize_b_32x32_c() 285 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], 1), in vpx_highbd_quantize_b_32x32_c() 286 ROUND_POWER_OF_TWO(zbin_ptr[1], 1) }; in vpx_highbd_quantize_b_32x32_c() 316 const int64_t tmp1 = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in vpx_highbd_quantize_b_32x32_c()
|
D | variance.c | 88 ref_ptr[j] = ROUND_POWER_OF_TWO( in var_filter_block2d_bil_first_pass() 117 ref_ptr[j] = ROUND_POWER_OF_TWO( in var_filter_block2d_bil_second_pass() 230 comp_pred[j] = ROUND_POWER_OF_TWO(tmp, 1); in vpx_comp_avg_pred_c() 278 *sse = (uint32_t)ROUND_POWER_OF_TWO(sse_long, 4); in highbd_10_variance() 279 *sum = (int)ROUND_POWER_OF_TWO(sum_long, 2); in highbd_10_variance() 289 *sse = (uint32_t)ROUND_POWER_OF_TWO(sse_long, 8); in highbd_12_variance() 290 *sum = (int)ROUND_POWER_OF_TWO(sum_long, 4); in highbd_12_variance() 384 output_ptr[j] = ROUND_POWER_OF_TWO( in highbd_var_filter_block2d_bil_first_pass() 406 output_ptr[j] = ROUND_POWER_OF_TWO( in highbd_var_filter_block2d_bil_second_pass() 559 comp_pred[j] = ROUND_POWER_OF_TWO(tmp, 1); in vpx_highbd_comp_avg_pred()
|
/external/libaom/libaom/aom_dsp/ |
D | loopfilter.c | 128 filter = ROUND_POWER_OF_TWO(filter1, 1) & ~hev; in filter4() 191 *op1 = ROUND_POWER_OF_TWO(p2 * 3 + p1 * 2 + p0 * 2 + q0, 3); in filter6() 192 *op0 = ROUND_POWER_OF_TWO(p2 + p1 * 2 + p0 * 2 + q0 * 2 + q1, 3); in filter6() 193 *oq0 = ROUND_POWER_OF_TWO(p1 + p0 * 2 + q0 * 2 + q1 * 2 + q2, 3); in filter6() 194 *oq1 = ROUND_POWER_OF_TWO(p0 + q0 * 2 + q1 * 2 + q2 * 3, 3); in filter6() 209 *op2 = ROUND_POWER_OF_TWO(p3 + p3 + p3 + 2 * p2 + p1 + p0 + q0, 3); in filter8() 210 *op1 = ROUND_POWER_OF_TWO(p3 + p3 + p2 + 2 * p1 + p0 + q0 + q1, 3); in filter8() 211 *op0 = ROUND_POWER_OF_TWO(p3 + p2 + p1 + 2 * p0 + q0 + q1 + q2, 3); in filter8() 212 *oq0 = ROUND_POWER_OF_TWO(p2 + p1 + p0 + 2 * q0 + q1 + q2 + q3, 3); in filter8() 213 *oq1 = ROUND_POWER_OF_TWO(p1 + p0 + q0 + 2 * q1 + q2 + q3 + q3, 3); in filter8() [all …]
|
D | quantize.c | 23 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in quantize_b_adaptive_helper_c() 24 ROUND_POWER_OF_TWO(zbin_ptr[1], log_scale) }; in quantize_b_adaptive_helper_c() 34 prescan_add[i] = ROUND_POWER_OF_TWO(dequant_ptr[i] * EOB_FACTOR, 7); in quantize_b_adaptive_helper_c() 64 clamp(abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale), in quantize_b_adaptive_helper_c() 94 ROUND_POWER_OF_TWO(dequant_ptr[rc != 0] * factor, 7); in quantize_b_adaptive_helper_c() 115 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in quantize_b_helper_c() 116 ROUND_POWER_OF_TWO(zbin_ptr[1], log_scale) }; in quantize_b_helper_c() 149 clamp(abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale), in quantize_b_helper_c() 177 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in highbd_quantize_b_adaptive_helper_c() 178 ROUND_POWER_OF_TWO(zbin_ptr[1], log_scale) }; in highbd_quantize_b_adaptive_helper_c() [all …]
|
D | blend_a64_mask.c | 68 clip_pixel(ROUND_POWER_OF_TWO(res, round_bits)); in aom_lowbd_blend_a64_d16_mask_c() 75 const int m = ROUND_POWER_OF_TWO( in aom_lowbd_blend_a64_d16_mask_c() 87 clip_pixel(ROUND_POWER_OF_TWO(res, round_bits)); in aom_lowbd_blend_a64_d16_mask_c() 102 clip_pixel(ROUND_POWER_OF_TWO(res, round_bits)); in aom_lowbd_blend_a64_d16_mask_c() 117 clip_pixel(ROUND_POWER_OF_TWO(res, round_bits)); in aom_lowbd_blend_a64_d16_mask_c() 161 unsigned int v = negative_to_zero(ROUND_POWER_OF_TWO(res, round_bits)); in aom_highbd_blend_a64_d16_mask_c() 173 const int m = ROUND_POWER_OF_TWO( in aom_highbd_blend_a64_d16_mask_c() 180 unsigned int v = negative_to_zero(ROUND_POWER_OF_TWO(res, round_bits)); in aom_highbd_blend_a64_d16_mask_c() 196 unsigned int v = negative_to_zero(ROUND_POWER_OF_TWO(res, round_bits)); in aom_highbd_blend_a64_d16_mask_c() 212 unsigned int v = negative_to_zero(ROUND_POWER_OF_TWO(res, round_bits)); in aom_highbd_blend_a64_d16_mask_c() [all …]
|
D | blend.h | 27 ROUND_POWER_OF_TWO((a) * (v0) + (AOM_BLEND_A64_MAX_ALPHA - (a)) * (v1), \ 36 ROUND_POWER_OF_TWO((a) * (v0) + (AOM_BLEND_A256_MAX_ALPHA - (a)) * (v1), \ 40 #define AOM_BLEND_AVG(v0, v1) ROUND_POWER_OF_TWO((v0) + (v1), 1)
|
/external/libaom/libaom/av1/common/ |
D | convolve.c | 43 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in av1_convolve_horiz_rs_c() 68 dst[x] = clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in av1_highbd_convolve_horiz_rs_c() 142 (int16_t)ROUND_POWER_OF_TWO(sum, conv_params->round_0); in av1_convolve_2d_sr_c() 158 int16_t res = ROUND_POWER_OF_TWO(sum, conv_params->round_1) - in av1_convolve_2d_sr_c() 161 dst[y * dst_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(res, bits)); in av1_convolve_2d_sr_c() 191 clip_pixel(ROUND_POWER_OF_TWO(res, FILTER_BITS)); in av1_convolve_y_sr_c() 222 res = ROUND_POWER_OF_TWO(res, conv_params->round_0); in av1_convolve_x_sr_c() 223 dst[y * dst_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(res, bits)); in av1_convolve_x_sr_c() 274 (int16_t)ROUND_POWER_OF_TWO(sum, conv_params->round_0); in av1_dist_wtd_convolve_2d_c() 290 CONV_BUF_TYPE res = ROUND_POWER_OF_TWO(sum, conv_params->round_1); in av1_dist_wtd_convolve_2d_c() [all …]
|
D | warped_motion.c | 324 f = ROUND_POWER_OF_TWO(e, *shift - DIV_LUT_BITS); in resolve_divisor_32() 447 const int offs = ROUND_POWER_OF_TWO(sx, WARPEDDIFF_PREC_BITS) + in av1_highbd_warp_affine_c() 457 sum = ROUND_POWER_OF_TWO(sum, reduce_bits_horiz); in av1_highbd_warp_affine_c() 468 const int offs = ROUND_POWER_OF_TWO(sy, WARPEDDIFF_PREC_BITS) + in av1_highbd_warp_affine_c() 483 sum = ROUND_POWER_OF_TWO(sum, reduce_bits_vert); in av1_highbd_warp_affine_c() 499 clip_pixel_highbd(ROUND_POWER_OF_TWO(tmp32, round_bits), bd); in av1_highbd_warp_affine_c() 506 sum = ROUND_POWER_OF_TWO(sum, reduce_bits_vert); in av1_highbd_warp_affine_c() 732 const int offs = ROUND_POWER_OF_TWO(sx, WARPEDDIFF_PREC_BITS) + in av1_warp_affine_c() 744 sum = ROUND_POWER_OF_TWO(sum, reduce_bits_horiz); in av1_warp_affine_c() 756 const int offs = ROUND_POWER_OF_TWO(sy, WARPEDDIFF_PREC_BITS) + in av1_warp_affine_c() [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | highbd_variance_sse2.c | 66 *sum = ROUND_POWER_OF_TWO(sum_long, 2); in highbd_10_variance_sse2() 67 *sse = (uint32_t)ROUND_POWER_OF_TWO(sse_long, 4); in highbd_10_variance_sse2() 88 *sum = ROUND_POWER_OF_TWO(sum_long, 4); in highbd_12_variance_sse2() 89 *sse = (uint32_t)ROUND_POWER_OF_TWO(sse_long, 8); in highbd_12_variance_sse2() 109 *sum = ROUND_POWER_OF_TWO(*sum, 2); \ 110 *sse = ROUND_POWER_OF_TWO(*sse, 4); \ 120 *sum = ROUND_POWER_OF_TWO(*sum, 4); \ 121 *sse = ROUND_POWER_OF_TWO(*sse, 8); \ 330 se = ROUND_POWER_OF_TWO(se, 2); \ 331 sse = ROUND_POWER_OF_TWO(sse, 4); \ [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | extend.c | 168 const int et_uv = ROUND_POWER_OF_TWO(et_y, 1); in av1_copy_and_extend_frame_with_rect() 169 const int el_uv = ROUND_POWER_OF_TWO(el_y, 1); in av1_copy_and_extend_frame_with_rect() 170 const int eb_uv = ROUND_POWER_OF_TWO(eb_y, 1); in av1_copy_and_extend_frame_with_rect() 171 const int er_uv = ROUND_POWER_OF_TWO(er_y, 1); in av1_copy_and_extend_frame_with_rect() 174 const int srch_uv = ROUND_POWER_OF_TWO(srch, 1); in av1_copy_and_extend_frame_with_rect() 175 const int srcw_uv = ROUND_POWER_OF_TWO(srcw, 1); in av1_copy_and_extend_frame_with_rect()
|
D | picklpf.c | 233 ? ROUND_POWER_OF_TWO(q * 17563 - 421574, 18) in av1_pick_filter_level() 234 : ROUND_POWER_OF_TWO(q * inter_frame_multiplier + 650707, 18); in av1_pick_filter_level() 237 filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 4060632, 20); in av1_pick_filter_level() 240 filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 16242526, 22); in av1_pick_filter_level()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_extend.c | 171 const int et_uv = ROUND_POWER_OF_TWO(et_y, 1); in vp9_copy_and_extend_frame_with_rect() 172 const int el_uv = ROUND_POWER_OF_TWO(el_y, 1); in vp9_copy_and_extend_frame_with_rect() 173 const int eb_uv = ROUND_POWER_OF_TWO(eb_y, 1); in vp9_copy_and_extend_frame_with_rect() 174 const int er_uv = ROUND_POWER_OF_TWO(er_y, 1); in vp9_copy_and_extend_frame_with_rect() 177 const int srch_uv = ROUND_POWER_OF_TWO(srch, 1); in vp9_copy_and_extend_frame_with_rect() 178 const int srcw_uv = ROUND_POWER_OF_TWO(srcw, 1); in vp9_copy_and_extend_frame_with_rect()
|
D | vp9_picklpf.c | 167 filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 1015158, 18); in vp9_pick_filter_level() 170 filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 4060632, 20); in vp9_pick_filter_level() 174 filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 16242526, 22); in vp9_pick_filter_level() 178 int filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 1015158, 18); in vp9_pick_filter_level()
|
/external/libaom/libaom/aom_dsp/x86/ |
D | highbd_quantize_intrin_sse2.c | 103 const int zbin0_tmp = ROUND_POWER_OF_TWO(zbin_ptr[0], 1); in aom_highbd_quantize_b_32x32_sse2() 104 const int zbin1_tmp = ROUND_POWER_OF_TWO(zbin_ptr[1], 1); in aom_highbd_quantize_b_32x32_sse2() 139 const int64_t tmp1 = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in aom_highbd_quantize_b_32x32_sse2() 161 const int zbin0_tmp = ROUND_POWER_OF_TWO(zbin_ptr[0], 2); in aom_highbd_quantize_b_64x64_sse2() 162 const int zbin1_tmp = ROUND_POWER_OF_TWO(zbin_ptr[1], 2); in aom_highbd_quantize_b_64x64_sse2() 197 const int64_t tmp1 = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 2); in aom_highbd_quantize_b_64x64_sse2()
|
D | adaptive_quantize_sse2.c | 33 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], 0), in aom_quantize_b_adaptive_sse2() 34 ROUND_POWER_OF_TWO(zbin_ptr[1], 0) }; in aom_quantize_b_adaptive_sse2() 38 prescan_add[i] = ROUND_POWER_OF_TWO(dequant_ptr[i] * EOB_FACTOR, 7); in aom_quantize_b_adaptive_sse2() 205 ROUND_POWER_OF_TWO(dequant_ptr[rc != 0] * factor, 7); in aom_quantize_b_adaptive_sse2() 233 const int zbins[2] = { ROUND_POWER_OF_TWO(zbin_ptr[0], log_scale), in aom_quantize_b_32x32_adaptive_sse2() 234 ROUND_POWER_OF_TWO(zbin_ptr[1], log_scale) }; in aom_quantize_b_32x32_adaptive_sse2() 238 prescan_add[i] = ROUND_POWER_OF_TWO(dequant_ptr[i] * EOB_FACTOR, 7); in aom_quantize_b_32x32_adaptive_sse2() 412 ROUND_POWER_OF_TWO(dequant_ptr[rc != 0] * factor, 7); in aom_quantize_b_32x32_adaptive_sse2()
|
D | highbd_variance_sse2.c | 78 *sum = ROUND_POWER_OF_TWO(sum_long, 2); in highbd_10_variance_sse2() 79 *sse = (uint32_t)ROUND_POWER_OF_TWO(sse_long, 4); in highbd_10_variance_sse2() 100 *sum = ROUND_POWER_OF_TWO(sum_long, 4); in highbd_12_variance_sse2() 101 *sse = (uint32_t)ROUND_POWER_OF_TWO(sse_long, 8); in highbd_12_variance_sse2() 121 *sum = ROUND_POWER_OF_TWO(*sum, 2); \ 122 *sse = ROUND_POWER_OF_TWO(*sse, 4); \ 132 *sum = ROUND_POWER_OF_TWO(*sum, 4); \ 133 *sse = ROUND_POWER_OF_TWO(*sse, 8); \ 367 se = ROUND_POWER_OF_TWO(se, 2); \ 368 sse = (uint32_t)ROUND_POWER_OF_TWO(long_sse, 4); \ [all …]
|
D | highbd_variance_sse4.c | 89 *sse = (uint32_t)ROUND_POWER_OF_TWO(local_sse, 4); in aom_highbd_10_variance4x4_sse4_1() 90 sum = ROUND_POWER_OF_TWO(sum, 2); in aom_highbd_10_variance4x4_sse4_1() 103 *sse = (uint32_t)ROUND_POWER_OF_TWO(local_sse, 8); in aom_highbd_12_variance4x4_sse4_1() 104 sum = ROUND_POWER_OF_TWO(sum, 4); in aom_highbd_12_variance4x4_sse4_1()
|
/external/libaom/libaom/aom_ports/ |
D | mem.h | 42 #define ROUND_POWER_OF_TWO(value, n) (((value) + (((1 << (n)) >> 1))) >> (n)) macro 46 (((value) < 0) ? -ROUND_POWER_OF_TWO(-(value), (n)) \ 47 : ROUND_POWER_OF_TWO((value), (n)))
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_idct.c | 47 ROUND_POWER_OF_TWO(temp_out[j], 4)); in vp9_iht4x4_16_add_c() 80 ROUND_POWER_OF_TWO(temp_out[j], 5)); in vp9_iht8x8_64_add_c() 113 ROUND_POWER_OF_TWO(temp_out[j], 6)); in vp9_iht16x16_256_add_c() 235 dest[j * stride + i], ROUND_POWER_OF_TWO(temp_out[j], 4), bd); in vp9_highbd_iht4x4_16_add_c() 268 dest[j * stride + i], ROUND_POWER_OF_TWO(temp_out[j], 5), bd); in vp9_highbd_iht8x8_64_add_c() 301 dest[j * stride + i], ROUND_POWER_OF_TWO(temp_out[j], 6), bd); in vp9_highbd_iht16x16_256_add_c()
|
/external/libaom/libaom/av1/common/x86/ |
D | av1_convolve_scale_sse4.c | 95 dst[y + x * h] = ROUND_POWER_OF_TWO(sum, round); in hfilter8() 205 CONV_BUF_TYPE res = ROUND_POWER_OF_TWO(sum, conv_params->round_1); in vfilter8() 219 dst[y * dst_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(tmp, bits)); in vfilter8() 227 dst[y * dst_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(tmp, bits)); in vfilter8() 326 dst[y + x * h] = ROUND_POWER_OF_TWO(sum, round); in highbd_hfilter8() 442 CONV_BUF_TYPE res = ROUND_POWER_OF_TWO(sum, conv_params->round_1); in highbd_vfilter8() 457 clip_pixel_highbd(ROUND_POWER_OF_TWO(tmp, bits), bd); in highbd_vfilter8() 466 clip_pixel_highbd(ROUND_POWER_OF_TWO(tmp, bits), bd); in highbd_vfilter8()
|