Hans de Goede [Mon, 8 Nov 2010 19:19:20 +0000 (20:19 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 18:43:47 +0000 (16:43 -0200)]
rc_keymaps: remove legacy IR tables
af9015 driver were converted to rc_core. Their tables changed, and
are already in the tree. So, remove the legacy ones. Also remove
the "empty" table, as it is not needed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 18:41:53 +0000 (16:41 -0200)]
keytable: auto-generate rc_maps.cfg
Retrieve assosiations between RC table file and the in-kernel name
representation for each keymap.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 18:21:02 +0000 (16:21 -0200)]
keytable: Move find logic to gen_keytables.pl
Instead of using shell commands, at Makefile, move the logic to
happen inside gen_keytables.pl. This will allow adding another
parsing logic there, based on the read of include/media/rc-map.h.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 17:47:35 +0000 (15:47 -0200)]
gen_keytables.pl: use a function to create files
We want to move part of the logic from Makefile into gen_keytables.pl,
in order to make it process a group of files. So, convert the main
logic into a function.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 17:41:26 +0000 (15:41 -0200)]
gen_keytables.pl: Warn if a in-driver table is found
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 16:48:15 +0000 (14:48 -0200)]
keytable: make it report the proper v4l-utils version
./ir-keytable --version
IR keytable control version 0.8.2-test
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 15:48:10 +0000 (13:48 -0200)]
parse_cx231xx.pl: improve GPIO messages on decoding
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 15:41:31 +0000 (13:41 -0200)]
Print a generic message for the URB's that aren't currently parsed
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 15:35:53 +0000 (13:35 -0200)]
Add GPIO decoding logic
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 14:22:08 +0000 (12:22 -0200)]
rc_keymaps: add a table for digitalnow_tinytwin
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 14:19:44 +0000 (12:19 -0200)]
rc_keymaps: sync anysee keytable with in-kernel keytable
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Tue, 2 Nov 2010 15:11:33 +0000 (16:11 +0100)]
Install config files to $(DESTDIR)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 2 Nov 2010 12:48:32 +0000 (13:48 +0100)]
libv4l update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 2 Nov 2010 11:15:50 +0000 (12:15 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 18 Oct 2010 08:08:47 +0000 (10:08 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Sun, 17 Oct 2010 23:15:34 +0000 (21:15 -0200)]
rc_keymaps: sync with latest development kernel
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 16:21:39 +0000 (13:21 -0300)]
parse_saa7134.pl: add logic to detect transactions without STOP
Read operations with sub-addresses are done by a write to the write address,
plus a read. Between the write and read, there's no stop.
For example, a read from eeprom, starting at eeprom address 0 will
be displayed as:
write_i2c_addr(0x50, 1, { 0x00}); /* INCOMPLETE */
read_i2c_addr(0x50, 23) /* 0xde, 0x17, 0x36, 0xb1, 0x54, 0x20, 0x1c, 0x00, 0x43, 0x43, 0xa9, 0x1c, 0x55, 0xd2, 0xb2, 0x92, 0xff, 0xff, 0xff, 0xff, 0xff, 0x20, 0xff */;
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 15:55:26 +0000 (12:55 -0300)]
parse_saa7134.pl: Improve parser to group i2c register writes
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 03:57:42 +0000 (00:57 -0300)]
parse_saa7134.pl: Add timestamp at the logs
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 03:42:01 +0000 (00:42 -0300)]
parse_saa7134.pl: Properly handle I2C transactions
Instead of printing raw register reads/writes for I2C transactions,
use a more high-level print. By default, it will discard intermediate
transactions, like waiting for non-busy status.
A write transaction will look like:
write_i2c(DONE_STOP, START, 0x96)
write_i2c(DONE_WRITE, CONTINUE, 0xff)
write_i2c(DONE_WRITE, CONTINUE, 0x02)
write_i2c(DONE_WRITE, STOP, 0x00)
The better would be to group those operations, into something like:
write_i2c_addr (0x96, "0xff, 0x02, 0x00");
or
write_i2c_addr (0x96, "0xff0200");
But this is not an easy task, especially since it may have some
read operations in-between. So, let's postpone such higher level
grouping to future improvements in the parser ;)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 02:52:36 +0000 (23:52 -0300)]
contrib/saa7134: adds a parser for saa7134 logs
Adds a parser to get saa7134 logs generated by PCI traffic patches,
at contrib/pci_traffic, like:
1286074716 slow_bar_writel: slow_bar_writel addr=0x0000000000000104 val=0x00009090
1286074716 slow_bar_writel: slow_bar_writel addr=0x0000000000000108 val=0x44804098
1286074716 slow_bar_writel: slow_bar_writel addr=0x000000000000010c val=0x2a810040
1286074716 slow_bar_writel: slow_bar_writel addr=0x0000000000000110 val=0x00000006
Converting them into something more easy to read, like:
saa_writel(SAA7134_ANALOG_IN_CTRL3, 0x9090);
saa_writel(SAA7134_SYNC_CTRL, 0x44804098);
saa_writel(SAA7134_DEC_CHROMA_SATURATION, 0x2a810040);
saa_writel(SAA7134_CHROMA_CTRL2, 0x0006);
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 01:58:31 +0000 (22:58 -0300)]
contrib/pci_traffic: Add some patches for kvm to allow check PCI traffic
Adds some patches that allow checking how PCI registers are accessed,
by running the driver on a virtual kvm machine.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 00:15:45 +0000 (21:15 -0300)]
V4L/DVB: Add a parser for cx231xx i2c logs
This is an incomplete parser for cx231xx. Currently, it
gets only i2c traffic. Yet, this is very useful when adding support
for newer cards with different i2c components on it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Fri, 24 Sep 2010 13:08:51 +0000 (15:08 +0200)]
libv4l: update upside down table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Thu, 23 Sep 2010 13:01:04 +0000 (15:01 +0200)]
libv4l: update upside down device table
Hans de Goede [Tue, 21 Sep 2010 13:46:22 +0000 (15:46 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Sun, 12 Sep 2010 19:29:11 +0000 (21:29 +0200)]
qv4l2: reduce the minimum number of buffers to 2
The pwc driver sets the number of buffers to 2, so fails with our too
conservative check against a minimum of 3 buffers.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Sun, 12 Sep 2010 13:06:45 +0000 (15:06 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Sat, 11 Sep 2010 14:36:37 +0000 (16:36 +0200)]
libv4l2: Update the list of ioctls to the latest videodev2.h
This list in log.c was quite old and seriously out of date with videodev2.h.
Added the newer ioctls and removed the unnecessary test against
VIDIOC_ENUM_FRAMESIZES.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 11 Sep 2010 14:30:29 +0000 (16:30 +0200)]
Start iterating over menu items from the minimum value, not 0.
More a style issue than anything else. It is slightly more efficient
if the minimum menu index is not 0.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Fri, 10 Sep 2010 11:56:47 +0000 (13:56 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Thu, 26 Aug 2010 15:19:37 +0000 (17:19 +0200)]
Prep for 0.8.1 release
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 25 Aug 2010 08:37:41 +0000 (10:37 +0200)]
libv4l: update upside down device table
Hans de Goede [Thu, 12 Aug 2010 12:59:41 +0000 (14:59 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Wed, 4 Aug 2010 11:07:27 +0000 (13:07 +0200)]
qv4l2: fix broken fps determination
The fps determination was done based on a 2s-period timer. However,
this timer would become unreliable if there is a heavy CPU load.
Replaced the timer with gettimeofday calculations.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mats Randgaard [Tue, 3 Aug 2010 12:29:59 +0000 (14:29 +0200)]
v4l2-ctl: Added support for s/g_dv_timings.
Signed-off-by: Mats Randgaard <mats.randgaard@tandberg.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Mon, 2 Aug 2010 08:56:27 +0000 (10:56 +0200)]
contrib/test: add .gitignore
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Mon, 2 Aug 2010 08:50:56 +0000 (10:50 +0200)]
qv4l2: use req.count for userptr capture as well.
For some reason req.count was ignored when capturing in userptr mode.
Instead it was hardcoded to 4.
The clean up is also improved to work around the broken videobuf REQBUFS
handling.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Mon, 2 Aug 2010 08:50:32 +0000 (10:50 +0200)]
qv4l2: add dv_preset support
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mauro Carvalho Chehab [Sun, 1 Aug 2010 14:55:14 +0000 (11:55 -0300)]
rc_keymaps: re-generate files based on current v4l-dvb.git
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 1 Aug 2010 14:36:38 +0000 (11:36 -0300)]
gen_keytables.pl: modified to parse the current version of RC tables
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Fri, 30 Jul 2010 20:04:28 +0000 (17:04 -0300)]
keytable: Add support to enable/disable LIRC protocol
Maybe the better would be to have a separate option for LIRC, but,
for now, let's handle it as just one additional protocol, since it
make the changes easier.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Fri, 30 Jul 2010 19:09:03 +0000 (16:09 -0300)]
keytable: Return an error if setting a protocol fails
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Wed, 28 Jul 2010 08:04:07 +0000 (10:04 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 27 Jul 2010 12:49:31 +0000 (14:49 +0200)]
libv4l: update upside-down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 26 Jul 2010 10:05:46 +0000 (12:05 +0200)]
libv4l: update upside-down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 25 Jul 2010 18:53:14 +0000 (20:53 +0200)]
libv4l: update upside-down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 25 Jul 2010 08:49:22 +0000 (10:49 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 24 Jul 2010 13:46:05 +0000 (15:46 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Thu, 22 Jul 2010 12:59:27 +0000 (14:59 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Thu, 22 Jul 2010 12:43:54 +0000 (14:43 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 18 Jul 2010 09:39:28 +0000 (11:39 +0200)]
libv4l: update upside-down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 4 Jul 2010 10:56:20 +0000 (12:56 +0200)]
libv4l: fixup konica yuv420 conversion code
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Thu, 1 Jul 2010 18:32:15 +0000 (20:32 +0200)]
libv4l: Add support for konica yuv420 format
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 30 Jun 2010 11:20:01 +0000 (13:20 +0200)]
libv4l: update upside-down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Mon, 28 Jun 2010 17:51:53 +0000 (14:51 -0300)]
Add a udev rules file to automatically load RC keytables
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 28 Jun 2010 16:44:59 +0000 (13:44 -0300)]
keytable: add support for the newer sysfs definitions
Kernels 2.6.36 and upper will have a different set of syfs nodes
for protocol changes. Add support for this "version 2" sysfs
definitions, while keep working with the previous "version 1"
sysfs nodes.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Mon, 28 Jun 2010 07:25:56 +0000 (09:25 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 18 Jun 2010 15:11:22 +0000 (17:11 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 11 Jun 2010 06:46:57 +0000 (08:46 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 9 Jun 2010 08:38:40 +0000 (10:38 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Balint Reczey [Tue, 8 Jun 2010 17:36:58 +0000 (19:36 +0200)]
libv4l1: support up to 256 different frame sizes
Logitech, Inc. Webcam Pro 9000 supports 18 wich is more than the the originally
supported 16. 256 should be enough for a while.
Hans de Goede [Tue, 8 Jun 2010 08:01:20 +0000 (10:01 +0200)]
libv4l: Make v4l2_get_control report errors
And handle those errors at the places calling v4l2_get_control.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 8 Jun 2010 07:37:59 +0000 (09:37 +0200)]
libv4l1: Ignore G_TUNER / S_TUNER errors in SAUDIO / GAUDIO
While at properly indent the conditions of an if block and add 2 missing
breaks.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Huzaifa Sidhpurwala [Tue, 8 Jun 2010 03:42:57 +0000 (09:12 +0530)]
libv4l1: move VIDIOCGAUDIO,VIDIOCSAUDIO,VIDIOCGVBIFMT,VIDIOCSVBIFMT
merged two previous patches, now uses v4l2_set_control and
v4l2_get_control
Signed-of-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Hans de Goede [Mon, 7 Jun 2010 08:13:36 +0000 (10:13 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Huzaifa Sidhpurwala [Fri, 4 Jun 2010 07:40:14 +0000 (13:10 +0530)]
libv4l1: move VIDIOCCAPTURE to libv4l1
move VIDIOCCAPTURE to libv4l1
Signed-of-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Huzaifa Sidhpurwala [Fri, 4 Jun 2010 07:23:40 +0000 (12:53 +0530)]
libv4l1: move VIDIOCGFREQ and VIDIOCSFREQ to libv4l1
move VIDIOCGFREQ and VIDIOCSFREQ to libv4l1
Signed-of-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Hans de Goede [Sun, 6 Jun 2010 07:23:43 +0000 (09:23 +0200)]
libv4lconvert: Add support for Xirlink C-It YYVYUY format
This format is produced by some cameras with the Xirlink C-It chipset
(cameras formely handled by the v4l1 ibmcam driver).
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Huzaifa Sidhpurwala [Fri, 4 Jun 2010 06:49:40 +0000 (12:19 +0530)]
libv4l1: move VIDIOCGTUNER and VIDIOCSTUNER to libv4l1
move VIDIOCGTUNER and VIDIOCSTUNER to libv4l1
Signed-of-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Hans de Goede [Tue, 1 Jun 2010 11:07:49 +0000 (13:07 +0200)]
libv4l1: Fix wrong buffer being passed into VIDIOC_G_FBUF call
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Huzaifa Sidhpurwala [Tue, 1 Jun 2010 09:37:21 +0000 (15:07 +0530)]
libv4l1: Move VIDIOCSFBUF into libv4l1
Move VIDIOCSFBUF into libv4l1 and correct a missing
break with the last commit
Signed-Off-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Signed-Off-by: Hans de Goede <hdegoede@redhat.com>
Huzaifa Sidhpurwala [Mon, 31 May 2010 08:03:28 +0000 (13:33 +0530)]
libv4l1: Move VIDIOCGFBUF into libv4l1
Move VIDIOCGFBUF into libv4l1
Signed-off-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 30 May 2010 08:28:24 +0000 (10:28 +0200)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 28 May 2010 08:50:23 +0000 (10:50 +0200)]
libv4l1: Remove code duplication VIDIOCGCHAN
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 28 May 2010 08:31:11 +0000 (10:31 +0200)]
libv4l1: Remove code duplication VIDIOCSCHAN
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 28 May 2010 08:11:59 +0000 (10:11 +0200)]
Always make v4l2 ioctls pass through libv4l2
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 28 May 2010 08:09:18 +0000 (10:09 +0200)]
libv4l1: SCHAN should lead to a S_INPUT not an ENUM_INPUT ioctl
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Huzaifa Sidhpurwala [Fri, 28 May 2010 07:29:14 +0000 (12:59 +0530)]
libv4l1: move v4l1 ioctls from kernel to libv4l1: VIDIOCSCHAN
move VIDIOCSCHAN to libv4l1
Signed-Off-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Huzaifa Sidhpurwala [Tue, 25 May 2010 10:06:39 +0000 (15:36 +0530)]
libv4l1: move v4l1 ioctls from kernel to libv4l1:VIDIOCGCHAN
move VIDIOCGCHAN to libv4l1
Signed-off-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Hans de Goede [Tue, 25 May 2010 09:14:33 +0000 (11:14 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 21 May 2010 12:19:56 +0000 (14:19 +0200)]
Add kernel v4l1-compat LGPL license change permission from Mauro
Hans de Goede [Fri, 21 May 2010 12:13:59 +0000 (14:13 +0200)]
bump ver to 0.8.1-test
Hans de Goede [Fri, 21 May 2010 11:56:18 +0000 (13:56 +0200)]
libv4l: add 4 new entries to the upside down table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 19 May 2010 09:49:36 +0000 (11:49 +0200)]
libv4l1: move v4l1 ioctls from kernel to libv4l1: VIDIOCGCAP
Signed-off-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 7 May 2010 09:57:50 +0000 (11:57 +0200)]
libv4l: add detection for short frames
Sometimes cam generate short frames (esp. at the beginning of the stream),
detect this and retry a number of times. If retrying fails, pass allong
the short frame as it is better then nothing.
This patch also cleans up the JPEG decoding error handling code to use
the same mechanism.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 7 May 2010 08:28:14 +0000 (10:28 +0200)]
Prep for 0.8.0 release
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 7 May 2010 06:22:32 +0000 (08:22 +0200)]
libv4l: Update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Mon, 3 May 2010 14:52:26 +0000 (16:52 +0200)]
v4l2-ctl: fix copy-paste error (wrong console message).
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 2 May 2010 14:09:22 +0000 (16:09 +0200)]
v4l2-compliance: add priority tests
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 2 May 2010 13:37:51 +0000 (15:37 +0200)]
v4l2-compliance: cleanup and add tests for multiple opens.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 2 May 2010 11:23:09 +0000 (13:23 +0200)]
qv4l2: fix oops if the device has no user controls.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 2 May 2010 10:58:46 +0000 (12:58 +0200)]
v4l2-ctl: call QUERYCAP when sleep returns.
Calling VIDIOC_QUERYCAP after sleeping is a nice way to test the USB
disconnect case.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 1 May 2010 13:10:20 +0000 (15:10 +0200)]
v4l2-ctl: add prio support and a sleep option.
Add --get/set-priority to test VIDIOC_G/S_PRIORITY and add a sleep
option to let v4l2-ctl sleep for a number of seconds before closing
the file handle. Useful for testing.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 1 May 2010 11:40:59 +0000 (13:40 +0200)]
libv4lcontrol: fix queryctrl handling
When enumerating the controls using V4L2_CTRL_FLAG_NEXT_CTRL then queryctrl
should always remove V4L2_CTRL_FLAG_NEXT_CTRL when returning, even if no
next control was found.
So instead of using V4L2_CTRL_FLAG_NEXT_CTRL as the 'maximum' control ID
libv4lcontrol.c should use V4L2_CTRL_ID_MASK instead (which is really the
highest possible ID).
This bug caused qv4l2 to show the user controls twice.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mats Randgaard [Fri, 30 Apr 2010 12:41:15 +0000 (14:41 +0200)]
v4l2-ctl: Add support for dv preset API.
note: Custom timings are not yet implemented.
Signed-off-by: Mats Randgaard <mats.randgaard@tandberg.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Fri, 30 Apr 2010 10:04:38 +0000 (12:04 +0200)]
libv4l: update upside-down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 30 Apr 2010 10:03:29 +0000 (12:03 +0200)]
libv4l: Properly set errno when leaving v4l2_read
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Fri, 30 Apr 2010 06:38:01 +0000 (08:38 +0200)]
libv4lcontrol: run through checkpatch.pl
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>