[PATCH 02/10] include: linux: Add Mali-C55 Stats and Params V4L2 format
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Jun 17 07:20:37 CEST 2024
Hi Dan,
Thank you for the patch.
On Thu, Jun 13, 2024 at 02:25:54PM +0100, Daniel Scally wrote:
> Add the new format describing the Mali C55's Statistics and Parameters
> to videodev2.
You can add that this is a temporary manual addition until the change
trickles down from mainline once the C55 driver gets merged.
> Acked-by: Nayden Kanchev <nayden.kanchev at arm.com>
> Co-developed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
> Signed-off-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
> Signed-off-by: Daniel Scally <dan.scally at ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> include/linux/videodev2.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
> index 7fe522e8..fbb8fbcd 100644
> --- a/include/linux/videodev2.h
> +++ b/include/linux/videodev2.h
> @@ -839,6 +839,9 @@ struct v4l2_pix_format {
> /* The metadata format identifier for FE stats buffers. */
> #define V4L2_META_FMT_RPI_FE_STATS v4l2_fourcc('R', 'P', 'F', 'S')
>
> +#define V4L2_META_FMT_MALI_C55_PARAMS v4l2_fourcc('C', '5', '5', 'P') /* ARM Mali-C55 Parameters */
> +#define V4L2_META_FMT_MALI_C55_3A_STATS v4l2_fourcc('C', '5', '5', 'S') /* ARM Mali-C55 3A Statistics */
> +
> /* priv field value to indicates that subsequent fields are valid. */
> #define V4L2_PIX_FMT_PRIV_MAGIC 0xfeedcafe
>
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list