platform/upstream/v4l-utils.git
15 years agomerge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-fixes
Mauro Carvalho Chehab [Mon, 22 Dec 2008 10:52:13 +0000 (08:52 -0200)]
merge: www.linuxtv.org/hg/~hverkuil/v4l-dvb-fixes

From: Mauro Carvalho Chehab <mchehab@redhat.com>

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoioctl-test: Support all ioctls, improve output and add additional checks
Hans Verkuil [Sun, 21 Dec 2008 13:38:12 +0000 (14:38 +0100)]
ioctl-test: Support all ioctls, improve output and add additional checks

From: Hans Verkuil <hverkuil@xs4all.nl>

Improved ioctl-test so that it can be used for compat32 testing.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
15 years agov4l2-dbg: get-chip-ident has no arguments
Hans Verkuil [Sat, 20 Dec 2008 12:14:03 +0000 (13:14 +0100)]
v4l2-dbg: get-chip-ident has no arguments

From: Hans Verkuil <hverkuil@xs4all.nl>

get-chip-ident expected an argument when none was needed.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
15 years agov4l2-ctl: List device links as such
Hans Verkuil [Sat, 6 Dec 2008 10:29:33 +0000 (11:29 +0100)]
v4l2-ctl: List device links as such

From: Jean Delvare <khali@linux-fr.org>

Improvement to --list-devices: when a device node is actually a link
to another device node, display it as such.

Priority: normal

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
15 years agoAdd a parser for em28xx register debug log
Mauro Carvalho Chehab [Wed, 26 Nov 2008 14:30:47 +0000 (12:30 -0200)]
Add a parser for em28xx register debug log

From: Mauro Carvalho Chehab <mchehab@redhat.com>

Priority: normal

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agoqv4l2: fix compile warnings.
Hans Verkuil [Mon, 24 Nov 2008 12:56:06 +0000 (13:56 +0100)]
qv4l2: fix compile warnings.

From: Hans Verkuil <hverkuil@xs4all.nl>

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
15 years agoselect video device via a popup menu
Mauro Carvalho Chehab [Sun, 16 Nov 2008 03:26:13 +0000 (01:26 -0200)]
select video device via a popup menu

From: Mauro Carvalho Chehab <mchehab@redhat.com>

Seeking for a video device at /dev is sometimes hard, since not all
distros create a /dev/v4l dir. Instead of opening a file, be more
user-friendly, by just displaying the valid files.

Priority: normal

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
15 years agocommand line: added --frames, touched up
Mauro Carvalho Chehab [Mon, 10 Nov 2008 20:21:34 +0000 (18:21 -0200)]
command line: added --frames, touched up

From: Carl Karsten <carl@personnelware.com>

1. Added command line option -f --frames for number of frames to grab

2. changed the default -f from 1000 to 70

3. show defaults in --help

4. added a Version, picked 1.3 as the current ver because I consider the
original to be 1.0 and at least 2 changes have been made.

Signed-off-by: Carl Karsten <carl@personnelware.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
16 years ago2-apps: fix generation of parse.h
Mauro Carvalho Chehab [Mon, 29 Sep 2008 05:48:26 +0000 (05:48 +0000)]
2-apps: fix generation of parse.h

From: Andreas Oberritter <obi@linuxtv.org>

Here's a fix for v4l2-apps/util/Makefile: It uses echo -e, which is not
portable across different shell implementations. I replaced it with
printf. That's a common problem on Ubuntu, where dash is used instead of
bash as the default shell.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
16 years agomerge: http://linuxtv.org/hg/~hgoede/v4l-dvb
Mauro Carvalho Chehab [Wed, 24 Sep 2008 13:35:08 +0000 (10:35 -0300)]
merge: http://linuxtv.org/hg/~hgoede/v4l-dvb

From: Mauro Carvalho Chehab <mchehab@redhat.com>

Priority: normal

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
16 years agolibv4l: 0.5.0 release
hans@localhost.localdomain [Mon, 15 Sep 2008 11:48:21 +0000 (13:48 +0200)]
libv4l: 0.5.0 release

From: Hans de Goede <hdegoede@redhat.com>

* Add support for enumerating framesizes and frameintervals of emulated
  formats when the driver supports it for the real format
* Make sure the video device always gets opened RW even if the application
  asks for RO
* Add Genius E-Messenger 112 (093a:2476) to list of cams which have their
  sensor upside down

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
16 years agov4l2-ctl: add --list-devices option
Hans Verkuil [Sun, 7 Sep 2008 12:46:44 +0000 (14:46 +0200)]
v4l2-ctl: add --list-devices option

From: Hans Verkuil <hverkuil@xs4all.nl>

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-ctl: improve fmt handling
Hans Verkuil [Sat, 6 Sep 2008 12:58:47 +0000 (14:58 +0200)]
v4l2-ctl: improve fmt handling

