| From a26154af3bac5872d63fd40046195d4cd5272e17 Mon Sep 17 00:00:00 2001 |
| From: Yong Zhi <yong.zhi@intel.com> |
| Date: Wed, 28 Jun 2017 11:31:54 -0500 |
| Subject: FROMLIST: [media] videodev2.h add IPU3 raw10 color |
| |
| Add IPU3 specific formats: |
| |
| V4L2_PIX_FMT_IPU3_SBGGR10 |
| V4L2_PIX_FMT_IPU3_SGBRG10 |
| V4L2_PIX_FMT_IPU3_SGRBG10 |
| V4L2_PIX_FMT_IPU3_SRGGB10 |
| |
| Change-Id: Ie889f0553bdbfe0986360c30a4b5dae0810b8f0f |
| Signed-off-by: Yong Zhi <yong.zhi@intel.com> |
| (am from https://patchwork.linuxtv.org/patch/41852/) |
| --- |
| include/uapi/linux/videodev2.h | 5 +++++ |
| 1 file changed, 5 insertions(+) |
| |
| diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h |
| index dbecd9b..ac74031 100644 |
| --- a/include/uapi/linux/videodev2.h |
| +++ b/include/uapi/linux/videodev2.h |
| @@ -565,6 +565,11 @@ struct v4l2_pix_format { |
| #define V4L2_PIX_FMT_SGBRG10P v4l2_fourcc('p', 'G', 'A', 'A') |
| #define V4L2_PIX_FMT_SGRBG10P v4l2_fourcc('p', 'g', 'A', 'A') |
| #define V4L2_PIX_FMT_SRGGB10P v4l2_fourcc('p', 'R', 'A', 'A') |
| + /* Intel IPU3 raw10 format */ |
| +#define V4L2_PIX_FMT_IPU3_SBGGR10 v4l2_fourcc('i', 'p', '3', 'b') /* IPU3 packed 10-bit BGGR bayer */ |
| +#define V4L2_PIX_FMT_IPU3_SGBRG10 v4l2_fourcc('i', 'p', '3', 'g') /* IPU3 packed 10-bit GBRG bayer */ |
| +#define V4L2_PIX_FMT_IPU3_SGRBG10 v4l2_fourcc('i', 'p', '3', 'G') /* IPU3 packed 10-bit GRBG bayer */ |
| +#define V4L2_PIX_FMT_IPU3_SRGGB10 v4l2_fourcc('i', 'p', '3', 'r') /* IPU3 packed 10-bit RGGB bayer */ |
| /* 10bit raw bayer a-law compressed to 8 bits */ |
| #define V4L2_PIX_FMT_SBGGR10ALAW8 v4l2_fourcc('a', 'B', 'A', '8') |
| #define V4L2_PIX_FMT_SGBRG10ALAW8 v4l2_fourcc('a', 'G', 'A', '8') |
| -- |
| 2.7.4 |
| |