Home
last modified time | relevance | path

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

/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.c31 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_horiz()
53 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in convolve_avg_horiz()
77 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in convolve_vert()
100 const unsigned char *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()
352 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_horiz()
377 const uint16_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in highbd_convolve_avg_horiz()
403 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in highbd_convolve_vert()
429 const uint16_t *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in highbd_convolve_avg_vert()
464 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in highbd_convolve()
/external/libvpx/libvpx/vp9/common/
Dvp9_reconinter.c51 src += (mv.row >> SUBPEL_BITS) * src_stride + (mv.col >> SUBPEL_BITS); in vp9_highbd_build_inter_predictor()
73 src += (mv.row >> SUBPEL_BITS) * src_stride + (mv.col >> SUBPEL_BITS); in vp9_build_inter_predictor()
113 const int spel_left = (VP9_INTERP_EXTEND + bw) << SUBPEL_BITS; in clamp_mv_to_umv_border_sb()
115 const int spel_top = (VP9_INTERP_EXTEND + bh) << SUBPEL_BITS; in clamp_mv_to_umv_border_sb()
214 pre += (scaled_mv.row >> SUBPEL_BITS) * pre_buf->stride in build_inter_predictors()
215 + (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.c28 #define SUBPEL_BITS 5 macro
29 #define SUBPEL_MASK ((1 << SUBPEL_BITS) - 1)
35 static const interp_kernel filteredinterp_filters500[(1 << SUBPEL_BITS)] = {
71 static const interp_kernel filteredinterp_filters625[(1 << SUBPEL_BITS)] = {
107 static const interp_kernel filteredinterp_filters750[(1 << SUBPEL_BITS)] = {
143 static const interp_kernel filteredinterp_filters875[(1 << SUBPEL_BITS)] = {
179 static const interp_kernel filteredinterp_filters1000[(1 << SUBPEL_BITS)] = {
265 sub_pel = (y >> (INTERP_PRECISION_BITS - SUBPEL_BITS)) & SUBPEL_MASK; in interpolate()
280 sub_pel = (y >> (INTERP_PRECISION_BITS - SUBPEL_BITS)) & SUBPEL_MASK; in interpolate()
293 sub_pel = (y >> (INTERP_PRECISION_BITS - SUBPEL_BITS)) & SUBPEL_MASK; in interpolate()
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dvpx_subpixel_8t_intrin_ssse3.c473 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w8()
591 const uint8_t *const src_x = &src[x_q4 >> SUBPEL_BITS]; in scaledconvolve_horiz_w4()
662 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w4()
724 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w8()
815 const unsigned char *src_y = &src[(y_q4 >> SUBPEL_BITS) * src_stride]; in scaledconvolve_vert_w16()
849 (((h - 1) * y_step_q4 + y0_q4) >> SUBPEL_BITS) + SUBPEL_TAPS; in scaledconvolve2d()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c592 x0_16 = (x_start + x) << SUBPEL_BITS; in dec_build_inter_predictors()
593 y0_16 = (y_start + y) << SUBPEL_BITS; in dec_build_inter_predictors()
615 x0_16 = x0 << SUBPEL_BITS; in dec_build_inter_predictors()
616 y0_16 = y0 << SUBPEL_BITS; in dec_build_inter_predictors()
627 x0 += scaled_mv.col >> SUBPEL_BITS; in dec_build_inter_predictors()
628 y0 += scaled_mv.row >> SUBPEL_BITS; in dec_build_inter_predictors()
640 int y1 = ((y0_16 + (h - 1) * ys) >> SUBPEL_BITS) + 1; in dec_build_inter_predictors()
643 int x1 = ((x0_16 + (w - 1) * xs) >> SUBPEL_BITS) + 1; in dec_build_inter_predictors()
688 const int y1 = (y0_16 + (h - 1) * ys) >> SUBPEL_BITS; in dec_build_inter_predictors()