From: Hans Verkuil <hverkuil@xs4all.nl>
To: Antti Palosaari <crope@iki.fi>
Cc: linux-media@vger.kernel.org,
Mauro Carvalho Chehab <m.chehab@samsung.com>
Subject: Re: [PATCH 5/5] v4l2-ctl: implement list SDR buffers command
Date: Mon, 10 Feb 2014 10:11:08 +0100 [thread overview]
Message-ID: <52F897AC.4080003@xs4all.nl> (raw)
In-Reply-To: <1391925954-25975-6-git-send-email-crope@iki.fi>
On 02/09/2014 07:05 AM, Antti Palosaari wrote:
> Cc: Hans Verkuil <hverkuil@xs4all.nl>
> Signed-off-by: Antti Palosaari <crope@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Thanks!
Hans
> ---
> utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 6 ++++++
> utils/v4l2-ctl/v4l2-ctl.cpp | 1 +
> utils/v4l2-ctl/v4l2-ctl.h | 1 +
> 3 files changed, 8 insertions(+)
>
> diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
> index 13ee8ec..925d73d 100644
> --- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
> +++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp
> @@ -78,6 +78,8 @@ void streaming_usage(void)
> " list all sliced VBI buffers [VIDIOC_QUERYBUF]\n"
> " --list-buffers-sliced-vbi-out\n"
> " list all sliced VBI output buffers [VIDIOC_QUERYBUF]\n"
> + " --list-buffers-sdr\n"
> + " list all SDR RX buffers [VIDIOC_QUERYBUF]\n"
> );
> }
>
> @@ -986,4 +988,8 @@ void streaming_list(int fd)
> if (options[OptListBuffersSlicedVbiOut]) {
> list_buffers(fd, V4L2_BUF_TYPE_SLICED_VBI_OUTPUT);
> }
> +
> + if (options[OptListBuffersSdr]) {
> + list_buffers(fd, V4L2_BUF_TYPE_SDR_CAPTURE);
> + }
> }
> diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp
> index 855613c..a602366 100644
> --- a/utils/v4l2-ctl/v4l2-ctl.cpp
> +++ b/utils/v4l2-ctl/v4l2-ctl.cpp
> @@ -198,6 +198,7 @@ static struct option long_options[] = {
> {"list-buffers-sliced-vbi", no_argument, 0, OptListBuffersSlicedVbi},
> {"list-buffers-vbi-out", no_argument, 0, OptListBuffersVbiOut},
> {"list-buffers-sliced-vbi-out", no_argument, 0, OptListBuffersSlicedVbiOut},
> + {"list-buffers-sdr", no_argument, 0, OptListBuffersSdr},
> {"stream-count", required_argument, 0, OptStreamCount},
> {"stream-skip", required_argument, 0, OptStreamSkip},
> {"stream-loop", no_argument, 0, OptStreamLoop},
> diff --git a/utils/v4l2-ctl/v4l2-ctl.h b/utils/v4l2-ctl/v4l2-ctl.h
> index 108198d..1caac34 100644
> --- a/utils/v4l2-ctl/v4l2-ctl.h
> +++ b/utils/v4l2-ctl/v4l2-ctl.h
> @@ -139,6 +139,7 @@ enum Option {
> OptListBuffersSlicedVbi,
> OptListBuffersVbiOut,
> OptListBuffersSlicedVbiOut,
> + OptListBuffersSdr,
> OptStreamCount,
> OptStreamSkip,
> OptStreamLoop,
>
prev parent reply other threads:[~2014-02-10 9:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-09 6:05 [PATCH 0/5] v4l2-ctl: add SDR device support Antti Palosaari
2014-02-09 6:05 ` [PATCH 1/5] libdvbv5: better handle ATSC/Annex B Antti Palosaari
2014-02-09 6:05 ` [PATCH 2/5] synch videodev2.h headers with kernel SDR API Antti Palosaari
2014-02-10 9:08 ` Hans Verkuil
2014-02-10 9:17 ` Antti Palosaari
2014-02-09 6:05 ` [PATCH 3/5] v4l2-ctl: add tuner support for SDR tuners Antti Palosaari
2014-02-10 9:10 ` Hans Verkuil
2014-02-09 6:05 ` [PATCH 4/5] v4l2-ctl: add support for SDR FMT Antti Palosaari
2014-02-10 9:11 ` Hans Verkuil
2014-02-09 6:05 ` [PATCH 5/5] v4l2-ctl: implement list SDR buffers command Antti Palosaari
2014-02-10 9:11 ` Hans Verkuil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52F897AC.4080003@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox