platform/upstream/v4l-utils.git
14 years agolibv4l: make v4lconvert_alloc_buffer usable outside of libv4lconvert.c
Hans de Goede [Fri, 5 Feb 2010 12:58:15 +0000 (13:58 +0100)]
libv4l: make v4lconvert_alloc_buffer usable outside of libv4lconvert.c

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside-down device list
Hans de Goede [Tue, 2 Feb 2010 10:34:06 +0000 (11:34 +0100)]
libv4l: update upside-down device list

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: skip false Pixart markers
Márton Németh [Tue, 2 Feb 2010 10:23:03 +0000 (11:23 +0100)]
libv4l: skip false Pixart markers

The byte sequence 0xff, 0xff, 0xff 0xff is not a real marker to skip, instead
it is one byte from the image and the following three 0xff bytes might belong
to a real marker. Modify pixart_fill_nbits() macro to pass the first 0xff byte
as an image data.

Priority: normal

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Update sonixb device table entries
Hans de Goede [Mon, 1 Feb 2010 23:30:49 +0000 (00:30 +0100)]
libv4l: Update sonixb device table entries

Use a default gamma of 1500 for all sonixb cams, this gives a much better
picture; and enable software whitebalance be default for all sonixb cams,
except for those with ov sensors.

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Skip unknown huffman codes in sonixb decompression
Hans de Goede [Mon, 1 Feb 2010 12:32:46 +0000 (13:32 +0100)]
libv4l: Skip unknown huffman codes in sonixb decompression

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: enable whitebalance for sonixj + ov7630 cams
Hans de Goede [Sun, 31 Jan 2010 16:25:32 +0000 (17:25 +0100)]
libv4l: enable whitebalance for sonixj + ov7630 cams

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: enable whitebalance by default for SN9C325 + OM6802 based cams
Hans de Goede [Sun, 31 Jan 2010 15:52:42 +0000 (16:52 +0100)]
libv4l: enable whitebalance by default for SN9C325 + OM6802 based cams

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside-down device list
Hans de Goede [Sun, 31 Jan 2010 08:59:50 +0000 (09:59 +0100)]
libv4l: update upside-down device list

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside-down device list
Hans de Goede [Thu, 28 Jan 2010 14:58:25 +0000 (15:58 +0100)]
libv4l: update upside-down device list

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Fixup some license headers
Hans de Goede [Wed, 27 Jan 2010 10:33:19 +0000 (11:33 +0100)]
libv4l: Fixup some license headers

