Home
last modified time | relevance | path

Searched refs:ss_y (Results 1 – 25 of 35) sorted by relevance

12

/external/libvpx/libvpx/test/
Dyuv_temporal_filter_test.cc29 int ss_x, int ss_y, int strength, const int *const blk_fw, int use_32x32,
120 unsigned int block_width, unsigned int block_height, int ss_x, int ss_y, in ApplyReferenceFilter() argument
133 uv_block_height = block_height >> ss_y; in ApplyReferenceFilter()
192 const int uv_row = row >> ss_y; in ApplyReferenceFilter()
236 const int y_row = uv_row << ss_y; in ApplyReferenceFilter()
263 for (int row_step = 0; row_step < 1 + ss_y; row_step++) { in ApplyReferenceFilter()
307 void CompareTestWithParam(int width, int height, int ss_x, int ss_y,
311 void RunTestFilterWithParam(int width, int height, int ss_x, int ss_y,
324 int ss_x, int ss_y, in CompareTestWithParam() argument
328 const int uv_width = width >> ss_x, uv_height = height >> ss_y; in CompareTestWithParam()
[all …]
/external/libaom/libaom/test/
Dtemporal_filter_yuv_test.cc214 int ss_x, int ss_y, int strength, in ApplyReferenceFilter() argument
220 uv_block_height = block_height >> ss_y; in ApplyReferenceFilter()
258 const int uv_row = row >> ss_y; in ApplyReferenceFilter()
302 const int y_row = uv_row << ss_y; in ApplyReferenceFilter()
329 for (int row_step = 0; row_step < 1 + ss_y; row_step++) { in ApplyReferenceFilter()
373 void CompareTestWithParam(int width, int height, int ss_x, int ss_y,
377 void RunTestFilterWithParam(int width, int height, int ss_x, int ss_y,
387 int ss_x, int ss_y, int strength, const int *blk_fw,
406 int ss_x, int ss_y, int strength, const int *blk_fw, int use_32x32, in ApplyTestFilter() argument
438 mbd->plane[1].subsampling_y = ss_y; in ApplyTestFilter()
[all …]
/external/libvpx/libvpx/vp9/encoder/x86/
Dtemporal_filter_sse4.c235 int ss_x, int ss_y, in add_luma_dist_to_8_chroma_mod() argument
241 if (ss_y == 1) { in add_luma_dist_to_8_chroma_mod()
250 if (ss_y == 1) { in add_luma_dist_to_8_chroma_mod()
277 int ss_x, int ss_y, int strength, int use_whole_blk, uint32_t *y_accum, in vp9_apply_temporal_filter_luma_16() argument
389 if (ss_y == 0 || h % 2 == 0) { in vp9_apply_temporal_filter_luma_16()
438 if (ss_y == 0) { in vp9_apply_temporal_filter_luma_16()
465 int ss_x, int ss_y, int strength, const int *blk_fw, int use_whole_blk, in vp9_apply_temporal_filter_luma() argument
488 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in vp9_apply_temporal_filter_luma()
497 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in vp9_apply_temporal_filter_luma()
511 v_pre + uv_blk_col, uv_pre_stride, 16, block_height, ss_x, ss_y, strength, in vp9_apply_temporal_filter_luma()
[all …]
Dhighbd_temporal_filter_sse4.c198 int ss_x, int ss_y, int strength, int use_whole_blk, uint32_t *y_accum, in vp9_highbd_apply_temporal_filter_luma_8() argument
297 if (ss_y == 0 || h % 2 == 0) { in vp9_highbd_apply_temporal_filter_luma_8()
345 if (ss_y == 0) { in vp9_highbd_apply_temporal_filter_luma_8()
371 int ss_x, int ss_y, int strength, const int *blk_fw, int use_whole_blk, in vp9_highbd_apply_temporal_filter_luma() argument
389 v_pre + uv_blk_col, uv_pre_stride, blk_col_step, block_height, ss_x, ss_y, in vp9_highbd_apply_temporal_filter_luma()
405 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in vp9_highbd_apply_temporal_filter_luma()
423 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in vp9_highbd_apply_temporal_filter_luma()
434 v_pre + uv_blk_col, uv_pre_stride, blk_col_step, block_height, ss_x, ss_y, in vp9_highbd_apply_temporal_filter_luma()
443 const uint32_t *y_dist, int ss_x, int ss_y, __m128i *u_mod_fst, in highbd_add_luma_dist_to_8_chroma_mod() argument
448 if (ss_y == 1) { in highbd_add_luma_dist_to_8_chroma_mod()
[all …]
/external/libaom/libaom/av1/encoder/x86/
Dtemporal_filter_sse4.c295 int ss_x, int ss_y, in add_luma_dist_to_8_chroma_mod() argument
301 if (ss_y == 1) { in add_luma_dist_to_8_chroma_mod()
310 if (ss_y == 1) { in add_luma_dist_to_8_chroma_mod()
337 int ss_x, int ss_y, int strength, int use_whole_blk, uint32_t *y_accum, in apply_temporal_filter_luma_16() argument
443 if (ss_y == 0 || h % 2 == 0) { in apply_temporal_filter_luma_16()
497 if (ss_y == 0) { in apply_temporal_filter_luma_16()
529 int ss_x, int ss_y, int strength, const int *blk_fw, int use_whole_blk, in apply_temporal_filter_luma() argument
552 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in apply_temporal_filter_luma()
561 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in apply_temporal_filter_luma()
575 v_pre + uv_blk_col, uv_pre_stride, 16, block_height, ss_x, ss_y, strength, in apply_temporal_filter_luma()
[all …]
/external/libaom/libaom/aom_scale/generic/
Dyv12config.c47 YV12_BUFFER_CONFIG *ybf, int width, int height, int ss_x, int ss_y, in realloc_frame_buffer_aligned() argument
125 ybf->uv_crop_height = (height + ss_y) >> ss_y; in realloc_frame_buffer_aligned()
133 ybf->subsampling_y = ss_y; in realloc_frame_buffer_aligned()
174 static int calc_stride_and_planesize(const int ss_x, const int ss_y, in calc_stride_and_planesize() argument
192 *uvplane_size = (uv_height + 2 * (border >> ss_y)) * (uint64_t)(*uv_stride) + in calc_stride_and_planesize()
198 int ss_x, int ss_y, int use_highbitdepth, in aom_realloc_frame_buffer() argument
215 const int uv_height = aligned_height >> ss_y; in aom_realloc_frame_buffer()
217 const int uv_border_h = border >> ss_y; in aom_realloc_frame_buffer()
220 ss_x, ss_y, aligned_width, aligned_height, border, byte_alignment, in aom_realloc_frame_buffer()
224 ybf, width, height, ss_x, ss_y, use_highbitdepth, border, in aom_realloc_frame_buffer()
[all …]
Dyv12extend.c142 const int ss_y = ybf->uv_height < ybf->y_height; in extend_frame() local
153 const int top = ext_size >> (is_uv ? ss_y : 0); in extend_frame()
167 const int top = ext_size >> (is_uv ? ss_y : 0); in extend_frame()
/external/libvpx/libvpx/vpx_scale/generic/
Dyv12config.c149 int ss_x, int ss_y, in vpx_realloc_frame_buffer() argument
175 const int uv_height = aligned_height >> ss_y; in vpx_realloc_frame_buffer()
178 const int uv_border_h = border >> ss_y; in vpx_realloc_frame_buffer()
251 ybf->uv_crop_height = (height + ss_y) >> ss_y; in vpx_realloc_frame_buffer()
259 ybf->subsampling_y = ss_y; in vpx_realloc_frame_buffer()
289 int ss_x, int ss_y, in vpx_alloc_frame_buffer() argument
296 return vpx_realloc_frame_buffer(ybf, width, height, ss_x, ss_y, in vpx_alloc_frame_buffer()
/external/libaom/libaom/av1/common/
Drestoration.c46 int ss_y = is_uv && cm->seq_params.subsampling_y; in av1_whole_frame_rect() local
49 rect.bottom = ROUND_POWER_OF_TWO(cm->height, ss_y); in av1_whole_frame_rect()
252 const AV1PixelRect *tile_rect, int ss_y, in get_stripe_boundary_info() argument
257 const int full_stripe_height = RESTORATION_PROC_UNIT_SIZE >> ss_y; in get_stripe_boundary_info()
258 const int runit_offset = RESTORATION_UNIT_OFFSET >> ss_y; in get_stripe_boundary_info()
1027 const AV1PixelRect *tile_rect, int tile_stripe0, int ss_x, int ss_y, in av1_loop_restoration_filter_unit() argument
1055 get_stripe_boundary_info(&remaining_stripes, tile_rect, ss_y, &copy_above, in av1_loop_restoration_filter_unit()
1058 const int full_stripe_height = RESTORATION_PROC_UNIT_SIZE >> ss_y; in av1_loop_restoration_filter_unit()
1059 const int runit_offset = RESTORATION_UNIT_OFFSET >> ss_y; in av1_loop_restoration_filter_unit()
1101 ctxt->tile_stripe0, ctxt->ss_x, ctxt->ss_y, ctxt->highbd, ctxt->bit_depth, in filter_frame_on_unit()
[all …]
Dreconinter.h270 int ss_x, int ss_y) { in clamp_mv_to_umv_border_sb() argument
278 MV clamped_mv = { (int16_t)(src_mv->row * (1 << (1 - ss_y))), in clamp_mv_to_umv_border_sb()
281 assert(ss_y <= 1); in clamp_mv_to_umv_border_sb()
285 xd->mb_to_top_edge * (1 << (1 - ss_y)) - spel_top, in clamp_mv_to_umv_border_sb()
286 xd->mb_to_bottom_edge * (1 << (1 - ss_y)) + spel_bottom in clamp_mv_to_umv_border_sb()
Dreconintra.c198 int col_off, int ss_x, int ss_y) { in has_top_right() argument
210 if (row_off == mi_size_high[BLOCK_64X64] >> ss_y && in has_top_right()
383 int col_off, int ss_x, int ss_y) { in has_bottom_left() argument
394 const int plane_bh_unit_64 = mi_size_high[BLOCK_64X64] >> ss_y; in has_bottom_left()
397 AOMMIN(mi_size_high[bsize] >> ss_y, plane_bh_unit_64); in has_bottom_left()
409 const int plane_bh_unit = AOMMAX(bh_unit >> ss_y, 1); in has_bottom_left()
427 ss_y; in has_bottom_left()
429 const int sb_height_unit = sb_mi_size >> ss_y; in has_bottom_left()
1598 const int ss_y = pd->subsampling_y; in av1_predict_intra_block() local
1600 row_off || (ss_y ? xd->chroma_up_available : xd->up_available); in av1_predict_intra_block()
[all …]
Dblockd.c89 void av1_setup_block_planes(MACROBLOCKD *xd, int ss_x, int ss_y, in av1_setup_block_planes() argument
96 xd->plane[i].subsampling_y = i ? ss_y : 0; in av1_setup_block_planes()
Dtile_common.c199 const int ss_y = is_uv && cm->seq_params.subsampling_y; in av1_get_tile_rect() local
203 r.top = ROUND_POWER_OF_TWO(r.top, ss_y); in av1_get_tile_rect()
204 r.bottom = ROUND_POWER_OF_TWO(r.bottom, ss_y); in av1_get_tile_rect()
Dreconinter.c739 const int ss_y = pd->subsampling_y; in is_sub8x8_inter() local
741 (block_size_high[bsize] >= 8 || !ss_y)) { in is_sub8x8_inter()
749 const int row_start = (block_size_high[bsize] == 4) && ss_y ? -1 : 0; in is_sub8x8_inter()
769 const bool ss_y = pd->subsampling_y; in build_inter_predictors_sub8x8() local
771 const int b4_h = block_size_high[bsize] >> ss_y; in build_inter_predictors_sub8x8()
772 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, ss_x, ss_y); in build_inter_predictors_sub8x8()
783 const int row_start = (block_size_high[bsize] == 4) && ss_y ? -1 : 0; in build_inter_predictors_sub8x8()
786 const int pre_y = (mi_y + MI_SIZE * row_start) >> ss_y; in build_inter_predictors_sub8x8()
853 const int ss_y = pd->subsampling_y; in build_inter_predictors_8x8_and_bigger() local
855 (block_size_high[bsize] == 4) && ss_y && !build_for_obmc ? -1 : 0; in build_inter_predictors_8x8_and_bigger()
[all …]
Drestoration.h267 int ss_x, ss_y; member
316 const AV1PixelRect *tile_rect, int tile_stripe0, int ss_x, int ss_y,
Dav1_common_int.h1028 const int ss_y = xd->plane[1].subsampling_y; in set_mi_row_col() local
1035 if (ss_y && bh < mi_size_high[BLOCK_8X8]) in set_mi_row_col()
1049 const int chroma_ref = ((mi_row & 0x01) || !(bh & 0x01) || !ss_y) && in set_mi_row_col()
1058 &xd->mi[-(mi_row & ss_y) * xd->mi_stride - (mi_col & ss_x)]; in set_mi_row_col()
1069 xd->chroma_left_available ? base_mi[ss_y * xd->mi_stride - 1] : NULL; in set_mi_row_col()
/external/libvpx/libvpx/vpx_scale/
Dyv12config.h76 int ss_x, int ss_y,
90 int ss_x, int ss_y,
/external/libaom/libaom/aom_scale/
Dyv12config.h114 int ss_x, int ss_y, int use_highbitdepth, int border,
125 int ss_x, int ss_y, int use_highbitdepth,
/external/libvpx/libvpx/vp9/common/
Dvp9_reconinter.c91 int bh, int ss_x, int ss_y) { in clamp_mv_to_umv_border_sb() argument
99 MV clamped_mv = { (short)(src_mv->row * (1 << (1 - ss_y))), in clamp_mv_to_umv_border_sb()
102 assert(ss_y <= 1); in clamp_mv_to_umv_border_sb()
106 xd->mb_to_top_edge * (1 << (1 - ss_y)) - spel_top, in clamp_mv_to_umv_border_sb()
107 xd->mb_to_bottom_edge * (1 << (1 - ss_y)) + spel_bottom); 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
129 xd->plane[i].subsampling_y = i ? ss_y : 0; in vp9_setup_block_planes()
Dvp9_loopfilter.c1084 const int ss_y = plane->subsampling_y; in vp9_filter_block_plane_non420() local
1085 const int row_step = 1 << ss_y; in vp9_filter_block_plane_non420()
1128 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; in vp9_filter_block_plane_non420()
1142 if (!skip_this_r && ((r >> ss_y) & 3) == 0) { in vp9_filter_block_plane_non420()
1155 if (!skip_this_r && ((r >> ss_y) & 1) == 0) { in vp9_filter_block_plane_non420()
1171 if (tx_size == TX_8X8 || ((r >> ss_y) & 3) == 0) in vp9_filter_block_plane_non420()
1207 const int skip_border_4x4_r = ss_y && mi_row + r == cm->mi_rows - 1; in vp9_filter_block_plane_non420()
/external/libvpx/libvpx/vpx_scale/mips/dspr2/
Dyv12extend_dspr2.c107 const int ss_y = ybf->uv_height < ybf->y_height; in extend_frame() local
108 const int c_et = ext_size >> ss_y; in extend_frame()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c265 int ss_x, int ss_y, int strength, const int *const blk_fw, int use_32x32, in vp9_apply_temporal_filter_c() argument
272 const unsigned int uv_block_height = block_height >> ss_y; in vp9_apply_temporal_filter_c()
317 const int uv_r = i >> ss_y; in vp9_apply_temporal_filter_c()
350 if (!(i & ss_y) && !(j & ss_x)) { in vp9_apply_temporal_filter_c()
375 for (idy = 0; idy < 1 + ss_y; ++idy) { in vp9_apply_temporal_filter_c()
377 const int row = (uv_r << ss_y) + idy; in vp9_apply_temporal_filter_c()
407 int ss_x, int ss_y, int strength, const int *const blk_fw, int use_32x32, in vp9_highbd_apply_temporal_filter_c() argument
411 const int uv_block_height = block_height >> ss_y; in vp9_highbd_apply_temporal_filter_c()
453 const int uv_row = row >> ss_y; in vp9_highbd_apply_temporal_filter_c()
497 const int y_row = uv_row << ss_y; in vp9_highbd_apply_temporal_filter_c()
[all …]
/external/libaom/libaom/aom_scale/mips/dspr2/
Dyv12extend_dspr2.c109 const int ss_y = ybf->uv_height < ybf->y_height; in extend_frame() local
110 const int c_et = ext_size >> ss_y; in extend_frame()
/external/libaom/libaom/av1/encoder/
Dtokenize.c206 const int ss_y = pd->subsampling_y; in av1_tokenize_sb_vartx() local
207 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, ss_x, ss_y); in av1_tokenize_sb_vartx()
220 get_plane_block_size(BLOCK_64X64, ss_x, ss_y); in av1_tokenize_sb_vartx()

12