platform/upstream/v4l-utils.git
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>
14 years agov4l2-compliance: add priority tests
Hans Verkuil [Sun, 2 May 2010 14:09:22 +0000 (16:09 +0200)]
v4l2-compliance: add priority tests

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2-compliance: cleanup and add tests for multiple opens.
Hans Verkuil [Sun, 2 May 2010 13:37:51 +0000 (15:37 +0200)]
v4l2-compliance: cleanup and add tests for multiple opens.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agoqv4l2: fix oops if the device has no user controls.
Hans Verkuil [Sun, 2 May 2010 11:23:09 +0000 (13:23 +0200)]
qv4l2: fix oops if the device has no user controls.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2-ctl: call QUERYCAP when sleep returns.
Hans Verkuil [Sun, 2 May 2010 10:58:46 +0000 (12:58 +0200)]
v4l2-ctl: call QUERYCAP when sleep returns.

Calling VIDIOC_QUERYCAP after sleeping is a nice way to test the USB
disconnect case.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2-ctl: add prio support and a sleep option.
Hans Verkuil [Sat, 1 May 2010 13:10:20 +0000 (15:10 +0200)]
v4l2-ctl: add prio support and a sleep option.

Add --get/set-priority to test VIDIOC_G/S_PRIORITY and add a sleep
option to let v4l2-ctl sleep for a number of seconds before closing
the file handle. Useful for testing.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4lcontrol: fix queryctrl handling
Hans Verkuil [Sat, 1 May 2010 11:40:59 +0000 (13:40 +0200)]
libv4lcontrol: fix queryctrl handling

When enumerating the controls using V4L2_CTRL_FLAG_NEXT_CTRL then queryctrl
should always remove V4L2_CTRL_FLAG_NEXT_CTRL when returning, even if no
next control was found.

So instead of using V4L2_CTRL_FLAG_NEXT_CTRL as the 'maximum' control ID
libv4lcontrol.c should use V4L2_CTRL_ID_MASK instead (which is really the
highest possible ID).

This bug caused qv4l2 to show the user controls twice.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2-ctl: Add support for dv preset API.
Mats Randgaard [Fri, 30 Apr 2010 12:41:15 +0000 (14:41 +0200)]
v4l2-ctl: Add support for dv preset API.

note: Custom timings are not yet implemented.

Signed-off-by: Mats Randgaard <mats.randgaard@tandberg.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4l: update upside-down device list
Hans de Goede [Fri, 30 Apr 2010 10:04:38 +0000 (12:04 +0200)]
libv4l: update upside-down device list

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
14 years agolibv4l: Properly set errno when leaving v4l2_read
Hans de Goede [Fri, 30 Apr 2010 10:03:29 +0000 (12:03 +0200)]
libv4l: Properly set errno when leaving v4l2_read

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
14 years agolibv4lcontrol: run through checkpatch.pl
Hans Verkuil [Fri, 30 Apr 2010 06:38:01 +0000 (08:38 +0200)]
libv4lcontrol: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4lprocessing: run through checkpatch.pl
Hans Verkuil [Fri, 30 Apr 2010 06:29:09 +0000 (08:29 +0200)]
libv4lprocessing: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agowhitebalance.c: run through checkpatch.pl
Hans Verkuil [Fri, 30 Apr 2010 06:27:44 +0000 (08:27 +0200)]
whitebalance.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agogamma.c: run through checkpatch.pl
Hans Verkuil [Fri, 30 Apr 2010 06:26:27 +0000 (08:26 +0200)]
gamma.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agoautogain.c: run through checkpatch.pl
Hans Verkuil [Fri, 30 Apr 2010 06:25:26 +0000 (08:25 +0200)]
autogain.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agotinyjpeg: run through checkpatch.pl
Hans Verkuil [Thu, 29 Apr 2010 12:59:14 +0000 (14:59 +0200)]
tinyjpeg: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agostv0680.c: run through checkpatch.pl
Hans Verkuil [Thu, 29 Apr 2010 12:29:33 +0000 (14:29 +0200)]
stv0680.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agosq905c.c: run through checkpatch.pl
Hans Verkuil [Thu, 29 Apr 2010 07:24:55 +0000 (09:24 +0200)]
sq905c.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agospca561-decompress.c: run through checkpatch.pl
Hans Verkuil [Thu, 29 Apr 2010 07:21:33 +0000 (09:21 +0200)]
spca561-decompress.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agospca501.c: run through checkpatch.pl
Hans Verkuil [Thu, 29 Apr 2010 07:17:48 +0000 (09:17 +0200)]
spca501.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agosn9c20x.c: run through checkpatch.pl
Hans Verkuil [Thu, 29 Apr 2010 07:16:23 +0000 (09:16 +0200)]
sn9c20x.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agosn9c2028-decomp.c: run through checkpatch.pl
Hans Verkuil [Thu, 29 Apr 2010 07:11:04 +0000 (09:11 +0200)]
sn9c2028-decomp.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agosn9c10x.c: run through checkpatch.pl
Hans Verkuil [Thu, 29 Apr 2010 07:08:17 +0000 (09:08 +0200)]
sn9c10x.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agorgbyuv.c: run through checkpatch.pl
Hans Verkuil [Thu, 29 Apr 2010 07:05:41 +0000 (09:05 +0200)]
rgbyuv.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2-ctl: add support to poll or wait for an event.
Hans Verkuil [Thu, 29 Apr 2010 06:59:20 +0000 (08:59 +0200)]
v4l2-ctl: add support to poll or wait for an event.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agovideodev2.h: update to latest v4l-dvb version.
Hans Verkuil [Thu, 29 Apr 2010 06:55:53 +0000 (08:55 +0200)]
videodev2.h: update to latest v4l-dvb version.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agopac207.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 19:08:08 +0000 (21:08 +0200)]
pac207.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agoov518-decomp.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 19:05:30 +0000 (21:05 +0200)]
ov518-decomp.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agoov511-decomp.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 18:47:52 +0000 (20:47 +0200)]
ov511-decomp.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agomr97310a.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 18:36:57 +0000 (20:36 +0200)]
mr97310a.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4l*-priv.h: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 18:34:05 +0000 (20:34 +0200)]
libv4l*-priv.h: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4lconvert.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 06:51:50 +0000 (08:51 +0200)]
libv4lconvert.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agojidctflt.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 06:44:56 +0000 (08:44 +0200)]
jidctflt.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agohelper.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 06:41:47 +0000 (08:41 +0200)]
helper.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agoflip.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 06:40:47 +0000 (08:40 +0200)]
flip.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agocrop.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 06:40:05 +0000 (08:40 +0200)]
crop.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agocpia1.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 06:38:13 +0000 (08:38 +0200)]
cpia1.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agobayer.c: run through checkpatch.pl
Hans Verkuil [Wed, 28 Apr 2010 06:36:31 +0000 (08:36 +0200)]
bayer.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agoqv4l2: when calling TRY_FMT set pix.field to V4L2_FIELD_ANY
Hans Verkuil [Wed, 7 Apr 2010 22:17:49 +0000 (00:17 +0200)]
qv4l2: when calling TRY_FMT set pix.field to V4L2_FIELD_ANY

