Home
last modified time | relevance | path

Searched refs:subsampling_x (Results 1 – 25 of 88) sorted by relevance

1234

/external/libaom/libaom/av1/encoder/
Dlookahead.c45 unsigned int width, unsigned int height, unsigned int subsampling_x, in av1_lookahead_init() argument
67 &ctx->buf[i].img, width, height, subsampling_x, subsampling_y, in av1_lookahead_init()
73 &ctx->buf[i].img, width, height, subsampling_x, subsampling_y, in av1_lookahead_init()
100 int subsampling_x = src->subsampling_x; in av1_lookahead_push() local
160 if (aom_alloc_frame_buffer(&new_img, width, height, subsampling_x, in av1_lookahead_push()
171 buf->img.subsampling_x = src->subsampling_x; in av1_lookahead_push()
Dtokenize.c146 plane ? av1_get_max_uv_txsize(mbmi->sb_type, pd->subsampling_x, in tokenize_vartx()
152 plane_bsize = get_plane_block_size(mbmi->sb_type, pd->subsampling_x, in tokenize_vartx()
208 xd->plane[plane].subsampling_x, in av1_tokenize_sb_vartx()
214 scale_chroma_bsize(bsize, pd->subsampling_x, pd->subsampling_y); in av1_tokenize_sb_vartx()
216 get_plane_block_size(bsizec, pd->subsampling_x, pd->subsampling_y); in av1_tokenize_sb_vartx()
228 get_plane_block_size(BLOCK_64X64, pd->subsampling_x, pd->subsampling_y); in av1_tokenize_sb_vartx()
Dreconinter_enc.c39 int ssx = pd->subsampling_x; in calc_subpel_params()
66 xd, &mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in calc_subpel_params()
91 const int ss_x = pd->subsampling_x; in build_inter_predictors()
184 (mi_x >> pd->subsampling_x) + x, (mi_y >> pd->subsampling_y) + y, in build_inter_predictors()
226 mi_x >> pd->subsampling_x, mi_y >> pd->subsampling_y, ref, xd, in build_inter_predictors()
233 mi_x >> pd->subsampling_x, mi_y >> pd->subsampling_y, plane, ref, in build_inter_predictors()
245 if (!is_chroma_reference(mi_row, mi_col, bsize, pd->subsampling_x, in build_inter_predictors_for_plane()
325 int bw = (above_mi_width * MI_SIZE) >> pd->subsampling_x; in build_prediction_by_above_pred()
380 int bw = clamp(block_size_wide[bsize] >> (pd->subsampling_x + 1), 4, in build_prediction_by_left_pred()
381 block_size_wide[BLOCK_64X64] >> (pd->subsampling_x + 1)); in build_prediction_by_left_pred()
[all …]
Dencodemb.c90 get_plane_block_size(bsize, pd->subsampling_x, pd->subsampling_y); in av1_subtract_plane()
291 pd->subsampling_x, pd->subsampling_y); in encode_block()
316 plane ? av1_get_max_uv_txsize(mbmi->sb_type, pd->subsampling_x, in encode_block_inter()
363 get_plane_block_size(bsize, pd->subsampling_x, pd->subsampling_y); in av1_foreach_transformed_block_in_plane()
378 get_plane_block_size(BLOCK_64X64, pd->subsampling_x, pd->subsampling_y); in av1_foreach_transformed_block_in_plane()
407 xd->plane[plane].subsampling_x, in av1_foreach_transformed_block()
482 const int subsampling_x = xd->plane[plane].subsampling_x; in av1_encode_sb() local
485 if (!is_chroma_reference(mi_row, mi_col, bsize, subsampling_x, in av1_encode_sb()
490 scale_chroma_bsize(bsize, subsampling_x, subsampling_y); in av1_encode_sb()
495 get_plane_block_size(bsizec, pd->subsampling_x, pd->subsampling_y); in av1_encode_sb()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_lookahead.c46 unsigned int subsampling_x, in vp9_lookahead_init() argument
70 &ctx->buf[i].img, width, height, subsampling_x, subsampling_y, in vp9_lookahead_init()
101 int subsampling_x = src->subsampling_x; in vp9_lookahead_push() local
161 if (vpx_alloc_frame_buffer(&new_img, width, height, subsampling_x, in vp9_lookahead_push()
175 buf->img.subsampling_x = src->subsampling_x; in vp9_lookahead_push()
/external/libaom/libaom/av1/common/
Dwarped_motion.c396 int p_stride, int subsampling_x, in av1_highbd_warp_affine_c() argument
422 const int32_t src_x = (j + 4) << subsampling_x; in av1_highbd_warp_affine_c()
426 const int32_t x4 = dst_x >> subsampling_x; in av1_highbd_warp_affine_c()
521 int subsampling_x, int subsampling_y, int bd, in highbd_warp_plane() argument
537 p_width, p_height, p_stride, subsampling_x, in highbd_warp_plane()
558 int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, in highbd_warp_error() argument
575 WARP_ERROR_BLOCK, subsampling_x, subsampling_y, bd, in highbd_warp_error()
679 int subsampling_x, int subsampling_y, in av1_warp_affine_c() argument
704 const int32_t src_x = (j + 4) << subsampling_x; in av1_warp_affine_c()
708 const int32_t x4 = dst_x >> subsampling_x; in av1_warp_affine_c()
[all …]
Donyxc_int.h279 int subsampling_x; // Chroma subsampling for x member
799 if (pd->subsampling_x && (mi_col & 0x01) && (mi_size_wide[bsize] == 1)) in set_skip_context()
803 pd->above_context = &xd->above_context[i][above_idx >> pd->subsampling_x]; in set_skip_context()
817 xd->plane[i].width = (bw * MI_SIZE) >> xd->plane[i].subsampling_x; in set_plane_n4()
836 const int ss_x = xd->plane[1].subsampling_x; in set_mi_row_col()
919 int subsampling_x, int subsampling_y) { in is_chroma_reference() argument
923 ((mi_col & 0x01) || !(bw & 0x01) || !subsampling_x); in is_chroma_reference()
927 static INLINE BLOCK_SIZE scale_chroma_bsize(BLOCK_SIZE bsize, int subsampling_x, in scale_chroma_bsize() argument
932 if (subsampling_x == 1 && subsampling_y == 1) in scale_chroma_bsize()
934 else if (subsampling_x == 1) in scale_chroma_bsize()
[all …]
Dblockd.c65 is_chroma_reference(mi_row, mi_col, bsize, xd->plane[1].subsampling_x, in av1_reset_skip_context()
71 get_plane_block_size(bsize, pd->subsampling_x, pd->subsampling_y); in av1_reset_skip_context()
99 xd->plane[i].subsampling_x = i ? ss_x : 0; in av1_setup_block_planes()
103 xd->plane[i].subsampling_x = 1; in av1_setup_block_planes()
Dblockd.h363 int subsampling_x, int subsampling_y) { in mi_to_pixel_loc() argument
364 *pixel_c = ((mi_col >> subsampling_x) << MI_SIZE_LOG2) + in mi_to_pixel_loc()
398 int subsampling_x; member
468 int subsampling_x, subsampling_y; member
786 int subsampling_x, in get_plane_block_size() argument
789 return ss_size_lookup[bsize][subsampling_x][subsampling_y]; in get_plane_block_size()
867 blk_col <<= pd->subsampling_x; in av1_get_tx_type()
926 static INLINE TX_SIZE av1_get_max_uv_txsize(BLOCK_SIZE bsize, int subsampling_x, in av1_get_max_uv_txsize() argument
929 get_plane_block_size(bsize, subsampling_x, subsampling_y); in av1_get_max_uv_txsize()
940 return av1_get_max_uv_txsize(mbmi->sb_type, pd->subsampling_x, in av1_get_tx_size()
[all …]
Dwarped_motion.h76 int p_height, int p_stride, int subsampling_x,
87 int p_height, int p_stride, int subsampling_x,
Dav1_loopfilter.c1040 int subsampling_x, int subsampling_y, int row_end, in av1_setup_bitmask() argument
1077 subsampling_x, subsampling_y); in av1_setup_bitmask()
1482 const int subsampling_x = plane_ptr->subsampling_x; in av1_build_bitmask_vert_info() local
1499 c += (tx_size_wide_unit[TX_64X64] >> subsampling_x)) { in av1_build_bitmask_vert_info()
1500 const int mi_col = c << subsampling_x; in av1_build_bitmask_vert_info()
1504 col_in_unit < (tx_size_wide_unit[TX_64X64] >> subsampling_x);) { in av1_build_bitmask_vert_info()
1507 const int col = col_in_unit << subsampling_x; in av1_build_bitmask_vert_info()
1508 const int col_uv = col | subsampling_x; in av1_build_bitmask_vert_info()
1561 const int subsampling_x = plane_ptr->subsampling_x; in av1_build_bitmask_horz_info() local
1571 const int mi_col = c << subsampling_x; in av1_build_bitmask_horz_info()
[all …]
Dreconinter.c90 pd->subsampling_x, pd->subsampling_y, conv_params); in av1_make_inter_predictor()
687 mi_col, NULL, pd->subsampling_x, pd->subsampling_y); in av1_setup_dst_planes()
704 pd->subsampling_x, pd->subsampling_y); in av1_setup_pre_planes()
781 get_plane_block_size(bsize, pd->subsampling_x, pd->subsampling_y); in av1_skip_u4x4_pred_in_obmc()
822 const int bw = (above_mi_width * MI_SIZE) >> pd->subsampling_x; in build_obmc_inter_pred_above()
824 const int plane_col = (rel_mi_col * MI_SIZE) >> pd->subsampling_x; in build_obmc_inter_pred_above()
857 const int bw = overlap >> pd->subsampling_x; in build_obmc_inter_pred_left()
916 NULL, pd->subsampling_x, pd->subsampling_y); in av1_setup_build_prediction_by_above_pred()
954 NULL, pd->subsampling_x, pd->subsampling_y); in av1_setup_build_prediction_by_left_pred()
1101 const int ssx = xd->plane[plane].subsampling_x; in av1_build_intra_predictors_for_interintra()
[all …]
Dcfl.c24 cfl->subsampling_x = seq_params->subsampling_x; in cfl_init()
323 const int sub_x = cfl->subsampling_x; in cfl_store()
372 if ((cfl->mi_col & 0x01) && cfl->subsampling_x) { in sub8x8_adjust_offset()
/external/v4l2_codec2/vda/
Dvp9_uncompressed_header_parser.cc659 fhdr->subsampling_x = reader_.ReadBool() ? 1 : 0; in ReadColorConfig()
661 if (fhdr->subsampling_x == 1 && fhdr->subsampling_y == 1) { in ReadColorConfig()
671 fhdr->subsampling_x = fhdr->subsampling_y = 1; in ReadColorConfig()
676 fhdr->subsampling_x = fhdr->subsampling_y = 0; in ReadColorConfig()
984 fhdr->subsampling_x = fhdr->subsampling_y = 1; in Parse()
1025 fhdr->subsampling_x = ref.subsampling_x; in Parse()
1036 if (fhdr->subsampling_x != ref.subsampling_x || in Parse()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h23 if (!yv12->subsampling_x) { in yuvconfig2image()
31 if (!yv12->subsampling_x) { in yuvconfig2image()
48 img->x_chroma_shift = yv12->subsampling_x; in yuvconfig2image()
131 yv12->subsampling_x = img->x_chroma_shift; in image2yuvconfig()
/external/libvpx/libvpx/vp9/common/
Dvp9_blockd.h119 int subsampling_x; member
239 ss_size_lookup[mi->sb_type][pd->subsampling_x][pd->subsampling_y] != in get_uv_tx_size()
241 return uv_txsize_lookup[mi->sb_type][mi->tx_size][pd->subsampling_x] in get_uv_tx_size()
247 return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; in get_plane_block_size()
Dvp9_blockd.c58 : xd->mb_to_right_edge >> (5 + pd->subsampling_x)); in vp9_foreach_transformed_block_in_plane()
98 (xd->mb_to_right_edge >> (5 + pd->subsampling_x)); in vp9_set_contexts()
128 xd->plane[i].subsampling_x = i ? ss_x : 0; in vp9_setup_block_planes()
Dvp9_reconinter.c114 const int ss_idx = ((pd->subsampling_x > 0) << 1) | (pd->subsampling_y > 0); in average_split_mvs()
150 xd, &mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in build_inter_predictors()
159 const int x_start = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)); in build_inter_predictors()
165 mv_q4.col == mv.col * (1 << (1 - pd->subsampling_x))); in build_inter_predictors()
269 pd->subsampling_x, pd->subsampling_y); in vp9_setup_dst_planes()
285 sf, pd->subsampling_x, pd->subsampling_y); in vp9_setup_pre_planes()
Dvp9_reconinter.h87 int subsampling_x, int subsampling_y) { in setup_pred_plane() argument
88 const int x = (MI_SIZE * mi_col) >> subsampling_x; in setup_pred_plane()
/external/libaom/libaom/av1/
Dav1_iface_common.h26 if (!yv12->subsampling_x) { in yuvconfig2image()
50 img->x_chroma_shift = yv12->subsampling_x; in yuvconfig2image()
133 yv12->subsampling_x = img->x_chroma_shift; in image2yuvconfig()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c587 xd, mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in dec_build_inter_predictors()
589 int x_start = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)); in dec_build_inter_predictors()
595 mv_q4.col == mv->col * (1 << (1 - pd->subsampling_x))); in dec_build_inter_predictors()
617 x0 = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x)) + x; in dec_build_inter_predictors()
625 scaled_mv.col = mv->col * (1 << (1 - pd->subsampling_x)); in dec_build_inter_predictors()
779 xd->plane[i].n4_w = (bw << 1) >> xd->plane[i].subsampling_x; in set_plane_n4()
781 xd->plane[i].n4_wl = bwl - xd->plane[i].subsampling_x; in set_plane_n4()
849 : xd->mb_to_right_edge >> (5 + pd->subsampling_x)); in predict_recon_inter()
879 : xd->mb_to_right_edge >> (5 + pd->subsampling_x)); in predict_recon_intra()
908 if (bsize >= BLOCK_8X8 && (cm->subsampling_x || cm->subsampling_y)) { in decode_block()
[all …]
/external/libaom/libaom/test/
Dwarp_filter_test_util.h40 int subsampling_x, int subsampling_y,
71 int subsampling_x, int subsampling_y,
Dintrabc_test.cc151 xd.plane[1].subsampling_x = 1; in TEST()
153 xd.plane[2].subsampling_x = 1; in TEST()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c270 pd->subsampling_x, pd->subsampling_y); in inverse_transform_inter_block()
292 plane ? av1_get_max_uv_txsize(mbmi->sb_type, pd->subsampling_x, in decode_reconstruct_tx()
392 (seq_params->subsampling_x || seq_params->subsampling_y)) { in decode_mbmi_block()
394 ss_size_lookup[bsize][seq_params->subsampling_x] in decode_mbmi_block()
560 int ssx = pd->subsampling_x; in dec_calc_subpel_params()
595 temp_mv = clamp_mv_to_umv_border_sb(xd, &mv, bw, bh, pd->subsampling_x, in dec_calc_subpel_params()
609 xd, &mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in dec_calc_subpel_params()
648 const int ss_x = pd->subsampling_x; in dec_build_inter_predictors()
753 (mi_x >> pd->subsampling_x) + x, (mi_y >> pd->subsampling_y) + y, in dec_build_inter_predictors()
824 plane, &warp_types, mi_x >> pd->subsampling_x, in dec_build_inter_predictors()
[all …]
/external/libaom/libaom/common/
Dav1_config.c204 AV1C_READ_BIT_OR_RETURN_ERROR(subsampling_x); in parse_color_config()
205 config->chroma_subsampling_x = subsampling_x; in parse_color_config()
206 if (subsampling_x) { in parse_color_config()

1234