Home
last modified time | relevance | path

Searched refs:SUBPEL_BITS (Results 1 – 22 of 22) sorted by relevance

/external/libaom/libaom/av1/common/
Dscale.c22 (sf->x_scale_fp - (1 << REF_SCALE_SHIFT)) * (1 << (SUBPEL_BITS - 1)); in scaled_x()
31 (sf->y_scale_fp - (1 << REF_SCALE_SHIFT)) * (1 << (SUBPEL_BITS - 1)); in scaled_y()
59 const int x_off_q4 = scaled_x(x << SUBPEL_BITS, sf); in av1_scale_mv()
60 const int y_off_q4 = scaled_y(y << SUBPEL_BITS, sf); in av1_scale_mv()
61 const MV32 res = { scaled_y((y << SUBPEL_BITS) + mvq4->row, sf) - y_off_q4, in av1_scale_mv()
62 scaled_x((x << SUBPEL_BITS) + mvq4->col, sf) - x_off_q4 }; in av1_scale_mv()
Dreconinter.h232 const int spel_left = (AOM_INTERP_EXTEND + bw) << SUBPEL_BITS; in clamp_mv_to_umv_border_sb()
234 const int spel_top = (AOM_INTERP_EXTEND + bh) << SUBPEL_BITS; in clamp_mv_to_umv_border_sb()
Dconvolve.c1179 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_add_src_horiz_hip()
1204 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in convolve_add_src_vert_hip()
1233 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS - 1; in av1_wiener_convolve_add_src_c()
1260 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_add_src_horiz_hip()
1283 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in highbd_convolve_add_src_vert_hip()
1312 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in av1_highbd_wiener_convolve_add_src_c()
/external/libaom/libaom/aom_dsp/
Daom_filter.h23 #define SUBPEL_BITS 4 macro
24 #define SUBPEL_MASK ((1 << SUBPEL_BITS) - 1)
25 #define SUBPEL_SHIFTS (1 << SUBPEL_BITS)
31 #define SCALE_EXTRA_BITS (SCALE_SUBPEL_BITS - SUBPEL_BITS)
Daom_convolve.c44 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_horiz()
64 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in convolve_vert()
158 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_horiz()
179 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in highbd_convolve_vert()
Dvariance.c320 int orig_pos_y = pre_y << SUBPEL_BITS; in aom_upsampled_pred_c()
322 int orig_pos_x = pre_x << SUBPEL_BITS; in aom_upsampled_pred_c()
912 int orig_pos_y = pre_y << SUBPEL_BITS; in aom_highbd_upsampled_pred_c()
914 int orig_pos_x = pre_x << SUBPEL_BITS; in aom_highbd_upsampled_pred_c()
/external/libvpx/libvpx/vpx_dsp/
Dvpx_filter.h23 #define SUBPEL_BITS 4 macro
24 #define SUBPEL_MASK ((1 << SUBPEL_BITS) - 1)
25 #define SUBPEL_SHIFTS (1 << SUBPEL_BITS)
Dvpx_convolve.c32 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_horiz()
54 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_avg_horiz()
77 const uint8_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in convolve_vert()
100 const uint8_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in convolve_avg_vert()
179 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in vpx_convolve8_c()
304 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_horiz()
326 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_avg_horiz()
350 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in highbd_convolve_vert()
374 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in highbd_convolve_avg_vert()
409 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in highbd_convolve()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c29 #define SUBPEL_BITS 5 macro
30 #define SUBPEL_MASK ((1 << SUBPEL_BITS) - 1)
36 static const interp_kernel filteredinterp_filters500[(1 << SUBPEL_BITS)] = {
56 static const interp_kernel filteredinterp_filters625[(1 << SUBPEL_BITS)] = {
76 static const interp_kernel filteredinterp_filters750[(1 << SUBPEL_BITS)] = {
96 static const interp_kernel filteredinterp_filters875[(1 << SUBPEL_BITS)] = {
116 static const interp_kernel filteredinterp_filters1000[(1 << SUBPEL_BITS)] = {
189 sub_pel = (y >> (INTERP_PRECISION_BITS - SUBPEL_BITS)) & SUBPEL_MASK; in interpolate()
204 sub_pel = (y >> (INTERP_PRECISION_BITS - SUBPEL_BITS)) & SUBPEL_MASK; in interpolate()
217 sub_pel = (y >> (INTERP_PRECISION_BITS - SUBPEL_BITS)) & SUBPEL_MASK; in interpolate()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_reconinter.c35 src += (mv.row >> SUBPEL_BITS) * src_stride + (mv.col >> SUBPEL_BITS); in vp9_highbd_build_inter_predictor()
55 src += (mv.row >> SUBPEL_BITS) * src_stride + (mv.col >> SUBPEL_BITS); in vp9_build_inter_predictor()
95 const int spel_left = (VP9_INTERP_EXTEND + bw) << SUBPEL_BITS; in clamp_mv_to_umv_border_sb()
97 const int spel_top = (VP9_INTERP_EXTEND + bh) << SUBPEL_BITS; in clamp_mv_to_umv_border_sb()
188 pre += (scaled_mv.row >> SUBPEL_BITS) * pre_buf->stride + in build_inter_predictors()
189 (scaled_mv.col >> SUBPEL_BITS); in build_inter_predictors()
Dvp9_scale.c38 const int x_off_q4 = scaled_x(x << SUBPEL_BITS, sf) & SUBPEL_MASK; in vp9_scale_mv()
39 const int y_off_q4 = scaled_y(y << SUBPEL_BITS, sf) & SUBPEL_MASK; in vp9_scale_mv()
/external/libvpx/libvpx/vpx_dsp/arm/
Dvpx_scaled_convolve8_neon.c38 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w4()
116 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w8()
166 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w4()
209 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w8()
235 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w16()
297 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in vpx_scaled_2d_neon()
Dhighbd_vpx_convolve_neon.c24 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in vpx_highbd_convolve8_neon()
47 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in vpx_highbd_convolve8_avg_neon()
/external/libvpx/libvpx/vpx_dsp/ppc/
Dvpx_convolve_vsx.c199 convolve_line_h(dst + x, &src[x_q4 >> SUBPEL_BITS], in convolve_horiz()
219 convolve_line_h(&v, &src[x_q4 >> SUBPEL_BITS], in convolve_avg_horiz()
278 &src[(y_q4 >> SUBPEL_BITS) * src_stride], src_stride, in convolve_vert()
298 convolve_line_v(&v, &src[(y_q4 >> SUBPEL_BITS) * src_stride], src_stride, in convolve_avg_vert()
327 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in convolve()
/external/libvpx/libvpx/vpx_dsp/mips/
Dvpx_convolve8_mmi.c517 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_horiz()
539 const uint8_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in convolve_vert()
562 const uint8_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in convolve_avg_vert()
588 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_avg_horiz()
622 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in vpx_convolve8_mmi()
Dvpx_convolve8_msa.c864 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w4()
900 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w8()
938 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_mul16()
1109 const uint8_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w4()
1133 const uint8_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w8()
1156 const uint8_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_mul16()
1191 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in vpx_scaled_2d_msa()
/external/libvpx/libvpx/vpx_dsp/x86/
Dvpx_subpixel_8t_intrin_ssse3.c799 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w8()
874 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w4()
936 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w4()
969 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w8()
1023 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w16()
1057 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in vpx_scaled_2d_ssse3()
/external/libaom/libaom/av1/encoder/
Dreconinter_enc.c41 int orig_pos_y = (pre_y + y) << SUBPEL_BITS; in calc_subpel_params()
43 int orig_pos_x = (pre_x + x) << SUBPEL_BITS; in calc_subpel_params()
70 *pre = pre_buf->buf + (y + (mv_q4.row >> SUBPEL_BITS)) * pre_buf->stride + in calc_subpel_params()
71 (x + (mv_q4.col >> SUBPEL_BITS)); in calc_subpel_params()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c598 x0_16 = (x_start + x) << SUBPEL_BITS; in dec_build_inter_predictors()
599 y0_16 = (y_start + y) << SUBPEL_BITS; in dec_build_inter_predictors()
621 x0_16 = x0 << SUBPEL_BITS; in dec_build_inter_predictors()
622 y0_16 = y0 << SUBPEL_BITS; in dec_build_inter_predictors()
633 x0 += scaled_mv.col >> SUBPEL_BITS; in dec_build_inter_predictors()
634 y0 += scaled_mv.row >> SUBPEL_BITS; in dec_build_inter_predictors()
646 int y1 = ((y0_16 + (h - 1) * ys) >> SUBPEL_BITS) + 1; in dec_build_inter_predictors()
649 int x1 = ((x0_16 + (w - 1) * xs) >> SUBPEL_BITS) + 1; in dec_build_inter_predictors()
/external/libaom/libaom/aom_dsp/x86/
Dvariance_sse2.c523 int orig_pos_y = pre_y << SUBPEL_BITS; in aom_upsampled_pred_sse2()
525 int orig_pos_x = pre_x << SUBPEL_BITS; in aom_upsampled_pred_sse2()
Dhighbd_variance_sse2.c654 int orig_pos_y = pre_y << SUBPEL_BITS; in aom_highbd_upsampled_pred_sse2()
656 int orig_pos_x = pre_x << SUBPEL_BITS; in aom_highbd_upsampled_pred_sse2()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c562 int orig_pos_y = (pre_y + y) << SUBPEL_BITS; in dec_calc_subpel_params()
564 int orig_pos_x = (pre_x + x) << SUBPEL_BITS; in dec_calc_subpel_params()
605 int pos_x = (pre_x + x) << SUBPEL_BITS; in dec_calc_subpel_params()
606 int pos_y = (pre_y + y) << SUBPEL_BITS; in dec_calc_subpel_params()
617 block->x0 = pos_x >> SUBPEL_BITS; in dec_calc_subpel_params()
618 block->y0 = pos_y >> SUBPEL_BITS; in dec_calc_subpel_params()
621 block->x1 = (pos_x >> SUBPEL_BITS) + (bw - 1) + 1; in dec_calc_subpel_params()
622 block->y1 = (pos_y >> SUBPEL_BITS) + (bh - 1) + 1; in dec_calc_subpel_params()