/external/libaom/libaom/av1/common/ |
D | convolve.c | 120 ConvolveParams *conv_params) { in av1_convolve_2d_sr_c() argument 128 FILTER_BITS * 2 - conv_params->round_0 - conv_params->round_1; in av1_convolve_2d_sr_c() 142 (int16_t)ROUND_POWER_OF_TWO(sum, conv_params->round_0); in av1_convolve_2d_sr_c() 150 const int offset_bits = bd + 2 * FILTER_BITS - 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() 159 ((1 << (offset_bits - conv_params->round_1)) + in av1_convolve_2d_sr_c() 160 (1 << (offset_bits - conv_params->round_1 - 1))); in av1_convolve_2d_sr_c() 171 ConvolveParams *conv_params) { in av1_convolve_y_sr_c() argument 175 (void)conv_params; in av1_convolve_y_sr_c() 177 assert(conv_params->round_0 <= FILTER_BITS); in av1_convolve_y_sr_c() [all …]
|
D | convolve.h | 45 ConvolveParams *conv_params); 51 const int subpel_y_q4, ConvolveParams *conv_params, int bd); 60 int scaled, ConvolveParams *conv_params, 67 ConvolveParams conv_params; in get_conv_params_no_round() local 68 conv_params.do_average = do_average; in get_conv_params_no_round() 70 conv_params.is_compound = is_compound; in get_conv_params_no_round() 71 conv_params.round_0 = ROUND0_BITS; in get_conv_params_no_round() 72 conv_params.round_1 = is_compound ? COMPOUND_ROUND1_BITS in get_conv_params_no_round() 73 : 2 * FILTER_BITS - conv_params.round_0; in get_conv_params_no_round() 74 const int intbufrange = bd + FILTER_BITS - conv_params.round_0 + 2; in get_conv_params_no_round() [all …]
|
D | av1_rtcd_defs.pl | 73 …_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params"; 75 … const int16_t *filter_y, int y_step_q4, int w, int h, const ConvolveParams *conv_params, int bps"; 180 …de, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd"; 340 …t, int p_stride, int subsampling_x, int subsampling_y, ConvolveParams *conv_params, int16_t alpha,… 343 …_stride, int subsampling_x, int subsampling_y, int bd, ConvolveParams *conv_params, int16_t alpha,… 363 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params"; 364 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params"; 365 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params"; 366 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params"; 367 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params"; [all …]
|
D | warped_motion.c | 398 ConvolveParams *conv_params, int16_t alpha, in av1_highbd_warp_affine_c() argument 402 conv_params->round_0 + in av1_highbd_warp_affine_c() 403 AOMMAX(bd + FILTER_BITS - conv_params->round_0 - 14, 0); in av1_highbd_warp_affine_c() 404 const int reduce_bits_vert = conv_params->is_compound in av1_highbd_warp_affine_c() 405 ? conv_params->round_1 in av1_highbd_warp_affine_c() 411 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_warp_affine_c() 412 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in av1_highbd_warp_affine_c() 414 assert(IMPLIES(conv_params->is_compound, conv_params->dst != NULL)); in av1_highbd_warp_affine_c() 478 if (conv_params->is_compound) { in av1_highbd_warp_affine_c() 480 &conv_params in av1_highbd_warp_affine_c() [all …]
|
/external/libaom/libaom/av1/common/x86/ |
D | av1_convolve_scale_sse4.c | 110 const ConvolveParams *conv_params, int bd) { in vfilter8() argument 111 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in vfilter8() 114 const __m128i round_shift = _mm_cvtsi32_si128(conv_params->round_1); in vfilter8() 116 const int32_t sub32 = ((1 << (offset_bits - conv_params->round_1)) + in vfilter8() 117 (1 << (offset_bits - conv_params->round_1 - 1))); in vfilter8() 120 CONV_BUF_TYPE *dst16 = conv_params->dst; in vfilter8() 121 const int dst16_stride = conv_params->dst_stride; in vfilter8() 123 FILTER_BITS * 2 - conv_params->round_0 - conv_params->round_1; in vfilter8() 127 _mm_set1_epi32(((1 << conv_params->round_1) >> 1)); in vfilter8() 130 const int w0 = conv_params->fwd_offset; in vfilter8() [all …]
|
D | jnt_convolve_avx2.c | 23 static INLINE __m256i unpack_weights_avx2(ConvolveParams *conv_params) { in unpack_weights_avx2() argument 24 const int w0 = conv_params->fwd_offset; in unpack_weights_avx2() 25 const int w1 = conv_params->bck_offset; in unpack_weights_avx2() 43 ConvolveParams *conv_params) { in av1_dist_wtd_convolve_x_avx2() argument 44 CONV_BUF_TYPE *dst = conv_params->dst; in av1_dist_wtd_convolve_x_avx2() 45 int dst_stride = conv_params->dst_stride; in av1_dist_wtd_convolve_x_avx2() 48 const int bits = FILTER_BITS - conv_params->round_1; in av1_dist_wtd_convolve_x_avx2() 49 const __m256i wt = unpack_weights_avx2(conv_params); in av1_dist_wtd_convolve_x_avx2() 50 const int do_average = conv_params->do_average; in av1_dist_wtd_convolve_x_avx2() 51 const int use_dist_wtd_comp_avg = conv_params->use_dist_wtd_comp_avg; in av1_dist_wtd_convolve_x_avx2() [all …]
|
D | highbd_jnt_convolve_avx2.c | 29 const int subpel_y_q4, ConvolveParams *conv_params, int bd) { in av1_highbd_dist_wtd_convolve_2d_copy_avx2() argument 30 CONV_BUF_TYPE *dst = conv_params->dst; in av1_highbd_dist_wtd_convolve_2d_copy_avx2() 31 int dst_stride = conv_params->dst_stride; in av1_highbd_dist_wtd_convolve_2d_copy_avx2() 38 FILTER_BITS * 2 - conv_params->round_1 - conv_params->round_0; in av1_highbd_dist_wtd_convolve_2d_copy_avx2() 40 const int do_average = conv_params->do_average; in av1_highbd_dist_wtd_convolve_2d_copy_avx2() 41 const int use_dist_wtd_comp_avg = conv_params->use_dist_wtd_comp_avg; in av1_highbd_dist_wtd_convolve_2d_copy_avx2() 42 const int w0 = conv_params->fwd_offset; in av1_highbd_dist_wtd_convolve_2d_copy_avx2() 43 const int w1 = conv_params->bck_offset; in av1_highbd_dist_wtd_convolve_2d_copy_avx2() 50 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_copy_avx2() 55 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_copy_avx2() [all …]
|
D | jnt_convolve_sse2.c | 24 ConvolveParams *conv_params) { in av1_dist_wtd_convolve_x_sse2() argument 26 CONV_BUF_TYPE *dst = conv_params->dst; in av1_dist_wtd_convolve_x_sse2() 27 const int dst_stride = conv_params->dst_stride; in av1_dist_wtd_convolve_x_sse2() 30 const int bits = FILTER_BITS - conv_params->round_1; in av1_dist_wtd_convolve_x_sse2() 32 const __m128i round_const = _mm_set1_epi32((1 << conv_params->round_0) >> 1); in av1_dist_wtd_convolve_x_sse2() 33 const __m128i round_shift = _mm_cvtsi32_si128(conv_params->round_0); in av1_dist_wtd_convolve_x_sse2() 34 const int w0 = conv_params->fwd_offset; in av1_dist_wtd_convolve_x_sse2() 35 const int w1 = conv_params->bck_offset; in av1_dist_wtd_convolve_x_sse2() 39 const int do_average = conv_params->do_average; in av1_dist_wtd_convolve_x_sse2() 40 const int use_dist_wtd_comp_avg = conv_params->use_dist_wtd_comp_avg; in av1_dist_wtd_convolve_x_sse2() [all …]
|
D | highbd_convolve_2d_sse4.c | 28 const int subpel_y_q4, ConvolveParams *conv_params, int bd) { in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() argument 29 CONV_BUF_TYPE *dst = conv_params->dst; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() 30 int dst_stride = conv_params->dst_stride; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() 37 FILTER_BITS * 2 - conv_params->round_1 - conv_params->round_0; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() 39 const int do_average = conv_params->do_average; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() 40 const int use_dist_wtd_comp_avg = conv_params->use_dist_wtd_comp_avg; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() 41 const int w0 = conv_params->fwd_offset; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() 42 const int w1 = conv_params->bck_offset; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() 49 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() 54 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_dist_wtd_convolve_2d_copy_sse4_1() [all …]
|
D | highbd_jnt_convolve_sse4.c | 24 const int subpel_y_q4, ConvolveParams *conv_params, int bd) { in av1_highbd_dist_wtd_convolve_y_sse4_1() argument 25 CONV_BUF_TYPE *dst = conv_params->dst; in av1_highbd_dist_wtd_convolve_y_sse4_1() 26 int dst_stride = conv_params->dst_stride; in av1_highbd_dist_wtd_convolve_y_sse4_1() 29 const int bits = FILTER_BITS - conv_params->round_0; in av1_highbd_dist_wtd_convolve_y_sse4_1() 35 const int do_average = conv_params->do_average; in av1_highbd_dist_wtd_convolve_y_sse4_1() 36 const int use_dist_wtd_comp_avg = conv_params->use_dist_wtd_comp_avg; in av1_highbd_dist_wtd_convolve_y_sse4_1() 38 const int w0 = conv_params->fwd_offset; in av1_highbd_dist_wtd_convolve_y_sse4_1() 39 const int w1 = conv_params->bck_offset; in av1_highbd_dist_wtd_convolve_y_sse4_1() 43 _mm_set1_epi32(((1 << conv_params->round_1) >> 1)); in av1_highbd_dist_wtd_convolve_y_sse4_1() 44 const __m128i round_shift_y = _mm_cvtsi32_si128(conv_params->round_1); in av1_highbd_dist_wtd_convolve_y_sse4_1() [all …]
|
D | warp_plane_sse4.c | 443 ConvolveParams *conv_params, const int round_bits, const int offset_bits, in unpack_weights_and_set_round_const() argument 446 _mm_set1_epi16(-(1 << (offset_bits - conv_params->round_1)) - in unpack_weights_and_set_round_const() 447 (1 << (offset_bits - conv_params->round_1 - 1))); in unpack_weights_and_set_round_const() 450 const int w0 = conv_params->fwd_offset; in unpack_weights_and_set_round_const() 451 const int w1 = conv_params->bck_offset; in unpack_weights_and_set_round_const() 563 uint8_t *pred, ConvolveParams *conv_params, int i, int j, int k, in store_vertical_filter_output() argument 569 if (conv_params->is_compound) { in store_vertical_filter_output() 571 (__m128i *)&conv_params->dst[(i + k + 4) * conv_params->dst_stride + j]; in store_vertical_filter_output() 576 if (conv_params->do_average) { in store_vertical_filter_output() 580 if (conv_params->use_dist_wtd_comp_avg) { in store_vertical_filter_output() [all …]
|
D | jnt_convolve_ssse3.c | 23 const int subpel_y_q4, ConvolveParams *conv_params) { in av1_dist_wtd_convolve_2d_ssse3() argument 24 CONV_BUF_TYPE *dst = conv_params->dst; in av1_dist_wtd_convolve_2d_ssse3() 25 int dst_stride = conv_params->dst_stride; in av1_dist_wtd_convolve_2d_ssse3() 35 const int do_average = conv_params->do_average; in av1_dist_wtd_convolve_2d_ssse3() 36 const int use_dist_wtd_comp_avg = conv_params->use_dist_wtd_comp_avg; in av1_dist_wtd_convolve_2d_ssse3() 41 const int w0 = conv_params->fwd_offset; in av1_dist_wtd_convolve_2d_ssse3() 42 const int w1 = conv_params->bck_offset; in av1_dist_wtd_convolve_2d_ssse3() 48 bd + 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_dist_wtd_convolve_2d_ssse3() 52 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_dist_wtd_convolve_2d_ssse3() 76 ((1 << conv_params->round_0) >> 1) + (1 << (bd + FILTER_BITS - 1))); in av1_dist_wtd_convolve_2d_ssse3() [all …]
|
D | convolve_2d_sse2.c | 26 ConvolveParams *conv_params) { in av1_convolve_2d_sr_sse2() argument 40 FILTER_BITS * 2 - conv_params->round_0 - conv_params->round_1; in av1_convolve_2d_sr_sse2() 41 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in av1_convolve_2d_sr_sse2() 43 assert(conv_params->round_0 > 0); in av1_convolve_2d_sr_sse2() 66 (1 << (bd + FILTER_BITS - 1)) + ((1 << conv_params->round_0) >> 1)); in av1_convolve_2d_sr_sse2() 67 const __m128i round_shift = _mm_cvtsi32_si128(conv_params->round_0); in av1_convolve_2d_sr_sse2() 132 _mm_set1_epi32((1 << offset_bits) + ((1 << conv_params->round_1) >> 1)); in av1_convolve_2d_sr_sse2() 133 const __m128i sum_shift = _mm_cvtsi32_si128(conv_params->round_1); in av1_convolve_2d_sr_sse2() 136 ((1 << bits) >> 1) - (1 << (offset_bits - conv_params->round_1)) - in av1_convolve_2d_sr_sse2() 137 ((1 << (offset_bits - conv_params->round_1)) >> 1)); in av1_convolve_2d_sr_sse2() [all …]
|
D | convolve_2d_avx2.c | 28 ConvolveParams *conv_params) { in av1_convolve_2d_sr_avx2() argument 34 FILTER_BITS * 2 - conv_params->round_0 - conv_params->round_1; in av1_convolve_2d_sr_avx2() 35 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in av1_convolve_2d_sr_avx2() 37 assert(conv_params->round_0 > 0); in av1_convolve_2d_sr_avx2() 40 ((1 << (conv_params->round_0 - 1)) >> 1) + (1 << (bd + FILTER_BITS - 2))); in av1_convolve_2d_sr_avx2() 41 const __m128i round_shift_h = _mm_cvtsi32_si128(conv_params->round_0 - 1); in av1_convolve_2d_sr_avx2() 44 (1 << offset_bits) + ((1 << conv_params->round_1) >> 1)); in av1_convolve_2d_sr_avx2() 45 const __m128i sum_shift_v = _mm_cvtsi32_si128(conv_params->round_1); in av1_convolve_2d_sr_avx2() 48 ((1 << bits) >> 1) - (1 << (offset_bits - conv_params->round_1)) - in av1_convolve_2d_sr_avx2() 49 ((1 << (offset_bits - conv_params->round_1)) >> 1)); in av1_convolve_2d_sr_avx2() [all …]
|
D | highbd_warp_plane_sse4.c | 293 ConvolveParams *conv_params, int16_t alpha, in av1_highbd_warp_affine_sse4_1() argument 298 conv_params->round_0 + in av1_highbd_warp_affine_sse4_1() 299 AOMMAX(bd + FILTER_BITS - conv_params->round_0 - 14, 0); in av1_highbd_warp_affine_sse4_1() 300 const int reduce_bits_vert = conv_params->is_compound in av1_highbd_warp_affine_sse4_1() 301 ? conv_params->round_1 in av1_highbd_warp_affine_sse4_1() 304 assert(IMPLIES(conv_params->is_compound, conv_params->dst != NULL)); in av1_highbd_warp_affine_sse4_1() 306 assert(IMPLIES(conv_params->do_average, conv_params->is_compound)); in av1_highbd_warp_affine_sse4_1() 316 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_highbd_warp_affine_sse4_1() 317 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in av1_highbd_warp_affine_sse4_1() 319 _mm_set1_epi32(-(1 << (offset_bits - conv_params->round_1)) - in av1_highbd_warp_affine_sse4_1() [all …]
|
/external/libaom/libaom/test/ |
D | warp_filter_test_util.cc | 134 ConvolveParams conv_params = get_conv_params(0, 0, bd); in RunSpeedTest() local 151 conv_params = get_conv_params_no_round(do_average, 0, dsta, out_w, 1, bd); in RunSpeedTest() 152 conv_params.use_dist_wtd_comp_avg = 0; in RunSpeedTest() 159 sub_x, sub_y, &conv_params, alpha, beta, gamma, delta); in RunSpeedTest() 195 ConvolveParams conv_params = get_conv_params(0, 0, bd); in RunCheckOutput() local 219 conv_params = in RunCheckOutput() 222 conv_params = get_conv_params(0, 0, bd); in RunCheckOutput() 225 conv_params.use_dist_wtd_comp_avg = 0; in RunCheckOutput() 227 conv_params.use_dist_wtd_comp_avg = 1; in RunCheckOutput() 228 conv_params.fwd_offset = quant_dist_lookup_table[ii][jj][0]; in RunCheckOutput() [all …]
|
D | reconinter_test.cc | 64 ConvolveParams *conv_params, int bd); 102 ConvolveParams conv_params = get_conv_params_no_round(0, 0, NULL, 0, 1, bd); in RunCheckOutput() local 105 bd + 2 * FILTER_BITS - conv_params.round_0 - conv_params.round_1 + 2; in RunCheckOutput() 115 height, width, &conv_params, bd); in RunCheckOutput() 118 height, width, &conv_params, bd); in RunCheckOutput() 142 ConvolveParams conv_params = get_conv_params_no_round(0, 0, NULL, 0, 1, bd); in RunSpeedTest() local 145 bd + 2 * FILTER_BITS - conv_params.round_0 - conv_params.round_1 + 2; in RunSpeedTest() 158 width, height, width, &conv_params, in RunSpeedTest() 169 &conv_params, bd); in RunSpeedTest()
|
/external/libaom/config/x86/config/ |
D | av1_rtcd.h | 62 …de, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd); 69 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 70 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 73 …_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params); 76 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 77 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 83 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 84 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 87 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 88 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); [all …]
|
/external/libaom/config/x86_64/config/ |
D | av1_rtcd.h | 62 …de, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd); 69 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 70 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 73 …_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params); 76 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 77 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 83 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 84 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 87 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 88 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); [all …]
|
/external/libaom/config/arm64/config/ |
D | av1_rtcd.h | 63 …de, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd); 64 …de, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd); 70 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 71 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 74 …_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params); 77 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 78 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 84 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 85 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 88 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); [all …]
|
/external/libaom/config/arm/config/ |
D | av1_rtcd.h | 63 …de, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd); 64 …de, const CONV_BUF_TYPE *src1, int src1_stride, int h, int w, ConvolveParams *conv_params, int bd); 70 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 71 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 74 …_qn, const int x_step_qn, const int subpel_y_q4, const int y_step_qn, ConvolveParams *conv_params); 77 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 78 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 84 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 85 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); 88 …arams *filter_params_y, const int subpel_x_q4, const int subpel_y_q4, ConvolveParams *conv_params); [all …]
|
/external/libaom/libaom/av1/common/arm/ |
D | wiener_convolve_neon.c | 34 const ConvolveParams *conv_params) { in av1_wiener_convolve_add_src_neon() argument 64 assert((conv_params->round_0) >= 1); in av1_wiener_convolve_add_src_neon() 123 bd, conv_params->round_0); in av1_wiener_convolve_add_src_neon() 130 bd, conv_params->round_0); in av1_wiener_convolve_add_src_neon() 137 bd, conv_params->round_0); in av1_wiener_convolve_add_src_neon() 144 bd, conv_params->round_0); in av1_wiener_convolve_add_src_neon() 151 bd, conv_params->round_0); in av1_wiener_convolve_add_src_neon() 158 bd, conv_params->round_0); in av1_wiener_convolve_add_src_neon() 165 bd, conv_params->round_0); in av1_wiener_convolve_add_src_neon() 172 bd, conv_params->round_0); in av1_wiener_convolve_add_src_neon() [all …]
|
D | jnt_convolve_neon.c | 564 ConvolveParams *conv_params, const int16_t *y_filter, int h, int w) { in dist_wtd_convolve_2d_vert_neon() argument 572 int dst_stride = conv_params->dst_stride; in dist_wtd_convolve_2d_vert_neon() 573 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in dist_wtd_convolve_2d_vert_neon() 574 const int16_t sub_const = (1 << (offset_bits - conv_params->round_1)) + in dist_wtd_convolve_2d_vert_neon() 575 (1 << (offset_bits - conv_params->round_1 - 1)); in dist_wtd_convolve_2d_vert_neon() 578 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in dist_wtd_convolve_2d_vert_neon() 579 const int offset = bd + 2 * FILTER_BITS - conv_params->round_0; in dist_wtd_convolve_2d_vert_neon() 580 const int32x4_t round_shift_vec = vdupq_n_s32(-(conv_params->round_1)); in dist_wtd_convolve_2d_vert_neon() 583 const uint16_t fwd_offset = conv_params->fwd_offset; in dist_wtd_convolve_2d_vert_neon() 584 const uint16_t bck_offset = conv_params->bck_offset; in dist_wtd_convolve_2d_vert_neon() [all …]
|
D | warp_plane_neon.c | 476 ConvolveParams *conv_params, int16_t alpha, in av1_warp_affine_neon() argument 480 const int w0 = conv_params->fwd_offset; in av1_warp_affine_neon() 481 const int w1 = conv_params->bck_offset; in av1_warp_affine_neon() 496 const int reduce_bits_horiz = conv_params->round_0; in av1_warp_affine_neon() 497 const int reduce_bits_vert = conv_params->is_compound in av1_warp_affine_neon() 498 ? conv_params->round_1 in av1_warp_affine_neon() 503 assert(IMPLIES(conv_params->is_compound, conv_params->dst != NULL)); in av1_warp_affine_neon() 508 2 * FILTER_BITS - conv_params->round_0 - conv_params->round_1; in av1_warp_affine_neon() 510 const int offset_bits = bd + 2 * FILTER_BITS - conv_params->round_0; in av1_warp_affine_neon() 512 vdup_n_s16(-((1 << (offset_bits - conv_params->round_1)) + in av1_warp_affine_neon() [all …]
|
/external/libaom/libaom/aom_dsp/x86/ |
D | highbd_convolve_ssse3.c | 25 ConvolveParams *conv_params, int bd) { in av1_highbd_convolve_y_sr_ssse3() argument 31 (void)conv_params; in av1_highbd_convolve_y_sr_ssse3() 33 assert(conv_params->round_0 <= FILTER_BITS); in av1_highbd_convolve_y_sr_ssse3() 34 assert(((conv_params->round_0 + conv_params->round_1) <= (FILTER_BITS + 1)) || in av1_highbd_convolve_y_sr_ssse3() 35 ((conv_params->round_0 + conv_params->round_1) == (2 * FILTER_BITS))); in av1_highbd_convolve_y_sr_ssse3() 173 ConvolveParams *conv_params, int bd) { in av1_highbd_convolve_x_sr_ssse3() argument 182 assert(bd + FILTER_BITS + 2 - conv_params->round_0 <= 16); in av1_highbd_convolve_x_sr_ssse3() 187 _mm_set1_epi32(((1 << conv_params->round_0) >> 1)); in av1_highbd_convolve_x_sr_ssse3() 188 const __m128i round_shift_x = _mm_cvtsi32_si128(conv_params->round_0); in av1_highbd_convolve_x_sr_ssse3() 190 const int bits = FILTER_BITS - conv_params->round_0; in av1_highbd_convolve_x_sr_ssse3()
|