diff mbox

[MAIN,v1,2/2] Add support for intel ipu3 specific raw formats

Message ID 1515037693-29631-3-git-send-email-tian.shu.qiu@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Qiu, Tian Shu Jan. 4, 2018, 3:48 a.m. UTC
From: Tianshu Qiu <tian.shu.qiu@intel.com>

Add support for these pixel formats:

V4L2_PIX_FMT_IPU3_SBGGR10
V4L2_PIX_FMT_IPU3_SGBRG10
V4L2_PIX_FMT_IPU3_SGRBG10
V4L2_PIX_FMT_IPU3_SRGGB10

Signed-off-by: Tianshu Qiu <tian.shu.qiu@intel.com>
---
 yavta.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/yavta.c b/yavta.c
index afe96331a520..524e549efd08 100644
--- a/yavta.c
+++ b/yavta.c
@@ -220,6 +220,10 @@  static struct v4l2_format_info {
 	{ "SGBRG10P", V4L2_PIX_FMT_SGBRG10P, 1 },
 	{ "SGRBG10P", V4L2_PIX_FMT_SGRBG10P, 1 },
 	{ "SRGGB10P", V4L2_PIX_FMT_SRGGB10P, 1 },
+	{ "IPU3_GRBG10", V4L2_PIX_FMT_IPU3_SGRBG10, 1 },
+	{ "IPU3_RGGB10", V4L2_PIX_FMT_IPU3_SRGGB10, 1 },
+	{ "IPU3_BGGR10", V4L2_PIX_FMT_IPU3_SBGGR10, 1 },
+	{ "IPU3_GBRG10", V4L2_PIX_FMT_IPU3_SGBRG10, 1 },
 	{ "SBGGR12", V4L2_PIX_FMT_SBGGR12, 1 },
 	{ "SGBRG12", V4L2_PIX_FMT_SGBRG12, 1 },
 	{ "SGRBG12", V4L2_PIX_FMT_SGRBG12, 1 },