Home
last modified time | relevance | path

Searched refs:ss_x (Results 1 – 25 of 31) sorted by relevance

12

/external/libaom/libaom/aom_scale/generic/
Dyv12config.c50 YV12_BUFFER_CONFIG *ybf, int width, int height, int ss_x, int ss_y, in realloc_frame_buffer_aligned() argument
123 ybf->uv_crop_width = (width + ss_x) >> ss_x; in realloc_frame_buffer_aligned()
131 ybf->subsampling_x = ss_x; in realloc_frame_buffer_aligned()
173 static int calc_stride_and_planesize(const int ss_x, const int ss_y, in calc_stride_and_planesize() argument
190 *uv_stride = *y_stride >> ss_x; in calc_stride_and_planesize()
197 int ss_x, int ss_y, int use_highbitdepth, in aom_realloc_frame_buffer() argument
212 const int uv_width = aligned_width >> ss_x; in aom_realloc_frame_buffer()
214 const int uv_border_w = border >> ss_x; in aom_realloc_frame_buffer()
218 ss_x, ss_y, aligned_width, aligned_height, border, byte_alignment, in aom_realloc_frame_buffer()
222 ybf, width, height, ss_x, ss_y, use_highbitdepth, border, in aom_realloc_frame_buffer()
[all …]
Dyv12extend.c136 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame() local
148 const int left = ext_size >> (is_uv ? ss_x : 0); in extend_frame()
160 const int left = ext_size >> (is_uv ? ss_x : 0); in extend_frame()
/external/libaom/libaom/test/
Dyuv_temporal_filter_test.cc32 int ss_x, int ss_y, int strength, const int *blk_fw, int use_32x32,
215 int ss_x, int ss_y, int strength, in ApplyReferenceFilter() argument
220 const int uv_block_width = block_width >> ss_x, in ApplyReferenceFilter()
260 const int uv_col = col >> ss_x; in ApplyReferenceFilter()
304 const int y_col = uv_col << ss_x; in ApplyReferenceFilter()
331 for (int col_step = 0; col_step < 1 + ss_x; col_step++) { in ApplyReferenceFilter()
374 void CompareTestWithParam(int width, int height, int ss_x, int ss_y,
378 void RunTestFilterWithParam(int width, int height, int ss_x, int ss_y,
388 int ss_x, int ss_y, int strength, const int *blk_fw,
407 int ss_x, int ss_y, int strength, const int *blk_fw, int use_32x32, in ApplyTestFilter() argument
[all …]
/external/libaom/libaom/av1/encoder/x86/
Dhighbd_temporal_filter_sse4.c170 int ss_x, const uint32_t *u_dist, const uint32_t *v_dist, __m128i *u_first, in highbd_read_chroma_dist_row_8() argument
172 if (!ss_x) { in highbd_read_chroma_dist_row_8()
198 int ss_x, int ss_y, int strength, int use_whole_blk, uint32_t *y_accum, in av1_highbd_apply_temporal_filter_luma_8() argument
241 highbd_read_chroma_dist_row_8(ss_x, u_dist, v_dist, &u_first, &u_second, in av1_highbd_apply_temporal_filter_luma_8()
300 highbd_read_chroma_dist_row_8(ss_x, u_dist, v_dist, &u_first, &u_second, in av1_highbd_apply_temporal_filter_luma_8()
348 highbd_read_chroma_dist_row_8(ss_x, u_dist, v_dist, &u_first, &u_second, in av1_highbd_apply_temporal_filter_luma_8()
371 int ss_x, int ss_y, int strength, const int *blk_fw, int use_whole_blk, in av1_highbd_apply_temporal_filter_luma() argument
375 const unsigned int blk_col_step = 8, uv_blk_col_step = 8 >> ss_x; in av1_highbd_apply_temporal_filter_luma()
389 v_pre + uv_blk_col, uv_pre_stride, blk_col_step, block_height, ss_x, ss_y, in av1_highbd_apply_temporal_filter_luma()
405 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_highbd_apply_temporal_filter_luma()
[all …]
Dtemporal_filter_sse4.c251 static INLINE void read_chroma_dist_row_16(int ss_x, const uint16_t *u_dist, in read_chroma_dist_row_16() argument
256 if (!ss_x) { in read_chroma_dist_row_16()
291 int ss_x, int ss_y, in add_luma_dist_to_8_chroma_mod() argument
295 if (!ss_x) { in add_luma_dist_to_8_chroma_mod()
333 int ss_x, int ss_y, int strength, int use_whole_blk, uint32_t *y_accum, in av1_apply_temporal_filter_luma_16() argument
375 read_chroma_dist_row_16(ss_x, u_dist, v_dist, &u_first, &u_second, &v_first, in av1_apply_temporal_filter_luma_16()
442 read_chroma_dist_row_16(ss_x, u_dist, v_dist, &u_first, &u_second, in av1_apply_temporal_filter_luma_16()
496 read_chroma_dist_row_16(ss_x, u_dist, v_dist, &u_first, &u_second, &v_first, in av1_apply_temporal_filter_luma_16()
525 int ss_x, int ss_y, int strength, const int *blk_fw, int use_whole_blk, in av1_apply_temporal_filter_luma() argument
529 const unsigned int blk_col_step = 16, uv_blk_col_step = 16 >> ss_x; in av1_apply_temporal_filter_luma()
[all …]
/external/libvpx/libvpx/vpx_scale/generic/
Dyv12config.c149 int ss_x, int ss_y, in vpx_realloc_frame_buffer() argument
174 const int uv_width = aligned_width >> ss_x; in vpx_realloc_frame_buffer()
176 const int uv_stride = y_stride >> ss_x; in vpx_realloc_frame_buffer()
177 const int uv_border_w = border >> ss_x; in vpx_realloc_frame_buffer()
249 ybf->uv_crop_width = (width + ss_x) >> ss_x; in vpx_realloc_frame_buffer()
257 ybf->subsampling_x = ss_x; in vpx_realloc_frame_buffer()
288 int ss_x, int ss_y, in vpx_alloc_frame_buffer() argument
295 return vpx_realloc_frame_buffer(ybf, width, height, ss_x, ss_y, in vpx_alloc_frame_buffer()
Dyv12extend.c134 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame() local
137 const int c_el = ext_size >> ss_x; in extend_frame()
/external/libaom/libaom/aom_scale/
Dyv12config.h113 int ss_x, int ss_y, int use_highbitdepth, int border,
124 int ss_x, int ss_y, int use_highbitdepth,
130 int ss_x, int ss_y, int use_highbitdepth,
/external/libvpx/libvpx/vp9/common/
Dvp9_loopfilter.c1083 const int ss_x = plane->subsampling_x; in vp9_filter_block_plane_non420() local
1086 const int col_step = 1 << ss_x; in vp9_filter_block_plane_non420()
1127 const int skip_border_4x4_c = ss_x && mi_col + c == cm->mi_cols - 1; in vp9_filter_block_plane_non420()
1131 if (!(lfl[(r << 3) + (c >> ss_x)] = get_filter_level(&cm->lf_info, mi))) in vp9_filter_block_plane_non420()
1136 if (!skip_this_c && ((c >> ss_x) & 3) == 0) { in vp9_filter_block_plane_non420()
1138 mask_16x16_c |= 1 << (c >> ss_x); in vp9_filter_block_plane_non420()
1140 mask_8x8_c |= 1 << (c >> ss_x); in vp9_filter_block_plane_non420()
1144 mask_16x16[r] |= 1 << (c >> ss_x); in vp9_filter_block_plane_non420()
1146 mask_8x8[r] |= 1 << (c >> ss_x); in vp9_filter_block_plane_non420()
1149 if (!skip_this_c && ((c >> ss_x) & 1) == 0) { in vp9_filter_block_plane_non420()
[all …]
Dvp9_reconinter.c91 int bh, int ss_x, int ss_y) { in clamp_mv_to_umv_border_sb() argument
100 src_mv->col * (1 << (1 - ss_x)) }; in clamp_mv_to_umv_border_sb()
101 assert(ss_x <= 1); in clamp_mv_to_umv_border_sb()
104 clamp_mv(&clamped_mv, xd->mb_to_left_edge * (1 << (1 - ss_x)) - spel_left, in clamp_mv_to_umv_border_sb()
105 xd->mb_to_right_edge * (1 << (1 - ss_x)) + spel_right, in clamp_mv_to_umv_border_sb()
Dvp9_blockd.c124 void vp9_setup_block_planes(MACROBLOCKD *xd, int ss_x, int ss_y) { in vp9_setup_block_planes() argument
128 xd->plane[i].subsampling_x = i ? ss_x : 0; in vp9_setup_block_planes()
Dvp9_reconinter.h49 int bh, int ss_x, int ss_y);
/external/libvpx/libvpx/vpx_scale/
Dyv12config.h76 int ss_x, int ss_y,
90 int ss_x, int ss_y,
/external/libaom/libaom/av1/common/
Dreconinter.h228 int ss_x, int ss_y) { in clamp_mv_to_umv_border_sb() argument
237 (int16_t)(src_mv->col * (1 << (1 - ss_x))) }; in clamp_mv_to_umv_border_sb()
238 assert(ss_x <= 1); in clamp_mv_to_umv_border_sb()
241 clamp_mv(&clamped_mv, xd->mb_to_left_edge * (1 << (1 - ss_x)) - spel_left, in clamp_mv_to_umv_border_sb()
242 xd->mb_to_right_edge * (1 << (1 - ss_x)) + spel_right, in clamp_mv_to_umv_border_sb()
Drestoration.c45 int ss_x = is_uv && cm->seq_params.subsampling_x; in av1_whole_frame_rect() local
51 rect.right = ROUND_POWER_OF_TWO(cm->superres_upscaled_width, ss_x); in av1_whole_frame_rect()
1010 const AV1PixelRect *tile_rect, int tile_stripe0, int ss_x, int ss_y, in av1_loop_restoration_filter_unit() argument
1029 const int procunit_width = RESTORATION_PROC_UNIT_SIZE >> ss_x; in av1_loop_restoration_filter_unit()
1084 ctxt->tile_stripe0, ctxt->ss_x, ctxt->ss_y, ctxt->highbd, ctxt->bit_depth, in filter_frame_on_unit()
1128 lr_plane_ctxt->ss_x = is_uv && seq_params->subsampling_x; in av1_loop_restoration_filter_frame_init()
1331 const int ss_x = is_uv && cm->seq_params.subsampling_x; in av1_loop_restoration_corners_in_sb() local
1333 const int mi_size_x = MI_SIZE >> ss_x; in av1_loop_restoration_corners_in_sb()
1413 const int ss_x = is_uv && cm->seq_params.subsampling_x; in save_deblock_boundary_lines() local
1414 upscaled_width = (cm->superres_upscaled_width + ss_x) >> ss_x; in save_deblock_boundary_lines()
[all …]
Dblockd.c93 void av1_setup_block_planes(MACROBLOCKD *xd, int ss_x, int ss_y, in av1_setup_block_planes() argument
99 xd->plane[i].subsampling_x = i ? ss_x : 0; in av1_setup_block_planes()
Dtile_common.c189 const int ss_x = is_uv && cm->seq_params.subsampling_x; in av1_get_tile_rect() local
192 r.left = ROUND_POWER_OF_TWO(r.left, ss_x); in av1_get_tile_rect()
193 r.right = ROUND_POWER_OF_TWO(r.right, ss_x); in av1_get_tile_rect()
Dalloccommon.c146 const int ss_x = is_uv && cm->seq_params.subsampling_x; in av1_alloc_restoration_buffers() local
147 const int plane_w = ((frame_w + ss_x) >> ss_x) + 2 * RESTORATION_EXTRA_HORZ; in av1_alloc_restoration_buffers()
Drestoration.h266 int ss_x, ss_y; member
315 const AV1PixelRect *tile_rect, int tile_stripe0, int ss_x, int ss_y,
Donyxc_int.h836 const int ss_x = xd->plane[1].subsampling_x; in set_mi_row_col() local
842 if (ss_x && bw < mi_size_wide[BLOCK_8X8]) in set_mi_row_col()
859 ((mi_col & 0x01) || !(bw & 0x01) || !ss_x); in set_mi_row_col()
866 &xd->mi[-(mi_row & ss_y) * xd->mi_stride - (mi_col & ss_x)]; in set_mi_row_col()
873 xd->chroma_up_available ? base_mi[-xd->mi_stride + ss_x] : NULL; in set_mi_row_col()
/external/libaom/libaom/av1/encoder/
Dtemporal_filter.c259 int ss_x, int ss_y, int strength, const int *blk_fw, int use_32x32, in av1_apply_temporal_filter_c() argument
265 const unsigned int uv_block_width = block_width >> ss_x; in av1_apply_temporal_filter_c()
296 const int uv_c = j >> ss_x; in av1_apply_temporal_filter_c()
328 if (!(i & ss_y) && !(j & ss_x)) { in av1_apply_temporal_filter_c()
354 for (idx = 0; idx < 1 + ss_x; ++idx) { in av1_apply_temporal_filter_c()
356 const int col = (uv_c << ss_x) + idx; in av1_apply_temporal_filter_c()
400 unsigned int block_height, int ss_x, int ss_y, int strength, in av1_highbd_apply_temporal_filter_c() argument
407 const unsigned int uv_block_width = block_width >> ss_x; in av1_highbd_apply_temporal_filter_c()
444 const int uv_c = j >> ss_x; in av1_highbd_apply_temporal_filter_c()
476 if (!(i & ss_y) && !(j & ss_x)) { in av1_highbd_apply_temporal_filter_c()
[all …]
Dreconinter_enc.c91 const int ss_x = pd->subsampling_x; in build_inter_predictors() local
93 int sub8x8_inter = (block_size_wide[bsize] < 8 && ss_x) || in build_inter_predictors()
105 (block_size_wide[bsize] == 4) && ss_x && !build_for_obmc ? -1 : 0; in build_inter_predictors()
106 const int pre_x = (mi_x + MI_SIZE * col_start) >> ss_x; in build_inter_predictors()
122 const int b4_w = block_size_wide[bsize] >> ss_x; in build_inter_predictors()
124 const BLOCK_SIZE plane_bsize = scale_chroma_bsize(bsize, ss_x, ss_y); in build_inter_predictors()
125 const int b8_w = block_size_wide[plane_bsize] >> ss_x; in build_inter_predictors()
/external/libvpx/libvpx/vpx_scale/mips/dspr2/
Dyv12extend_dspr2.c106 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame() local
109 const int c_el = ext_size >> ss_x; in extend_frame()
/external/libaom/libaom/aom_scale/mips/dspr2/
Dyv12extend_dspr2.c108 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame() local
111 const int c_el = ext_size >> ss_x; in extend_frame()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c228 int ss_x, int ss_y, int strength, int *blk_fw, int use_32x32, in apply_temporal_filter() argument
234 const unsigned int uv_block_width = block_width >> ss_x; in apply_temporal_filter()
281 const int uv_c = j >> ss_x; in apply_temporal_filter()
313 if (!(i & ss_y) && !(j & ss_x)) { in apply_temporal_filter()
339 for (idx = 0; idx < 1 + ss_x; ++idx) { in apply_temporal_filter()
341 const int col = (uv_c << ss_x) + idx; in apply_temporal_filter()

12