Searched refs:max_log2_ctb_size (Results 1 – 2 of 2) sorted by relevance
65 unsigned int max_log2_ctb_size; in hantro_g2_mv_size() local67 max_log2_ctb_size = sps->log2_min_luma_coding_block_size_minus3 + 3 + in hantro_g2_mv_size()70 (1 << max_log2_ctb_size) - 1) >> max_log2_ctb_size; in hantro_g2_mv_size()71 pic_height_in_ctbs = (sps->pic_height_in_luma_samples + (1 << max_log2_ctb_size) - 1) in hantro_g2_mv_size()72 >> max_log2_ctb_size; in hantro_g2_mv_size()74 return pic_width_in_ctbs * pic_height_in_ctbs * (1 << (2 * (max_log2_ctb_size - 4))) * 16; in hantro_g2_mv_size()
21 unsigned int max_log2_ctb_size, ctb_size; in prepare_tile_info_buffer() local30 max_log2_ctb_size = sps->log2_min_luma_coding_block_size_minus3 + 3 + in prepare_tile_info_buffer()33 (1 << max_log2_ctb_size) - 1) >> max_log2_ctb_size; in prepare_tile_info_buffer()34 pic_height_in_ctbs = (sps->pic_height_in_luma_samples + (1 << max_log2_ctb_size) - 1) in prepare_tile_info_buffer()35 >> max_log2_ctb_size; in prepare_tile_info_buffer()36 ctb_size = 1 << max_log2_ctb_size; in prepare_tile_info_buffer()148 u32 min_log2_cb_size, max_log2_ctb_size, min_cb_size, max_ctb_size; in set_params() local159 max_log2_ctb_size = min_log2_cb_size + sps->log2_diff_max_min_luma_coding_block_size; in set_params()162 hantro_reg_write(vpu, &g2_max_cb_size, max_log2_ctb_size); in set_params()165 max_ctb_size = 1 << max_log2_ctb_size; in set_params()