Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dhfi_plat_bufs_v6.c404 u32 lcu_size, u32 num_vpp_pipes, in calculate_enc_scratch_size() argument
411 aligned_width = ALIGN(width, lcu_size); in calculate_enc_scratch_size()
412 aligned_height = ALIGN(height, lcu_size); in calculate_enc_scratch_size()
754 calculate_enc_scratch1_size(u32 width, u32 height, u32 lcu_size, u32 num_ref, in calculate_enc_scratch1_size() argument
772 width_lcu_num = (width + lcu_size - 1) / lcu_size; in calculate_enc_scratch1_size()
773 height_lcu_num = (height + lcu_size - 1) / lcu_size; in calculate_enc_scratch1_size()
775 width_coded = width_lcu_num * lcu_size; in calculate_enc_scratch1_size()
776 height_coded = height_lcu_num * lcu_size; in calculate_enc_scratch1_size()
777 num_lcu_mb = (height_coded / lcu_size) * in calculate_enc_scratch1_size()
778 ((width_coded + lcu_size * 8) / lcu_size); in calculate_enc_scratch1_size()