summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-06-26 10:53:02 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-04-01 23:52:24 +0200
commit9df1f7fd6d2c2018fd7dfd56a36f7d877b5fc822 (patch)
tree4af6a4b259f8926ef88e062bffa67ec4e761b63c
parente2b0e70963c4c5e5543bf63395f982ba54b6a438 (diff)
Add NV12M and NV21M support
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--yavta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index 5697cbb..9e47463 100644
--- a/yavta.c
+++ b/yavta.c
@@ -146,7 +146,9 @@ static struct v4l2_format_info {
{ "YUYV", V4L2_PIX_FMT_YUYV, 1 },
{ "YVYU", V4L2_PIX_FMT_YVYU, 1 },
{ "NV12", V4L2_PIX_FMT_NV12, 1 },
+ { "NV12M", V4L2_PIX_FMT_NV12M, 2 },
{ "NV21", V4L2_PIX_FMT_NV21, 1 },
+ { "NV21M", V4L2_PIX_FMT_NV21M, 2 },
{ "NV16", V4L2_PIX_FMT_NV16, 1 },
{ "NV61", V4L2_PIX_FMT_NV61, 1 },
{ "NV24", V4L2_PIX_FMT_NV24, 1 },