Message ID | 20240709144950.3277837-3-dan.scally@ideasonboard.com |
---|---|
State | Superseded |
Headers | show |
Series |
|
Related | show |
Quoting Daniel Scally (2024-07-09 15:49:42) > Add the new format describing the Mali C55's Statistics and Parameters > to videodev2. > > Acked-by: Nayden Kanchev <nayden.kanchev@arm.com> > Co-developed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> > Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> > Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> Again, will in the future be handled by the kernel update script - but I'm fine handling this out of tree while the driver gets upstream for this one. Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> > --- > Changes in v2: > > - None > > 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 > > -- > 2.34.1 >
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