From: Hans Verkuil <hverkuil@xs4all.nl>

- add 'try' versions for the various formats
- add set/try-fmt-overlay support
- print result of set/try call if verbose was set

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-ctl: improve error reporting
Hans Verkuil [Fri, 5 Sep 2008 06:27:28 +0000 (08:27 +0200)]
v4l2-ctl: improve error reporting

From: Hans Verkuil <hverkuil@xs4all.nl>

Based on a similar patch from Jean Delvare.

By default errors are shown. --verbose also reports successful calls and
--silent suppresses the output altogether, only returning an application
error code.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agolibv4l: Prefer compressed pixformats for resolutions > 176x144
hans@localhost.localdomain [Wed, 3 Sep 2008 12:24:30 +0000 (14:24 +0200)]
libv4l: Prefer compressed pixformats for resolutions > 176x144

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: Prefer compressed pixformats for resolutions > 176x144

Priority: normal

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: Add suport for YUYV and YVYU packed pixel formats
hans@localhost.localdomain [Wed, 3 Sep 2008 09:36:18 +0000 (11:36 +0200)]
libv4l: Add suport for YUYV and YVYU packed pixel formats

From: Jean-Francois Moine <moinejf@free.fr>

libv4l: Add suport for YUYV and YVYU packed pixel formats

Priority: normal

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agov4l2-compliance: fix memory bug in handling of the -d option.
Hans Verkuil [Sun, 31 Aug 2008 10:03:53 +0000 (12:03 +0200)]
v4l2-compliance: fix memory bug in handling of the -d option.

From: Hans Verkuil <hverkuil@xs4all.nl>

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agolibv4l: adjust (fix) sn9c102 bayer order
hans@localhost.localdomain [Fri, 29 Aug 2008 12:00:57 +0000 (14:00 +0200)]
libv4l: adjust (fix) sn9c102 bayer order

From: Hans de Goede <j.w.r.degoede@hhs.nl>

* The bayer pixel order in gspca's sonixb driver was different from that in
  the sn9c102 driver from the mainline kernel, a recent gspca patch fixes
  this, adjust libv4l to match (and make it work properly with the sn9c102
  driver).

Priority: normal

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: fix a few compile warnings
hans@localhost.localdomain [Tue, 26 Aug 2008 16:11:09 +0000 (18:11 +0200)]
libv4l: fix a few compile warnings

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: fix a few compile warnings

Priority: normal

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: x86_64 asm fixes and hide non public symbols
hans@localhost.localdomain [Tue, 26 Aug 2008 14:37:38 +0000 (16:37 +0200)]
libv4l: x86_64 asm fixes and hide non public symbols

From: Gregor Jasny <gjasny@web.de>

* Hide non public symbols (Gregor Jasny)
* Fix and enable x86_64 asm jpeg decompress helper functions (Gregor Jasny)

Priority: normal

Signed-off-by: Gregor Jasny <gjasny@web.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: Fully handle upside down cam detection in userspace
hans@localhost.localdomain [Tue, 26 Aug 2008 10:55:08 +0000 (12:55 +0200)]
libv4l: Fully handle upside down cam detection in userspace

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: Fully handle upside down cam detection in userspace

Priority: normal

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: add support for Pixart custom JPEG format
hans@localhost.localdomain [Fri, 22 Aug 2008 21:23:50 +0000 (23:23 +0200)]
libv4l: add support for Pixart custom JPEG format

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: add support for Pixart custom JPEG format

Priority: normal

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: adjust upside down sensor support for kernel changes
hans@localhost.localdomain [Sun, 17 Aug 2008 18:13:01 +0000 (20:13 +0200)]
libv4l: adjust upside down sensor support for kernel changes

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: adjust upside down sensor support for kernel changes

Priority: normal

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: add support for fixing upside down images to libv4lconvert
hans@localhost.localdomain [Thu, 7 Aug 2008 17:34:10 +0000 (19:34 +0200)]
libv4l: add support for fixing upside down images to libv4lconvert

From: Hans de Goede <j.w.r.degoede@hhs.nl>

Add support to libv4lconvert to flipping the image for upside down mounted
sensors, libv4lconvert will do this automatically if the webcam sets a
flag in its query_fmt reply indicating that this is necessary, this fixes
the upside down image on Philips SPC200NC images

Priority: normal

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: Fix errors and warnings when compiling with ICC
hans@localhost.localdomain [Wed, 6 Aug 2008 08:49:16 +0000 (10:49 +0200)]
libv4l: Fix errors and warnings when compiling with ICC

From: Gregor Jasny <jasny@vidsoft.de>

libv4l: Fix errors and warnings when compiling with ICC

