Re: [PATCH 2/2] media: iris: add new rate control type MBR for encoder

From: Sachin Kumar Garg

Date: Mon Mar 16 2026 - 02:22:29 EST




On 2/13/2026 3:24 PM, Konrad Dybcio wrote:
On 2/13/26 7:04 AM, Sachin Kumar Garg wrote:
Introduce V4L2_MPEG_VIDEO_BITRATE_MODE_MBR rate control to Encoder.
Encoder will choose appropriate quantization parameter and
do the smart bit allocation to set the frame maximum bitrate
level as per the Bitrate value configured.
---
drivers/media/platform/qcom/iris/iris_ctrls.c | 2 +
.../platform/qcom/iris/iris_hfi_gen1_defines.h | 1 +
.../media/platform/qcom/iris/iris_platform_gen1.c | 9 +-
.../platform/qcom/iris/iris_platform_sc7280.h | 202 +++++++++++++++++++++

Is this really only available on 7280?

Konrad

Yes Konrad, in this series we enable V4L2_MPEG_VIDEO_BITRATE_MODE_MBR only for SC7280 because currently, we have added the support only for low tier chipset. MBR rate control aims to improve the compression efficiency of encoder for static and low motion scenes for extremely low bitrate use-case.

Thanks,
Sachin