Re: [PATCH v1 1/4] media: qcom: iris: Add support for scale and improve format alignment

From: Bryan O'Donoghue

Date: Wed Oct 15 2025 - 12:00:14 EST


On 15/10/2025 10:27, Wangao Wang wrote:
Add output width and height settings in iris_venc_s_fmt_output to
enable scaling functionality.

Add members enc_raw_width, enc_raw_height, enc_bitstream_width and
enc_bitstream_height to the struct iris_inst to support codec
alignment requirements.

HFI_PROP_CROP_OFFSETS is used to inform the firmware of the region
of interest, rather than indicating that the codec supports crop.
Therefore, the crop handling has been corrected accordingly.

Signed-off-by: Wangao Wang <wangao.wang@xxxxxxxxxxxxxxxx>

Generally a patch that contains and "and" could be split into two patches.

Please do that here.

- One patch for your alignment changes
- One patch to support scaling

in whatever order is more logical.

---
bod