| From 53b2534551f179dcd065b4ead79fa1327678a0e0 Mon Sep 17 00:00:00 2001 |
| From: Smitha T Murthy <smitha.t@samsung.com> |
| Date: Fri, 2 Feb 2018 07:25:41 -0500 |
| Subject: [PATCH] media: videodev2.h: Add v4l2 definition for HEVC |
| |
| Add V4L2 definition for HEVC compressed format |
| |
| Signed-off-by: Smitha T Murthy <smitha.t@samsung.com> |
| Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> |
| Reviewed-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> |
| Acked-by: Hans Verkuil <hans.verkuil@cisco.com> |
| Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> |
| Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
| --- |
| include/uapi/linux/videodev2.h | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h |
| index 982718965180..600877be5c22 100644 |
| --- a/include/uapi/linux/videodev2.h |
| +++ b/include/uapi/linux/videodev2.h |
| @@ -635,6 +635,7 @@ struct v4l2_pix_format { |
| #define V4L2_PIX_FMT_VP8_FRAME v4l2_fourcc('V', 'P', '8', 'F') /* VP8 parsed frames */ |
| #define V4L2_PIX_FMT_VP9 v4l2_fourcc('V', 'P', '9', '0') /* VP9 */ |
| #define V4L2_PIX_FMT_VP9_FRAME v4l2_fourcc('V', 'P', '9', 'F') /* VP9 parsed frames */ |
| +#define V4L2_PIX_FMT_HEVC v4l2_fourcc('H', 'E', 'V', 'C') /* HEVC aka H.265 */ |
| |
| /* Vendor-specific formats */ |
| #define V4L2_PIX_FMT_CPIA1 v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */ |
| -- |
| 2.31.0 |
| |