Priority: normal

Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agomerge: v4l-dvb
hans@localhost.localdomain [Wed, 6 Aug 2008 08:41:47 +0000 (10:41 +0200)]
merge: v4l-dvb

16 years agoivtv/cx18-ctl: fix same overrun.
Hans Verkuil [Mon, 4 Aug 2008 17:49:24 +0000 (19:49 +0200)]
ivtv/cx18-ctl: fix same overrun.

From: Hans Verkuil <hverkuil@xs4all.nl>

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-dbg/v4l2-ctl: fix buffer overrun.
Hans Verkuil [Mon, 4 Aug 2008 17:42:57 +0000 (19:42 +0200)]
v4l2-dbg/v4l2-ctl: fix buffer overrun.

From: Hans Verkuil <hverkuil@xs4all.nl>

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agolibv4l: keep our own CPPFLAGS even when otherflags are specified to make
hans@localhost.localdomain [Mon, 4 Aug 2008 14:09:03 +0000 (16:09 +0200)]
libv4l: keep our own CPPFLAGS even when otherflags are specified to make

From: Gregor Jasny <jasny@vidsoft.de>

libv4l: keep our own CPPFLAGS even when otherflags are specified to make

Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: mmap return value should be void * not void
hans@localhost.localdomain [Sun, 3 Aug 2008 19:20:08 +0000 (21:20 +0200)]
libv4l: mmap return value should be void * not void

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: mmap return value should be void * not void

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: use driver read() when possible
hans@localhost.localdomain [Sun, 3 Aug 2008 17:25:44 +0000 (19:25 +0200)]
libv4l: use driver read() when possible

From: Hans de Goede <j.w.r.degoede@hhs.nl>

When the driver supports read() and we are not converting let the driver
handle read() instead of emulating it with mmap mode

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: remove 2 unused variable declarations
hans@localhost.localdomain [Sun, 3 Aug 2008 16:47:06 +0000 (18:47 +0200)]
libv4l: remove 2 unused variable declarations

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: remove 2 unused variable declarations

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: drop appl-patches
hans@localhost.localdomain [Sun, 3 Aug 2008 16:36:50 +0000 (18:36 +0200)]
libv4l: drop appl-patches

From: Hans de Goede <j.w.r.degoede@hhs.nl>

Drop the appl-patches dir, all application patches are now available and
tracked here: http://linuxtv.org/v4lwiki/index.php/Libv4l_Progress

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: add rgb24 <-> bgr24 conversion
hans@localhost.localdomain [Sun, 3 Aug 2008 15:15:12 +0000 (17:15 +0200)]
libv4l: add rgb24 <-> bgr24 conversion

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: add rgb24 <-> bgr24 conversion

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: prefer native formats
hans@localhost.localdomain [Sun, 3 Aug 2008 14:53:49 +0000 (16:53 +0200)]
libv4l: prefer native formats

From: Hans de Goede <j.w.r.degoede@hhs.nl>

When the hardware supports a format natively prefer using the native
version over converting from another supported format

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: mpa buffers before queuing
hans@localhost.localdomain [Sun, 3 Aug 2008 12:35:38 +0000 (14:35 +0200)]
libv4l: mpa buffers before queuing

From: Hans de Goede <j.w.r.degoede@hhs.nl>

With some drivers the buffers must be mapped before queuing, so when
converting map the (real) buffers before calling the qbuf ioctl

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: link against pthread
hans@localhost.localdomain [Sun, 3 Aug 2008 11:21:19 +0000 (13:21 +0200)]
libv4l: link against pthread

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: link against pthread

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: makefile and pkgconfig improvements
hans@localhost.localdomain [Sun, 3 Aug 2008 11:15:46 +0000 (13:15 +0200)]
libv4l: makefile and pkgconfig improvements

From: Gregor Jasny <jasny@vidsoft.de>

Various Makefile and pkgconfig file improvements by Gregor Jasny (Debian)

Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: add support for converting to rgb24
hans@localhost.localdomain [Sun, 3 Aug 2008 10:43:49 +0000 (12:43 +0200)]
libv4l: add support for converting to rgb24

From: Jean-Francois Moine <moinejf@free.fr>

Add support for conversion to RGB24 (before we only support BGR24) based
on a patch by Jean-Francois Moine

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: make xawtv happy
hans@localhost.localdomain [Sun, 3 Aug 2008 09:42:57 +0000 (11:42 +0200)]
libv4l: make xawtv happy

From: Hans de Goede <j.w.r.degoede@hhs.nl>

Be more relaxed in our checks for mixing read and mmap access, we were
being more strict in this then certain kernel drivers (bttv) making xawtv
unhappy

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: fixup copyright headers
hans@localhost.localdomain [Thu, 31 Jul 2008 07:37:27 +0000 (09:37 +0200)]
libv4l: fixup copyright headers

