Home
last modified time | relevance | path

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

/external/libaom/libaom/aom_dsp/
Daom_filter.h28 #define SCALE_SUBPEL_BITS 10 macro
29 #define SCALE_SUBPEL_SHIFTS (1 << SCALE_SUBPEL_BITS)
31 #define SCALE_EXTRA_BITS (SCALE_SUBPEL_BITS - SUBPEL_BITS)
/external/libaom/libaom/av1/common/x86/
Dav1_convolve_scale_sse4.c37 const uint8_t *const src_col = src + (x_qn >> SCALE_SUBPEL_BITS); in hfilter8()
138 const int16_t *src_y = src + (y_qn >> SCALE_SUBPEL_BITS); in vfilter8()
240 int im_h = (((h - 1) * y_step_qn + subpel_y_qn) >> SCALE_SUBPEL_BITS) + in av1_convolve_2d_scale_sse4_1()
275 const uint16_t *const src_col = src + (x_qn >> SCALE_SUBPEL_BITS); in highbd_hfilter8()
369 const int16_t *src_y = src + (y_qn >> SCALE_SUBPEL_BITS); in highbd_vfilter8()
480 int im_h = (((h - 1) * y_step_qn + subpel_y_qn) >> SCALE_SUBPEL_BITS) + in av1_highbd_convolve_2d_scale_sse4_1()
/external/libaom/libaom/av1/encoder/
Dreconinter_enc.c59 const int bottom = (pre_buf->height + AOM_INTERP_EXTEND) << SCALE_SUBPEL_BITS; in enc_calc_subpel_params()
60 const int right = (pre_buf->width + AOM_INTERP_EXTEND) << SCALE_SUBPEL_BITS; in enc_calc_subpel_params()
68 *pre = pre_buf->buf0 + (pos_y >> SCALE_SUBPEL_BITS) * pre_buf->stride + in enc_calc_subpel_params()
69 (pos_x >> SCALE_SUBPEL_BITS); in enc_calc_subpel_params()
/external/libaom/libaom/av1/common/
Dscale.c53 return ROUND_POWER_OF_TWO(scale_fp, REF_SCALE_SHIFT - SCALE_SUBPEL_BITS); in fixed_point_scale_to_coarse_point_scale()
Dconvolve.c463 int im_h = (((h - 1) * y_step_qn + subpel_y_qn) >> SCALE_SUBPEL_BITS) + in av1_convolve_2d_scale_c()
480 const uint8_t *const src_x = &src_horiz[(x_qn >> SCALE_SUBPEL_BITS)]; in av1_convolve_2d_scale_c()
502 const int16_t *src_y = &src_vert[(y_qn >> SCALE_SUBPEL_BITS) * im_stride]; in av1_convolve_2d_scale_c()
950 int im_h = (((h - 1) * y_step_qn + subpel_y_qn) >> SCALE_SUBPEL_BITS) + in av1_highbd_convolve_2d_scale_c()
965 const uint16_t *const src_x = &src_horiz[(x_qn >> SCALE_SUBPEL_BITS)]; in av1_highbd_convolve_2d_scale_c()
987 const int16_t *src_y = &src_vert[(y_qn >> SCALE_SUBPEL_BITS) * im_stride]; in av1_highbd_convolve_2d_scale_c()
Dreconinter.h32 (AOM_LEFT_TOP_MARGIN_PX(subsampling) << SCALE_SUBPEL_BITS)
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c569 << SCALE_SUBPEL_BITS; in dec_calc_subpel_params()
570 const int right = (pre_buf->width + AOM_INTERP_EXTEND) << SCALE_SUBPEL_BITS; in dec_calc_subpel_params()
580 block->x0 = pos_x >> SCALE_SUBPEL_BITS; in dec_calc_subpel_params()
581 block->y0 = pos_y >> SCALE_SUBPEL_BITS; in dec_calc_subpel_params()
585 ((pos_x + (bw - 1) * subpel_params->xs) >> SCALE_SUBPEL_BITS) + 1; in dec_calc_subpel_params()
587 ((pos_y + (bh - 1) * subpel_params->ys) >> SCALE_SUBPEL_BITS) + 1; in dec_calc_subpel_params()