Hans de Goede [Fri, 4 Mar 2011 20:09:46 +0000 (21:09 +0100)]
libv4l: take exposure minimum into account when calculating exposure low
Take the exposure minimum val into account when calculating the exposure low
threshold for sw autogain.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Sat, 26 Feb 2011 12:27:51 +0000 (09:27 -0300)]
qv4l2.svg: Updated to the version used to generate the bitmaps
The basic draw is the same, but this version uses a template on
inkscape for icons generation, and have the real scales used to
generate the bitmaps.
Also, corrected the svg meta-data to properly point to an open
license for the drawing.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sat, 26 Feb 2011 12:20:22 +0000 (09:20 -0300)]
qv4l2: Add a desktop description for qv4l2 and new icons.
As we intend to have qv4l2 application installed on distros, we
need a .desktop description for it, plus icons of different sizes.
Created a svg icon close to the existing one, and added bitmaps
for it with different resolutions typically found on modern X
menus (16x16, 24x24, 32x32 and 64x64 resolutions). All of them
derivated from the svg file, and generated using inkscape.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Thu, 17 Feb 2011 09:22:17 +0000 (10:22 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Jean-François Moine [Tue, 15 Feb 2011 15:47:41 +0000 (16:47 +0100)]
v4l-utils: Add the JPEG Lite decoding function
JPEG Lite images are created by the DivIO nw80x chips.
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 11 Feb 2011 12:27:57 +0000 (13:27 +0100)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 11 Feb 2011 12:29:04 +0000 (13:29 +0100)]
Mark as version 0.8.4-test
Hans de Goede [Wed, 9 Feb 2011 21:38:06 +0000 (22:38 +0100)]
Release 0.8.3
Hans de Goede [Wed, 9 Feb 2011 22:02:55 +0000 (23:02 +0100)]
libv4l1: Handle devices with overlay capability too
This may need more testing, but with the kernel compatibility gone,
libv4l1 now *must* handle these devices too.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 9 Feb 2011 21:34:11 +0000 (22:34 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 9 Feb 2011 21:28:57 +0000 (22:28 +0100)]
libv4l: Make check for IDEALMAX/PEGA PC H34 upside down camera less strict
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 9 Feb 2011 21:10:13 +0000 (22:10 +0100)]
libv4l: Make check for ThinkPad X201 upside down camera less strict
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 9 Feb 2011 21:02:35 +0000 (22:02 +0100)]
Fix new compiler warnings thrown by gcc-4.6
And fix 2 real bugs pointed out by these warnings!
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 9 Feb 2011 19:07:30 +0000 (20:07 +0100)]
libv4l1: Add linux/videodev.h replacement file
Add linux/videodev.h replacement file, since that has (finally) been removed
from the kernel.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Mon, 31 Jan 2011 19:14:35 +0000 (17:14 -0200)]
parse_cx231xx.pl: Fix write_ctrl msg
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 31 Jan 2011 19:10:42 +0000 (17:10 -0200)]
parse_cx231xx.pl: Remove some spurious messages
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 31 Jan 2011 18:21:12 +0000 (16:21 -0200)]
parse_cx231xx.pl: Fix the parser for messages that we don't translate yet
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 31 Jan 2011 18:11:48 +0000 (16:11 -0200)]
parse_cx231xx.pl: add config registers to the parser
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 26 Jan 2011 19:01:00 +0000 (17:01 -0200)]
ir-keytable: Show device repeat rate without any arguments
If it has read permission for /dev/input/event?, it will display
extra capabilities. In general, this requires root access.
Otherwise, it will print a warning message saying that the access
were denied.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 26 Jan 2011 18:49:45 +0000 (16:49 -0200)]
ir-keytables: Move show logic to a separate function
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 26 Jan 2011 18:40:15 +0000 (16:40 -0200)]
ir-keytable: Add support to adjust repeat period/delay
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Tue, 25 Jan 2011 15:17:51 +0000 (16:17 +0100)]
Release 0.8.2
Hans de Goede [Tue, 25 Jan 2011 11:40:19 +0000 (12:40 +0100)]
Fix ir-keytable manpage installation
Install under $(PREFIX)/share/man/man1 rather then /man/man1, and
install the manpage not the binary :)
Signed-off-By: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Tue, 25 Jan 2011 14:07:53 +0000 (12:07 -0200)]
ir-keytable: Be a little more pedantic with EVIOGKEYCODE
V1 always use u_int32_t. V2 can use different lengths, but,
currently, the tool is not ready for bigger code sizes.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 25 Jan 2011 14:03:09 +0000 (12:03 -0200)]
ir-keytable: Fix the read logic, when protocol is V1
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 25 Jan 2011 13:56:18 +0000 (11:56 -0200)]
Initialize protocol version
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 25 Jan 2011 12:37:45 +0000 (10:37 -0200)]
Improve keycode reading by using V2 of the input protocol
Instead of seeking for keys into the entire keycode space, use
V2. This allow to read just the codes that are inside the table.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 25 Jan 2011 12:25:01 +0000 (10:25 -0200)]
ir-keytable: Improve cleans by using EVIOSKEYCODE_V2
The new input protocol version found on kernels 2.6.37+ provide a
better way to cleanup the table codes. Instead of having to do a
big for to cleanup the entire scancode space, it just deletes the
already existing keycodes.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Tue, 25 Jan 2011 11:37:05 +0000 (12:37 +0100)]
ir-keytable.1 Add standard manpage markup codes
Add standard manpage markup codes to bold the command name and arguments,
italic the argument options, etc.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 24 Jan 2011 18:49:46 +0000 (19:49 +0100)]
libv4l update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Mon, 24 Jan 2011 15:46:03 +0000 (13:46 -0200)]
Sync keytables with the latest patches for IR
Those changes fix several issues found when double checking
several keytables.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 24 Jan 2011 13:05:25 +0000 (11:05 -0200)]
Fix the tag for manpages sections
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 24 Jan 2011 12:37:02 +0000 (10:37 -0200)]
Add a man page for ir-keytable
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 24 Jan 2011 12:17:26 +0000 (10:17 -0200)]
Add a template for ir-keytable man page
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Mon, 24 Jan 2011 10:50:44 +0000 (11:50 +0100)]
Makefiles: preserve timestamps when installing keympa files
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Mon, 24 Jan 2011 06:05:46 +0000 (04:05 -0200)]
gen_keytables.pl: Fix a parsing bug that were generating wrong entries
There's a parsing bug that were generating wrong entries, in
cases where there were some commented possible values for KEY_
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 23 Jan 2011 17:01:48 +0000 (15:01 -0200)]
Be sure that udev directory exists
This is needed when DISTDIR is used
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 23 Jan 2011 16:51:15 +0000 (14:51 -0200)]
Fix it to install udev rules at $DESTDIR
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 23 Jan 2011 15:16:16 +0000 (13:16 -0200)]
Installs an udev rule for loading the IR keymaps
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 23 Jan 2011 15:13:39 +0000 (13:13 -0200)]
rc_keymaps: Sync with kernel 2.6.38-rc2 + linux-next changes for drivers/media
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 23 Jan 2011 15:12:55 +0000 (13:12 -0200)]
ir-keytable: Prints error if get key fails
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Sun, 23 Jan 2011 11:43:25 +0000 (12:43 +0100)]
Fix building when CFLAGS are overridden from the make cmdline
Signed-off-By: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 23 Jan 2011 11:38:21 +0000 (12:38 +0100)]
Fix Makefile error propagation
We were handling the subdirs in utils/Makefile in such a way that make failing
in one of the subdirs would not abort the build.
Signed-off-By: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 23 Jan 2011 11:16:54 +0000 (12:16 +0100)]
Use $(MAKE) rather then make in Makefiles calling others
This fixes the:
"jobserver unavailable: using -j1. Add `+' to parent make rule"
messages seen when doing a parallel build.
Hans Verkuil [Sat, 22 Jan 2011 21:36:59 +0000 (22:36 +0100)]
v4l2-compliance: improve input/output tests.
Radio devices should not have inputs and outputs at all. Check this.
Also improve audioset checking and various fixes.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 22 Jan 2011 09:04:00 +0000 (10:04 +0100)]
v4l2-compliance: add fixme.txt keeping track of API problems.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 21 Jan 2011 22:38:31 +0000 (23:38 +0100)]
v4l2-compliance: implement verbosity level, improve warnings.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 21 Jan 2011 21:52:34 +0000 (22:52 +0100)]
v4l2-compliance: add VIDIOC_G/S/TRY_EXT_CTRLS tests
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 21 Jan 2011 20:45:33 +0000 (21:45 +0100)]
v4l2-compliance: add VIDIOC_G/S_FREQUENCY tests.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 21 Jan 2011 17:42:07 +0000 (18:42 +0100)]
v4l2-compliance: improve consistency of messages, require prio support
The priority calls must be supported to pass this test suite.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Fri, 21 Jan 2011 20:29:24 +0000 (21:29 +0100)]
Update ChangeLog for changes since 0.8.1
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 21 Jan 2011 20:17:09 +0000 (21:17 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Fri, 21 Jan 2011 17:16:23 +0000 (18:16 +0100)]
v4l2-compliance: add TODO list of still-to-be-tested ioctls.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 21 Jan 2011 17:08:56 +0000 (18:08 +0100)]
v4l2-compliance: add tests for QUERYSTD and QUERY_DV_PRESET
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 21 Jan 2011 17:00:07 +0000 (18:00 +0100)]
v4l2-compliance: add DV_PRESET and DV_TIMINGS tests.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 21 Jan 2011 16:36:34 +0000 (17:36 +0100)]
v4l2-compliance: test ENUMSTD.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 21 Jan 2011 16:17:54 +0000 (17:17 +0100)]
v4l2-compliance: add G/S_STD tests
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 21 Jan 2011 16:17:00 +0000 (17:17 +0100)]
Merge branch 'master' of ssh://linuxtv.org/git/v4l-utils
Hans de Goede [Fri, 21 Jan 2011 14:43:17 +0000 (15:43 +0100)]
libv4l: update upside down devices table
Gregor Jasny [Fri, 21 Jan 2011 14:41:37 +0000 (15:41 +0100)]
Fix broken v4lutil Makefiles
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Gregor Jasny [Wed, 19 Jan 2011 14:34:17 +0000 (15:34 +0100)]
Fix broken v4lutil Makefiles
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 19 Jan 2011 09:17:53 +0000 (10:17 +0100)]
libv4l update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com># Please enter the commit message for your changes. Lines starting
Hans Verkuil [Tue, 18 Jan 2011 10:06:54 +0000 (11:06 +0100)]
v4l2-ctl: set S_FREQUENCY type to RADIO for modulators.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Mon, 17 Jan 2011 19:40:13 +0000 (20:40 +0100)]
v4l2-ctl: fix --get-modulator output
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Mon, 17 Jan 2011 13:14:49 +0000 (14:14 +0100)]
Revert "v4l2-ctl/compliance: use local libv4l2 rather than the installed version."
This reverts commit
34b49ec47fc1e517485b221366a7d2a207306304.
Conflicts:
utils/v4l2-compliance/Makefile
This patch didn't work if you didn't have libv4l installed.
For now just revert this until we have a better solution.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 16 Jan 2011 17:52:07 +0000 (18:52 +0100)]
v4l2-compliance: add kernel version check to avoid kernel oops
Due to a bug in kernels <= 2.6.37 the kernel can crash if an attempt is made
to set a control of type CTRL_CLASS. Don't do this on such kernels.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 16 Jan 2011 17:21:37 +0000 (18:21 +0100)]
v4l2-compliance: add capability checks, start on STD testing
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 16 Jan 2011 16:05:18 +0000 (17:05 +0100)]
v4l2-compliance: add VIDIOC_G/S_CTRL tests
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 16 Jan 2011 11:20:26 +0000 (12:20 +0100)]
v4l2-ctl/compliance: use local libv4l2 rather than the installed version.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 16 Jan 2011 10:55:00 +0000 (11:55 +0100)]
v4l2-compliance: if no device is specified, then use /dev/video0
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 16 Jan 2011 10:52:34 +0000 (11:52 +0100)]
v4l2-ctl: add -w option to use libv4l2.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 16 Jan 2011 10:36:56 +0000 (11:36 +0100)]
v4l2-compliance: add support for libv4l2
With the new -w argument the test suite will be run using libv4l2.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 16 Jan 2011 10:15:35 +0000 (11:15 +0100)]
v4l2-compliance: improve reporting of results.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 16 Jan 2011 09:53:01 +0000 (10:53 +0100)]
qv4l2: handle VIDIOC_DQBUF error code EAGAIN correctly
qv4l2 would stop streaming if it receives EAGAIN from VIDIOC_DQBUF
instead of continuing. The same error code from read() was handled
correctly.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mauro Carvalho Chehab [Wed, 12 Jan 2011 14:59:36 +0000 (12:59 -0200)]
ir-keytable: Improve keycode output to display both key name and its value
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 12 Jan 2011 14:38:33 +0000 (12:38 -0200)]
ir-keytable: Improve events output and add event sync
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 12 Jan 2011 14:28:31 +0000 (12:28 -0200)]
ir-keytable: Fix keycode output in test mode
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Wed, 12 Jan 2011 07:34:21 +0000 (08:34 +0100)]
Merge branch 'master' of ssh://linuxtv.org/git/v4l-utils
Hans Verkuil [Wed, 12 Jan 2011 07:33:23 +0000 (08:33 +0100)]
v4l2-dbg: better QUERYCAP version reporting.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Wed, 12 Jan 2011 07:32:43 +0000 (08:32 +0100)]
v4l2-ctl: better QUERYCAP version reporting
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Wed, 12 Jan 2011 07:30:33 +0000 (08:30 +0100)]
v4l2-compliance: various fixes/improvements
- add warn and info macros
- always print fail messages, no longer require --verbose
- a few more QUERYCTRL checks
- better QUERYCAP handling
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Mon, 10 Jan 2011 18:25:07 +0000 (19:25 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 9 Jan 2011 11:19:41 +0000 (12:19 +0100)]
libv4l1: Add a comment about VIDEO_PALETTE_RGB24 really being BGR24
Various people see problems with red and blue being swapped in some
v4l1 apps and then end up sending libv4l1 patches. Explain (in the source)
that they should be patching the apps instead :)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Sun, 9 Jan 2011 21:58:32 +0000 (22:58 +0100)]
v4l2-compliance: add queryctrl/querymenu tests.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 8 Jan 2011 18:54:29 +0000 (19:54 +0100)]
v4l2-compliance: mark radio node.
'is_radio' wasn't set properly when testing radio devices.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 8 Jan 2011 18:39:46 +0000 (19:39 +0100)]
v4l2-compliance: add tuner/modulator tests.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 8 Jan 2011 17:48:45 +0000 (18:48 +0100)]
v4l2-compliance: simplify doioctl
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 8 Jan 2011 17:34:11 +0000 (18:34 +0100)]
v4l2-compliance: add tests for A/V input/output ioctls.
Also did a major reorganization of the way failures are reported. This should
make it much easier to track down the cause of failures.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 8 Jan 2011 11:55:04 +0000 (12:55 +0100)]
v4l2-compliance: report "Not supported" if VIDIOC_G_PRIORITY is not supported.
Currently v4l2-compliance just reports FAIL in that case.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 8 Jan 2011 11:45:57 +0000 (12:45 +0100)]
v4l2-compliance: report VIDIOC_DBG_G_REGISTER as 'Not supported'
If VIDIOC_DBG_G_REGISTER is not supported, then v4l2-compliance would just
say 'OK' instead of 'Not supported'.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Fri, 7 Jan 2011 09:49:57 +0000 (10:49 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Thu, 6 Jan 2011 09:58:49 +0000 (10:58 +0100)]
qv4l2: add -r option to qv4l2 to open the initial device in raw mode
By default qv4l2 opens the device node in wrapped mode (i.e. using libv4l2).
By adding the new -r option the device node is opened in raw mode, bypassing
libv4l2.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans de Goede [Wed, 5 Jan 2011 14:19:19 +0000 (15:19 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Mon, 3 Jan 2011 14:39:37 +0000 (15:39 +0100)]
Philips SPC315NC is vertically flipped
Signed-off-by: Mauro Carvalho Chehab<mchehab@redhat.com>
Hans Verkuil [Fri, 31 Dec 2010 15:22:52 +0000 (16:22 +0100)]
libv4l2util/v4l2_driver.c: fix compile warnings
v4l2_driver.c: In function ‘v4l2_enum_stds’:
v4l2_driver.c:200: warning: unused variable ‘id’
v4l2_driver.c:199: warning: unused variable ‘ret’
v4l2_driver.c: In function ‘v4l2_enum_input’:
v4l2_driver.c:243: warning: unused variable ‘id’
v4l2_driver.c:242: warning: unused variable ‘ret’
v4l2_driver.c: In function ‘v4l2_enum_fmt’:
v4l2_driver.c:284: warning: unused variable ‘id’
v4l2_driver.c:283: warning: unused variable ‘ret’
v4l2_driver.c:281: warning: unused variable ‘fmt’
v4l2_driver.c: In function ‘v4l2_setget_input’:
v4l2_driver.c:372: warning: unused variable ‘i’
v4l2_driver.c: In function ‘v4l2_mmap_bufs’:
v4l2_driver.c:598: warning: unused variable ‘tc’
v4l2_driver.c: In function ‘v4l2_getset_freq’:
v4l2_driver.c:761: warning: unused variable ‘counter’
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 31 Dec 2010 15:19:06 +0000 (16:19 +0100)]
decode_tm6000: fix compile warnings
decode_tm6000.c: In function ‘main’:
decode_tm6000.c:253: warning: unused variable ‘pktsize’
decode_tm6000.c:253: warning: unused variable ‘cpysize’
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 31 Dec 2010 15:18:03 +0000 (16:18 +0100)]
cx18-ctl: fix compile warnings
cx18-ctl.c: In function ‘main’:
cx18-ctl.c:262: warning: unused variable ‘ptsstr’
cx18-ctl.c:261: warning: unused variable ‘timestamp’
cx18-ctl.c:254: warning: unused variable ‘yuv_mode’
cx18-ctl.c: At top level:
cx18-ctl.c:125: warning: ‘pts_to_string’ defined but not used
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 31 Dec 2010 15:16:27 +0000 (16:16 +0100)]
firmware-tool: fix compile warnings
firmware-tool.c: In function ‘add_standard’:
firmware-tool.c:566: warning: unused variable ‘i’
firmware-tool.c: In function ‘seek_chunks’:
firmware-tool.c:783: warning: label ‘not_found’ defined but not used
firmware-tool.c:619: warning: unused variable ‘rc’
firmware-tool.c:618: warning: unused variable ‘lastp’
firmware-tool.c: In function ‘seek_firmware’:
firmware-tool.c:831: warning: unused variable ‘fpos’
firmware-tool.c:831: warning: unused variable ‘p2’
firmware-tool.c: In function ‘main’:
firmware-tool.c:973: warning: unused variable ‘nr’
firmware-tool.c: At top level:
firmware-tool.c:63: warning: ‘alloc_firmware_description’ defined but not used
firmware-tool.c:72: warning: ‘free_firmware_description’ defined but not used
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 31 Dec 2010 15:12:11 +0000 (16:12 +0100)]
v4l2-sysfs-path: fix compile warnings
v4l2-sysfs-path.c: In function ‘seek_name’:
v4l2-sysfs-path.c:148: warning: unused variable ‘minor’
v4l2-sysfs-path.c:148: warning: unused variable ‘major’
v4l2-sysfs-path.c:145: warning: unused variable ‘st’
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Fri, 31 Dec 2010 10:55:44 +0000 (11:55 +0100)]
qv4l2: When in wrapped mode memcpy the actual framesize
Signed-off-by: Hans de Goede <hdegoede@redhat.com>