From: Brandon Philips <bphilips@suse.de>

Part of the copyright headers refered GPL instead of LGPL due to a copy
and paste error (Brandon Philips)

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: add /dev/v4l/ to the paths supported by open() override
Brandon Philips [Thu, 31 Jul 2008 03:07:58 +0000 (20:07 -0700)]
libv4l: add /dev/v4l/ to the paths supported by open() override

Signed-off-by: Brandon Philips <bphilips@suse.de>
16 years agolibv4l: silence the creation of pkg-config files
Brandon Philips [Thu, 31 Jul 2008 03:05:21 +0000 (20:05 -0700)]
libv4l: silence the creation of pkg-config files

Signed-off-by: Brandon Philips <bphilips@suse.de>
16 years agolibv4l: query buffer: indicate the mapping state of our (fake) buffer in the flags
hans@localhost.localdomain [Tue, 29 Jul 2008 21:56:08 +0000 (23:56 +0200)]
libv4l: query buffer: indicate the mapping state of our (fake) buffer in the flags

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: query buffer: indicate the mapping state of our (fake) buffer in the flags

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: proper accounting of mmap count of fake mmap buffers
hans@localhost.localdomain [Tue, 29 Jul 2008 21:43:20 +0000 (23:43 +0200)]
libv4l: proper accounting of mmap count of fake mmap buffers

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: proper accounting of mmap count of fake mmap buffers

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: intercept get capabilites and report read capability
hans@localhost.localdomain [Tue, 29 Jul 2008 21:26:45 +0000 (23:26 +0200)]
libv4l: intercept get capabilites and report read capability

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: intercept get capabilites and report read capability

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: check capabilities for streaming
hans@localhost.localdomain [Tue, 29 Jul 2008 21:15:36 +0000 (23:15 +0200)]
libv4l: check capabilities for streaming

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: check capabilities for streaming

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l: add pkg-config (.pc) files for easier detection if libv4l is available
hans@localhost.localdomain [Tue, 29 Jul 2008 21:02:59 +0000 (23:02 +0200)]
libv4l: add pkg-config (.pc) files for easier detection if libv4l is available

From: Hans de Goede <j.w.r.degoede@hhs.nl>

libv4l: add pkg-config (.pc) files for easier detection if libv4l is available

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agolibv4l2: work around wrong REQUEST_BUFFERS ioctl return code
hans@localhost.localdomain [Tue, 29 Jul 2008 19:48:08 +0000 (21:48 +0200)]
libv4l2: work around wrong REQUEST_BUFFERS ioctl return code

From: Gregor Jasny <jasny@vidsoft.de>

libv4l2: work around wrong REQUEST_BUFFERS ioctl return code

Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agomerge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-videodev
Mauro Carvalho Chehab [Sun, 27 Jul 2008 12:14:54 +0000 (09:14 -0300)]
merge: linuxtv.org/hg/~hverkuil/v4l-dvb-videodev

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agov4l2-ctl: fix find_controls when dealing with old-style controls.
Hans Verkuil [Sat, 26 Jul 2008 12:25:00 +0000 (14:25 +0200)]
v4l2-ctl: fix find_controls when dealing with old-style controls.

From: Hans Verkuil <hverkuil@xs4all.nl>

'v4l2-ctl -C contrast' would not show the control description.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agofix a few assorted spelling mistakes.
Hans Verkuil [Sat, 26 Jul 2008 11:37:58 +0000 (13:37 +0200)]
fix a few assorted spelling mistakes.

From: Hans Verkuil <hverkuil@xs4all.nl>

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agomerge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-fixes
Mauro Carvalho Chehab [Sat, 26 Jul 2008 09:44:30 +0000 (06:44 -0300)]
merge: www.linuxtv.org/hg/~hverkuil/v4l-dvb-fixes

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agolibv4l 0.3.7 release, add spca505/6 and spca508 format support
hans@localhost.localdomain [Wed, 23 Jul 2008 12:04:23 +0000 (14:04 +0200)]
libv4l 0.3.7 release, add spca505/6 and spca508 format support

From: Hans de Goede <j.w.r.degoede@hhs.nl>

* Add spca505/6 and spca508 cam specific formats (YUYV per line variations)

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agov4l2-apps: fixes for compile warnings/errors
Hans Verkuil [Wed, 23 Jul 2008 11:10:10 +0000 (13:10 +0200)]
v4l2-apps: fixes for compile warnings/errors

From: Hans Verkuil <hverkuil@xs4all.nl>

