diff mbox

[yavta,2/2] yavta: Add support for 10-bit packed raw bayer formats

Message ID 1418659654-9578-2-git-send-email-sakari.ailus@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sakari Ailus Dec. 15, 2014, 4:07 p.m. UTC
Add support for these pixel formats:

V4L2_PIX_FMT_SBGGR10P
V4L2_PIX_FMT_SGBRG10P
V4L2_PIX_FMT_SGRBG10P
V4L2_PIX_FMT_SRGGB10P

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
 yavta.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/yavta.c b/yavta.c
index 47b817c..7a6888f 100644
--- a/yavta.c
+++ b/yavta.c
@@ -202,6 +202,10 @@  static struct v4l2_format_info {
 	{ "SGBRG10", V4L2_PIX_FMT_SGBRG10, 1 },
 	{ "SGRBG10", V4L2_PIX_FMT_SGRBG10, 1 },
 	{ "SRGGB10", V4L2_PIX_FMT_SRGGB10, 1 },
+	{ "SBGGR10P", V4L2_PIX_FMT_SBGGR10P, 1 },
+	{ "SGBRG10P", V4L2_PIX_FMT_SGBRG10P, 1 },
+	{ "SGRBG10P", V4L2_PIX_FMT_SGRBG10P, 1 },
+	{ "SRGGB10P", V4L2_PIX_FMT_SRGGB10P, 1 },
 	{ "SBGGR12", V4L2_PIX_FMT_SBGGR12, 1 },
 	{ "SGBRG12", V4L2_PIX_FMT_SGBRG12, 1 },
 	{ "SGRBG12", V4L2_PIX_FMT_SGRBG12, 1 },