/external/libaom/libaom/av1/encoder/ |
D | lookahead.c | 46 unsigned int subsampling_y, int use_highbitdepth, unsigned int depth, 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() 101 int subsampling_y = src->subsampling_y; in av1_lookahead_push() local 161 subsampling_y, use_highbitdepth, in av1_lookahead_push() 172 buf->img.subsampling_y = src->subsampling_y; in av1_lookahead_push()
|
D | tokenize.c | 147 pd->subsampling_y) in tokenize_vartx() 153 pd->subsampling_y); in tokenize_vartx() 209 xd->plane[plane].subsampling_y)) { 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()
|
D | reconinter_enc.c | 40 int ssy = pd->subsampling_y; in calc_subpel_params() 66 xd, &mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in calc_subpel_params() 92 const int ss_y = pd->subsampling_y; 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() 246 pd->subsampling_y)) in build_inter_predictors_for_plane() 326 int bh = clamp(block_size_high[bsize] >> (pd->subsampling_y + 1), 4, in build_prediction_by_above_pred() 327 block_size_high[BLOCK_64X64] >> (pd->subsampling_y + 1)); in build_prediction_by_above_pred() 382 int bh = (left_mi_height << MI_SIZE_LOG2) >> pd->subsampling_y; in build_prediction_by_left_pred() [all …]
|
D | encodemb.c | 90 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() 317 pd->subsampling_y) 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() 408 xd->plane[plane].subsampling_y)) in av1_foreach_transformed_block() 483 const int subsampling_y = xd->plane[plane].subsampling_y; in av1_encode_sb() local 486 subsampling_y)) 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/ |
D | vp9_lookahead.c | 47 unsigned int subsampling_y, in vp9_lookahead_init() argument 70 &ctx->buf[i].img, width, height, subsampling_x, subsampling_y, in vp9_lookahead_init() 102 int subsampling_y = src->subsampling_y; in vp9_lookahead_push() local 162 subsampling_y, in vp9_lookahead_push() 176 buf->img.subsampling_y = src->subsampling_y; in vp9_lookahead_push()
|
/external/libaom/libaom/av1/common/ |
D | warped_motion.c | 397 int subsampling_y, int bd, in av1_highbd_warp_affine_c() argument 423 const int32_t src_y = (i + 4) << subsampling_y; in av1_highbd_warp_affine_c() 427 const int32_t y4 = dst_y >> subsampling_y; in av1_highbd_warp_affine_c() 521 int subsampling_x, int subsampling_y, int bd, in highbd_warp_plane() argument 538 subsampling_y, bd, conv_params, alpha, beta, gamma, 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 705 const int32_t src_y = (i + 4) << subsampling_y; in av1_warp_affine_c() 709 const int32_t y4 = dst_y >> subsampling_y; in av1_warp_affine_c() [all …]
|
D | onyxc_int.h | 280 int subsampling_y; // Chroma subsampling for y member 797 if (pd->subsampling_y && (mi_row & 0x01) && (mi_size_high[bsize] == 1)) in set_skip_context() 804 pd->left_context = &xd->left_context[i][left_idx >> pd->subsampling_y]; in set_skip_context() 818 xd->plane[i].height = (bh * MI_SIZE) >> xd->plane[i].subsampling_y; in set_plane_n4() 837 const int ss_y = xd->plane[1].subsampling_y; in set_mi_row_col() 919 int subsampling_x, int subsampling_y) { in is_chroma_reference() argument 922 int ref_pos = ((mi_row & 0x01) || !(bh & 0x01) || !subsampling_y) && in is_chroma_reference() 928 int subsampling_y) { in scale_chroma_bsize() argument 932 if (subsampling_x == 1 && subsampling_y == 1) in scale_chroma_bsize() 936 else if (subsampling_y == 1) in scale_chroma_bsize() [all …]
|
D | blockd.c | 66 xd->plane[1].subsampling_y); in av1_reset_skip_context() 71 get_plane_block_size(bsize, pd->subsampling_x, pd->subsampling_y); in av1_reset_skip_context() 100 xd->plane[i].subsampling_y = i ? ss_y : 0; in av1_setup_block_planes() 104 xd->plane[i].subsampling_y = 1; in av1_setup_block_planes()
|
D | blockd.h | 363 int subsampling_x, int subsampling_y) { in mi_to_pixel_loc() argument 366 *pixel_r = ((mi_row >> subsampling_y) << MI_SIZE_LOG2) + in mi_to_pixel_loc() 399 int subsampling_y; member 468 int subsampling_x, subsampling_y; member 787 int subsampling_y) { in get_plane_block_size() argument 789 return ss_size_lookup[bsize][subsampling_x][subsampling_y]; in get_plane_block_size() 866 blk_row <<= pd->subsampling_y; in av1_get_tx_type() 927 int subsampling_y) { in av1_get_max_uv_txsize() argument 929 get_plane_block_size(bsize, subsampling_x, subsampling_y); in av1_get_max_uv_txsize() 941 pd->subsampling_y); in av1_get_tx_size() [all …]
|
D | warped_motion.h | 77 int subsampling_y, int64_t best_error); 88 int subsampling_y, ConvolveParams *conv_params);
|
D | av1_loopfilter.c | 1040 int subsampling_x, int subsampling_y, int row_end, in av1_setup_bitmask() argument 1077 subsampling_x, subsampling_y); in av1_setup_bitmask() 1483 const int subsampling_y = plane_ptr->subsampling_y; in av1_build_bitmask_vert_info() local 1492 const int mi_row = r << subsampling_y; in av1_build_bitmask_vert_info() 1494 const int row_uv = row | subsampling_y; in av1_build_bitmask_vert_info() 1562 const int subsampling_y = plane_ptr->subsampling_y; in av1_build_bitmask_horz_info() local 1576 r += (tx_size_high_unit[TX_64X64] >> subsampling_y)) { in av1_build_bitmask_horz_info() 1577 const int mi_row = r << subsampling_y; in av1_build_bitmask_horz_info() 1581 r_in_unit < (tx_size_high_unit[TX_64X64] >> subsampling_y);) { in av1_build_bitmask_horz_info() 1584 const int row = r_in_unit << subsampling_y; in av1_build_bitmask_horz_info() [all …]
|
D | reconinter.c | 90 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() 823 const int bh = overlap >> pd->subsampling_y; in build_obmc_inter_pred_above() 858 const int bh = (left_mi_height * MI_SIZE) >> pd->subsampling_y; in build_obmc_inter_pred_left() 859 const int plane_row = (rel_mi_row * MI_SIZE) >> pd->subsampling_y; 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() 1102 const int ssy = xd->plane[plane].subsampling_y; in av1_build_intra_predictors_for_interintra() [all …]
|
D | cfl.c | 25 cfl->subsampling_y = seq_params->subsampling_y; in cfl_init() 324 const int sub_y = cfl->subsampling_y; in cfl_store() 366 if ((cfl->mi_row & 0x01) && cfl->subsampling_y) { in sub8x8_adjust_offset()
|
/external/v4l2_codec2/vda/ |
D | vp9_uncompressed_header_parser.cc | 660 fhdr->subsampling_y = 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() 1026 fhdr->subsampling_y = ref.subsampling_y; in Parse() 1037 fhdr->subsampling_y != ref.subsampling_y) { in Parse()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_blockd.h | 120 int subsampling_y; member 239 ss_size_lookup[mi->sb_type][pd->subsampling_x][pd->subsampling_y] != in get_uv_tx_size() 242 [pd->subsampling_y]; in get_uv_tx_size() 247 return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; in get_plane_block_size()
|
D | vp9_blockd.c | 62 : xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); in vp9_foreach_transformed_block_in_plane() 113 (xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); in vp9_set_contexts() 129 xd->plane[i].subsampling_y = i ? ss_y : 0; in vp9_setup_block_planes()
|
D | vp9_reconinter.c | 114 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() 160 const int y_start = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y)); in build_inter_predictors() 164 assert(mv_q4.row == mv.row * (1 << (1 - pd->subsampling_y)) && 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()
|
D | vp9_reconinter.h | 87 int subsampling_x, int subsampling_y) { in setup_pred_plane() argument 89 const int y = (MI_SIZE * mi_row) >> subsampling_y; in setup_pred_plane()
|
/external/libvpx/libvpx/vp9/ |
D | vp9_iface_common.h | 22 if (!yv12->subsampling_y) { in yuvconfig2image() 49 img->y_chroma_shift = yv12->subsampling_y; in yuvconfig2image() 132 yv12->subsampling_y = img->y_chroma_shift; in image2yuvconfig()
|
/external/libaom/libaom/av1/ |
D | av1_iface_common.h | 25 if (!yv12->subsampling_y) { in yuvconfig2image() 51 img->y_chroma_shift = yv12->subsampling_y; in yuvconfig2image() 134 yv12->subsampling_y = img->y_chroma_shift; in image2yuvconfig()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodeframe.c | 587 xd, mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in dec_build_inter_predictors() 590 int y_start = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y)); in dec_build_inter_predictors() 594 assert(mv_q4.row == mv->row * (1 << (1 - pd->subsampling_y)) && in dec_build_inter_predictors() 618 y0 = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y)) + y; in dec_build_inter_predictors() 624 scaled_mv.row = mv->row * (1 << (1 - pd->subsampling_y)); in dec_build_inter_predictors() 780 xd->plane[i].n4_h = (bh << 1) >> xd->plane[i].subsampling_y; in set_plane_n4() 782 xd->plane[i].n4_hl = bhl - xd->plane[i].subsampling_y; in set_plane_n4() 853 : xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); in predict_recon_inter() 883 : xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); in predict_recon_intra() 908 if (bsize >= BLOCK_8X8 && (cm->subsampling_x || cm->subsampling_y)) { in decode_block() [all …]
|
/external/libaom/libaom/test/ |
D | warp_filter_test_util.h | 40 int subsampling_x, int subsampling_y, 71 int subsampling_x, int subsampling_y,
|
D | intrabc_test.cc | 152 xd.plane[1].subsampling_y = 1; in TEST() 154 xd.plane[2].subsampling_y = 1; in TEST()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 270 pd->subsampling_x, pd->subsampling_y); in inverse_transform_inter_block() 293 pd->subsampling_y) in decode_reconstruct_tx() 392 (seq_params->subsampling_x || seq_params->subsampling_y)) { in decode_mbmi_block() 395 [seq_params->subsampling_y]; in decode_mbmi_block() 561 int ssy = pd->subsampling_y; in dec_calc_subpel_params() 596 pd->subsampling_y); in dec_calc_subpel_params() 609 xd, &mv, bw, bh, pd->subsampling_x, pd->subsampling_y); in dec_calc_subpel_params() 649 const int ss_y = pd->subsampling_y; in dec_build_inter_predictors() 753 (mi_x >> pd->subsampling_x) + x, (mi_y >> pd->subsampling_y) + y, in dec_build_inter_predictors() 825 mi_y >> pd->subsampling_y, ref, xd, cm->allow_warped_motion); in dec_build_inter_predictors() [all …]
|
D | obu.c | 253 if (!(seq_params->subsampling_x == 0 && seq_params->subsampling_y == 0) && in read_sequence_header_obu() 254 !(seq_params->subsampling_x == 1 && seq_params->subsampling_y == 1) && in read_sequence_header_obu() 255 !(seq_params->subsampling_x == 1 && seq_params->subsampling_y == 0)) { in read_sequence_header_obu() 259 seq_params->subsampling_x, seq_params->subsampling_y); in read_sequence_header_obu() 383 cm->seq_params.subsampling_y, in alloc_tile_list_buffer() 421 const int ssy = cm->seq_params.subsampling_y; in copy_decoded_tile_to_tile_list_buffer()
|