platform/upstream/v4l-utils.git
13 years agov4l2grab: Allow changing the capture parameters via parameters
Mauro Carvalho Chehab [Mon, 6 Dec 2010 11:23:00 +0000 (09:23 -0200)]
v4l2grab: Allow changing the capture parameters via parameters

Instead of requiring recompilation, allow passing arguments to the capture
subroutine.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agov4l2grab: Convert "default" values into parameters
Mauro Carvalho Chehab [Mon, 6 Dec 2010 11:07:38 +0000 (09:07 -0200)]
v4l2grab: Convert "default" values into parameters

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agolibv4l: update upside down device list
Hans de Goede [Mon, 6 Dec 2010 10:23:31 +0000 (11:23 +0100)]
libv4l: update upside down device list

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside down device table
Hans de Goede [Wed, 1 Dec 2010 14:36:19 +0000 (15:36 +0100)]
libv4l: update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside down device table
Hans de Goede [Fri, 26 Nov 2010 08:45:29 +0000 (09:45 +0100)]
libv4l: update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside down device list
Hans de Goede [Wed, 24 Nov 2010 08:00:13 +0000 (09:00 +0100)]
libv4l: update upside down device list

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside down device table
Hans de Goede [Sun, 21 Nov 2010 09:33:19 +0000 (10:33 +0100)]
libv4l: update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside down device table
Hans de Goede [Fri, 19 Nov 2010 08:35:37 +0000 (09:35 +0100)]
libv4l: update upside down device table

Signed-off-By: Hans de Goede <hdegoede@redhat.com>
14 years agolibv4l: update upside down device table
Hans de Goede [Sun, 14 Nov 2010 11:18:59 +0000 (12:18 +0100)]
libv4l: update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
14 years agolibv4l: update upside down device table
Hans de Goede [Fri, 12 Nov 2010 08:18:15 +0000 (09:18 +0100)]
libv4l: update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
14 years agolibv4l: update upside down device list
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>
14 years agorc_keymaps: remove legacy IR tables
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>
14 years agokeytable: auto-generate rc_maps.cfg
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>
14 years agokeytable: Move find logic to gen_keytables.pl
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>
14 years agogen_keytables.pl: use a function to create files
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>
14 years agogen_keytables.pl: Warn if a in-driver table is found
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>
14 years agokeytable: make it report the proper v4l-utils version
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>
14 years agoparse_cx231xx.pl: improve GPIO messages on decoding
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>
14 years agoPrint a generic message for the URB's that aren't currently parsed
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>
14 years agoAdd GPIO decoding logic
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>
14 years agorc_keymaps: add a table for digitalnow_tinytwin
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>
14 years agorc_keymaps: sync anysee keytable with in-kernel keytable
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>
14 years agoInstall config files to $(DESTDIR)
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>
14 years agolibv4l update upside down device list
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>
14 years agolibv4l: update upside down device list
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>
14 years agolibv4l: update upside-down device table
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>
14 years agorc_keymaps: sync with latest development kernel
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>
14 years agoparse_saa7134.pl: add logic to detect transactions without STOP
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>
14 years agoparse_saa7134.pl: Improve parser to group i2c register writes
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>
14 years agoparse_saa7134.pl: Add timestamp at the logs
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>
14 years agoparse_saa7134.pl: Properly handle I2C transactions
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>
14 years agocontrib/saa7134: adds a parser for saa7134 logs
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>
14 years agocontrib/pci_traffic: Add some patches for kvm to allow check PCI traffic
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>
14 years agoV4L/DVB: Add a parser for cx231xx i2c logs
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>
14 years agolibv4l: update upside down table
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>
14 years agolibv4l: update upside down device table
Hans de Goede [Thu, 23 Sep 2010 13:01:04 +0000 (15:01 +0200)]
libv4l: update upside down device table

14 years agolibv4l: 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>
14 years agoqv4l2: reduce the minimum number of buffers to 2
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>
14 years agolibv4l: update upside-down device table
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>
14 years agolibv4l2: Update the list of ioctls to the latest videodev2.h
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>
14 years agoStart iterating over menu items from the minimum value, not 0.
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>
14 years agolibv4l: update upside down device table
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>
14 years agoPrep for 0.8.1 release v4l-utils-0.8.1
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>
14 years agolibv4l: update upside down device table
Hans de Goede [Wed, 25 Aug 2010 08:37:41 +0000 (10:37 +0200)]
libv4l: update upside down device table

