[PATCH] yavta: add support for 12-bit packed and 14-bit unpacked/packed bayer formats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bingbu Cao <bingbu.cao@xxxxxxxxx>

Add bayer formats:
V4L2_PIX_FMT_SBGGR12P
V4L2_PIX_FMT_SGBRG12P
V4L2_PIX_FMT_SGRBG12P
V4L2_PIX_FMT_SRGGB12P
V4L2_PIX_FMT_SBGGR14
V4L2_PIX_FMT_SGBRG14
V4L2_PIX_FMT_SGRBG14
V4L2_PIX_FMT_SRGGB14
V4L2_PIX_FMT_SBGGR14P
V4L2_PIX_FMT_SGBRG14P
V4L2_PIX_FMT_SGRBG14P
V4L2_PIX_FMT_SRGGB14P

Signed-off-by: Bingbu Cao <bingbu.cao@xxxxxxxxx>
---
 yavta.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/yavta.c b/yavta.c
index d5628632c1f8..7d10fa39f6f7 100644
--- a/yavta.c
+++ b/yavta.c
@@ -348,6 +348,18 @@ static struct v4l2_format_info {
 	{ "SGBRG12", V4L2_PIX_FMT_SGBRG12, 1 },
 	{ "SGRBG12", V4L2_PIX_FMT_SGRBG12, 1 },
 	{ "SRGGB12", V4L2_PIX_FMT_SRGGB12, 1 },
+	{ "SBGGR12P", V4L2_PIX_FMT_SBGGR12P, 1 },
+	{ "SGBRG12P", V4L2_PIX_FMT_SGBRG12P, 1 },
+	{ "SGRBG12P", V4L2_PIX_FMT_SGRBG12P, 1 },
+	{ "SRGGB12P", V4L2_PIX_FMT_SRGGB12P, 1 },
+	{ "SBGGR14", V4L2_PIX_FMT_SBGGR14, 1 },
+	{ "SGBRG14", V4L2_PIX_FMT_SGBRG14, 1 },
+	{ "SGRBG14", V4L2_PIX_FMT_SGRBG14, 1 },
+	{ "SRGGB14", V4L2_PIX_FMT_SRGGB14, 1 },
+	{ "SBGGR14P", V4L2_PIX_FMT_SBGGR14P, 1 },
+	{ "SGBRG14P", V4L2_PIX_FMT_SGBRG14P, 1 },
+	{ "SGRBG14P", V4L2_PIX_FMT_SGRBG14P, 1 },
+	{ "SRGGB14P", V4L2_PIX_FMT_SRGGB14P, 1 },
 	{ "SBGGR16", V4L2_PIX_FMT_SBGGR16, 1 },
 	{ "SGBRG16", V4L2_PIX_FMT_SGBRG16, 1 },
 	{ "SGRBG16", V4L2_PIX_FMT_SGRBG16, 1 },
-- 
2.42.0




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux