diff options
author | Todor Tomov <ttomov@mm-sol.com> | 2010-06-30 10:55:43 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-07-01 10:34:32 +0200 |
commit | a04e11ca5bbf2a44539ee14e3077358a21262ba2 (patch) | |
tree | 8ea3e86da132a77ab8ccee3b909e727620db29ec /options.c | |
parent | c13258a74fd7345828fce8fab117247e3f61e6e5 (diff) |
V4L2 subdev frame interval support
Extend the V4L2 media bus format syntax to support an optional frame interval
value. If specified, the frame interval is set on the subdev.
Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -50,11 +50,12 @@ static void usage(const char *argv0, int verbose) printf("\n"); printf("Links and formats are defined as\n"); printf("\tlink = pad, '->', pad, '[', flags, ']' ;\n"); - printf("\tformat = pad, '[', fcc, ' ', size, [ ' ', crop ], ']' ;\n"); + printf("\tformat = pad, '[', fcc, ' ', size, [ ' ', crop ], [ ' ', '@', frame interval ], ']' ;\n"); printf("\tpad = entity, ':', pad number ;\n"); printf("\tentity = entity number | ( '\"', entity name, '\"' ) ;\n"); printf("\tsize = width, 'x', height ;\n"); printf("\tcrop = left, ',', top, '/', size ;\n"); + printf("\tframe interval = numerator, '/', denominator ;\n"); printf("where the fields are\n"); printf("\tentity number Entity numeric identifier\n"); printf("\tentity name Entify name (string) \n"); @@ -63,6 +64,8 @@ static void usage(const char *argv0, int verbose) printf("\tfcc Format FourCC\n"); printf("\twidth Image width in pixels\n"); printf("\theight Image height in pixels\n"); + printf("\tnumerator Frame interval numerator\n"); + printf("\tdenominator Frame interval denominator\n"); } #define OPT_PRINT_DOT 256 |