Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_dsp/
Dvpx_filter.h22 #define SUBPEL_BITS 4 macro
23 #define SUBPEL_MASK ((1 << SUBPEL_BITS) - 1)
24 #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()
135 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in convolve()
332 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_horiz()
354 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_avg_horiz()
378 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in highbd_convolve_vert()
402 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in highbd_convolve_avg_vert()
437 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in highbd_convolve()
/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/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/vpx_dsp/arm/
Dhighbd_vpx_convolve_neon.c25 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in vpx_highbd_convolve8_neon()
49 (((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.c194 convolve_line_h(dst + x, &src[x_q4 >> SUBPEL_BITS], in convolve_horiz()
214 convolve_line_h(&v, &src[x_q4 >> SUBPEL_BITS], in convolve_avg_horiz()
270 &src[(y_q4 >> SUBPEL_BITS) * src_stride], src_stride, in convolve_vert()
290 convolve_line_v(&v, &src[(y_q4 >> SUBPEL_BITS) * src_stride], src_stride, in convolve_avg_vert()
319 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in convolve()
/external/libvpx/libvpx/vpx_dsp/x86/
Dvpx_subpixel_8t_intrin_ssse3.c460 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w8()
578 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w4()
649 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w4()
711 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w8()
802 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w16()
834 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in scaledconvolve2d()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c530 x0_16 = (x_start + x) << SUBPEL_BITS; in dec_build_inter_predictors()
531 y0_16 = (y_start + y) << SUBPEL_BITS; in dec_build_inter_predictors()
553 x0_16 = x0 << SUBPEL_BITS; in dec_build_inter_predictors()
554 y0_16 = y0 << SUBPEL_BITS; in dec_build_inter_predictors()
565 x0 += scaled_mv.col >> SUBPEL_BITS; in dec_build_inter_predictors()
566 y0 += scaled_mv.row >> SUBPEL_BITS; in dec_build_inter_predictors()
578 int y1 = ((y0_16 + (h - 1) * ys) >> SUBPEL_BITS) + 1; in dec_build_inter_predictors()
581 int x1 = ((x0_16 + (w - 1) * xs) >> SUBPEL_BITS) + 1; in dec_build_inter_predictors()
624 const int y1 = (y0_16 + (h - 1) * ys) >> SUBPEL_BITS; in dec_build_inter_predictors()