Setting it to V4L2_FIELD_ANY is better than using the value from
G_FMT. If that is e.g. FIELD_TOP, then 'trying' a larger height will
clamp that down to what a single field supports. Whereas FIELD_ANY
will just try to find the best field setting for the requested format.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l2convert.c: run through checkpatch.pl
Hans Verkuil [Tue, 27 Apr 2010 10:31:09 +0000 (12:31 +0200)]
v4l2convert.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolog.c: run through checkpatch.pl
Hans Verkuil [Tue, 27 Apr 2010 10:29:31 +0000 (12:29 +0200)]
log.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4l2.c: run through checkpatch.pl
Hans Verkuil [Tue, 27 Apr 2010 10:27:52 +0000 (12:27 +0200)]
libv4l2.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4l2-priv.h: run through checkpatch.pl
Hans Verkuil [Tue, 27 Apr 2010 10:06:24 +0000 (12:06 +0200)]
libv4l2-priv.h: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agov4l1compat.c: run through checkpatch.pl
Hans Verkuil [Tue, 27 Apr 2010 10:04:47 +0000 (12:04 +0200)]
v4l1compat.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolog.c: run through checkpatch.pl
Hans Verkuil [Tue, 27 Apr 2010 10:03:10 +0000 (12:03 +0200)]
log.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4l1-priv.h: run through checkpatch.pl
Hans Verkuil [Tue, 27 Apr 2010 09:52:06 +0000 (11:52 +0200)]
libv4l1-priv.h: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4l1.c: run through checkpatch.pl
Hans Verkuil [Tue, 27 Apr 2010 09:49:56 +0000 (11:49 +0200)]
libv4l1.c: run through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4l*: run headers through checkpatch.pl
Hans Verkuil [Tue, 27 Apr 2010 09:36:01 +0000 (11:36 +0200)]
libv4l*: run headers through checkpatch.pl

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agoqv4l2: fix include directory
Hans Verkuil [Mon, 26 Apr 2010 07:46:43 +0000 (09:46 +0200)]
qv4l2: fix include directory

Add top-level include directory to the include list for qv4l2 and
qv4l2-qt3. Also add the thread config option for qv4l2-qt3.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agolibv4l: update upside-down device list
Hans de Goede [Mon, 26 Apr 2010 07:39:13 +0000 (09:39 +0200)]
libv4l: update upside-down device list

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
14 years agoqv4l2: when refreshing controls call queryctrl before setVal.
Hans Verkuil [Sat, 24 Apr 2010 11:41:21 +0000 (13:41 +0200)]
qv4l2: when refreshing controls call queryctrl before setVal.

setVal relies on correct control flags for the setWhat() call. So
we must update the control flags before calling setVal.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
14 years agoir-keytable: Add support for Sony and JVC protocols
Mauro Carvalho Chehab [Wed, 21 Apr 2010 02:11:55 +0000 (23:11 -0300)]
ir-keytable: Add support for Sony and JVC protocols

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
14 years agolibv4l: update upside down device list
Hans de Goede [Tue, 20 Apr 2010 10:57:51 +0000 (12:57 +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 [Fri, 16 Apr 2010 15:29:38 +0000 (17:29 +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 [Fri, 16 Apr 2010 13:00:02 +0000 (15:00 +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 [Mon, 12 Apr 2010 07:39:53 +0000 (09:39 +0200)]
libv4l: update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>