Douglas Schilling Landgraf [Wed, 4 Nov 2009 18:47:24 +0000 (13:47 -0500)]
libv4l - spca561: Have static decoding tables
From: Jean-Francois Moine <moinejf@free.fr>
libv4l - spca561: Have static decoding tables
Priority: normal
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
CC: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Mauro Carvalho Chehab [Tue, 3 Nov 2009 23:46:58 +0000 (21:46 -0200)]
v4lgrab: backport changes on this example file
From: Mauro Carvalho Chehab <mchehab@redhat.com>
kernel-sync:
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 16 Sep 2009 10:36:50 +0000 (07:36 -0300)]
capture-example: As this program is part of V4L2 API, better comment it
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 14 Sep 2009 13:08:44 +0000 (10:08 -0300)]
Improve decode_tm6000 for better usage of mmap method
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Now, mmap method is the default, when reading from tm6000 V4L2 device.
Also, now, it is possible to specify the channel frequency via command
line, and the number of video buffers to be used.
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 21 Aug 2007 20:33:10 +0000 (17:33 -0300)]
tm6000: Add support for mmap
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab [Mon, 14 Sep 2009 12:49:16 +0000 (09:49 -0300)]
Start userspace decoding application for tm6000
From: Mauro Carvalho Chehab <mchehab@redhat.com>
This small application allows testing tm6000 raw format decoding in
software.
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 13 Sep 2009 14:13:59 +0000 (11:13 -0300)]
Add conexant cx25821 driver
From: Palash Bandyopadhyay <Palash.Bandyopadhyay@conexant.com>
Add conexant cx25821 driver release v106 of the Athena driver.
Priority: normal
Signed-off-by: Palash Bandyopadhyay <palash.bandyopadhyay@conexant.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 7 Sep 2009 02:52:29 +0000 (23:52 -0300)]
merge: http://linuxtv.org/hg/~hgoede/libv4l/
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hans@rhel5-devel.localdomain [Sun, 6 Sep 2009 08:41:37 +0000 (10:41 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Thu, 3 Sep 2009 11:28:26 +0000 (13:28 +0200)]
libv4l: enable libv4l2 usage with devices which just support read()
From: Hans de Goede <hdegoede@redhat.com>
libv4l: enable libv4l2 usage with devices which just support read(), this
allows applications to work with mpeg capture devices like the cx18, which
only do read() and only support mpeg and some exotic raw format
(which libv4l can convert).
Thanks to Simon Farnsworth <simon.farnsworth@onelan.com> for testing this.
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 2 Sep 2009 09:25:10 +0000 (11:25 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 2 Sep 2009 09:16:18 +0000 (11:16 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 2 Sep 2009 09:10:22 +0000 (11:10 +0200)]
libv4l: beginning of 0.6.2 dev cycle
From: Hans de Goede <hdegoede@redhat.com>
libv4l: beginning of 0.6.2 dev cycle
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Tue, 1 Sep 2009 08:03:27 +0000 (10:03 +0200)]
libv4l: Document that passing in NULL as 3th arg to v4l2_ioctl is not allowed
From: Hans de Goede <hdegoede@redhat.com>
libv4l: Document that passing in NULL as 3th arg to v4l2_ioctl is not allowed
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Tue, 1 Sep 2009 07:58:26 +0000 (09:58 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 31 Aug 2009 14:40:33 +0000 (16:40 +0200)]
libv4l: Report V4L2_FMT_FLAG_EMULATED in v4l2_fmtdesc flags for emulated formats
From: Hans de Goede <hdegoede@redhat.com>
libv4l: Report V4L2_FMT_FLAG_EMULATED in v4l2_fmtdesc flags for emulated formats
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 31 Aug 2009 14:15:48 +0000 (16:15 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 31 Aug 2009 08:52:12 +0000 (10:52 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Sun, 30 Aug 2009 01:11:23 +0000 (22:11 -0300)]
keytable: Don't display KEY_RESERVED codes
From: Mauro Carvalho Chehab <mchehab@redhat.com>
As KEY_RESERVED is used for some spare space at the keycode table, don't
return it while displaying the current table
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 30 Aug 2009 01:05:06 +0000 (22:05 -0300)]
keytable: Prints a more comprehensive error message
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 30 Aug 2009 01:04:40 +0000 (22:04 -0300)]
gen_keytables.pl: Fix parsing for some IR tables
From: Mauro Carvalho Chehab <mchehab@redhat.com>
There are some tables where the last value ends with }
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sat, 29 Aug 2009 18:14:22 +0000 (15:14 -0300)]
gen_keytables: generate also dvb-usb.h based keybables
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sat, 29 Aug 2009 17:19:07 +0000 (14:19 -0300)]
gen_keytables.pl: Change it to work with the new format
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 30 Aug 2009 21:48:23 +0000 (18:48 -0300)]
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hans@rhel5-devel.localdomain [Sat, 29 Aug 2009 10:23:17 +0000 (12:23 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Fri, 28 Aug 2009 07:12:06 +0000 (04:12 -0300)]
keytable: Improve it to work with 16 bit keycodes
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Wed, 26 Aug 2009 20:34:01 +0000 (22:34 +0200)]
v4l2-sysfs-path: fix compile warning.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Wed, 26 Aug 2009 20:32:44 +0000 (22:32 +0200)]
v4l2-ctl: add support for enumerating frame sizes and intervals
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
hans@rhel5-devel.localdomain [Tue, 25 Aug 2009 08:46:47 +0000 (10:46 +0200)]
libv4l: actually compile the sn9c2028 decompression code
From: Hans de Goede <hdegoede@redhat.com>
libv4l: actually compile the sn9c2028 decompression code
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Tue, 25 Aug 2009 08:42:25 +0000 (10:42 +0200)]
libv4l: support decompressing sn9c2028 compressed bayer
From: Theodore Kilgore <kilgota@banach.math.auburn.edu>
libv4l: support decompressing sn9c2028 compressed bayer
Priority: normal
Signed-off-by: Theodore Kilgore <kilgota@banach.math.auburn.edu>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Tue, 25 Aug 2009 08:18:06 +0000 (10:18 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 24 Aug 2009 07:52:55 +0000 (09:52 +0200)]
libv4l: add 06f8:3009 pac7302 90 degrees rotated cam to the device table
From: Stéphane Marguet (Stemp) <smarguet <at> gmail.com>
libv4l: add 06f8:3009 pac7302 90 degrees rotated cam to the device table
Priority: normal
Signed-off-by: Stéphane Marguet (Stemp) <smarguet <at> gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 24 Aug 2009 07:31:32 +0000 (09:31 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Thu, 20 Aug 2009 09:42:57 +0000 (11:42 +0200)]
libv4l: make get / set control use libv4lconvert functions
From: Hans de Goede <hdegoede@redhat.com>
libv4l: make get / set control use libv4lconvert functions
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Thu, 20 Aug 2009 09:34:10 +0000 (11:34 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Thu, 20 Aug 2009 09:28:51 +0000 (11:28 +0200)]
libv4l: Change controls shm segment name to include the username
From: Gregor Jasny <gjasny@googlemail.com>
Change controls shm segment name to include the username, as it is only
writable by the user (this means libv4l controls are per user)
Priority: normal
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 17 Aug 2009 07:35:56 +0000 (09:35 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Fri, 14 Aug 2009 08:05:18 +0000 (10:05 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Fri, 14 Aug 2009 07:57:02 +0000 (09:57 +0200)]
libv4l: Do not hide JPG / MJPG pixfmt from applications
From: Hans de Goede <hdegoede@redhat.com>
Some applications want to use jpg format if possible, so do not hide
it from the apps (do not assume it always needs conversion)
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Fri, 14 Aug 2009 07:50:33 +0000 (09:50 +0200)]
libv4l: Fix reqbuf Device or Resource busy error when using read
From: Hans de Goede <hdegoede@redhat.com>
Some applications such as v4l2-apps/test/capture-example.c, in read mode
use select() together with read() and do a select() before the first read().
This causes issues together with certain drivers (gspca for example),
do not allow switching from read mode to mmap mode and they assume read()
mode if a select or poll() is done before any buffers are requested.
When not using libv4l2, this is not an issue but libv4l2 uses mmap mode
under the hood when converting as that safes a memcpy for each frame read.
This fails with such drivers when the application has done a select() before
the first read() as the driver now is in "read mode" and disallows switching
to mmap mode.
This patch fixes this by falling back to using read() for v4l2_read() when
using mmap mode fails.
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 12 Aug 2009 07:15:17 +0000 (09:15 +0200)]
libv4l: Also look for dmi info under /sys/class/dmi/id
From: Hans de Goede <hdegoede@redhat.com>
libv4l was looking for dmi strings in sysfs under /sys/devices/virtual/dmi/id
but with some kernel configurations this does not exist. It turns out that
the dmi strings do exist under /sys/class/dmi/id here. It seems that all
systems with dmi info in sysfs have /sys/class/dmi/id so default to using
that instead. To be sure fall back to /sys/devices/virtual/dmi/id
(the old behavor) when /sys/class/dmi/id is not found.
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Tue, 11 Aug 2009 12:04:30 +0000 (14:04 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 10 Aug 2009 08:02:44 +0000 (10:02 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Sun, 9 Aug 2009 15:02:39 +0000 (17:02 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Sun, 9 Aug 2009 14:56:38 +0000 (16:56 +0200)]
libv4l: fix upside down devices table ordering
From: Hans de Goede <hdegoede@redhat.com>
libv4l: fix upside down devices table ordering
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Fri, 7 Aug 2009 15:26:11 +0000 (17:26 +0200)]
libv4l: fix a compiler warning
From: Hans de Goede <hdegoede@redhat.com>
libv4l: fix a compiler warning
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 5 Aug 2009 10:28:07 +0000 (12:28 +0200)]
libv4l: update my email address
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update my email address
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 5 Aug 2009 10:25:06 +0000 (12:25 +0200)]
libv4l: README improvements
From: Hans de Goede <hdegoede@redhat.com>
libv4l: README improvements
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 5 Aug 2009 10:19:55 +0000 (12:19 +0200)]
libv4l: README improvements
From: bifferos <bifferos@yahoo.co.uk>
libv4l: README improvements
Priority: normal
Signed-off-by: bifferos <bifferos@yahoo.co.uk>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 5 Aug 2009 09:53:16 +0000 (11:53 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 3 Aug 2009 11:17:05 +0000 (13:17 +0200)]
libv4l: fixup 320x240 output for pac7302 cameras
From: Hans de Goede <hdegoede@redhat.com>
libv4l: fixup 320x240 output for pac7302 cameras
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Sun, 2 Aug 2009 10:07:00 +0000 (12:07 +0200)]
v4l2-ctl: add support for string controls
From: Hans Verkuil <hverkuil@xs4all.nl>
Add support for string controls to v4l2-ctl.
Also refactor the code to generalize the handling of control classes.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 2 Aug 2009 10:04:23 +0000 (12:04 +0200)]
v4l2-ctl: modulator bug fixes
From: Hans Verkuil <hverkuil@xs4all.nl>
Setting the modulator did not take all txsubchans combinations and the
correct V4L2_TUNER_CAP_LOW into account (it used V4L2_TUNER_CAP_LOW
from G_TUNER instead of G_MODULATOR).
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 23 Aug 2009 15:45:08 +0000 (12:45 -0300)]
v4l2-sysfs-path: print device minor/major of the associated devices
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Instead of just printing the associated devices, go further and display
the device major/minors and the associated event interface. The output
will look like:
device = /dev/video0
bus info = usb-0000:00:1d.7-8
sysfs path = /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-8
Associated devices:
usb_endpoint:usbdev1.8_ep00 (dev 252,20)
i2c-adapter:i2c-4
input:input9:event6 (dev 13,70)
sound:pcmC1D0c (dev 116,9)
sound:dsp1 (dev 14,19)
sound:audio1 (dev 14,20)
sound:controlC1 (dev 116,10)
sound:mixer1 (dev 14,16)
dvb:dvb0.frontend0 (dev 212,0)
dvb:dvb0.demux0 (dev 212,1)
dvb:dvb0.dvr0 (dev 212,2)
dvb:dvb0.net0 (dev 212,3)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 23 Aug 2009 03:22:30 +0000 (00:22 -0300)]
firmware-tool: fix compilation
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 23 Aug 2009 02:17:30 +0000 (23:17 -0300)]
v4l2-sysfs-path: print the subdevs associated with that device
From: Mauro Carvalho Chehab <mchehab@redhat.com>
The sysfs interface stores links to the other devices associated with a
V4L link.
Improves this util to display those associated subdevices. This small
tool can be used inside other V4L applications to properly associate
audio, input, sound and dvb devices with a /dev/video? file.
device = /dev/video0
bus info = usb-0000:00:1d.7-8
sysfs path = /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-8
Subdevs: usb_endpoint:usbdev1.8_ep00 i2c-adapter:i2c-4 input:input8
sound:pcmC1D0c sound:dsp1 sound:audio1 sound:controlC1 sound:mixer1
dvb:dvb0.frontend0 dvb:dvb0.demux0 dvb:dvb0.dvr0 dvb:dvb0.net0
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 17 Aug 2009 00:09:23 +0000 (21:09 -0300)]
Document libv4l at V4L2 API specs
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Since applications aren't prepared to handle all V4L2 available formats,
an effort is done to have a library capable of understanding especially
the proprietary formats.
This patch documents this library, and adds v4l2grab.c as an example on
how to use it.
Parts of the text are based at the libv4l README file (c) by Hans de
Goede.
Thanks to Hans de Goede <hdegoede@redhat.com> for his good work with
libv4l.
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 11 Aug 2009 14:46:42 +0000 (11:46 -0300)]
merge: www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 9 Aug 2009 22:58:14 +0000 (19:58 -0300)]
v4l2-dbg: Add register maps for mt9v011
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Fri, 7 Aug 2009 14:48:52 +0000 (16:48 +0200)]
v4l2-ctl: fix help message
From: hermann pitton <hermann-pitton@arcor.de>
For -p (--set-parm) v4l2-ctl also prints G_PARMS too.
-P, --get-parm display video parameters [VIDIOC_G_PARMS]
-p, --set-parm set video rate in fps [VIDIOC_G_PARMS]
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Fri, 7 Aug 2009 10:39:31 +0000 (12:39 +0200)]
v4l2-ctl: fix get/set-parm bugs and add get/set-output-parm support
From: Hans Verkuil <hverkuil@xs4all.nl>
Fixed several get/set-parm bugs, cleaned it up a bit and reformatted the
output to conform to the output of the other get options.
Implemented get/set-output-parm to complete the VIDIOC_G/S_PARM support.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mauro Carvalho Chehab [Thu, 6 Aug 2009 23:32:01 +0000 (20:32 -0300)]
v4l2-ctl: Add support for VIDIOC_[G|S]_PARM
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Those ioctls are used to control streaming frame rate.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hans@rhel5-devel.localdomain [Mon, 27 Jul 2009 12:20:59 +0000 (14:20 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Sun, 26 Jul 2009 08:41:04 +0000 (10:41 +0200)]
libv4l: allow use of System / Product DMI strings in upside down cam list
From: Hans de Goede <hdegoede@redhat.com>
libv4l: allow use of System / Product DMI strings in upside down cam list
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Sat, 25 Jul 2009 17:56:33 +0000 (19:56 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Tue, 21 Jul 2009 00:52:44 +0000 (21:52 -0300)]
merge: www.linuxtv.org/hg/~hverkuil/v4l-dvb-rds
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Mon, 20 Jul 2009 14:20:36 +0000 (16:20 +0200)]
v4l2-ctl: fix broken camera control support.
From: Hans Verkuil <hverkuil@xs4all.nl>
v4l2-ctl didn't properly support the camera controls.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Mon, 20 Jul 2009 12:22:20 +0000 (14:22 +0200)]
v4l2grab: fix build rule.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
hans@rhel5-devel.localdomain [Thu, 16 Jul 2009 15:03:40 +0000 (17:03 +0200)]
libv4l: Make library subdir name configurable
From: Gregor Jasny <gjasny@googlemail.com>
While studying the Debian library package name, I noticed that private
So /usr/lib/libv4l should become /usr/lib/libv4l0. As this would break
existing scripts, I suggest to start versioning with the next soname bump.
The line in the makefiles will then read:
ifeq ($(LIBSUBDIR),)
LIBSUBDIR = libv4l$(LIB_RELEASE)
endif
Unfortunately, the private subdirs in Debian must be named after the library
package, which would be libv4l-0. Therefore I need to configure the
LIBSUBDIR at compile time.
Priority: normal
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Tue, 14 Jul 2009 11:00:32 +0000 (13:00 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Fri, 10 Jul 2009 20:05:19 +0000 (17:05 -0300)]
merge: www.linuxtv.org/hg/~hverkuil/v4l-dvb-rds
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hans@rhel5-devel.localdomain [Fri, 10 Jul 2009 17:20:57 +0000 (19:20 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Fri, 10 Jul 2009 13:13:05 +0000 (15:13 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Fri, 10 Jul 2009 13:12:08 +0000 (15:12 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Thu, 9 Jul 2009 12:12:00 +0000 (14:12 +0200)]
libv4l: Improved pac207 decompression code
From: Hans de Goede <hdegoede@redhat.com>
Improved pac207 decompression code to also support higher compression
modes of the pac207, which enables us to use higher framerates.
Many many thanks to Bertrik Sikken for figuring the decompression out!
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Thu, 9 Jul 2009 09:14:31 +0000 (11:14 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 8 Jul 2009 15:08:32 +0000 (17:08 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 6 Jul 2009 08:14:11 +0000 (10:14 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Fri, 3 Jul 2009 08:59:47 +0000 (10:59 +0200)]
libv4l: add support for RGB565 format
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Currently, em28xx driver outputs webcams only at RGB565 format. However,
several webcam applications don't support this format.
In order to properly work with those applications, a RGB565 handler should be
added at libv4l.
Tested with Silvercrest 1.3 mpix with v4l2grab (V4L2, with native libv4l
support) and two LD_PRELOAD applications: camorama (V4L1 API) and skype (using compat32).
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Thu, 2 Jul 2009 20:49:43 +0000 (17:49 -0300)]
v4l2grab: Be sure that libv4l is properly converting to RGB24
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To be simple, there's no format conversion inside v4l2grab. It relies
that libv4l will do the hard work of converting whatever input format
into RGB24.
Instead of just proceeding and writing wrong images, die if libv4l can't
convert into RGB24.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 30 Jun 2009 11:57:26 +0000 (08:57 -0300)]
v4l2grab: Add an userspace application for webcam testing, using libv4l2
From: Mauro Carvalho Chehab <mchehab@redhat.com>
During FISL 10 (Forum Internacional de Software Livre) and the first FudCon Latam
(Fedora Users and Developers Conference), while preparing the V4L panel, I and Douglas
noticed the need of a very simple application to be an example for developers to
test their drivers and to write newer v4l2 applications.
So, we come to the idea of creating a v4l2grab application that takes pictures from the
webcam and saves them with the ppm format, using libv4l to work with all webcam models.
This application uses the absolute minimum of V4L2 calls to take 640x480 pictures, and was tested
with uvcvideo and vivi drivers.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hans@rhel5-devel.localdomain [Mon, 29 Jun 2009 09:29:59 +0000 (11:29 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 29 Jun 2009 08:22:45 +0000 (10:22 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 24 Jun 2009 12:11:00 +0000 (14:11 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 24 Jun 2009 12:07:03 +0000 (14:07 +0200)]
libv4l: whitebalance fix divide by 0 and avoid abrupt changes
From: Hans de Goede <hdegoede@redhat.com>
libv4l: whitebalance fix divide by 0 and avoid abrupt changes
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Mon, 22 Jun 2009 08:15:35 +0000 (10:15 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Sun, 21 Jun 2009 21:45:33 +0000 (23:45 +0200)]
libv4l: update upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: update upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Sat, 20 Jun 2009 12:52:22 +0000 (14:52 +0200)]
v4l2-ctl: support new RDS and modulator caps.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 20 Jun 2009 09:42:58 +0000 (11:42 +0200)]
v4l2-ctl: update to the latest RDS spec.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
hans@rhel5-devel.localdomain [Fri, 19 Jun 2009 11:13:55 +0000 (13:13 +0200)]
libv4l: add various laptop models to the upside down devices table
From: Hans de Goede <hdegoede@redhat.com>
libv4l: add various laptop models to the upside down devices table
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Thu, 18 Jun 2009 01:39:23 +0000 (22:39 -0300)]
merge: http://linuxtv.org/hg/~hgoede/libv4l
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hans@rhel5-devel.localdomain [Wed, 17 Jun 2009 21:35:22 +0000 (23:35 +0200)]
libv4l: enable automatic gain / exposure control for st6422 devices
From: Hans de Goede <hdegoede@redhat.com>
libv4l: enable automatic gain / exposure control for st6422 devices
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 17 Jun 2009 19:57:05 +0000 (21:57 +0200)]
libv4l1: Emulate VIDIOCGWIN instead of passing it through to the kernel
From: Hans de Goede <hdegoede@redhat.com>
Emulate VIDIOCGWIN instead of passing it through to the kernel, this fixes
us reporting a wrong size to the app when libv4l2 / libv4lconvert is
cropping / downsampling the image.
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 17 Jun 2009 13:45:32 +0000 (15:45 +0200)]
libv4l: fix deadlock introduced by locking fix in previous patch
From: Hans de Goede <hdegoede@redhat.com>
libv4l: fix deadlock introduced by locking fix in previous patch
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 17 Jun 2009 13:38:46 +0000 (15:38 +0200)]
libv4l: Report aligned resolution on first get_fmt
From: Hans de Goede <hdegoede@redhat.com>
When a user does a try_fmt with the current dest_fmt and the dest_fmt
is a supported one we will align the resulution (see try_fmt for why).
Do the on the result of the first get_fmt, so that a try_fmt on the result of
a get_fmt done immediately after open leaves the fmt unchanged
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 17 Jun 2009 12:56:29 +0000 (14:56 +0200)]
libv4l1: Use v4l2_ioctl when determining min/max size
From: Hans de Goede <hdegoede@redhat.com>
Use v4l2_ioctl instead of native ioctl's when finding out what the
minimum / maximum size is, so that we take the resolution aligment done
by libv4l2 into account for the minimum / maximum size.
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Tue, 16 Jun 2009 21:59:06 +0000 (23:59 +0200)]
libv4l: Make sure Y and UV or from the same 2x2 pixel block when cropping
From: Hans de Goede <hdegoede@redhat.com>
libv4l: Make sure Y and UV or from the same 2x2 pixel block when cropping
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Tue, 16 Jun 2009 21:51:10 +0000 (23:51 +0200)]
libv4l: Fix a bug in the always report widths which are a multiple of 8 code
From: Hans de Goede <hdegoede@redhat.com>
Fix a bug in the always report widths which are a multiple of 8 code added
in 0.5.97
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Sun, 14 Jun 2009 20:58:53 +0000 (22:58 +0200)]
libv4l: Detect ov518 decompression errors
From: Hans de Goede <hdegoede@redhat.com>
Sometimes the ov518 gives us an incomplete frame, detect this and throw
it away.
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Sun, 14 Jun 2009 20:51:13 +0000 (22:51 +0200)]
libv4l: Remove 0 blocks from non-compresses ov511 frames too
From: Hans de Goede <hdegoede@redhat.com>
libv4l: Remove 0 blocks from non-compresses ov511 frames too
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>