/external/libaom/libaom/aom_scale/generic/ |
D | yv12config.c | 50 YV12_BUFFER_CONFIG *ybf, int width, int height, int ss_x, int ss_y, in realloc_frame_buffer_aligned() argument 124 ybf->uv_crop_height = (height + ss_y) >> ss_y; in realloc_frame_buffer_aligned() 132 ybf->subsampling_y = ss_y; 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 191 *uvplane_size = (uv_height + 2 * (border >> ss_y)) * (uint64_t)(*uv_stride) + in calc_stride_and_planesize() 197 int ss_x, int ss_y, int use_highbitdepth, in aom_realloc_frame_buffer() argument 213 const int uv_height = aligned_height >> ss_y; in aom_realloc_frame_buffer() 215 const int uv_border_h = border >> ss_y; 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 …]
|
D | yv12extend.c | 137 const int ss_y = ybf->uv_height < ybf->y_height; in extend_frame() local 147 const int top = ext_size >> (is_uv ? ss_y : 0); in extend_frame() 159 const int top = ext_size >> (is_uv ? ss_y : 0); in extend_frame()
|
/external/libaom/libaom/test/ |
D | yuv_temporal_filter_test.cc | 32 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 221 uv_block_height = block_height >> ss_y; in ApplyReferenceFilter() 259 const int uv_row = row >> ss_y; in ApplyReferenceFilter() 303 const int y_row = uv_row << ss_y; in ApplyReferenceFilter() 330 for (int row_step = 0; row_step < 1 + ss_y; row_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/ |
D | highbd_temporal_filter_sse4.c | 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 297 if (ss_y == 0 || h % 2 == 0) { in av1_highbd_apply_temporal_filter_luma_8() 345 if (ss_y == 0) { 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 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() 423 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_highbd_apply_temporal_filter_luma() 434 v_pre + uv_blk_col, uv_pre_stride, blk_col_step, block_height, ss_x, ss_y, in av1_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 …]
|
D | temporal_filter_sse4.c | 291 int ss_x, int ss_y, in add_luma_dist_to_8_chroma_mod() argument 297 if (ss_y == 1) { in add_luma_dist_to_8_chroma_mod() 306 if (ss_y == 1) { 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 439 if (ss_y == 0 || h % 2 == 0) { in av1_apply_temporal_filter_luma_16() 493 if (ss_y == 0) { 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 548 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_apply_temporal_filter_luma() 557 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_apply_temporal_filter_luma() 571 v_pre + uv_blk_col, uv_pre_stride, 16, block_height, ss_x, ss_y, strength, in av1_apply_temporal_filter_luma() [all …]
|
/external/libvpx/libvpx/vpx_scale/generic/ |
D | yv12config.c | 149 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() 250 ybf->uv_crop_height = (height + ss_y) >> ss_y; in vpx_realloc_frame_buffer() 258 ybf->subsampling_y = ss_y; 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()
|
D | yv12extend.c | 135 const int ss_y = ybf->uv_height < ybf->y_height; in extend_frame() local 136 const int c_et = ext_size >> ss_y; in extend_frame()
|
/external/libaom/libaom/aom_scale/ |
D | yv12config.h | 113 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/libaom/libaom/av1/common/ |
D | restoration.c | 46 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() 243 const AV1PixelRect *tile_rect, int ss_y, in get_stripe_boundary_info() argument 248 const int full_stripe_height = RESTORATION_PROC_UNIT_SIZE >> ss_y; in get_stripe_boundary_info() 249 const int runit_offset = RESTORATION_UNIT_OFFSET >> ss_y; in get_stripe_boundary_info() 1010 const AV1PixelRect *tile_rect, int tile_stripe0, int ss_x, int ss_y, in av1_loop_restoration_filter_unit() argument 1038 get_stripe_boundary_info(&remaining_stripes, tile_rect, ss_y, ©_above, in av1_loop_restoration_filter_unit() 1041 const int full_stripe_height = RESTORATION_PROC_UNIT_SIZE >> ss_y; in av1_loop_restoration_filter_unit() 1042 const int runit_offset = RESTORATION_UNIT_OFFSET >> ss_y; 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() [all …]
|
D | reconinter.h | 228 int ss_x, int ss_y) { in clamp_mv_to_umv_border_sb() argument 236 MV clamped_mv = { (int16_t)(src_mv->row * (1 << (1 - ss_y))), in clamp_mv_to_umv_border_sb() 239 assert(ss_y <= 1); in clamp_mv_to_umv_border_sb() 243 xd->mb_to_top_edge * (1 << (1 - ss_y)) - spel_top, in clamp_mv_to_umv_border_sb() 244 xd->mb_to_bottom_edge * (1 << (1 - ss_y)) + spel_bottom); in clamp_mv_to_umv_border_sb()
|
D | blockd.c | 93 void av1_setup_block_planes(MACROBLOCKD *xd, int ss_x, int ss_y, in av1_setup_block_planes() argument 100 xd->plane[i].subsampling_y = i ? ss_y : 0; in av1_setup_block_planes()
|
D | tile_common.c | 190 const int ss_y = is_uv && cm->seq_params.subsampling_y; in av1_get_tile_rect() local 194 r.top = ROUND_POWER_OF_TWO(r.top, ss_y); in av1_get_tile_rect() 195 r.bottom = ROUND_POWER_OF_TWO(r.bottom, ss_y); in av1_get_tile_rect()
|
D | restoration.h | 266 int ss_x, ss_y; member 315 const AV1PixelRect *tile_rect, int tile_stripe0, int ss_x, int ss_y,
|
D | reconintra.c | 198 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() 428 ss_y; in has_bottom_left() 430 const int sb_height_unit = sb_mi_size >> ss_y; in has_bottom_left()
|
D | onyxc_int.h | 837 const int ss_y = xd->plane[1].subsampling_y; in set_mi_row_col() local 844 if (ss_y && bh < mi_size_high[BLOCK_8X8]) in set_mi_row_col() 858 const int chroma_ref = ((mi_row & 0x01) || !(bh & 0x01) || !ss_y) && in set_mi_row_col() 866 &xd->mi[-(mi_row & ss_y) * xd->mi_stride - (mi_col & ss_x)]; in set_mi_row_col() 877 xd->chroma_left_available ? base_mi[ss_y * xd->mi_stride - 1] : NULL; in set_mi_row_col()
|
/external/libvpx/libvpx/vpx_scale/ |
D | yv12config.h | 76 int ss_x, int ss_y, 90 int ss_x, int ss_y,
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_reconinter.c | 91 int bh, int ss_x, int ss_y) { in clamp_mv_to_umv_border_sb() argument 99 MV clamped_mv = { 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()
|
D | vp9_blockd.c | 124 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()
|
D | vp9_loopfilter.c | 1084 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()
|
D | vp9_reconinter.h | 49 int bh, int ss_x, int ss_y);
|
/external/libaom/libaom/av1/encoder/ |
D | temporal_filter.c | 259 int ss_x, int ss_y, int strength, const int *blk_fw, int use_32x32, in av1_apply_temporal_filter_c() argument 266 const unsigned int uv_block_height = block_height >> ss_y; in av1_apply_temporal_filter_c() 295 const int uv_r = i >> ss_y; in av1_apply_temporal_filter_c() 328 if (!(i & ss_y) && !(j & ss_x)) { in av1_apply_temporal_filter_c() 353 for (idy = 0; idy < 1 + ss_y; ++idy) { in av1_apply_temporal_filter_c() 355 const int row = (uv_r << ss_y) + idy; 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 408 const unsigned int uv_block_height = block_height >> ss_y; in av1_highbd_apply_temporal_filter_c() 443 const int uv_r = i >> ss_y; in av1_highbd_apply_temporal_filter_c() 476 if (!(i & ss_y) && !(j & ss_x)) { in av1_highbd_apply_temporal_filter_c() [all …]
|
D | reconinter_enc.c | 92 const int ss_y = pd->subsampling_y; in build_inter_predictors() local 94 (block_size_high[bsize] < 8 && ss_y); in build_inter_predictors() 103 (block_size_high[bsize] == 4) && ss_y && !build_for_obmc ? -1 : 0; in build_inter_predictors() 107 const int pre_y = (mi_y + MI_SIZE * row_start) >> ss_y; in build_inter_predictors() 123 const int b4_h = block_size_high[bsize] >> ss_y; in build_inter_predictors() 124 const BLOCK_SIZE plane_bsize = scale_chroma_bsize(bsize, ss_x, ss_y); in build_inter_predictors() 126 const int b8_h = block_size_high[plane_bsize] >> ss_y; in build_inter_predictors()
|
/external/libvpx/libvpx/vpx_scale/mips/dspr2/ |
D | yv12extend_dspr2.c | 107 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/libaom/libaom/aom_scale/mips/dspr2/ |
D | yv12extend_dspr2.c | 109 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/libvpx/libvpx/vp9/encoder/ |
D | vp9_temporal_filter.c | 228 int ss_x, int ss_y, int strength, int *blk_fw, int use_32x32, in apply_temporal_filter() argument 235 const unsigned int uv_block_height = block_height >> ss_y; in apply_temporal_filter() 280 const int uv_r = i >> ss_y; in apply_temporal_filter() 313 if (!(i & ss_y) && !(j & ss_x)) { in apply_temporal_filter() 338 for (idy = 0; idy < 1 + ss_y; ++idy) { in apply_temporal_filter() 340 const int row = (uv_r << ss_y) + idy; in apply_temporal_filter()
|