summaryrefslogtreecommitdiff
path: root/yavta.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2014-12-15 18:26:49 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-01-02 14:25:08 +0200
commit16087ab0a058e552e71b51791bc8b28085a341c1 (patch)
tree368fbcea1ba52e6814bac58f4dc205667e987acc /yavta.c
parent19aa7d98ba54cc2573f76360dad7cf81280c63ad (diff)
yavta: Add support for 10-bit packed raw bayer formats
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> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'yavta.c')
-rw-r--r--yavta.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index 8e8ec19..0055c7d 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 },