This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: v4l2-ctl/compliance: improve usage messages Author: Hans Verkuil <hans.verk...@cisco.com> Date: Wed Feb 28 21:03:23 2018 +0100 Drop the '=' separator between the option and the arguments in the usage message. It's confusing and not needed. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> utils/v4l2-compliance/v4l2-compliance.1.in | 22 ++++++++--------- utils/v4l2-compliance/v4l2-compliance.cpp | 22 ++++++++--------- utils/v4l2-ctl/v4l2-ctl-common.cpp | 14 +++++------ utils/v4l2-ctl/v4l2-ctl-edid.cpp | 9 +++---- utils/v4l2-ctl/v4l2-ctl-io.cpp | 10 ++++---- utils/v4l2-ctl/v4l2-ctl-meta.cpp | 8 +++--- utils/v4l2-ctl/v4l2-ctl-misc.cpp | 18 +++++++------- utils/v4l2-ctl/v4l2-ctl-overlay.cpp | 10 ++++---- utils/v4l2-ctl/v4l2-ctl-sdr.cpp | 8 +++--- utils/v4l2-ctl/v4l2-ctl-selection.cpp | 16 ++++++------ utils/v4l2-ctl/v4l2-ctl-stds.cpp | 6 ++--- utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 39 ++++++++++++++++-------------- utils/v4l2-ctl/v4l2-ctl-subdev.cpp | 18 +++++++------- utils/v4l2-ctl/v4l2-ctl-tuner.cpp | 10 ++++---- utils/v4l2-ctl/v4l2-ctl-vbi.cpp | 4 +-- utils/v4l2-ctl/v4l2-ctl-vidcap.cpp | 6 ++--- utils/v4l2-ctl/v4l2-ctl-vidout.cpp | 2 +- utils/v4l2-ctl/v4l2-ctl.1.in | 14 +++++------ 18 files changed, 119 insertions(+), 117 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=cf1dc14faa6886d0b1f52c6c046975d8c8cc67f5 diff --git a/utils/v4l2-compliance/v4l2-compliance.1.in b/utils/v4l2-compliance/v4l2-compliance.1.in index 4006c56e68d5..e9511abb1de7 100644 --- a/utils/v4l2-compliance/v4l2-compliance.1.in +++ b/utils/v4l2-compliance/v4l2-compliance.1.in @@ -53,38 +53,38 @@ If your driver passes all tests, then your can be confident that your driver is very good shape! .SH OPTIONS .TP -\fB\-d\fR, \fB\-\-device\fR=\fI<dev>\fR +\fB\-d\fR, \fB\-\-device\fR \fI<dev>\fR Use device <dev> as the video device. If <dev> is a number, then /dev/video<dev> is used. .TP -\fB\-V\fR, \fB\-\-vbi\-device\fR=\fI<dev>\fR +\fB\-V\fR, \fB\-\-vbi\-device\fR \fI<dev>\fR Use device <dev> as the vbi device. If <dev> is a number, then /dev/vbi<dev> is used. .TP -\fB\-r\fR, \fB\-\-radio\-device\fR=\fI<dev>\fR +\fB\-r\fR, \fB\-\-radio\-device\fR \fI<dev>\fR Use device <dev> as the radio device. If <dev> is a number, then /dev/radio<dev> is used. .TP -\fB\-S\fR, \fB\-\-sdr\-device\fR=\fI<dev>\fR +\fB\-S\fR, \fB\-\-sdr\-device\fR \fI<dev>\fR Use device <dev> as the SDR device. If <dev> is a number, then /dev/swradio<dev> is used. .TP -\fB\-t\fR, \fB\-\-touch\-device\fR=\fI<dev>\fR +\fB\-t\fR, \fB\-\-touch\-device\fR \fI<dev>\fR Use device <dev> as the touch device. If <dev> is a number, then /dev/v4l-touch<dev> is used. .TP -\fB\-u\fR, \fB\-\-subdev\-device\fR=\fI<dev>\fR +\fB\-u\fR, \fB\-\-subdev\-device\fR \fI<dev>\fR Use device <dev> as the v4l-subdevX device. If <dev> is a number, then /dev/v4l-subdev<dev> is used. .TP -\fB\-m\fR, \fB\-\-media\-device\fR=\fI<dev>\fR +\fB\-m\fR, \fB\-\-media\-device\fR \fI<dev>\fR Use device <dev> as the media controller device. Besides this device it also tests all interfaces it finds. If <dev> starts with a digit, then /dev/media<dev> is used. .TP -\fB\-M\fR, \fB\-\-media\-device\-only\fR=\fI<dev>\fR +\fB\-M\fR, \fB\-\-media\-device\-only\fR \fI<dev>\fR Use device <dev> as the media controller device. Only test this device, don't walk over all the interfaces. If <dev> starts with a digit, then /dev/media<dev> is used. .TP -\fB\-e\fR, \fB\-\-exp\-buf\-device\fR=\fI<dev>\fR +\fB\-e\fR, \fB\-\-exp\-buf\-device\fR \fI<dev>\fR Use device <dev> as the video device used to export DMABUFfers for doing DMABUF streaming tests. If <dev> is a number, then /dev/video<dev> is used. If this option is not specified, then the DMABUF streaming tests will be skipped. .TP -\fB\-s\fR, \fB\-\-streaming\fR=\fI<count>\fR +\fB\-s\fR, \fB\-\-streaming\fR \fI<count>\fR Enable the streaming tests. Set <count> to the number of frames to stream (default 60). This requires that before v4l2-compliance is called the device has been configured with a valid input (or output) and frequency (when the device has a tuner). For DMABUF testing @@ -104,7 +104,7 @@ a long time. The configuration of the driver at the time v4l2-compliance was called will be used for the streaming tests. .TP -\fB\-c\fR, \fB\-\-stream\-all\-color\fR=\fBcolor\fR=\fIred|green|blue\fR,\fBskip\fR=\fI<skip>\fR,\fBperc\fR=\fI<perc>\fR +\fB\-c\fR, \fB\-\-stream\-all\-color\fR \fBcolor\fR=\fIred|green|blue\fR,\fBskip\fR=\fI<skip>\fR,\fBperc\fR=\fI<perc>\fR For all supported, non-compressed formats stream <skip + 1> frames. For the last frame go over all pixels and calculate which of the R, G and B color components of a pixel has the highest value and count that as a red, green or blue pixel. diff --git a/utils/v4l2-compliance/v4l2-compliance.cpp b/utils/v4l2-compliance/v4l2-compliance.cpp index f6699b3a7fb4..f1bf6c17f853 100644 --- a/utils/v4l2-compliance/v4l2-compliance.cpp +++ b/utils/v4l2-compliance/v4l2-compliance.cpp @@ -139,36 +139,36 @@ static void usage(void) { printf("Usage:\n"); printf("Common options:\n"); - printf(" -d, --device=<dev> Use device <dev> as the video device.\n"); + printf(" -d, --device <dev> Use device <dev> as the video device.\n"); printf(" If <dev> starts with a digit, then /dev/video<dev> is used.\n"); - printf(" -V, --vbi-device=<dev>\n"); + printf(" -V, --vbi-device <dev>\n"); printf(" Use device <dev> as the vbi device.\n"); printf(" If <dev> starts with a digit, then /dev/vbi<dev> is used.\n"); - printf(" -r, --radio-device=<dev>\n"); + printf(" -r, --radio-device <dev>\n"); printf(" Use device <dev> as the radio device.\n"); printf(" If <dev> starts with a digit, then /dev/radio<dev> is used.\n"); - printf(" -S, --sdr-device=<dev>\n"); + printf(" -S, --sdr-device <dev>\n"); printf(" Use device <dev> as the SDR device.\n"); printf(" If <dev> starts with a digit, then /dev/swradio<dev> is used.\n"); - printf(" -t, --touch-device=<dev>\n"); + printf(" -t, --touch-device <dev>\n"); printf(" Use device <dev> as the touch device.\n"); printf(" If <dev> starts with a digit, then /dev/v4l-touch<dev> is used.\n"); - printf(" -u, --subdev-device=<dev>\n"); + printf(" -u, --subdev-device <dev>\n"); printf(" Use device <dev> as the v4l-subdev device.\n"); printf(" If <dev> starts with a digit, then /dev/v4l-subdev<dev> is used.\n"); - printf(" -m, --media-device=<dev>\n"); + printf(" -m, --media-device <dev>\n"); printf(" Use device <dev> as the media controller device. Besides this\n"); printf(" device it also tests all interfaces it finds.\n"); printf(" If <dev> starts with a digit, then /dev/media<dev> is used.\n"); - printf(" -M, --media-device-only=<dev>\n"); + printf(" -M, --media-device-only <dev>\n"); printf(" Use device <dev> as the media controller device. Only test this\n"); printf(" device, don't walk over all the interfaces.\n"); printf(" If <dev> starts with a digit, then /dev/media<dev> is used.\n"); - printf(" -e, --expbuf-device=<dev>\n"); + printf(" -e, --expbuf-device <dev>\n"); printf(" Use device <dev> to obtain DMABUF handles.\n"); printf(" If <dev> starts with a digit, then /dev/video<dev> is used.\n"); printf(" only /dev/videoX devices are supported.\n"); - printf(" -s, --streaming=<count>\n"); + printf(" -s, --streaming <count>\n"); printf(" Enable the streaming tests. Set <count> to the number of\n"); printf(" frames to stream (default 60). Requires a valid input/output\n"); printf(" and frequency (when dealing with a tuner). For DMABUF testing\n"); @@ -182,7 +182,7 @@ static void usage(void) printf(" Do streaming tests for all inputs or outputs instead of just\n"); printf(" the current input or output. This requires that a valid video\n"); printf(" signal is present on all inputs and all outputs are hooked up.\n"); - printf(" -c, --stream-all-color=color=red|green|blue,skip=<skip>,perc=<percentage>\n"); + printf(" -c, --stream-all-color color=red|green|blue,skip=<skip>,perc=<percentage>\n"); printf(" For all formats stream <skip + 1> frames and check if\n"); printf(" the last frame has at least <perc> percent of the pixels with\n"); printf(" a <color> component that is higher than the other two color\n"); diff --git a/utils/v4l2-ctl/v4l2-ctl-common.cpp b/utils/v4l2-ctl/v4l2-ctl-common.cpp index 3466d8ea95b0..cef7387713a4 100644 --- a/utils/v4l2-ctl/v4l2-ctl-common.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-common.cpp @@ -57,14 +57,14 @@ void common_usage(void) { printf("\nGeneral/Common options:\n" " --all display all information available\n" - " -C, --get-ctrl=<ctrl>[,<ctrl>...]\n" + " -C, --get-ctrl <ctrl>[,<ctrl>...]\n" " get the value of the controls [VIDIOC_G_EXT_CTRLS]\n" - " -c, --set-ctrl=<ctrl>=<val>[,<ctrl>=<val>...]\n" + " -c, --set-ctrl <ctrl>=<val>[,<ctrl>=<val>...]\n" " set the value of the controls [VIDIOC_S_EXT_CTRLS]\n" " -D, --info show driver info [VIDIOC_QUERYCAP]\n" - " -d, --device=<dev> use device <dev> instead of /dev/video0\n" + " -d, --device <dev> use device <dev> instead of /dev/video0\n" " if <dev> starts with a digit, then /dev/video<dev> is used\n" - " -e, --out-device=<dev> use device <dev> for output streams instead of the\n" + " -e, --out-device <dev> use device <dev> for output streams instead of the\n" " default device as set with --device\n" " if <dev> starts with a digit, then /dev/video<dev> is used\n" " -h, --help display this help message\n" @@ -86,7 +86,7 @@ void common_usage(void) " -l, --list-ctrls display all controls and their values [VIDIOC_QUERYCTRL]\n" " -L, --list-ctrls-menus\n" " display all controls and their menus [VIDIOC_QUERYMENU]\n" - " -r, --subset=<ctrl>[,<offset>,<size>]+\n" + " -r, --subset <ctrl>[,<offset>,<size>]+\n" " the subset of the N-dimensional array to get/set for control <ctrl>,\n" " for every dimension an (<offset>, <size>) tuple is given.\n" #ifndef NO_LIBV4L2 @@ -95,11 +95,11 @@ void common_usage(void) " --list-devices list all v4l devices\n" " --log-status log the board status in the kernel log [VIDIOC_LOG_STATUS]\n" " --get-priority query the current access priority [VIDIOC_G_PRIORITY]\n" - " --set-priority=<prio>\n" + " --set-priority <prio>\n" " set the new access priority [VIDIOC_S_PRIORITY]\n" " <prio> is 1 (background), 2 (interactive) or 3 (record)\n" " --silent only set the result code, do not print any messages\n" - " --sleep=<secs> sleep <secs>, call QUERYCAP and close the file handle\n" + " --sleep <secs> sleep <secs>, call QUERYCAP and close the file handle\n" " --verbose turn on verbose ioctl status reporting\n" ); } diff --git a/utils/v4l2-ctl/v4l2-ctl-edid.cpp b/utils/v4l2-ctl/v4l2-ctl-edid.cpp index 764419046f53..1600642fe1da 100644 --- a/utils/v4l2-ctl/v4l2-ctl-edid.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-edid.cpp @@ -125,7 +125,7 @@ static __u8 toggle_hdr_md_flags; void edid_usage(void) { printf("\nEDID options:\n" - " --set-edid=pad=<pad>[,type=<type>|file=<file>][,format=<fmt>][modifiers]\n" + " --set-edid pad=<pad>[,type=<type>|file=<file>][,format=<fmt>][modifiers]\n" " <pad> is the input or output index for which to set the EDID.\n" " <type> can be 'hdmi', 'hdmi-4k-170mhz', 'hdmi-4k-300mhz', 'hdmi-4k-600mhz',\n" " 'dvid' or 'vga'. A predefined EDID suitable for that connector type will be\n" @@ -207,11 +207,10 @@ void edid_usage(void) " hdr: toggle the Traditional gamma HDR bit.\n" " smpte2084: toggle the SMPTE ST 2084 bit.\n" " hlg: toggle the Hybrid Log-Gamma bit.\n" - " --clear-edid=<pad>\n" - " <pad> is the input or output index for which to clear the EDID.\n" - " --info-edid=<pad> print the current EDID's modifiers\n" + " --clear-edid <pad> clear the EDID for the input or output index <pad>.\n" + " --info-edid <pad> print the current EDID's modifiers\n" " <pad> is the input or output index for which to get the EDID.\n" - " --get-edid=pad=<pad>,startblock=<startblock>,blocks=<blocks>,format=<fmt>,file=<file>\n" + " --get-edid pad=<pad>,startblock=<startblock>,blocks=<blocks>,format=<fmt>,file=<file>\n" " <pad> is the input or output index for which to get the EDID.\n" " <startblock> is the first block number you want to read. Default 0.\n" " <blocks> is the number of blocks you want to read. Default is\n" diff --git a/utils/v4l2-ctl/v4l2-ctl-io.cpp b/utils/v4l2-ctl/v4l2-ctl-io.cpp index a3178797ffb3..29be8c958e26 100644 --- a/utils/v4l2-ctl/v4l2-ctl-io.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-io.cpp @@ -25,20 +25,20 @@ void io_usage(void) { printf("\nInput/Output options:\n" " -I, --get-input query the video input [VIDIOC_G_INPUT]\n" - " -i, --set-input=<num>\n" + " -i, --set-input <num>\n" " set the video input to <num> [VIDIOC_S_INPUT]\n" " -N, --list-outputs display video outputs [VIDIOC_ENUMOUTPUT]\n" " -n, --list-inputs display video inputs [VIDIOC_ENUMINPUT]\n" " -O, --get-output query the video output [VIDIOC_G_OUTPUT]\n" - " -o, --set-output=<num>\n" + " -o, --set-output <num>\n" " set the video output to <num> [VIDIOC_S_OUTPUT]\n" - " --set-audio-output=<num>\n" + " --set-audio-output <num>\n" " set the audio output to <num> [VIDIOC_S_AUDOUT]\n" " --get-audio-input query the audio input [VIDIOC_G_AUDIO]\n" - " --set-audio-input=<num>\n" + " --set-audio-input <num>\n" " set the audio input to <num> [VIDIOC_S_AUDIO]\n" " --get-audio-output query the audio output [VIDIOC_G_AUDOUT]\n" - " --set-audio-output=<num>\n" + " --set-audio-output <num>\n" " set the audio output to <num> [VIDIOC_S_AUDOUT]\n" " --list-audio-outputs\n" " display audio outputs [VIDIOC_ENUMAUDOUT]\n" diff --git a/utils/v4l2-ctl/v4l2-ctl-meta.cpp b/utils/v4l2-ctl/v4l2-ctl-meta.cpp index bf9548f9514f..a34941179d50 100644 --- a/utils/v4l2-ctl/v4l2-ctl-meta.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-meta.cpp @@ -23,20 +23,20 @@ void meta_usage(void) printf("\nMetadata Formats options:\n" " --list-formats-meta display supported metadata capture formats [VIDIOC_ENUM_FMT]\n" " --get-fmt-meta query the metadata capture format [VIDIOC_G_FMT]\n" - " --set-fmt-meta=<f> set the metadata capture format [VIDIOC_S_FMT]\n" + " --set-fmt-meta <f> set the metadata capture format [VIDIOC_S_FMT]\n" " parameter is either the format index as reported by\n" " --list-formats-meta-cap, or the fourcc value as a string\n" - " --try-fmt-meta=<f> try the metadata capture format [VIDIOC_TRY_FMT]\n" + " --try-fmt-meta <f> try the metadata capture format [VIDIOC_TRY_FMT]\n" " parameter is either the format index as reported by\n" " --list-formats-meta-cap, or the fourcc value as a string\n" " --list-formats-meta-out\n" " display supported metadata output formats [VIDIOC_ENUM_FMT]\n" " --get-fmt-meta-out query the metadata output format [VIDIOC_G_FMT]\n" - " --set-fmt-meta-out=<f>\n" + " --set-fmt-meta-out <f>\n" " set the metadata output format [VIDIOC_S_FMT]\n" " parameter is either the format index as reported by\n" " --list-formats-meta-out, or the fourcc value as a string\n" - " --try-fmt-meta-out=<f>\n" + " --try-fmt-meta-out <f>\n" " try the metadata output format [VIDIOC_TRY_FMT]\n" " parameter is either the format index as reported by\n" " --list-formats-meta-out, or the fourcc value as a string\n" diff --git a/utils/v4l2-ctl/v4l2-ctl-misc.cpp b/utils/v4l2-ctl/v4l2-ctl-misc.cpp index 6134be6dbcef..57ab3d20c8aa 100644 --- a/utils/v4l2-ctl/v4l2-ctl-misc.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-misc.cpp @@ -26,44 +26,44 @@ static double output_fps = 0; /* set framerate speed, in fps */ void misc_usage(void) { printf("\nMiscellaneous options:\n" - " --wait-for-event=<event>\n" + " --wait-for-event <event>\n" " wait for an event [VIDIOC_DQEVENT]\n" " <event> is the event number or one of:\n" " eos, vsync, ctrl=<id>, frame_sync, source_change=<pad>,\n" " motion_det\n" " where <id> is the name of the control\n" " and where <pad> is the index of the pad or input\n" - " --poll-for-event=<event>\n" + " --poll-for-event <event>\n" " poll for an event [VIDIOC_DQEVENT]\n" " see --wait-for-event for possible events\n" " -P, --get-parm display video parameters [VIDIOC_G_PARM]\n" - " -p, --set-parm=<fps>\n" + " -p, --set-parm <fps>\n" " set video framerate in <fps> [VIDIOC_S_PARM]\n" " --get-output-parm display output video parameters [VIDIOC_G_PARM]\n" - " --set-output-parm=<fps>\n" + " --set-output-parm <fps>\n" " set output video framerate in <fps> [VIDIOC_S_PARM]\n" " --get-jpeg-comp query the JPEG compression [VIDIOC_G_JPEGCOMP]\n" - " --set-jpeg-comp=quality=<q>,markers=<markers>,comment=<c>,app<n>=<a>\n" + " --set-jpeg-comp quality=<q>,markers=<markers>,comment=<c>,app<n>=<a>\n" " set the JPEG compression [VIDIOC_S_JPEGCOMP]\n" " <n> is the app segment: 0-9/a-f, <a> is the actual string.\n" " <markers> is a colon separated list of:\n" " dht: Define Huffman Tables\n" " dqt: Define Quantization Tables\n" " dri: Define Restart Interval\n" - " --encoder-cmd=cmd=<cmd>,flags=<flags>\n" + " --encoder-cmd cmd=<cmd>,flags=<flags>\n" " Send a command to the encoder [VIDIOC_ENCODER_CMD]\n" " cmd=start|stop|pause|resume\n" " flags=stop_at_gop_end\n" - " --try-encoder-cmd=cmd=<cmd>,flags=<flags>\n" + " --try-encoder-cmd cmd=<cmd>,flags=<flags>\n" " Try an encoder command [VIDIOC_TRY_ENCODER_CMD]\n" " See --encoder-cmd for the arguments.\n" - " --decoder-cmd=cmd=<cmd>,flags=<flags>,stop_pts=<pts>,start_speed=<speed>,\n" + " --decoder-cmd cmd=<cmd>,flags=<flags>,stop_pts=<pts>,start_speed=<speed>,\n" " start_format=<none|gop>\n" " Send a command to the decoder [VIDIOC_DECODER_CMD]\n" " cmd=start|stop|pause|resume\n" " flags=start_mute_audio|pause_to_black|stop_to_black|\n" " stop_immediately\n" - " --try-decoder-cmd=cmd=<cmd>,flags=<flags>\n" + " --try-decoder-cmd cmd=<cmd>,flags=<flags>\n" " Try a decoder command [VIDIOC_TRY_DECODER_CMD]\n" " See --decoder-cmd for the arguments.\n" ); diff --git a/utils/v4l2-ctl/v4l2-ctl-overlay.cpp b/utils/v4l2-ctl/v4l2-ctl-overlay.cpp index 73710ce53661..637d08859c33 100644 --- a/utils/v4l2-ctl/v4l2-ctl-overlay.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-overlay.cpp @@ -34,10 +34,10 @@ void overlay_usage(void) " --list-formats-overlay\n" " display supported overlay formats [VIDIOC_ENUM_FMT]\n" " --find-fb find the fb device corresponding with the overlay\n" - " --overlay=<on> turn overlay on (1) or off (0) (VIDIOC_OVERLAY)\n" + " --overlay <on> turn overlay on (1) or off (0) (VIDIOC_OVERLAY)\n" " --get-fmt-overlay query the video or video output overlay format [VIDIOC_G_FMT]\n" " --set-fmt-overlay\n" - " --try-fmt-overlay=chromakey=<key>,global_alpha=<alpha>,\n" + " --try-fmt-overlay chromakey=<key>,global_alpha=<alpha>,\n" " top=<t>,left=<l>,width=<w>,height=<h>,field=<f>\n" " set/try the video or video output overlay format [VIDIOC_TRY/S_FMT]\n" " <f> can be one of:\n" @@ -47,15 +47,15 @@ void overlay_usage(void) " be invalidated.\n" " --clear-clips clear any old clips, to be used in combination with --try/set-fmt-overlay\n" " --clear-bitmap clear any old bitmap, to be used in combination with --try/set-fmt-overlay\n" - " --add-clip=top=<t>,left=<l>,width=<w>,height=<h>\n" + " --add-clip top=<t>,left=<l>,width=<w>,height=<h>\n" " Add an entry to the clip list. May be used multiple times.\n" " This clip list will be passed to --try/set-fmt-overlay\n" - " --add-bitmap=top=<t>,left=<l>,width=<w>,height=<h>\n" + " --add-bitmap top=<t>,left=<l>,width=<w>,height=<h>\n" " Set the bits in the given rectangle in the bitmap to 1. May be\n" " used multiple times.\n" " The bitmap will be passed to --try/set-fmt-overlay\n" " --get-fbuf query the overlay framebuffer data [VIDIOC_G_FBUF]\n" - " --set-fbuf=chromakey=<b>,src_chromakey=<b>,global_alpha=<b>,local_alpha=<b>,local_inv_alpha=<b>,fb=<fb>\n" + " --set-fbuf chromakey=<b>,src_chromakey=<b>,global_alpha=<b>,local_alpha=<b>,local_inv_alpha=<b>,fb=<fb>\n" " set the overlay framebuffer [VIDIOC_S_FBUF]\n" " <b> is 0 or 1\n" " <fb> is the framebuffer device (/dev/fbX)\n" diff --git a/utils/v4l2-ctl/v4l2-ctl-sdr.cpp b/utils/v4l2-ctl/v4l2-ctl-sdr.cpp index 38068ffc9559..e5ba1ebca13b 100644 --- a/utils/v4l2-ctl/v4l2-ctl-sdr.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-sdr.cpp @@ -23,20 +23,20 @@ void sdr_usage(void) printf("\nSDR Formats options:\n" " --list-formats-sdr display supported SDR capture formats [VIDIOC_ENUM_FMT]\n" " --get-fmt-sdr query the SDR capture format [VIDIOC_G_FMT]\n" - " --set-fmt-sdr=<f> set the SDR capture format [VIDIOC_S_FMT]\n" + " --set-fmt-sdr <f> set the SDR capture format [VIDIOC_S_FMT]\n" " parameter is either the format index as reported by\n" " --list-formats-sdr-cap, or the fourcc value as a string\n" - " --try-fmt-sdr=<f> try the SDR capture format [VIDIOC_TRY_FMT]\n" + " --try-fmt-sdr <f> try the SDR capture format [VIDIOC_TRY_FMT]\n" " parameter is either the format index as reported by\n" " --list-formats-sdr-cap, or the fourcc value as a string\n" " --list-formats-sdr-out\n" " display supported SDR output formats [VIDIOC_ENUM_FMT]\n" " --get-fmt-sdr-out query the SDR output format [VIDIOC_G_FMT]\n" - " --set-fmt-sdr-out=<f>\n" + " --set-fmt-sdr-out <f>\n" " set the SDR output format [VIDIOC_S_FMT]\n" " parameter is either the format index as reported by\n" " --list-formats-sdr-out, or the fourcc value as a string\n" - " --try-fmt-sdr-out=<f>\n" + " --try-fmt-sdr-out <f>\n" " try the SDR output format [VIDIOC_TRY_FMT]\n" " parameter is either the format index as reported by\n" " --list-formats-sdr-out, or the fourcc value as a string\n" diff --git a/utils/v4l2-ctl/v4l2-ctl-selection.cpp b/utils/v4l2-ctl/v4l2-ctl-selection.cpp index ad64273ca769..f4625100afcc 100644 --- a/utils/v4l2-ctl/v4l2-ctl-selection.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-selection.cpp @@ -49,37 +49,37 @@ void selection_usage(void) printf("\nSelection/Cropping options:\n" " --get-cropcap query the crop capabilities [VIDIOC_CROPCAP]\n" " --get-crop query the video capture crop window [VIDIOC_G_CROP]\n" - " --set-crop=top=<x>,left=<y>,width=<w>,height=<h>\n" + " --set-crop top=<x>,left=<y>,width=<w>,height=<h>\n" " set the video capture crop window [VIDIOC_S_CROP]\n" " --get-cropcap-output\n" " query crop capabilities for video output [VIDIOC_CROPCAP]\n" " --get-crop-output query the video output crop window [VIDIOC_G_CROP]\n" - " --set-crop-output=top=<x>,left=<y>,width=<w>,height=<h>\n" + " --set-crop-output top=<x>,left=<y>,width=<w>,height=<h>\n" " set the video output crop window [VIDIOC_S_CROP]\n" " --get-cropcap-overlay\n" " query crop capabilities for video overlay [VIDIOC_CROPCAP]\n" " --get-crop-overlay query the video overlay crop window [VIDIOC_G_CROP]\n" - " --set-crop-overlay=top=<x>,left=<y>,width=<w>,height=<h>\n" + " --set-crop-overlay top=<x>,left=<y>,width=<w>,height=<h>\n" " set the video overlay crop window [VIDIOC_S_CROP]\n" " --get-cropcap-output-overlay\n" " query the crop capabilities for video output overlays\n" " [VIDIOC_CROPCAP]\n" " --get-crop-output-overlay\n" " query the video output overlay crop window [VIDIOC_G_CROP]\n" - " --set-crop-output-overlay=top=<x>,left=<y>,width=<w>,height=<h>\n" + " --set-crop-output-overlay top=<x>,left=<y>,width=<w>,height=<h>\n" " set the video output overlay crop window [VIDIOC_S_CROP]\n" - " --get-selection=target=<target>\n" + " --get-selection target=<target>\n" " query the video capture selection rectangle [VIDIOC_G_SELECTION]\n" " See --set-selection command for the valid <target> values.\n" - " --set-selection=target=<target>,flags=<flags>,top=<x>,left=<y>,width=<w>,height=<h>\n" + " --set-selection target=<target>,flags=<flags>,top=<x>,left=<y>,width=<w>,height=<h>\n" " set the video capture selection rectangle [VIDIOC_S_SELECTION]\n" " target=crop|crop_bounds|crop_default|compose|compose_bounds|\n" " compose_default|compose_padded|native_size\n" " flags=le|ge|keep-config\n" - " --get-selection-output=target=<target>\n" + " --get-selection-output target=<target>\n" " query the video output selection rectangle [VIDIOC_G_SELECTION]\n" " See --set-selection command for the valid <target> values.\n" - " --set-selection-output=target=<target>,flags=<flags>,top=<x>,left=<y>,width=<w>,height=<h>\n" + " --set-selection-output target=<target>,flags=<flags>,top=<x>,left=<y>,width=<w>,height=<h>\n" " set the video output selection rectangle [VIDIOC_S_SELECTION]\n" " See --set-selection command for the arguments.\n" ); diff --git a/utils/v4l2-ctl/v4l2-ctl-stds.cpp b/utils/v4l2-ctl/v4l2-ctl-stds.cpp index aa0bfea57908..a94f674f3754 100644 --- a/utils/v4l2-ctl/v4l2-ctl-stds.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-stds.cpp @@ -31,7 +31,7 @@ void stds_usage(void) " --list-standards display supported video standards [VIDIOC_ENUMSTD]\n" " -S, --get-standard\n" " query the video standard [VIDIOC_G_STD]\n" - " -s, --set-standard=<num>\n" + " -s, --set-standard <num>\n" " set the video standard to <num> [VIDIOC_S_STD]\n" " <num> a numerical v4l2_std value, or one of:\n" " pal or pal-X (X = B/G/H/N/Nc/I/D/K/M/60) (V4L2_STD_PAL)\n" @@ -39,7 +39,7 @@ void stds_usage(void) " secam or secam-X (X = B/G/H/D/K/L/Lc) (V4L2_STD_SECAM)\n" " --get-detected-standard\n" " display detected input video standard [VIDIOC_QUERYSTD]\n" - " --list-dv-timings[=<pad>]\n" + " --list-dv-timings [<pad>]\n" " list supp. standard dv timings [VIDIOC_ENUM_DV_TIMINGS]\n" " for subdevs the pad can be specified (default is 0)\n" " --set-dv-bt-timings\n" @@ -70,7 +70,7 @@ void stds_usage(void) " standard [VIDIOC_S_DV_TIMINGS]\n" " --get-dv-timings get the digital video timings in use [VIDIOC_G_DV_TIMINGS]\n" " --query-dv-timings query the detected dv timings [VIDIOC_QUERY_DV_TIMINGS]\n" - " --get-dv-timings-cap[=<pad>]\n" + " --get-dv-timings-cap [<pad>]\n" " get the dv timings capabilities [VIDIOC_DV_TIMINGS_CAP]\n" " for subdevs the pad can be specified (default is 0)\n" ); diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp index 60cfdacba123..d163e9fd324f 100644 --- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp @@ -227,38 +227,41 @@ static int test_munmap(void *start, size_t length) void streaming_usage(void) { printf("\nVideo Streaming options:\n" - " --stream-count=<count>\n" + " --stream-count <count>\n" " stream <count> buffers. The default is to keep streaming\n" " forever. This count does not include the number of initial\n" " skipped buffers as is passed by --stream-skip.\n" - " --stream-skip=<count>\n" + " --stream-skip <count>\n" " skip the first <count> buffers. The default is 0.\n" - " --stream-sleep=<count>\n" + " --stream-sleep <count>\n" " sleep for 1 second every <count> buffers. If <count> is 0,\n" " then sleep forever right after streaming starts. The default\n" " is -1 (never sleep).\n" #ifndef NO_STREAM_TO - " --stream-to=<file> stream to this file. The default is to discard the\n" + " --stream-to <file> stream to this file. The default is to discard the\n" " data. If <file> is '-', then the data is written to stdout\n" " and the --silent option is turned on automatically.\n" - " --stream-to-host=<hostname[:port]> stream to this host. The default port is %d.\n" + " --stream-to-host <hostname[:port]>\n" + " stream to this host. The default port is %d.\n" #endif " --stream-poll use non-blocking mode and select() to stream.\n" - " --stream-mmap=<count>\n" + " --stream-mmap <count>\n" " capture video using mmap() [VIDIOC_(D)QBUF]\n" " count: the number of buffers to allocate. The default is 3.\n" - " --stream-user=<count>\n" + " --stream-user <count>\n" " capture video using user pointers [VIDIOC_(D)QBUF]\n" " count: the number of buffers to allocate. The default is 3.\n" " --stream-dmabuf capture video using dmabuf [VIDIOC_(D)QBUF]\n" " Requires a corresponding --stream-out-mmap option.\n" - " --stream-from=<file> stream from this file. The default is to generate a pattern.\n" + " --stream-from <file>\n" + " stream from this file. The default is to generate a pattern.\n" " If <file> is '-', then the data is read from stdin.\n" - " --stream-from-host=<hostname[:port]> stream from this host. The default port is %d.\n" + " --stream-from-host <hostname[:port]>\n" + " stream from this host. The default port is %d.\n" " --stream-no-query Do not query and set the DV timings or standard before streaming.\n" " --stream-loop loop when the end of the file we are streaming from is reached.\n" " The default is to stop.\n" - " --stream-out-pattern=<count>\n" + " --stream-out-pattern <count>\n" " choose output test pattern. The default is 0.\n" " --stream-out-square\n" " show a square in the middle of the output test pattern.\n" @@ -266,31 +269,31 @@ void streaming_usage(void) " show a border around the pillar/letterboxed video.\n" " --stream-out-sav insert an SAV code in every line.\n" " --stream-out-eav insert an EAV code in every line.\n" - " --stream-out-pixel-aspect=<aspect\n" + " --stream-out-pixel-aspect <aspect\n" " select a pixel aspect ratio. The default is to autodetect.\n" " <aspect> can be one of: square, ntsc, pal\n" - " --stream-out-video-aspect=<aspect\n" + " --stream-out-video-aspect <aspect\n" " select a video aspect ratio. The default is to use the frame ratio.\n" " <aspect> can be one of: 4x3, 14x9, 16x9, anamorphic\n" - " --stream-out-alpha=<alpha-value>\n" + " --stream-out-alpha <alpha-value>\n" " value to use for the alpha component, range 0-255. The default is 0.\n" " --stream-out-alpha-red-only\n" " only use the --stream-out-alpha value for the red colors,\n" " for all others use 0.\n" " --stream-out-rgb-lim-range\n" " Encode RGB values as limited [16-235] instead of full range.\n" - " --stream-out-hor-speed=<speed>\n" + " --stream-out-hor-speed <speed>\n" " choose speed for horizontal movement. The default is 0,\n" " and the range is [-3...3].\n" - " --stream-out-vert-speed=<speed>\n" + " --stream-out-vert-speed <speed>\n" " choose speed for vertical movement. The default is 0,\n" " and the range is [-3...3].\n" - " --stream-out-perc-fill=<percentage>\n" + " --stream-out-perc-fill <percentage>\n" " percentage of the frame to actually fill. The default is 100%%.\n" - " --stream-out-mmap=<count>\n" + " --stream-out-mmap <count>\n" " output video using mmap() [VIDIOC_(D)QBUF]\n" " count: the number of buffers to allocate. The default is 4.\n" - " --stream-out-user=<count>\n" + " --stream-out-user <count>\n" " output video using user pointers [VIDIOC_(D)QBUF]\n" " count: the number of buffers to allocate. The default is 4.\n" " --stream-out-dmabuf\n" diff --git a/utils/v4l2-ctl/v4l2-ctl-subdev.cpp b/utils/v4l2-ctl/v4l2-ctl-subdev.cpp index b6c223da8f14..c1d3e5ad46f7 100644 --- a/utils/v4l2-ctl/v4l2-ctl-subdev.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-subdev.cpp @@ -52,26 +52,26 @@ static double set_fps; void subdev_usage(void) { printf("\nSub-Device options:\n" - " --list-subdev-mbus-codes=<pad>\n" + " --list-subdev-mbus-codes <pad>\n" " display supported mediabus codes for this pad (0 is default)\n" " [VIDIOC_SUBDEV_ENUM_MBUS_CODE]\n" - " --list-subdev-framesizes=pad=<pad>,code=<code>\n" + " --list-subdev-framesizes pad=<pad>,code=<code>\n" " list supported framesizes for this pad and code\n" " [VIDIOC_SUBDEV_ENUM_FRAME_SIZE]\n" " <code> is the value of the mediabus code\n" - " --list-subdev-frameintervals=pad=<pad>,width=<w>,height=<h>,code=<code>\n" + " --list-subdev-frameintervals pad=<pad>,width=<w>,height=<h>,code=<code>\n" " list supported frame intervals for this pad and code and\n" " the given width and height [VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL]\n" " <code> is the value of the mediabus code\n" - " --get-subdev-fmt[=<pad>]\n" + " --get-subdev-fmt [<pad>]\n" " query the frame format for the given pad [VIDIOC_SUBDEV_G_FMT]\n" - " --get-subdev-selection=pad=<pad>,target=<target>\n" + " --get-subdev-selection pad=<pad>,target=<target>\n" " query the frame selection rectangle [VIDIOC_SUBDEV_G_SELECTION]\n" " See --set-subdev-selection command for the valid <target> values.\n" - " --get-subdev-fps[=<pad>]\n" + " --get-subdev-fps [<pad>]\n" " query the frame rate [VIDIOC_SUBDEV_G_FRAME_INTERVAL]\n" " --set-subdev-fmt (for testing only, otherwise use media-ctl)\n" - " --try-subdev-fmt=pad=<pad>,width=<w>,height=<h>,code=<code>,field=<f>,colorspace=<c>,\n" + " --try-subdev-fmt pad=<pad>,width=<w>,height=<h>,code=<code>,field=<f>,colorspace=<c>,\n" " xfer=<xf>,ycbcr=<y>,quantization=<q>\n" " set the frame format [VIDIOC_SUBDEV_S_FMT]\n" " <code> is the value of the mediabus code\n" @@ -88,13 +88,13 @@ void subdev_usage(void) " <q> can be one of the following quantization methods:\n" " default, full-range, lim-range\n" " --set-subdev-selection (for testing only, otherwise use media-ctl)\n" - " --try-subdev-selection=pad=<pad>,target=<target>,flags=<flags>,\n" + " --try-subdev-selection pad=<pad>,target=<target>,flags=<flags>,\n" " top=<x>,left=<y>,width=<w>,height=<h>\n" " set the video capture selection rectangle [VIDIOC_SUBDEV_S_SELECTION]\n" " target=crop|crop_bounds|crop_default|compose|compose_bounds|\n" " compose_default|compose_padded|native_size\n" " flags=le|ge|keep-config\n" - " --set-subdev-fps=pad=<pad>,fps=<fps> (for testing only, otherwise use media-ctl)\n" + " --set-subdev-fps pad=<pad>,fps=<fps> (for testing only, otherwise use media-ctl)\n" " set the frame rate [VIDIOC_SUBDEV_S_FRAME_INTERVAL]\n" ); } diff --git a/utils/v4l2-ctl/v4l2-ctl-tuner.cpp b/utils/v4l2-ctl/v4l2-ctl-tuner.cpp index 049097d5e083..fd85f83965ab 100644 --- a/utils/v4l2-ctl/v4l2-ctl-tuner.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-tuner.cpp @@ -30,17 +30,17 @@ void tuner_usage(void) { printf("\nTuner/Modulator options:\n" " -F, --get-freq query the frequency [VIDIOC_G_FREQUENCY]\n" - " -f, --set-freq=<freq>\n" + " -f, --set-freq <freq>\n" " set the frequency to <freq> MHz [VIDIOC_S_FREQUENCY]\n" " -T, --get-tuner query the tuner settings [VIDIOC_G_TUNER]\n" - " -t, --set-tuner=<mode>\n" + " -t, --set-tuner <mode>\n" " set the audio mode of the tuner [VIDIOC_S_TUNER]\n" " Possible values: mono, stereo, lang2, lang1, bilingual\n" - " --tuner-index=<idx> Use idx as tuner idx for tuner/modulator commands\n" + " --tuner-index <idx> Use idx as tuner idx for tuner/modulator commands\n" " --list-freq-bands display all frequency bands for the tuner/modulator\n" " [VIDIOC_ENUM_FREQ_BANDS]\n" " --get-modulator query the modulator settings [VIDIOC_G_MODULATOR]\n" - " --set-modulator=<txsubchans>\n" + " --set-modulator <txsubchans>\n" " set the sub-carrier modulation [VIDIOC_S_MODULATOR]\n" " <txsubchans> is one of:\n" " mono: Modulate as mono\n" @@ -50,7 +50,7 @@ void tuner_usage(void) " bilingual: Modulate as bilingual\n" " mono-sap: Modulate as mono with Second Audio Program\n" " stereo-sap: Modulate as stereo with Second Audio Program\n" - " --freq-seek=dir=<0/1>,wrap=<0/1>,spacing=<hz>,low=<freq>,high=<freq>\n" + " --freq-seek dir=<0/1>,wrap=<0/1>,spacing=<hz>,low=<freq>,high=<freq>\n" " perform a hardware frequency seek [VIDIOC_S_HW_FREQ_SEEK]\n" " dir is 0 (seek downward) or 1 (seek upward)\n" " wrap is 0 (do not wrap around) or 1 (wrap around)\n" diff --git a/utils/v4l2-ctl/v4l2-ctl-vbi.cpp b/utils/v4l2-ctl/v4l2-ctl-vbi.cpp index 8b59c330b055..59b663d6d921 100644 --- a/utils/v4l2-ctl/v4l2-ctl-vbi.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-vbi.cpp @@ -37,7 +37,7 @@ void vbi_usage(void) " -b, --set-fmt-sliced-vbi\n" " --try-fmt-sliced-vbi\n" " --set-fmt-sliced-vbi-out\n" - " --try-fmt-sliced-vbi-out=<mode>\n" + " --try-fmt-sliced-vbi-out <mode>\n" " set/try the sliced VBI capture/output format to <mode>\n" " [VIDIOC_S/TRY_FMT], <mode> is a comma separated list of:\n" " off: turn off sliced VBI (cannot be combined with\n" @@ -51,7 +51,7 @@ void vbi_usage(void) " --set-fmt-vbi\n" " --try-fmt-vbi\n" " --set-fmt-vbi-out\n" - " --try-fmt-vbi-out=samplingrate=<r>,offset=<o>,samplesperline=<spl>,\n" + " --try-fmt-vbi-out samplingrate=<r>,offset=<o>,samplesperline=<spl>,\n" " start0=<s0>,count0=<c0>,start1=<s1>,count1=<c1>\n" " set/try the raw VBI capture/output format [VIDIOC_S/TRY_FMT]\n" " samplingrate: samples per second\n" diff --git a/utils/v4l2-ctl/v4l2-ctl-vidcap.cpp b/utils/v4l2-ctl/v4l2-ctl-vidcap.cpp index 4f350b6b94a5..47d27d40285e 100644 --- a/utils/v4l2-ctl/v4l2-ctl-vidcap.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-vidcap.cpp @@ -28,11 +28,11 @@ void vidcap_usage(void) " --list-formats display supported video formats [VIDIOC_ENUM_FMT]\n" " --list-formats-ext display supported video formats including frame sizes\n" " and intervals\n" - " --list-framesizes=<f>\n" + " --list-framesizes <f>\n" " list supported framesizes for pixelformat <f>\n" " [VIDIOC_ENUM_FRAMESIZES]\n" " pixelformat is the fourcc value as a string\n" - " --list-frameintervals=width=<w>,height=<h>,pixelformat=<f>\n" + " --list-frameintervals width=<w>,height=<h>,pixelformat=<f>\n" " list supported frame intervals for pixelformat <f> and\n" " the given width and height [VIDIOC_ENUM_FRAMEINTERVALS]\n" " pixelformat is the fourcc value as a string\n" @@ -40,7 +40,7 @@ void vidcap_usage(void) " -V, --get-fmt-video\n" " query the video capture format [VIDIOC_G_FMT]\n" " -v, --set-fmt-video\n" - " --try-fmt-video=width=<w>,height=<h>,pixelformat=<pf>,field=<f>,colorspace=<c>,\n" + " --try-fmt-video width=<w>,height=<h>,pixelformat=<pf>,field=<f>,colorspace=<c>,\n" " xfer=<xf>,ycbcr=<y>,quantization=<q>,premul-alpha,bytesperline=<bpl>\n" " set/try the video capture format [VIDIOC_S/TRY_FMT]\n" " pixelformat is either the format index as reported by\n" diff --git a/utils/v4l2-ctl/v4l2-ctl-vidout.cpp b/utils/v4l2-ctl/v4l2-ctl-vidout.cpp index d12588182b60..a8b0a93a2a64 100644 --- a/utils/v4l2-ctl/v4l2-ctl-vidout.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-vidout.cpp @@ -28,7 +28,7 @@ void vidout_usage(void) " --get-fmt-video-out\n" " query the video output format [VIDIOC_G_FMT]\n" " --set-fmt-video-out\n" - " --try-fmt-video-out=width=<w>,height=<h>,pixelformat=<pf>,field=<f>,colorspace=<c>,\n" + " --try-fmt-video-out width=<w>,height=<h>,pixelformat=<pf>,field=<f>,colorspace=<c>,\n" " xfer=<xf>,ycbcr=<y>,quantization=<q>,premul-alpha,bytesperline=<bpl>\n" " set/try the video output format [VIDIOC_S/TRY_FMT]\n" " pixelformat is either the format index as reported by\n" diff --git a/utils/v4l2-ctl/v4l2-ctl.1.in b/utils/v4l2-ctl/v4l2-ctl.1.in index f7bb8d81d19a..e60c2d497873 100644 --- a/utils/v4l2-ctl/v4l2-ctl.1.in +++ b/utils/v4l2-ctl/v4l2-ctl.1.in @@ -11,7 +11,7 @@ devices covering the full V4L2 API. .SH OPTIONS .TP -\fB\-d\fR, \fB\-\-device\fR=\fI<dev>\fR +\fB\-d\fR, \fB\-\-device\fR \fI<dev>\fR Use device <dev> as the V4L2 device. If <dev> is a number, then /dev/video<dev> is used. .TP \fB\-v\fR, \fB\-\-verbose\fR @@ -75,16 +75,16 @@ Prints the help message for all options. \fB--all\fR Display all information available. .TP -\fB-C\fR, \fB--get-ctrl\fR=\fI<ctrl>\fR[,\fI<ctrl>\fR...] +\fB-C\fR, \fB--get-ctrl\fR \fI<ctrl>\fR[,\fI<ctrl>\fR...] Get the value of the controls [VIDIOC_G_EXT_CTRLS]. .TP -\fB-c\fR, \fB--set-ctrl\fR=\fI<ctrl>\fR=\fI<val>\fR[,\fI<ctrl>\fR=\fI<val>\fR...] +\fB-c\fR, \fB--set-ctrl\fR \fI<ctrl>\fR=\fI<val>\fR[,\fI<ctrl>\fR=\fI<val>\fR...] Set the value of the controls [VIDIOC_S_EXT_CTRLS]. .TP \fB-D\fR, \fB--info\fR Show driver info [VIDIOC_QUERYCAP]. .TP -\fB-e\fR, \fB--out-device\fR=\fI<dev>\fR +\fB-e\fR, \fB--out-device\fR \fI<dev>\fR Use device \fI<dev>\fR for output streams instead of the default device as set with --device. If \fI<dev>\fR starts with a digit, then /dev/video\fI<dev>\fR is used. @@ -98,7 +98,7 @@ Display all controls and their values [VIDIOC_QUERYCTRL]. \fB-L\fR, \fB--list-ctrls-menus\fR Display all controls and their menus [VIDIOC_QUERYMENU]. .TP -\fB-r\fR, \fB--subset\fR=\fI<ctrl>\fR[,\fI<offset>\fR,\fI<size>\fR]+ +\fB-r\fR, \fB--subset\fR \fI<ctrl>\fR[,\fI<offset>\fR,\fI<size>\fR]+ The subset of the N-dimensional array to get/set for control \fI<ctrl>\fR, for every dimension an (\fI<offset>\fR, \fI<size>\fR) tuple is given. .TP @@ -111,14 +111,14 @@ Log the board status in the kernel log [VIDIOC_LOG_STATUS]. \fB--get-priority\fR Query the current access priority [VIDIOC_G_PRIORITY]. .TP -\fB--set-priority\fR=\fI<prio>\fR +\fB--set-priority\fR \fI<prio>\fR Set the new access priority [VIDIOC_S_PRIORITY]. \fI<prio>\fR is 1 (background), 2 (interactive) or 3 (record). .TP \fB--silent\fR Only set the result code, do not print any messages. .TP -\fB--sleep\fR=\fI<secs>\fR +\fB--sleep\fR \fI<secs>\fR Sleep \fI<secs>\fR, call QUERYCAP and close the file handle. .SH EXIT STATUS On success, it returns 0. Otherwise, it will return the error code. _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits