Re: [PATCH v6 08/11] media: rkvdec: Add image format concept

From: Dan Carpenter
Date: Tue Sep 10 2024 - 05:43:04 EST


On Mon, Sep 09, 2024 at 07:25:06PM +0000, Jonas Karlman wrote:
> Add an enum rkvdec_image_fmt used to signal an image format, e.g.
> 4:2:0 8-bit, 4:2:0 10-bit or any.
>
> Tag each supported CAPUTRE format with an image format and use this tag
> to filter out unsupported CAPTURE formats.
>
> Signed-off-by: Jonas Karlman <jonas@xxxxxxxxx>
> Tested-by: Nicolas Dufresne <nicolas.dufresne@xxxxxxxxxxxxx>
> Tested-by: Christopher Obbard <chris.obbard@xxxxxxxxxxxxx>
> ---
> v6:
> - Change to use fmt_idx instead of j++ tucked inside a condition (Dan)

Thanks!

regards,
dan carpenter