14 years agolibv4l: 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>
14 years agoqv4l2: fix broken fps determination
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>
14 years agov4l2-ctl: Added support for s/g_dv_timings.
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>
14 years agocontrib/test: add .gitignore
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>
14 years agoqv4l2: use req.count for userptr capture as well.
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>
14 years agoqv4l2: add dv_preset support
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>
14 years agorc_keymaps: re-generate files based on current v4l-dvb.git
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>
14 years agogen_keytables.pl: modified to parse the current version of RC tables
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>
14 years agokeytable: Add support to enable/disable LIRC protocol
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>
14 years agokeytable: Return an error if setting a protocol fails
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>
14 years agolibv4l: update upside-down device table
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>
14 years agolibv4l: update upside-down device list
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>
14 years agolibv4l: update upside-down device list
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>
14 years agolibv4l: update upside-down device list
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>
14 years agolibv4l: update upside-down device table
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>
14 years agolibv4l: update upside-down device table
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>
14 years agolibv4l: update upside down device table
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>
14 years agolibv4l: update upside-down device table
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>
14 years agolibv4l: update upside-down device list
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>
14 years agolibv4l: fixup konica yuv420 conversion code
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>
14 years agolibv4l: Add support for konica yuv420 format
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>
14 years agolibv4l: update upside-down device list
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>
14 years agoAdd a udev rules file to automatically load RC keytables
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>
14 years agokeytable: add support for the newer sysfs definitions
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>
14 years agolibv4l: update upside-down device table
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>
14 years agolibv4l: update upside-down device table
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>
14 years agolibv4l: update upside-down device table
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>
14 years agolibv4l: update upside-down device table
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>
14 years agolibv4l1: support up to 256 different frame sizes
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.

14 years agolibv4l: Make v4l2_get_control report errors
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>
14 years agolibv4l1: Ignore G_TUNER / S_TUNER errors in SAUDIO / GAUDIO
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>
14 years agolibv4l1: move VIDIOCGAUDIO,VIDIOCSAUDIO,VIDIOCGVBIFMT,VIDIOCSVBIFMT
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>
14 years agolibv4l: update upside-down device table
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>
14 years agolibv4l1: move VIDIOCCAPTURE to libv4l1
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>
14 years agolibv4l1: move VIDIOCGFREQ and VIDIOCSFREQ to libv4l1
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>
14 years agolibv4lconvert: Add support for Xirlink C-It YYVYUY format
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>
14 years agolibv4l1: move VIDIOCGTUNER and VIDIOCSTUNER to libv4l1
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>
14 years agolibv4l1: Fix wrong buffer being passed into VIDIOC_G_FBUF call
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>
14 years agolibv4l1: Move VIDIOCSFBUF into libv4l1
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>
14 years agolibv4l1: Move VIDIOCGFBUF into libv4l1
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>
14 years agolibv4l: update upside down device list
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>
14 years agolibv4l1: Remove code duplication VIDIOCGCHAN
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>
14 years agolibv4l1: Remove code duplication VIDIOCSCHAN
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>
14 years agoAlways make v4l2 ioctls pass through libv4l2
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>
14 years agolibv4l1: SCHAN should lead to a S_INPUT not an ENUM_INPUT ioctl
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>
14 years agolibv4l1: move v4l1 ioctls from kernel to libv4l1: VIDIOCSCHAN
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>
14 years agolibv4l1: move v4l1 ioctls from kernel to libv4l1:VIDIOCGCHAN
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>
14 years agolibv4l: update upside-down device table
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>
14 years agoAdd kernel v4l1-compat LGPL license change permission from Mauro
Hans de Goede [Fri, 21 May 2010 12:19:56 +0000 (14:19 +0200)]
Add kernel v4l1-compat LGPL license change permission from Mauro

14 years agobump ver to 0.8.1-test
Hans de Goede [Fri, 21 May 2010 12:13:59 +0000 (14:13 +0200)]
bump ver to 0.8.1-test

14 years agolibv4l: add 4 new entries to the upside down table
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>
14 years agolibv4l1: move v4l1 ioctls from kernel to libv4l1: VIDIOCGCAP
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>
14 years agolibv4l: add detection for short frames
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>
14 years agoPrep for 0.8.0 release v4l-utils-0.8.0
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>
14 years agolibv4l: Update upside down device list
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>
14 years agov4l2-ctl: fix copy-paste error (wrong console message).
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>