- clean up capture_example.c (bad codingstyle and compile warnings)
- fix some headers without trailing newline
- fix compile warnings in v4l2-ctl.cpp and v4l2-dbg.cpp
- fix qv4l2 __stack_chk_fail_local compile error that occurs on some distros (ubuntu)
- fix some Makefile clean up rules

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agolibv4l: Add missing COPYING.LIB file
hans@localhost.localdomain [Wed, 16 Jul 2008 13:18:15 +0000 (15:18 +0200)]
libv4l: Add missing COPYING.LIB file

16 years agolibv4l release 0.3.5
hans@localhost.localdomain [Sat, 12 Jul 2008 19:41:43 +0000 (21:41 +0200)]
libv4l release 0.3.5

From: Hans de Goede <j.w.r.degoede@hhs.nl>

* Make JPEG decoding more robust

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
16 years agoAdds the possibility of writing captured stream into a file
Mauro Carvalho Chehab [Fri, 11 Jul 2008 16:42:25 +0000 (13:42 -0300)]
Adds the possibility of writing captured stream into a file

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agov4l2-library: libv4l-0.3.4 (the brownpaperbag release) - final patch
Thierry MERLE [Tue, 8 Jul 2008 18:48:40 +0000 (20:48 +0200)]
v4l2-library: libv4l-0.3.4 (the brownpaperbag release) - final patch

From: Hans de Goede <j.w.r.degoede@hhs.nl>

* The mmap64 support in 0.3.3, has caused a bug in libv4l1 when running on
   32 bit systems (who uses those now a days?), this bug caused v4l1
   compatibility to not work at all, this release fixes this

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l-really-sync-with-0.3.4.patch
Thierry MERLE [Tue, 8 Jul 2008 05:01:45 +0000 (07:01 +0200)]
v4l2-library: libv4l-really-sync-with-0.3.4.patch

From: Hans de Goede <j.w.r.degoede@hhs.nl>

* The mmap64 support in 0.3.3, has caused a bug in libv4l1 when running on
  32 bit systems (who uses those now a days?), this bug caused v4l1
  compatibility to not work at all, this release fixes this
* Some apps (xawtv, kopete) use an ioctl wrapper internally for various
  reasons. This wrappers request argument is an int, but the real ioctl's
  request argument is an unsigned long. Passing the VIDIOC_xxx defines through
  to the wrapper, and then to the real ioctl, causes the request to get sign
  extended on 64 bit args. The kernel seems to ignore the upper 32 bits,
  causing the sign extension to not make a difference. libv4l now also
  ignores the upper 32 bits of the libv4lx_ioctl request argument on 64 bit
  archs
* Add a bugfix patch for kopete in the appl-patches dir, currently it assumes
  that it got the width and height it asked for when doing a S_FMT, which is a
  wrong assumption

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l-sync-with-0.3.3-release
Thierry MERLE [Sun, 6 Jul 2008 12:07:34 +0000 (14:07 +0200)]
v4l2-library: libv4l-sync-with-0.3.3-release

From: Hans de Goede <j.w.r.degoede@hhs.nl>

* Add open64 and mmap64 wrappers to the LD_PRELOAD wrapper libs, so that
  they also work for applications compiled with FILE_OFFSET_BITS=64, this
  fixes using them with v4l-info
* While looking at xawtv in general, found a few bugs in xawtv itself, added
  a patch to fix those to the appl-patches dir
* Talking about the appl-patches dir, restore that as it accidentally got
  dropped from 0.3.2
* Be more verbose in various places when it comes to logging (esp errors)
* Change v4lconvert_enum_fmt code a bit, so that it is easier to add more
  supported destination formats to libv4lconvert
* Don't return -EINVAL from try_fmt when we cannot convert because the cam
  doesn't have any formats we know. Instead just return as format whatever the
  cam returns from try_fmt, this new behavior is compliant with the v4l2
  api as documented

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l-0.3.2-release
Thierry MERLE [Fri, 4 Jul 2008 17:34:02 +0000 (19:34 +0200)]
v4l2-library: libv4l-0.3.2-release

From: Hans de Goede <j.w.r.degoede@hhs.nl>

The current mercurial has been released on my homepage as tarbal release 0.3.2, the only changes from the current mercurial + all patches already send (including the asm patch from Gregor Jasny) is updating of the ChangeLog file and updating the version in the Makefile, these changes are included in the attached patch.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l-fix-idct-inline-assembly
Thierry MERLE [Fri, 4 Jul 2008 17:31:43 +0000 (19:31 +0200)]
v4l2-library: libv4l-fix-idct-inline-assembly

From: Gregor Jasny <jasny@vidsoft.de>

This patch fixes the input constraint for the sar instruction. It allows only an
immediate or cl as shift width.

Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l-warnings.patch
Thierry MERLE [Fri, 4 Jul 2008 17:30:13 +0000 (19:30 +0200)]
v4l2-library: libv4l-warnings.patch

