Home
last modified time | relevance | path

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

/linux/drivers/media/platform/qcom/iris/
H A Diris_hfi_gen2_command.c187 u32 codec_align = inst->codec == V4L2_PIX_FMT_HEVC ? 32 : 16; in iris_hfi_get_aligned_resolution() local
189 return (ALIGN(width, codec_align) << 16 | ALIGN(height, codec_align)); in iris_hfi_get_aligned_resolution()
234 u32 payload[2], codec_align; in iris_hfi_gen2_set_crop_offsets() local
249 codec_align = inst->codec == V4L2_PIX_FMT_HEVC ? 32 : 16; in iris_hfi_gen2_set_crop_offsets()
257 bottom_offset = (ALIGN(inst->enc_scale_width, codec_align) - in iris_hfi_gen2_set_crop_offsets()
259 right_offset = (ALIGN(inst->enc_scale_height, codec_align) - in iris_hfi_gen2_set_crop_offsets()
262 bottom_offset = (ALIGN(inst->enc_scale_height, codec_align) - in iris_hfi_gen2_set_crop_offsets()
264 right_offset = (ALIGN(inst->enc_scale_width, codec_align) - in iris_hfi_gen2_set_crop_offsets()