/external/libaom/libaom/aom_dsp/ |
D | aom_filter.h | 23 #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)
|
D | aom_convolve.c | 44 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()
|
/external/libaom/libaom/av1/common/ |
D | scale.c | 22 (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()
|
D | reconinter.h | 274 const int spel_left = (AOM_INTERP_EXTEND + bw) << SUBPEL_BITS; in clamp_mv_to_umv_border_sb() 276 const int spel_top = (AOM_INTERP_EXTEND + bh) << SUBPEL_BITS; in clamp_mv_to_umv_border_sb()
|
D | convolve.c | 1124 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_add_src_horiz_hip() 1149 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in convolve_add_src_vert_hip() 1178 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS - 1; in av1_wiener_convolve_add_src_c() 1206 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_add_src_horiz_hip() 1229 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in highbd_convolve_add_src_vert_hip() 1258 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in av1_highbd_wiener_convolve_add_src_c()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | vpx_filter.h | 23 #define SUBPEL_BITS 4 macro 24 #define SUBPEL_MASK ((1 << SUBPEL_BITS) - 1) 25 #define SUBPEL_SHIFTS (1 << SUBPEL_BITS)
|
D | vpx_convolve.c | 32 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/common/ |
D | vp9_reconinter.c | 35 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()
|
D | vp9_scale.c | 38 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/vp9/encoder/ |
D | vp9_resize.c | 29 #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/vpx_dsp/arm/ |
D | vpx_scaled_convolve8_neon.c | 38 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()
|
D | highbd_vpx_convolve_neon.c | 24 (((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/ |
D | vpx_convolve_vsx.c | 199 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/ |
D | vpx_convolve8_mmi.c | 517 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()
|
D | vpx_convolve8_msa.c | 864 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/ |
D | vpx_subpixel_8t_intrin_ssse3.c | 789 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w8() 864 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w4() 926 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w4() 959 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w8() 1013 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w16() 1047 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in vpx_scaled_2d_ssse3()
|
/external/libaom/libaom/av1/encoder/ |
D | reconinter_enc.c | 48 int orig_pos_y = inter_pred_params->pix_row << SUBPEL_BITS; in enc_calc_subpel_params() 50 int orig_pos_x = inter_pred_params->pix_col << SUBPEL_BITS; in enc_calc_subpel_params()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodeframe.c | 614 x0_16 = (x_start + x) << SUBPEL_BITS; in dec_build_inter_predictors() 615 y0_16 = (y_start + y) << SUBPEL_BITS; in dec_build_inter_predictors() 637 x0_16 = x0 << SUBPEL_BITS; in dec_build_inter_predictors() 638 y0_16 = y0 << SUBPEL_BITS; in dec_build_inter_predictors() 649 x0 += scaled_mv.col >> SUBPEL_BITS; in dec_build_inter_predictors() 650 y0 += scaled_mv.row >> SUBPEL_BITS; in dec_build_inter_predictors() 662 int y1 = ((y0_16 + (h - 1) * ys) >> SUBPEL_BITS) + 1; in dec_build_inter_predictors() 665 int x1 = ((x0_16 + (w - 1) * xs) >> SUBPEL_BITS) + 1; in dec_build_inter_predictors()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 557 int orig_pos_y = inter_pred_params->pix_row << SUBPEL_BITS; in dec_calc_subpel_params() 559 int orig_pos_x = inter_pred_params->pix_col << SUBPEL_BITS; in dec_calc_subpel_params() 601 int pos_x = inter_pred_params->pix_col << SUBPEL_BITS; in dec_calc_subpel_params() 602 int pos_y = inter_pred_params->pix_row << SUBPEL_BITS; in dec_calc_subpel_params() 614 block->x0 = pos_x >> SUBPEL_BITS; in dec_calc_subpel_params() 615 block->y0 = pos_y >> SUBPEL_BITS; in dec_calc_subpel_params() 618 block->x1 = (pos_x >> SUBPEL_BITS) + (bw - 1) + 1; in dec_calc_subpel_params() 619 block->y1 = (pos_y >> SUBPEL_BITS) + (bh - 1) + 1; in dec_calc_subpel_params()
|