From: Hans de Goede <j.w.r.degoede@hhs.nl>

Fix all compiler warnings in libv4l

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l-makefile-improvements.patch
Thierry MERLE [Fri, 4 Jul 2008 17:28:49 +0000 (19:28 +0200)]
v4l2-library: libv4l-makefile-improvements.patch

From: Hans de Goede <j.w.r.degoede@hhs.nl>

Makefile improvements:
* Split DESTDIR into DESTDIR and PREFIX as used in most makefiles out there
* Add LIBDIR variable to allow installation in <prefix>/lib64 for example
* Install the wrappers in <libdir>/libv4l instead of directly under libdir,
  as they are not libraries meant for linking
* preserve timestamps of header files when installing them

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l-update-documentation.patch
Thierry MERLE [Fri, 4 Jul 2008 17:26:40 +0000 (19:26 +0200)]
v4l2-library: libv4l-update-documentation.patch

From: Hans de Goede <j.w.r.degoede@hhs.nl>

Some documentation updates to bring the documentation up2date with the latest
changes.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l-pac207-comments.patch
Thierry MERLE [Fri, 4 Jul 2008 17:23:56 +0000 (19:23 +0200)]
v4l2-library: libv4l-pac207-comments.patch

From: Hans de Goede <j.w.r.degoede@hhs.nl>

Add comments to pac207.c about what todays experiments have teached us about
the pac207 compression.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l-sonix-license-permission
Thierry MERLE [Fri, 4 Jul 2008 05:21:55 +0000 (07:21 +0200)]
v4l2-library: libv4l-sonix-license-permission

From: Hans de Goede <j.w.r.degoede@hhs.nl>

Add license change (GPL -> LGPL) permission notice, and don't claim copyright
over code I didn't write, instead add copyright header of the original author
(oops)

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: add support to libv4l for the compressed bayer format emitted by pac207...
Thierry MERLE [Thu, 3 Jul 2008 19:59:12 +0000 (21:59 +0200)]
v4l2-library: add support to libv4l for the compressed bayer format emitted by pac207 based cams

From: Hans de Goede <j.w.r.degoede@hhs.nl>

This patch adds support to libv4l for the compressed bayer format emitted by
pac207 based cams.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: Add support for sonix (sn9c10x) bayer compression to libv4lconvert
Thierry MERLE [Thu, 3 Jul 2008 18:47:43 +0000 (20:47 +0200)]
v4l2-library: Add support for sonix (sn9c10x) bayer compression to libv4lconvert

From: Hans de Goede <j.w.r.degoede@hhs.nl>

Add support for sonix (sn9c10x) bayer compression to libv4lconvert

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l: update mercurial tree to latest 0.3.1 release
Thierry MERLE [Thu, 3 Jul 2008 18:41:07 +0000 (20:41 +0200)]
v4l2-library: libv4l: update mercurial tree to latest 0.3.1 release

From: Hans de Goede <j.w.r.degoede@hhs.nl>

This patch syncs (updates) the libv4l in mercurial with (to) the latest 0.3.1
release.
- Only serialize V4L2_BUF_TYPE_VIDEO_CAPTURE type ioctls
- Do not return an uninitialized variable as result code for GPICT
(fixes vlc, but see below)
- Add an apps-patches directory which includes:
 * vlc-0.8.6-libv4l1.patch, modify vlc's v4l1 plugin to directly call into
   libv4l1, in the end we want all apps todo this as its better then
   LD_PRELOAD tricks, but for vlc this is needed as vlc's plugin system
   causes LD_PRELOAD to not work on symbols in the plugins
 * camorama-0.19-fixes.patch, small bugfixes to camorama's v4l1 support,
   this patch only fixes _real_ bugs in camorama and does not change it to
   work with v4l1compat. Although it does work better with these bugs fixed
   :) With this patch and LD_PRELOAD=<path>/v4l1compat.so it works
   flawless.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: global files
Thierry MERLE [Tue, 1 Jul 2008 19:18:23 +0000 (21:18 +0200)]
v4l2-library: global files

From: Hans de Goede <j.w.r.degoede at hhs.nl>

Global files to make the libv4l compile, install and exported into a tar.gz file

Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l1 and v4l1compat
Thierry MERLE [Tue, 1 Jul 2008 19:16:07 +0000 (21:16 +0200)]
v4l2-library: libv4l1 and v4l1compat

From: Hans de Goede <j.w.r.degoede at hhs.nl>

libv4l1 is the base of the v4l1compat.so wrapper lib, which is a .so
      which can be LD_PRELOAD-ed and the overrules the libc's open/close/etc,
      and when opening /dev/videoX calls v4l1_open.

Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4l2 and v4l2convert
Thierry MERLE [Tue, 1 Jul 2008 19:11:29 +0000 (21:11 +0200)]
v4l2-library: libv4l2 and v4l2convert