Fix some copy and paste errors in license headers

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upsidedown device list
Hans de Goede [Wed, 27 Jan 2010 10:30:06 +0000 (11:30 +0100)]
libv4l: update upsidedown device list

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside-down devices list
Hans de Goede [Wed, 27 Jan 2010 08:33:58 +0000 (09:33 +0100)]
libv4l: update upside-down devices list

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: make autogain_adjust void
Hans de Goede [Tue, 26 Jan 2010 19:35:26 +0000 (20:35 +0100)]
libv4l: make autogain_adjust void

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Wed, 20 Jan 2010 21:58:28 +0000 (22:58 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Start of 0.6.5 dev cycle
Hans de Goede [Sun, 17 Jan 2010 17:19:09 +0000 (18:19 +0100)]
libv4l: Start of 0.6.5 dev cycle

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: 0.6.4 release
Hans de Goede [Sun, 17 Jan 2010 17:08:01 +0000 (18:08 +0100)]
libv4l: 0.6.4 release

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Sat, 16 Jan 2010 02:38:09 +0000 (03:38 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: use __syscall for mmap on FreeBSD
Hans de Goede [Fri, 15 Jan 2010 12:43:04 +0000 (13:43 +0100)]
libv4l: use __syscall for mmap on FreeBSD

In order to get 64 bit addresses returned from the mmap syscall not
truncated on FreeBSD __syscall must be used as just syscall only returns
32 bits.

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Make new faster autogain slightly slower to avoid overshoot
Hans de Goede [Fri, 15 Jan 2010 09:34:06 +0000 (10:34 +0100)]
libv4l: Make new faster autogain slightly slower to avoid overshoot

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Enable whitebalance by default on sonixb cams with TAS5110 sensors
Hans de Goede [Tue, 12 Jan 2010 14:06:44 +0000 (15:06 +0100)]
libv4l: Enable whitebalance by default on sonixb cams with TAS5110 sensors

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibvl4: update changelog
Hans de Goede [Sun, 10 Jan 2010 07:41:30 +0000 (08:41 +0100)]
libvl4: update changelog

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: speedup software autogain settling
Hans de Goede [Sun, 10 Jan 2010 07:40:17 +0000 (08:40 +0100)]
libv4l: speedup software autogain settling

On camera's with a gine grained exposure control like some mr97310a models,
the autogain algorithm would take ages to get to the desired point. This
patch considerably speeds up the autogain algorithm.

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Sun, 10 Jan 2010 03:08:59 +0000 (04:08 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Thu, 7 Jan 2010 11:05:25 +0000 (12:05 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Mon, 4 Jan 2010 09:17:30 +0000 (10:17 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Add support for decoding CPIA1 compressed YUV
Hans de Goede [Mon, 4 Jan 2010 08:55:15 +0000 (09:55 +0100)]
libv4l: Add support for decoding CPIA1 compressed YUV

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Wed, 30 Dec 2009 01:40:38 +0000 (02:40 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Thu, 24 Dec 2009 16:39:49 +0000 (17:39 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Thu, 24 Dec 2009 06:37:56 +0000 (07:37 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Sun, 20 Dec 2009 15:20:28 +0000 (16:20 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Tue, 15 Dec 2009 13:00:14 +0000 (14:00 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Mon, 14 Dec 2009 07:23:08 +0000 (08:23 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Thu, 10 Dec 2009 07:56:06 +0000 (08:56 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Tue, 8 Dec 2009 11:00:38 +0000 (12:00 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: add missing <stdint.h> include to libv4l1.h
Hans de Goede [Thu, 26 Nov 2009 09:03:58 +0000 (10:03 +0100)]
libv4l: add missing <stdint.h> include to libv4l1.h

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Tue, 24 Nov 2009 08:17:43 +0000 (09:17 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoibv4l: update upside down devices table
Hans de Goede [Wed, 18 Nov 2009 12:54:07 +0000 (13:54 +0100)]
ibv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Tue, 17 Nov 2009 11:58:22 +0000 (12:58 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Tue, 17 Nov 2009 10:57:38 +0000 (11:57 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Fri, 6 Nov 2009 10:43:44 +0000 (11:43 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Sun, 1 Nov 2009 15:40:23 +0000 (16:40 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Add error checking to mr97310a decompression
Hans de Goede [Fri, 30 Oct 2009 08:17:01 +0000 (09:17 +0100)]
libv4l: Add error checking to mr97310a decompression

Add error checking to mr97310a decompression, and upon receival of 3
consecutive short frames, tell the driver (through the custom minimum
clockdiv control) to increase the minimum clockdiv and thus lower the
framerate as the cams compression engine is not keeping up with the data.

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Mon, 26 Oct 2009 08:45:43 +0000 (09:45 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Start of 0.6.4 dev cycle
Hans de Goede [Sun, 25 Oct 2009 08:28:50 +0000 (09:28 +0100)]
libv4l: Start of 0.6.4 dev cycle

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: 0.6.3 release
Hans de Goede [Sun, 25 Oct 2009 07:36:38 +0000 (08:36 +0100)]
libv4l: 0.6.3 release

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Sun, 25 Oct 2009 07:35:08 +0000 (08:35 +0100)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Enable whitebalance by default for stv0680 based cams
Hans de Goede [Fri, 23 Oct 2009 10:07:19 +0000 (12:07 +0200)]
libv4l: Enable whitebalance by default for stv0680 based cams

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Add support for STV0680 raw bayer data
Hans de Goede [Fri, 23 Oct 2009 10:02:00 +0000 (12:02 +0200)]
libv4l: Add support for STV0680 raw bayer data

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: __u32 -> uint32_t
Hans de Goede [Wed, 21 Oct 2009 08:06:23 +0000 (10:06 +0200)]
libv4l: __u32 -> uint32_t

libv4l: __u32 -> uint32_t, to make our FreeBSD friends happy :)

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Mon, 19 Oct 2009 09:39:57 +0000 (11:39 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Update mr97310a copyright year(s) for recent changes
Hans de Goede [Sat, 17 Oct 2009 22:41:39 +0000 (00:41 +0200)]
libv4l: Update mr97310a copyright year(s) for recent changes

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Add support for decompressing yuv420 planar JPEG
Hans de Goede [Sat, 17 Oct 2009 22:40:10 +0000 (00:40 +0200)]
libv4l: Add support for decompressing yuv420 planar JPEG

Add support for decompressing yuv420 planar JPEG (one component per SOS,
3 SOS per frame)

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: improve mr97310a decompression
Theodore Kilgore [Fri, 16 Oct 2009 06:34:43 +0000 (08:34 +0200)]
libv4l: improve mr97310a decompression

Bring mr97310a decompression in line with the latest gphoto code, resulting
in a much better picure

Priority: normal

Signed-off-by: Theodore Kilgore <kilgota@banach.math.auburn.edu>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Thu, 15 Oct 2009 12:47:03 +0000 (14:47 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Mon, 12 Oct 2009 07:22:56 +0000 (09:22 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Fix a bug in sw autogain for cams whose exposure minimum != 0
Hans de Goede [Sun, 11 Oct 2009 08:15:57 +0000 (10:15 +0200)]
libv4l: Fix a bug in sw autogain for cams whose exposure minimum != 0

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Start of 0.6.3 dev cycle
Hans de Goede [Fri, 9 Oct 2009 08:53:28 +0000 (10:53 +0200)]
libv4l: Start of 0.6.3 dev cycle

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: 0.6.2 release
Hans de Goede [Fri, 9 Oct 2009 08:35:47 +0000 (10:35 +0200)]
libv4l: 0.6.2 release

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Enable software whitebalance and autogain for mr97310a cameras
Hans de Goede [Fri, 9 Oct 2009 08:32:13 +0000 (10:32 +0200)]
libv4l: Enable software whitebalance and autogain for mr97310a cameras

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Put usb id in controls shm segment name for USB devices
Hans de Goede [Fri, 9 Oct 2009 08:25:49 +0000 (10:25 +0200)]
libv4l: Put usb id in controls shm segment name for USB devices

Put usb id in controls shm segment name for USB devices, to better
distuingish between devices plugged into the same port

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Check a cam has the necessary controls before enabling autogain
Hans de Goede [Fri, 9 Oct 2009 07:45:17 +0000 (09:45 +0200)]
libv4l: Check a cam has the necessary controls before enabling autogain

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Fri, 9 Oct 2009 06:36:42 +0000 (08:36 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Wed, 7 Oct 2009 10:06:11 +0000 (12:06 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Sun, 4 Oct 2009 14:16:09 +0000 (16:16 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: autogain: avoid very low exposure values
Hans de Goede [Thu, 1 Oct 2009 15:11:47 +0000 (17:11 +0200)]
libv4l: autogain: avoid very low exposure values

Determine a value below which we try to not lower the exposure,
as most exposure controls tend to jump with big steps in the low
range, causing oscilation, so we prefer to use gain when exposure
has hit this value.

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: avoid overshooting when doing autogain
Hans de Goede [Thu, 1 Oct 2009 10:04:14 +0000 (12:04 +0200)]
libv4l: avoid overshooting when doing autogain

If we were decreasing gain/expo and change to increasing, or vica versa,
half the number of steps to avoid overshooting and oscilating.

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Thu, 1 Oct 2009 06:29:58 +0000 (08:29 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Wed, 30 Sep 2009 08:05:38 +0000 (10:05 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Thu, 24 Sep 2009 00:49:29 +0000 (17:49 -0700)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
realKano@directbox.com [Fri, 18 Sep 2009 10:48:09 +0000 (12:48 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: realKano@directbox.com <realKano@directbox.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Fri, 18 Sep 2009 06:21:37 +0000 (08:21 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Fri, 11 Sep 2009 06:16:15 +0000 (08:16 +0200)]
libv4l: update upside down devices table

Revert bad upside down device table patch for the Asus X71SL
(wrong DMI strings) from Paul Sladen, and add a new entry with the
correct strings.

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Check for hardware autogain before enabling software autogain
Hans de Goede [Fri, 11 Sep 2009 06:09:17 +0000 (08:09 +0200)]
libv4l: Check for hardware autogain before enabling software autogain

Some USB-ID's may use different sensors, and in some cases some of these
sensors have hardware autogain, while others need software autogain. One
example of this is 046d:0840, this patch also enables software autogain for
camera's with this usb id (if the sensor does not have hardware autogain).

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Wed, 9 Sep 2009 10:16:16 +0000 (12:16 +0200)]
libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: Add Chicony CNF7129 to upside down list
Onur Küçük [Wed, 9 Sep 2009 10:13:15 +0000 (12:13 +0200)]
libv4l: Add Chicony CNF7129 to upside down list

Priority: normal

Signed-off-by: Onur Küçük <onur@pardus.org.tr>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Mon, 7 Sep 2009 09:20:22 +0000 (11:20 +0200)]
libv4l: update upside down devices table

libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down devices table
Hans de Goede [Mon, 7 Sep 2009 08:32:35 +0000 (10:32 +0200)]
libv4l: update upside down devices table

libv4l: update upside down devices table

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agomerge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-utils
Douglas Schilling Landgraf [Mon, 22 Feb 2010 13:58:43 +0000 (10:58 -0300)]
merge: www.linuxtv.org/hg/~hverkuil/v4l-dvb-utils

From: Douglas Schilling Landgraf <dougsland@redhat.com>

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
14 years agov4l2-apps/util: Add parse-usbsnoop.php
Douglas Schilling Landgraf [Mon, 22 Feb 2010 00:00:16 +0000 (21:00 -0300)]
v4l2-apps/util: Add parse-usbsnoop.php

From: Douglas Schilling Landgraf <dougsland@redhat.com>

Priority: normal

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
14 years agoqv4l2: fix error handling and initialization bugs
Hans Verkuil [Sat, 20 Feb 2010 13:06:05 +0000 (14:06 +0100)]
qv4l2: fix error handling and initialization bugs

From: Hans Verkuil <hverkuil@xs4all.nl>

The streaming I/O detection was flawed when used with videobuf. The
v4l2_buffer struct could contain uninitialized fields that would result
in videobuf errors. The application did not check for qbuf/dqbuf error
codes.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2-apps/util/parse_em28xx.pl: Add %reg_map 0x34, 0x35, 0x36, 0x37
Douglas Schilling Landgraf [Tue, 19 Jan 2010 18:17:31 +0000 (16:17 -0200)]
v4l2-apps/util/parse_em28xx.pl: Add %reg_map 0x34, 0x35, 0x36, 0x37

From: Franklin Meng <fmeng2002@yahoo.com>

Priority: normal

Signed-off-by: Franklin Meng <fmeng2002@yahoo.com>
[dougsland@redhat.com: fixed a reject due to a change in parse_em28xx.pl]
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
14 years agov4l2-apps/util/parse-sniffusb2.pl: new version
Douglas Schilling Landgraf [Tue, 19 Jan 2010 18:04:51 +0000 (16:04 -0200)]
v4l2-apps/util/parse-sniffusb2.pl: new version

From: Franklin Meng <fmeng2002@yahoo.com>

Priority: normal

Signed-off-by: Franklin Meng <fmeng2002@yahoo.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
14 years agokeycodes: update to reflect the IR code move to /media/IR
Mauro Carvalho Chehab [Mon, 14 Dec 2009 05:57:01 +0000 (03:57 -0200)]
keycodes: update to reflect the IR code move to /media/IR

From: Mauro Carvalho Chehab <mchehab@redhat.com>

Priority: normal

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agomerge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-qv4l2
Mauro Carvalho Chehab [Wed, 25 Nov 2009 19:11:35 +0000 (17:11 -0200)]
merge: www.linuxtv.org/hg/~hverkuil/v4l-dvb-qv4l2

From: Mauro Carvalho Chehab <mchehab@redhat.com>

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agomerge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc
Mauro Carvalho Chehab [Wed, 25 Nov 2009 18:48:18 +0000 (16:48 -0200)]
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>
14 years agodecode_tm6000: fix compile warning
Hans Verkuil [Wed, 25 Nov 2009 17:56:38 +0000 (18:56 +0100)]
decode_tm6000: fix compile warning

From: Hans Verkuil <hverkuil@xs4all.nl>

Trivial fix for this compile warning:

decode_tm6000.c:133: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2-apps: add qv4l2 for Qt4
Hans Verkuil [Wed, 25 Nov 2009 17:21:21 +0000 (18:21 +0100)]
v4l2-apps: add qv4l2 for Qt4

From: Hans Verkuil <hverkuil@xs4all.nl>

This Qt4 version of qv4l2 is much improved compared to the Qt3 version.
It adds support for the libv4l wrappers and it can capture as well.

There are still many improvements that can be made, but it is time to
get this version merged so people can start playing with it.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2-apps: move qv4l2 to qv4l2-qt3
Hans Verkuil [Wed, 25 Nov 2009 17:14:10 +0000 (18:14 +0100)]
v4l2-apps: move qv4l2 to qv4l2-qt3

From: Hans Verkuil <hverkuil@xs4all.nl>

This will make room for the qv4l2-qt4 version of this tool.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2-apps: fix the distclean makerules
Hans Verkuil [Wed, 25 Nov 2009 17:10:26 +0000 (18:10 +0100)]
v4l2-apps: fix the distclean makerules

From: Hans Verkuil <hverkuil@xs4all.nl>

Pass the distclean target on to qv4l2 for proper cleanup.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2-apps: fix qv4l2 build
Hans Verkuil [Wed, 25 Nov 2009 16:22:35 +0000 (17:22 +0100)]
v4l2-apps: fix qv4l2 build

From: Hans Verkuil <hverkuil@xs4all.nl>

Don't build qv4l2 if qt3 is not installed.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agoparse_em28xx.pl: fix parsing of i2c send/receive messages
Mauro Carvalho Chehab [Wed, 25 Nov 2009 10:20:56 +0000 (08:20 -0200)]
parse_em28xx.pl: fix parsing of i2c send/receive messages

From: Mauro Carvalho Chehab <mchehab@redhat.com>

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: fix Makefile include dir references
Mauro Carvalho Chehab [Fri, 20 Nov 2009 11:47:40 +0000 (12:47 +0100)]
libv4l: fix Makefile include dir references

From: Hans Verkuil <hverkuil@xs4all.nl>

libv4l should use the includes generated from the originals in v4l-dvb.
Apparently libv4l was moved up a level in the tree, so now -I../../../include
should become -I../../include.

Priority: normal

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agov4l2-dbg: report fail reason to the user
Mauro Carvalho Chehab [Tue, 24 Nov 2009 17:18:02 +0000 (15:18 -0200)]
v4l2-dbg: report fail reason to the user

From: Mauro Carvalho Chehab <mchehab@redhat.com>

Report the fail reason to the user when writing a register even if
the verbose mode is switched off.

Remove duplicated code ioctl() call which may cause different ioctl()
function call in case of verbose and non verbose if not handled carefully.

Priority: normal

[hverkuil@xs4all.nl: minor additional cleanup in doioctl()]
[mchehab@redhat.com: As I've already applied the original version, apply the diff version now]
Signed-off-by: Marton Nemeth <nm127@freemail.hu>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agodecode_tm6000: fix compilation
Mauro Carvalho Chehab [Tue, 24 Nov 2009 16:50:17 +0000 (14:50 -0200)]
decode_tm6000: fix compilation

From: Mauro Carvalho Chehab <mchehab@redhat.com>

Didn't compile due to broken library/header paths.

Priority: normal

[mchehab@redhat.com: Fix a merge conflict]
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agov4l2-dbg: report fail reason to the user
Mauro Carvalho Chehab [Sun, 15 Nov 2009 10:33:10 +0000 (11:33 +0100)]
v4l2-dbg: report fail reason to the user

From: Marton Nemeth <nm127@freemail.hu>

Report the fail reason to the user when writing a register even if
the verbose mode is switched off.

Remove duplicated code ioctl() call which may cause different ioctl()
function call in case of verbose and non verbose if not handled carefully.

Priority: normal

Signed-off-by: Marton Nemeth <nm127@freemail.hu>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
[hverkuil@xs4all.nl: minor additional cleanup in doioctl()]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agov4l2-dbg: report fail reason to the user
Mauro Carvalho Chehab [Thu, 12 Nov 2009 08:16:11 +0000 (08:16 +0000)]
v4l2-dbg: report fail reason to the user

From: Márton Németh <nm127@freemail.hu>

Report the fail reason to the user when writing a register even if
the verbose mode is switched off.

Remove duplicated code ioctl() call which may cause different ioctl()
function call in case of verbose and non verbose if not handled carefully.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agodecode_tm6000: fix include path
Mauro Carvalho Chehab [Thu, 12 Nov 2009 06:52:51 +0000 (06:52 +0000)]
decode_tm6000: fix include path

From: Márton Németh <nm127@freemail.hu>

The include path is changed from ../lib to ../lib4vl2util .

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agopixfmt-test: fix VIDIOC_G_STD call for webcams
Mauro Carvalho Chehab [Tue, 3 Nov 2009 04:14:18 +0000 (04:14 +0000)]
pixfmt-test: fix VIDIOC_G_STD call for webcams

From: Márton Németh <nm127@freemail.hu>

Webcams may return -1 and errno=EINVAL when there is no standard which
they support. Handle this case in pixfmt-test.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agoAdd a list of known issues to v4l2-apps
Mauro Carvalho Chehab [Wed, 18 Nov 2009 07:12:04 +0000 (05:12 -0200)]
Add a list of known issues to v4l2-apps

From: Mauro Carvalho Chehab <mchehab@redhat.com>

Priority: normal

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agov4l2-ctl: output the status and std field of VIDIOC_ENUMINPUT/OUTPUT
Hans Verkuil [Thu, 5 Nov 2009 14:03:17 +0000 (15:03 +0100)]
v4l2-ctl: output the status and std field of VIDIOC_ENUMINPUT/OUTPUT

From: Sigmund Augdal <sigmund@snap.tv>

Priority: normal

Signed-off-by: Sigmund Augdal <sigmund@snap.tv>
[hverkuil@xs4all.nl: improve flags2s and v4l2_std_id printing]
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>