Home
last modified time | relevance | path

Searched refs:max_log2_ctb_size (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/media/platform/verisilicon/
Dhantro_g2.c65 unsigned int max_log2_ctb_size; in hantro_g2_mv_size() local
67 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()
Dhantro_g2_hevc_dec.c21 unsigned int max_log2_ctb_size, ctb_size; in prepare_tile_info_buffer() local
30 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() local
159 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()