From: Hans de Goede <j.w.r.degoede at hhs.nl>

libv4l2 offers v4l2_ prefixed versions of
   open/close/etc. The API is 100% the same as directly opening /dev/videoX
   using regular open/close/etc, the big difference is that format conversion
   is done if necessary when capturing. That is if you (try to) set a capture
   format which is not supported by the cam, but is supported by libv4lconvert,
   then the try_fmt / set_fmt will succeed as if the cam supports the format
   and on dqbuf / read the data will be converted for you and returned in
   the request format.
v4l2convert: open/close/ioctl/mmap/munmap library call wrapper doing format conversion
   for v4l2 applications which want to be able to simply capture bgr24 / yuv420
   from v4l2 devices with more exotic frame formats.

Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-library: libv4lconvert
Thierry MERLE [Tue, 1 Jul 2008 19:05:22 +0000 (21:05 +0200)]
v4l2-library: libv4lconvert

From: Hans de Goede <j.w.r.degoede at hhs.nl>

libv4lconvert: video decompression routines

Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
16 years agov4l2-ctl: improve handling of control names with non-alnum chars
Hans Verkuil [Sun, 29 Jun 2008 09:27:34 +0000 (11:27 +0200)]
v4l2-ctl: improve handling of control names with non-alnum chars

From: Hans Verkuil <hverkuil@xs4all.nl>

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-dbg: if only the 'min' value is specified, then set max to min+0xff
Hans Verkuil [Sat, 28 Jun 2008 08:16:30 +0000 (10:16 +0200)]
v4l2-dbg: if only the 'min' value is specified, then set max to min+0xff

From: Hans Verkuil <hverkuil@xs4all.nl>

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-ctl: fix bug in --set-standard
Hans Verkuil [Fri, 27 Jun 2008 16:16:22 +0000 (18:16 +0200)]
v4l2-ctl: fix bug in --set-standard

From: Hans Verkuil <hverkuil@xs4all.nl>

--set-standard allows you to set a standard index corresponding to
what ENUMSTD returns. But this clashes when you specify a standard whose
ID is very small, like PAL-BG. Then the utility thinks you specified
a standard index and will select the wrong standard.

Fixed by using a flag to mark that the standard actually is a standard
and not a standard index.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agoAdded the SBGGR16 format and fixed two memory leaks on pixfmt-test.
Mauro Carvalho Chehab [Fri, 27 Jun 2008 19:25:56 +0000 (16:25 -0300)]
Added the SBGGR16 format and fixed two memory leaks on pixfmt-test.

From: Michael Schimek <mschimek@gmx.at>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agov4l-board-dbg: Add registers for em28xx
Mauro Carvalho Chehab [Mon, 16 Jun 2008 21:04:06 +0000 (18:04 -0300)]
v4l-board-dbg: Add registers for em28xx

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agov4l-host-dbg: Add missing saa7134-dbg.h
Mauro Carvalho Chehab [Mon, 16 Jun 2008 21:03:41 +0000 (18:03 -0300)]
v4l-host-dbg: Add missing saa7134-dbg.h

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agov4l-board-dbg: Some cleanups
Mauro Carvalho Chehab [Mon, 16 Jun 2008 20:53:05 +0000 (17:53 -0300)]
v4l-board-dbg: Some cleanups

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agov4l-board-dbg: Add support for saa7134 registers
Mauro Carvalho Chehab [Mon, 16 Jun 2008 20:41:25 +0000 (17:41 -0300)]
v4l-board-dbg: Add support for saa7134 registers

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoPrepare v4l-board-dbg to other chip additions
Mauro Carvalho Chehab [Mon, 16 Jun 2008 19:35:52 +0000 (16:35 -0300)]
Prepare v4l-board-dbg to other chip additions

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agorename bttv-dbg to v4l-board-dbg in order to make it more generic
Mauro Carvalho Chehab [Mon, 16 Jun 2008 13:13:24 +0000 (10:13 -0300)]
rename bttv-dbg to v4l-board-dbg in order to make it more generic

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoAdd a tool to debug bttv registers
Mauro Carvalho Chehab [Mon, 16 Jun 2008 13:01:11 +0000 (10:01 -0300)]
Add a tool to debug bttv registers

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agov4l2-apps: add initial version of v4l2-compliance
Hans Verkuil [Sun, 1 Jun 2008 11:23:48 +0000 (13:23 +0200)]
v4l2-apps: add initial version of v4l2-compliance

From: Hans Verkuil <hverkuil@xs4all.nl>

Add tool to test V4L2 API driver compliance.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-dbg: merge v4l-board-dbg into v4l2-dbg
Hans Verkuil [Sun, 31 Aug 2008 09:56:53 +0000 (11:56 +0200)]
v4l2-dbg: merge v4l-board-dbg into v4l2-dbg

