Hans Verkuil [Mon, 6 Aug 2012 12:05:54 +0000 (14:05 +0200)]
v4l2-compliance: check that V4L2_CAP_ASYNCIO isn't used.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 3 Aug 2012 13:21:46 +0000 (15:21 +0200)]
v4l2-compliance: add hwseek tuner cap sanity check.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 3 Aug 2012 12:49:49 +0000 (14:49 +0200)]
v4l2-compliance: test frequency band enumeration.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 1 Aug 2012 20:20:45 +0000 (22:20 +0200)]
v4l2-ctl: add support for hwseek seek range.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 1 Aug 2012 19:57:20 +0000 (21:57 +0200)]
v4l2-ctl: add VIDIOC_ENUM_FREQ_BANDS support.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 1 Aug 2012 09:26:26 +0000 (11:26 +0200)]
v4l2-ctl: when streaming show fps.
Very useful when testing.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 1 Aug 2012 07:35:42 +0000 (09:35 +0200)]
v4l2-compliance: add support for M2M(_MPLANE) caps.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 1 Aug 2012 07:33:28 +0000 (09:33 +0200)]
v4l2-ctl: add support for new V4L2_CAP_VIDEO_M2M(_MPLANE) caps.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 31 Jul 2012 17:50:52 +0000 (19:50 +0200)]
Update to latest kernel headers.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 27 Jul 2012 12:52:38 +0000 (14:52 +0200)]
v4l2-ctl: add --stream-poll option.
This option makes the streaming loop use select() with the fd in
non-blocking mode, as opposed to the default blocking mode.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 27 Jul 2012 12:37:35 +0000 (14:37 +0200)]
v4l2-ctl: add support for streaming.
Adds video capture streaming support, either discarding the data or
writing it file or stdout.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 13:16:56 +0000 (15:16 +0200)]
v4l2-ctl: add streaming options.
Currently the only available options query the buffers.
But this will be extended over time.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 11:54:23 +0000 (13:54 +0200)]
v4l2-ctl: split off the miscellaneous options.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 11:43:48 +0000 (13:43 +0200)]
v4l2-ctl: split off crop/selection options.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 11:32:42 +0000 (13:32 +0200)]
v4l2-ctl: split off vbi options.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 11:21:48 +0000 (13:21 +0200)]
v4l2-ctl: split off overlay options.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 11:10:20 +0000 (13:10 +0200)]
v4l2-ctl: split off vidout options.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 10:50:54 +0000 (12:50 +0200)]
v4l2-ctl: split off the vidcap options.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 09:29:57 +0000 (11:29 +0200)]
v4l2-ctl: split off standards/timings options.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 09:13:56 +0000 (11:13 +0200)]
v4l2-ctl: split off all input/output options.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 08:57:45 +0000 (10:57 +0200)]
v4l2-ctl: split off tuner options.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 26 Jul 2012 08:32:06 +0000 (10:32 +0200)]
v4l2-ctl: split up this overly large source.
Phase one: split off the handling of the common options.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 25 Jul 2012 11:55:59 +0000 (13:55 +0200)]
v4l2-compliance: add VIDIOC_S/TRY_FMT tests.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 24 Jul 2012 13:51:32 +0000 (15:51 +0200)]
qv4l2: add support to stream raw frames into a file.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 24 Jul 2012 14:21:45 +0000 (16:21 +0200)]
qv4l2: Add ability to make a snapshot.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 10:24:23 +0000 (12:24 +0200)]
v4l2-compliance: add VBI offset tests.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 09:58:45 +0000 (11:58 +0200)]
qv4l2: fix input/std combobox handling for vbi devices.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 09:58:25 +0000 (11:58 +0200)]
qv4l2: add vbi-tab to .gitignore.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 10:26:30 +0000 (12:26 +0200)]
qv4l2: remove offset checks.
Always assume a 0 offset since the offset as returned by drivers is unreliable.
A later patch will add checks to v4l2-compliance to verify whether the offset
value as returned by the driver makes sense.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 09:56:10 +0000 (11:56 +0200)]
v4l2-compliance: improve std input/output mask checks.
Make sure that ENUMSTD returns the same mask as is specified by
ENUMINPUT/OUTPUT. Also, test that QUERYSTD isn't supported for outputs.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 09:01:13 +0000 (11:01 +0200)]
v4l2-ctl: only show common options by default.
And add new help options to see the various help categories. This should
simplify the use of v4l2-ctl.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 08:46:50 +0000 (10:46 +0200)]
v4l2-compliance: improve querycap test, add missing newlines.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Sylwester Nawrocki [Sun, 22 Jul 2012 20:42:02 +0000 (22:42 +0200)]
v4l2-ctl: Add support for VIDIOC_G/S_SELECTION ioctls
This patch adds following commands for the selection API ioctls:
--get-selection, --set-selection,
--get-selection-output, --set-selection-output.
All supported selection rectangles at a video node are now also
displayed in case of --all command.
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 23 Jul 2012 08:02:00 +0000 (10:02 +0200)]
v4l2-compliance: Add commas to increase readability of displayed result
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 20 Jul 2012 13:03:10 +0000 (15:03 +0200)]
qv4l2: add support for sliced VBI.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 20 Jul 2012 10:47:56 +0000 (12:47 +0200)]
qv4l2: add raw VBI support.
Note: the slicing code was copied from zvbi. Eventually I intend to move the
slicing code to a library. It effectively transforms raw VBI into sliced VBI,
so that should make it very easy for applications to handle both raw and
sliced VBI.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 19 Jul 2012 11:42:44 +0000 (13:42 +0200)]
v4l2-compliance: add mem2mem support.
Some tests needed to be modified for mem2mem devices: such devices have
per-filehandle state so certain tests that check how two open device nodes
interact with one another are not valid for this class of devices.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 16 Jul 2012 13:52:04 +0000 (15:52 +0200)]
v4l2-compliance: use device_caps instead of capabilities.
Fix some querycap tests.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Mon, 16 Jul 2012 13:50:46 +0000 (15:50 +0200)]
v4l2-compliance: fix timings_cap test.
If the driver doesn't implement VIDIOC_DV_TIMINGS_CAP, then this test
failed when it should have returned OK.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 11 Jul 2012 12:06:56 +0000 (14:06 +0200)]
v4l2-compliance: improve DV timings checks.
Add tests for ENUM_DV_TIMINGS, QUERY_DV_TIMINGS and DV_TIMINGS_CAP.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans de Goede [Mon, 9 Jul 2012 11:23:41 +0000 (13:23 +0200)]
libv4l2: dqbuf: Don't requeue buffers which we are returning to the app
We retry dqbuf when we get a short frame or a decode error, but if the retries
are exhausted and the frame is short we will return the (short) buffer to the
caller, since returning a short frame is better then not returning anything
at all.
This means that we must not re-queue it then! Also see:
https://bugzilla.redhat.com/show_bug.cgi?id=838279
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 9 Jul 2012 08:13:11 +0000 (10:13 +0200)]
libv4l2: Ensure we always set buf->length when converting
Some apps blindly use buf->length when calling munmap, even if a previous
call (ie dqbuf) on the buffer failed. We used to not set buf->length to
our conversion buffer length when the actual ioctl call to the device, or
the format conversion failed.
When a dqbuf succeeded and the conversion failed this which would cause
us to leave buf->length set to the real buffer length rather then the
conversion buffer length, if the app then wrongly uses buf->length (*)
for a munmap we would not recognize this as munmap of the conversion
buffer and pass it through to the real munmap unmapping a part of
our conversion buf without being aware of this!
*) After from the point of the app a failed dqbuf, so it should not trust the
contents of buf at all.
This patch makes things work even for buggy apps, by always setting
buf->length when converting even if things fail.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Gregor Jasny [Sun, 8 Jul 2012 15:07:52 +0000 (17:07 +0200)]
libdvbv5: Fix compilation with hardening flags enabled
dvb-fe.c:874:3: error: format not a string literal and no format arguments [-Werror=format-security]
Standard flags set by dpkg-buildflags:
CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
CPPFLAGS=-D_FORTIFY_SOURCE=2
CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
LDFLAGS=-Wl,-z,relro
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
André Roth [Fri, 6 Jul 2012 18:23:12 +0000 (15:23 -0300)]
libdvbv5: Support multi section DVB tables, string parsing
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Fri, 6 Jul 2012 18:23:11 +0000 (15:23 -0300)]
libdvbv5: Fix DiSEqC and LNB handling
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Fri, 6 Jul 2012 18:23:10 +0000 (15:23 -0300)]
libdvbv5: New DVB table parsing
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Fri, 6 Jul 2012 18:23:09 +0000 (15:23 -0300)]
libdvbv5: Fix set delsys other than current
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Fri, 6 Jul 2012 18:23:08 +0000 (15:23 -0300)]
libdvbv5: Fix dvb-file USER CMD
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Fri, 6 Jul 2012 15:13:35 +0000 (17:13 +0200)]
libv4l: use syscall() on kFreeBSD instead of __syscall()
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sat, 23 Jun 2012 15:36:47 +0000 (12:36 -0300)]
[media] keytable: first search table in userdir, then in systemdir
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Sat, 23 Jun 2012 15:36:46 +0000 (12:36 -0300)]
[media] keytable: Preinstall keytables relative to sysconfdir
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Sat, 23 Jun 2012 15:36:45 +0000 (12:36 -0300)]
[media] keytable: Make udev rules dir configurable
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Thu, 5 Jul 2012 11:16:37 +0000 (13:16 +0200)]
v4l2-compliance: improve RDS capability checking.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 29 Jun 2012 11:54:59 +0000 (13:54 +0200)]
videodev2.h: copy the latest version from the kernel.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 29 Jun 2012 11:52:48 +0000 (13:52 +0200)]
videodev2.h: update to the latest kernel version.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 29 Jun 2012 11:52:23 +0000 (13:52 +0200)]
Revert "v4l2-ctl: Add support for printing band info to G_TUNER / G_MODULATOR code"
This reverts commit
7590300afb1c809ca84f58f925653d84422c49ad.
The multiband support is going to be implemented differently.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 29 Jun 2012 11:52:00 +0000 (13:52 +0200)]
Revert "v4l2-ctl: Add support for setting the band to S_TUNER / S_MODULATOR"
This reverts commit
ac23fa07d11daf1d1f95ea9f73a6dc589e984742.
The multiband support is going to be implemented differently.
Conflicts:
utils/v4l2-ctl/v4l2-ctl.cpp
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 29 Jun 2012 11:50:32 +0000 (13:50 +0200)]
Revert "v4l2-ctl: Replace fm-eur_us with fm-eur-us"
This reverts commit
d0240d8d081e5c59246d543c9d53091497f229ee.
The multiband support is going to be implemented differently.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Gregor Jasny [Wed, 27 Jun 2012 08:04:16 +0000 (01:04 -0700)]
libdvbv5: Fix compilation on RHEL5
In file included from /usr/include/stdlib.h:438,
from ../../lib/include/dvb-fe.h:26,
from dvb-fe.c:22:
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:13: error: previous declaration of 'dev_t' was here
/usr/include/sys/types.h:67: error: conflicting types for 'gid_t'
/usr/include/linux/types.h:27: error: previous declaration of 'gid_t' was here
/usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
/usr/include/linux/types.h:15: error: previous declaration of 'mode_t' was here
/usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
/usr/include/linux/types.h:16: error: previous declaration of 'nlink_t' was here
/usr/include/sys/types.h:82: error: conflicting types for 'uid_t'
/usr/include/linux/types.h:26: error: previous declaration of 'uid_t' was here
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Brilliantov Kirill Vladimirovich [Wed, 27 Jun 2012 17:33:21 +0000 (19:33 +0200)]
v4l2-compliance: Remove unsupported option from help message
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Wed, 27 Jun 2012 17:29:41 +0000 (19:29 +0200)]
buildsystem: Use AM_SILENT_RULES only if available
Automake on RHEL5 is too old for AM_SILENT_RULES.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Wed, 27 Jun 2012 08:07:04 +0000 (01:07 -0700)]
libv4l: Compile wrappers only if shared libraries are enabled/available
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 25 Jun 2012 16:34:37 +0000 (18:34 +0200)]
libv4l: Include autoconf config.h file to export logging symbols
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 24 Jun 2012 16:02:15 +0000 (18:02 +0200)]
libdvbv5: constify more parameters and fields
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 24 Jun 2012 16:01:14 +0000 (18:01 +0200)]
libdvbv5: Make dvb_copy_fe_props static
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 24 Jun 2012 15:58:23 +0000 (17:58 +0200)]
libdvbv5: Stricter input validation
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 24 Jun 2012 15:31:48 +0000 (17:31 +0200)]
Ignore generated gettext files
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 24 Jun 2012 15:19:29 +0000 (17:19 +0200)]
libv4l: Properly detect GCC symbol visibility support
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans Verkuil [Sun, 24 Jun 2012 10:37:04 +0000 (12:37 +0200)]
v4l2-compliance: fix segfault.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Gregor Jasny [Wed, 20 Jun 2012 16:18:31 +0000 (18:18 +0200)]
qv4l2: Fix out of tree builds
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Wed, 20 Jun 2012 15:31:37 +0000 (17:31 +0200)]
Revert "[media] [v4l-utils] Add configure option to allow qv4l2 disable"
This reverts commit
06e5235b4e1514f9234a21942261ba417deb106c.
Another patch to disable qv4l2 was already added via
7fc9fa40e7fd1a72688c6f43fc11e085079b3f0c
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Ezequiel García [Wed, 30 May 2012 12:42:44 +0000 (09:42 -0300)]
[media] [v4l-utils] Add configure option to allow qv4l2 disable
This patch could ease the job of a few people,
by providing an option they actually need.
OpenWRT [1] and Openembedded [2] are already disabling
qv4l2 by applying ugly patches.
[1] https://dev.openwrt.org/browser/packages/libs/libv4l/patches/004-disable-qv4l2.patch
[2] http://patches.openembedded.org/patch/21469/
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Mon, 18 Jun 2012 20:46:31 +0000 (22:46 +0200)]
kFreeBSD: Add stdint.h header file where (u)intXX_t types were used
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 17:40:22 +0000 (19:40 +0200)]
dvb-utils: enable build on all systems
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 17:38:45 +0000 (19:38 +0200)]
buildsystem: add contrib/freebsd/include as a header search path when not on Linux
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 17:29:04 +0000 (19:29 +0200)]
Add generated (k)FreeBSD header files
Gregor Jasny [Mon, 18 Jun 2012 16:53:58 +0000 (18:53 +0200)]
Add (k)FreeBSD header file generation to kernel sync target
Signed-off-by: Gregor Jasny <gregor.jasny@citrix.com>
Gregor Jasny [Mon, 18 Jun 2012 17:28:03 +0000 (19:28 +0200)]
libdvbv5: Properly use and link iconv on non Linux systems
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 17:21:12 +0000 (19:21 +0200)]
dvbv5-zap: Use O_LARGEFILE only if available
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 17:01:34 +0000 (19:01 +0200)]
libdvbv5: Rewrite non portable select loop
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 16:59:07 +0000 (18:59 +0200)]
libdvbv5: Use standard compliant header for malloc
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 18 Jun 2012 16:56:58 +0000 (18:56 +0200)]
libdvbv5: Drop duplicate ioctl definitions
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans Verkuil [Wed, 13 Jun 2012 12:09:37 +0000 (14:09 +0200)]
v4l2-compliance: remove incorrect timings test.
The 'reserved' field is a union with a struct. So don't test whether 'reserved'
was zeroed.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Wed, 13 Jun 2012 11:47:44 +0000 (13:47 +0200)]
qv4l2: fix incorrect handling of return value of v4lconvert_convert
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Gregor Jasny [Mon, 11 Jun 2012 19:59:25 +0000 (21:59 +0200)]
libv4l: Move dev ops to libv4lconvert
As discussed with Hans de Goede, this patch moves the plugin dev-ops
structure to libv4lconvert. It was also renamed to libv4l_dev_ops.
As a positive side effect we restored SONAME compatibility with
the 0.8.x releases.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 11 Jun 2012 19:21:10 +0000 (21:21 +0200)]
qv4l2: Render icon for 32x32 pixel (was 32x36)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 11 Jun 2012 19:00:17 +0000 (21:00 +0200)]
rds: Build only if linux/i2c-dev.h header is present
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 11 Jun 2012 18:29:44 +0000 (20:29 +0200)]
contrib/test: Add to build system
During the conversion to autotools the contrib/test Makefile
got lost. Re-add the test tools. Thanks to Franck Bourdonnec
for pointing this out.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Fri, 18 May 2012 20:07:52 +0000 (17:07 -0300)]
[media] libdvbv5: constify and hide dvb_sat_lnb
[mchehab@redhat.com: patch rebased to apply against the latest version]
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Mon, 11 Jun 2012 17:09:20 +0000 (19:09 +0200)]
ir-keytable: Add support for RC-5-SZ protocol
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Mon, 11 Jun 2012 06:57:46 +0000 (08:57 +0200)]
qv4l2: fix vbi display.
Rather than (ab)use the normal libv4l picture format conversion, just do it
in a separate capVbiFrame method.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 13:25:28 +0000 (15:25 +0200)]
qv4l2: add basic raw VBI support.
Just show the VBI data as a greyscale picture.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 13:04:39 +0000 (15:04 +0200)]
libv4l*: add V4L2_CAP_DEVICE_CAPS support.
If V4L2_CAP_DEVICE_CAPS is set, then use device_caps instead of capabilities
since that gives the exact capabilities of the device node.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 11:41:51 +0000 (13:41 +0200)]
qv4l2: don't show afc if signal strength == 0.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 09:44:59 +0000 (11:44 +0200)]
qv4l2: add support for radio modulators.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 09:25:35 +0000 (11:25 +0200)]
qv4l2: add channel detection.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 08:51:05 +0000 (10:51 +0200)]
qv4l2: add audio mode support.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 08:29:51 +0000 (10:29 +0200)]
qv4l2: improve statusbar behavior.
When capturing don't overwrite the statusbar with the frame number/rate if
it is showing something else (like a statustip from a control).
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 08:17:13 +0000 (10:17 +0200)]
qv4l2: improve frequency and radio support.
Enter frequency in MHz (TV) or kHz (radio) rather than the v4l2_frequency value.
Disable/remove all video related items when a radio device is selected.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 10 Jun 2012 07:31:58 +0000 (09:31 +0200)]
qv4l2: fix interval updating, use device_caps, handle conversion errors.
Choosing a new interval when capturing failed (of course), but the combobox
wasn't put back to the old position.
Now support device_caps for better capability reporting.
If a format can't be converted, then still memcpy it: that's better than a
black window.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>