Home
last modified time | relevance | path

Searched refs:sb_size (Results 1 – 25 of 34) sorted by relevance

12

/external/libaom/libaom/av1/encoder/
Dpartition_strategy.h196 int mi_row, int mi_col, BLOCK_SIZE sb_size) { in is_full_sb() argument
197 const int sb_mi_wide = mi_size_wide[sb_size]; in is_full_sb()
198 const int sb_mi_high = mi_size_high[sb_size]; in is_full_sb()
208 BLOCK_SIZE sb_size, int mi_row, in use_auto_max_partition() argument
216 sb_size == BLOCK_128X128 && in use_auto_max_partition()
217 is_full_sb(&cm->mi_params, mi_row, mi_col, sb_size) && in use_auto_max_partition()
Drdopt.h139 (mi_size_wide[cm->seq_params.sb_size] + mi_alloc_size_1d - 1) / in av1_get_sb_mi_size()
141 assert(mi_size_wide[cm->seq_params.sb_size] == in av1_get_sb_mi_size()
142 mi_size_high[cm->seq_params.sb_size]); in av1_get_sb_mi_size()
Dencodeframe.c326 if (bsize == cm->seq_params.sb_size) { in get_hier_tpl_rdmult()
1119 (bsize != cm->seq_params.sb_size || !mbmi->skip) && in update_stats()
1578 (1 << num_pels_log2_lookup[cpi->common.seq_params.sb_size])); in encode_b()
1586 if (bsize == cpi->common.seq_params.sb_size && mbmi->skip == 1 && in encode_b()
1608 (bsize != cm->seq_params.sb_size || !mbmi->skip) && in encode_b()
2139 if (bsize == cm->seq_params.sb_size) in rd_use_partition()
2143 if (bsize == cm->seq_params.sb_size) { in rd_use_partition()
2731 if (bsize == cm->seq_params.sb_size) x->must_find_valid_partition = 0; in rd_pick_partition()
2828 cm->seq_params.sb_size >= BLOCK_64X64 && bsize <= BLOCK_64X64 && in rd_pick_partition()
3814 if (bsize == cm->seq_params.sb_size && !found_best_partition) { in rd_pick_partition()
[all …]
Dpartition_strategy.c63 assert(cm->seq_params.sb_size >= BLOCK_64X64 && in av1_intra_mode_cnn_partition()
626 const BLOCK_SIZE sb_size = cm->seq_params.sb_size; in av1_get_max_min_partition_features() local
628 assert(sb_size == BLOCK_128X128); in av1_get_max_min_partition_features()
653 const int mb_rows = block_size_high[sb_size] / block_size_high[mb_size]; in av1_get_max_min_partition_features()
654 const int mb_cols = block_size_wide[sb_size] / block_size_wide[mb_size]; in av1_get_max_min_partition_features()
752 const BLOCK_SIZE sb_size = cpi->common.seq_params.sb_size; in av1_predict_max_partition() local
758 ? av1_high_get_sby_perpixel_variance(cpi, &x->plane[0].src, sb_size, in av1_predict_max_partition()
760 : av1_get_sby_perpixel_variance(cpi, &x->plane[0].src, sb_size); in av1_predict_max_partition()
Dtpl_model.h41 BLOCK_SIZE sb_size, int mi_row, int mi_col);
Dcontext_tree.c151 const int is_sb_size_128 = cm->seq_params.sb_size == BLOCK_128X128; in av1_setup_pc_tree()
220 const int num_planes, BLOCK_SIZE sb_size) { in av1_free_pc_tree() argument
223 const int is_sb_size_128 = sb_size == BLOCK_128X128; in av1_free_pc_tree()
Dcontext_tree.h89 const int num_planes, BLOCK_SIZE sb_size);
Dvar_based_part.c556 const int is_small_sb = (cm->seq_params.sb_size == BLOCK_64X64); in set_low_temp_var_flag()
636 assert(cm->seq_params.sb_size == BLOCK_64X64 || in av1_choose_var_based_partitioning()
637 cm->seq_params.sb_size == BLOCK_128X128); in av1_choose_var_based_partitioning()
638 const int is_small_sb = (cm->seq_params.sb_size == BLOCK_64X64); in av1_choose_var_based_partitioning()
719 mi->sb_type = cm->seq_params.sb_size; in av1_choose_var_based_partitioning()
725 y_sad = av1_int_pro_motion_estimation(cpi, x, cm->seq_params.sb_size, in av1_choose_var_based_partitioning()
754 cm->seq_params.sb_size, AOM_PLANE_Y, in av1_choose_var_based_partitioning()
Dmv_prec.c343 BLOCK_SIZE sb_size = cm->seq_params.sb_size; in collect_mv_stats_tile() local
346 collect_mv_stats_sb(mv_stats, cpi, mi_row, mi_col, sb_size); in collect_mv_stats_tile()
Dmotion_search_facade.c83 if (cpi->sf.mv_sf.adaptive_motion_search && bsize < cm->seq_params.sb_size) { in av1_single_motion_search()
85 2 * (mi_size_wide_log2[cm->seq_params.sb_size] - in av1_single_motion_search()
145 const int of_h = mi_row % mi_size_high[cm->seq_params.sb_size]; in av1_single_motion_search()
146 const int of_w = mi_col % mi_size_wide[cm->seq_params.sb_size]; in av1_single_motion_search()
Dbitstream.c883 const int index = (cm->seq_params.sb_size == BLOCK_128X128) in write_cdef()
955 if ((bsize != cm->seq_params.sb_size || skip == 0) && in write_delta_q_params()
1499 assert(bsize <= cm->seq_params.sb_size || in write_modes_b()
1733 cm->seq_params.sb_size); in write_modes()
1773 assert(cm->seq_params.sb_size == BLOCK_64X64 || in encode_restoration_mode()
1774 cm->seq_params.sb_size == BLOCK_128X128); in encode_restoration_mode()
1775 const int sb_size = cm->seq_params.sb_size == BLOCK_128X128 ? 128 : 64; in encode_restoration_mode() local
1779 assert(rsi->restoration_unit_size >= sb_size); in encode_restoration_mode()
1782 if (sb_size == 64) { in encode_restoration_mode()
2593 assert(seq_params->mib_size == mi_size_wide[seq_params->sb_size]); in write_sb_size()
[all …]
Dspeed_features.c1144 x->min_partition_size = AOMMIN(x->min_partition_size, cm->seq_params.sb_size); in av1_set_speed_features_framesize_dependent()
1145 x->max_partition_size = AOMMIN(x->max_partition_size, cm->seq_params.sb_size); in av1_set_speed_features_framesize_dependent()
1232 x->min_partition_size = AOMMIN(x->min_partition_size, cm->seq_params.sb_size); in av1_set_speed_features_framesize_independent()
1233 x->max_partition_size = AOMMIN(x->max_partition_size, cm->seq_params.sb_size); in av1_set_speed_features_framesize_independent()
Dsegmentation.c205 mi_col, cm->seq_params.sb_size); in av1_choose_segmap_coding_method()
Dencoder.h1570 const int sb_size = 1 << sb_size_log2; in get_token_alloc() local
1571 const int sb_size_square = sb_size * sb_size; in get_token_alloc()
Dethread.c66 if (mbmi->skip == 1 && (mbmi->sb_type == cm->seq_params.sb_size)) { in update_delta_lf_for_row_mt()
489 (cm->seq_params.sb_size == BLOCK_64X64) ? 1 : 4; in create_enc_workers()
Dtpl_model.c1131 BLOCK_SIZE sb_size, int mi_row, int mi_col) { in av1_tpl_rdmult_setup_sb() argument
1149 const int num_bcols = (mi_size_wide[sb_size] + num_mi_w - 1) / num_mi_w; in av1_tpl_rdmult_setup_sb()
1150 const int num_brows = (mi_size_high[sb_size] + num_mi_h - 1) / num_mi_h; in av1_tpl_rdmult_setup_sb()
Dencoder.c887 av1_free_pc_tree(cpi, &cpi->td, num_planes, cm->seq_params.sb_size); in dealloc_compressor_data()
2930 int sb_size = seq_params->sb_size; in av1_change_config() local
2938 if (cpi->initial_width || sb_size != seq_params->sb_size) { in av1_change_config()
2940 seq_params->sb_size != sb_size) { in av1_change_config()
2942 av1_free_pc_tree(cpi, &cpi->td, num_planes, (BLOCK_SIZE)sb_size); in av1_change_config()
3636 cm->seq_params.sb_size); in av1_remove_compressor()
4352 av1_free_pc_tree(cpi, &cpi->td, num_planes, cm->seq_params.sb_size); in av1_set_size_literal()
5427 (cm->seq_params.sb_size == BLOCK_64X64) ? 1 : 4; in encode_with_recode_loop()
Drd.c1297 const int bsize_is_1_to_4 = bsize > cm->seq_params.sb_size; in av1_update_rd_thresh_fact()
1306 max_size = AOMMIN(bsize + 2, (int)cm->seq_params.sb_size); in av1_update_rd_thresh_fact()
/external/libaom/libaom/av1/common/
Dmvref_common.h318 const int sb_size = max_mib_size * MI_SIZE; in av1_is_dv_valid() local
319 const int src_sb_row = ((src_bottom_edge >> 3) - 1) / sb_size; in av1_is_dv_valid()
328 const int gradient = 1 + INTRABC_DELAY_SB64 + (sb_size > 64); in av1_is_dv_valid()
Dav1_loopfilter.c682 av1_setup_dst_planes(pd, cm->seq_params.sb_size, frame_buffer, 0, 0, in loop_filter_rows()
725 av1_setup_dst_planes(pd, cm->seq_params.sb_size, frame_buffer, mi_row, in loop_filter_rows()
731 av1_setup_dst_planes(pd, cm->seq_params.sb_size, frame_buffer, in loop_filter_rows()
739 av1_setup_dst_planes(pd, cm->seq_params.sb_size, frame_buffer, mi_row, in loop_filter_rows()
748 av1_setup_dst_planes(pd, cm->seq_params.sb_size, frame_buffer, mi_row, in loop_filter_rows()
758 av1_setup_dst_planes(pd, cm->seq_params.sb_size, frame_buffer, mi_row, in loop_filter_rows()
Dav1_common_int.h236 BLOCK_SIZE sb_size; // Size of the superblock used for this frame member
1517 BLOCK_SIZE sb_size) { in set_sb_size() argument
1518 seq_params->sb_size = sb_size; in set_sb_size()
1519 seq_params->mib_size = mi_size_wide[seq_params->sb_size]; in set_sb_size()
1520 seq_params->mib_size_log2 = mi_size_wide_log2[seq_params->sb_size]; in set_sb_size()
Dthread_common.c290 av1_setup_dst_planes(planes, cm->seq_params.sb_size, frame_buffer, in thread_loop_filter_rows()
310 av1_setup_dst_planes(planes, cm->seq_params.sb_size, frame_buffer, in thread_loop_filter_rows()
513 av1_setup_dst_planes(pd, cm->seq_params.sb_size, frame, 0, 0, plane, in av1_loop_filter_frame_mt()
Dcdef.c141 av1_setup_dst_planes(xd->plane, cm->seq_params.sb_size, frame, 0, 0, 0, in av1_cdef_frame()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c1570 assert(cm->seq_params.sb_size == BLOCK_64X64 || in decode_restoration_mode()
1571 cm->seq_params.sb_size == BLOCK_128X128); in decode_restoration_mode()
1572 const int sb_size = cm->seq_params.sb_size == BLOCK_128X128 ? 128 : 64; in decode_restoration_mode() local
1575 cm->rst_info[p].restoration_unit_size = sb_size; in decode_restoration_mode()
1579 if (sb_size == 64) { in decode_restoration_mode()
2653 cm->seq_params.sb_size, 0x2); in decode_tile_sb_row()
2729 cm->seq_params.sb_size, 0x3); in decode_tile()
3024 const int sb_mi_size = mi_size_wide[cm->seq_params.sb_size]; in get_next_job_info()
3142 const int sb_mi_size = mi_size_wide[cm->seq_params.sb_size]; in parse_tile_row_mt()
3163 cm->seq_params.sb_size, 0x1); in parse_tile_row_mt()
Ddecodemv.c64 const int index = (cm->seq_params.sb_size == BLOCK_128X128) in read_cdef()
93 if ((bsize != cm->seq_params.sb_size || mbmi->skip == 0) && in read_delta_qindex()
124 if ((bsize != cm->seq_params.sb_size || mbmi->skip == 0) && in read_delta_lflevel()

12