From: Hans Verkuil <hverkuil@xs4all.nl>

There is no point in having multiple debug utilities that do the same
thing, so merge the functionality of v4l-board-dbg into v4l2-dbg.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-dbg: simplify v4l2-dbg
Hans Verkuil [Sun, 31 Aug 2008 09:00:07 +0000 (11:00 +0200)]
v4l2-dbg: simplify v4l2-dbg

From: Hans Verkuil <hverkuil@xs4all.nl>

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-dbg: simplify usage message
Hans Verkuil [Sun, 31 Aug 2008 07:56:36 +0000 (09:56 +0200)]
v4l2-dbg: simplify usage message

From: Hans Verkuil <hverkuil@xs4all.nl>

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-apps: fix v4l2-apps build and 'make firmware' warnings
Hans Verkuil [Fri, 29 Aug 2008 21:36:14 +0000 (23:36 +0200)]
v4l2-apps: fix v4l2-apps build and 'make firmware' warnings

From: Hans Verkuil <hverkuil@xs4all.nl>

- fix some warnings when creating/removing directories when running
  'make firmware'
- fix v4l2-apps build: copy and strip the linux/include headers first
  to avoid the kernel-specific constructs in the original headers.
  Update the include paths to point to the copy.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agomerge: http://linuxtv.org/hg/~hgoede/v4l-dvb
Mauro Carvalho Chehab [Fri, 29 Aug 2008 17:46:21 +0000 (14:46 -0300)]
merge: http://linuxtv.org/hg/~hgoede/v4l-dvb

From: Mauro Carvalho Chehab <mchehab@infradead.org>

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
16 years agoivtv-ctl: fix 64-bit compile warning.
Hans Verkuil [Fri, 22 Aug 2008 20:54:24 +0000 (22:54 +0200)]
ivtv-ctl: fix 64-bit compile warning.

From: Hans Verkuil <hverkuil@xs4all.nl>

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agocapture_example: code cleanups
Hans Verkuil [Wed, 20 Aug 2008 07:08:10 +0000 (09:08 +0200)]
capture_example: code cleanups

From: Hans Verkuil <hverkuil@xs4all.nl>

Just fixed a bunch of checkpatch warnings and tightened up the code.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agocapture_example: Don't change the format by default
Hans Verkuil [Wed, 20 Aug 2008 07:07:22 +0000 (09:07 +0200)]
capture_example: Don't change the format by default

From: Jean Delvare <khali@linux-fr.org>

Don't change the capture format by default. This lets the user select
the capture pixel format and resolution using v4l2-ctl. The old
behavior (forcing the format to 640x480 YUYV) can still be obtained by
passing -f.

Priority: normal

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-ctl: merge strings in the usage message
Hans Verkuil [Tue, 19 Aug 2008 09:58:32 +0000 (11:58 +0200)]
v4l2-ctl: merge strings in the usage message

From: Jean Delvare <khali@linux-fr.org>

Function calls aren't cheap. By merging the strings printed by the
usage() function, we reduce the number of times printf (or actually
puts) is called, from 121 to only 4. This makes usage() about twice
as fast as before, and also shrinks the binary size a bit (4 kB).

Priority: normal

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-ctl: added support to set the pixelformat
Hans Verkuil [Tue, 19 Aug 2008 09:44:07 +0000 (11:44 +0200)]
v4l2-ctl: added support to set the pixelformat

From: Hans Verkuil <hverkuil@xs4all.nl>

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-ctl: show name and afc when calling VIDIOC_G_TUNER
Hans Verkuil [Sun, 27 Jul 2008 22:14:39 +0000 (00:14 +0200)]
v4l2-ctl: show name and afc when calling VIDIOC_G_TUNER

From: Hans Verkuil <hverkuil@xs4all.nl>

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agov4l2-apps: some capture_example improvements
Hans Verkuil [Sun, 27 Jul 2008 19:49:25 +0000 (21:49 +0200)]
v4l2-apps: some capture_example improvements

From: Hans Verkuil <hverkuil@xs4all.nl>

- show progress even when sending captured data to stdout
- use bytesused rather than length
- use /dev/video0 instead of /dev/video (conform xawtv tools)

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
16 years agoivtv-ctl: add support to set mute and audio stereo/bilingual modes for playback
Hans Verkuil [Sun, 25 May 2008 13:02:53 +0000 (15:02 +0200)]
ivtv-ctl: add support to set mute and audio stereo/bilingual modes for playback

From: Hans Verkuil <hverkuil@xs4all.nl>

There was no support to set the fast/slow playback mute mode and the
stereo/bilingual playback modes. Added this to ivtv-ctl.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>