summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2012-05-23 01:30:58 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-05-25 12:23:13 +0200
commit378bf2a0360161879efb842051933da4fb7e75c6 (patch)
treeb60cca8f20a5b8b3aa2c84c87a052b5af4f7e55b /src/options.c
parent79fc1080b905dc3d61a93c31f68acaf3b4985c57 (diff)
Compose rectangle support for libv4l2subdev
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c
index f367daf..4dc542f 100644
--- a/src/options.c
+++ b/src/options.c
@@ -58,11 +58,14 @@ static void usage(const char *argv0, int verbose)
printf("\n");
printf("\tv4l2 = pad '[' v4l2-properties ']' ;\n");
printf("\tv4l2-properties = v4l2-property { ',' v4l2-property } ;\n");
- printf("\tv4l2-property = v4l2-mbusfmt | v4l2-crop | v4l2-interval ;\n");
+ printf("\tv4l2-property = v4l2-mbusfmt | v4l2-crop | v4l2-interval\n");
+ printf("\t | v4l2-compose | v4l2-interval ;\n");
printf("\tv4l2-mbusfmt = 'fmt:' fcc '/' size ;\n");
- printf("\tv4l2-crop = 'crop:' '(' left ',' top ')' '/' size ;\n");
+ printf("\tv4l2-crop = 'crop:' rectangle ;\n");
+ printf("\tv4l2-compose = 'compose:' rectangle ;\n");
printf("\tv4l2-interval = '@' numerator '/' denominator ;\n");
printf("\n");
+ printf("\trectangle = '(' left ',' top, ')' '/' size ;\n");
printf("\tsize = width 'x' height ;\n");
printf("\n");
printf("where the fields are\n");