hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:30:03 +0000 (13:30 +0100)]
libv4l: Add MR97310A decompression
From: Kyle Guinn <elyk03@gmail.com>
libv4l: Add MR97310A decompression
Priority: normal
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:27:13 +0000 (13:27 +0100)]
libv4l: remove .orig and .rej files on make clean and simplify make export
From: Hans de Goede <hdegoede@redhat.com>
libv4l: remove .orig and .rej files on make clean and simplify make export
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:26:52 +0000 (13:26 +0100)]
libv4l: change clean target to remove editor backup files in root and include
From: Hans de Goede <hdegoede@redhat.com>
libv4l: change clean target to remove editor backup files in root and include
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:26:35 +0000 (13:26 +0100)]
libv4l: remove some code duplication in bayer handling
From: Hans de Goede <hdegoede@redhat.com>
remove some code duplication in bayer handling
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:26:09 +0000 (13:26 +0100)]
libv4l: add sn9c20x-i420 decoder
From: Vasily Khoruzhick <anarsoul@gmail.com>
Recent sn9c20x driver written by microdia project
(http://groups.goolge.com/group/microdia) introduce new output format -
sn9c20x-i420. This format is actually scrambled yuv420, so it's very easy and
fast to convert it to yuv420. This patch adds sn9c20x-i420 decoder to the
libv4l-0.5.7
This decoder is much faster than jpeg one (sn9c20x supports JPEG too):
sn9c20x-i420 decoder eats only 10% of 1GHz CPU at 640x480x25fps vs 40% of
1GHz CPU in jpeg at same frame size/rate.
This format should be preffered for sn9c20x, because sn9c20x driver supports
SBGGR8 too, so it should go before SBGGR8 in supported_src_pixfmts.
Priority: normal
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:23:30 +0000 (13:23 +0100)]
libv4l: us USB-id's instead of USB product string in upside down dev table
From: Hans de Goede <hdegoede@redhat.com>
Switch to using USB-id's instead of USB product string, as not all devices
set a unique product string. This fixes the upside down issues with
genius e-messenger 112 cams
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:17:15 +0000 (13:17 +0100)]
libv4l: Use Requires.private where appropiate in .pc files
From: Gregor Jasny <gjasny@web.de>
Use Requires.private where appropiate in .pc files.
Priority: normal
Signed-off-by: Gregor Jasny <gjasny@web.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:16:22 +0000 (13:16 +0100)]
libv4l: remove duplicate v4lconvert_yvyu_to_yuv420 function
From: Hans de Goede <hdegoede@redhat.com>
Remove v4lconvert_yvyu_to_yuv420 function as its functionality is
duplicate with v4lconvert_yuyv_to_yuv420
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:16:01 +0000 (13:16 +0100)]
libv4l: add UYVY support
From: Julien BLACHE <jb@jblache.org>
Attached is a patch to add UYVY support to libv4lconvert. It's
obviously a shameless respin of the YVYU conversion routines :P
Tested on a USB Apple iSight, which only supports UYVY.
Priority: normal
Signed-off-by: Julien BLACHE <jb@jblache.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:15:43 +0000 (13:15 +0100)]
libv4l: 0.5.7 release
From: Hans de Goede <hdegoede@redhat.com>
* Fix a nasty (and stupid) bug in the special try_fmt handling for UVC cams
* Add some more verbose logging of various calls when asking libv4l to log
calls to a file, to assist in (future) debugging
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:15:10 +0000 (13:15 +0100)]
libv4l: Always do a s_fmt on uvc cams
From: Hans de Goede <hdegoede@redhat.com>
Always do a s_fmt on uvc cams even if this changes nothing, as not doing
the s_fmt triggers a bug in the uvcvideo driver in kernel <= 2.6.28
(with certain cams)
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:12:08 +0000 (13:12 +0100)]
libv4l: avoid try_fmt on UVC cams if possible
From: Hans de Goede <hdegoede@redhat.com>
Avoid the use of try_fmt as much as possible on UVC cams, instead use the
results of the enum_framesizes ioctl. This is because:
1) try_fmt actually causes IO with UVC cams making apps which do lot of
querying of device capabilities slow (cheese)
2) some buggy cams don't like getting lots of UVC video probes and crash
when they do
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:10:27 +0000 (13:10 +0100)]
libv4l: add support for converting to YV12 planar
From: Hans de Goede <hdegoede@redhat.com>
Add support for converting to YV12 planar (next to the already supported
YU12 / I420) and implement RGB/BGR24 -> YU/YV12 conversion
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:09:42 +0000 (13:09 +0100)]
libv4l: add support for downscaling
From: Lukáš Karas <lukas.karas@centrum.cz>
Add support for downscaling to make apps which want low resolutions
(skype, spcaview) happy when used with cams which can only do high
resolutions.
Priority: normal
Signed-off-by: Lukáš Karas <lukas.karas@centrum.cz>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:09:27 +0000 (13:09 +0100)]
libv4l: Don't report DQBUF errors when errno is EAGAIN
From: Hans de Goede <hdegoede@redhat.com>
Don't report DQBUF errors when errno is EAGAIN, this fixes flooding the
screen with errors when applications use non blocking mode
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:08:51 +0000 (13:08 +0100)]
libv4l: dont try to allocate large buffers on the stack
From: Hans de Goede <hdegoede@redhat.com>
When conversion requires multiple passes don't alloc the needed temporary
buffer on the stack, as some apps (ekiga) use so much stack themselves
this causes us to run out of stack space
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:08:30 +0000 (13:08 +0100)]
libv4l: buffers only contain half of the lines with V4L2_FIELD_ALTERNATE
From: Hans de Goede <hdegoede@redhat.com>
Take into account that the buffers only contain half of the lines when
field is V4L2_FIELD_ALTERNATE
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:08:13 +0000 (13:08 +0100)]
libv4l: don't use memcmp to compare pix_formats
From: Hans de Goede <hdegoede@redhat.com>
Only check width, height and pixelformat when checking if we are doing
conversion, instead of doing a memcmp, as that are the only things which
the convert code checks
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:07:44 +0000 (13:07 +0100)]
libv4l: make s_fmt more robust part 2
From: Hans de Goede <hdegoede@redhat.com>
Check that s_fmt atleast gives us the width, height and pixelformat try_fmt
promised us, and if not disable conversion
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:07:28 +0000 (13:07 +0100)]
libv4l: Make S_FMT handling more robust
From: Hans de Goede <hdegoede@redhat.com>
Some drivers (pwc) do not properly reflect what one really gets
after a s_fmt in their try_fmt answer. So update dest format (which we
report as result from s_fmt / g_fmt to the app) with all info from the src
format not changed by conversion.
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:07:08 +0000 (13:07 +0100)]
libv4l: Add Philips SPC210NC to list of cams with upside down sensor
From: Hans de Goede <hdegoede@redhat.com>
libv4l: Add Philips SPC210NC to list of cams with upside down sensor
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:06:48 +0000 (13:06 +0100)]
libv4l: Do not link the wrapper libs against libphread
From: Gregor Jasny <jasny@vidsoft.de>
libv4l: Do not link the wrapper libs against libphread
Priority: normal
Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
hans@rhel5-devel.localdomain [Wed, 11 Mar 2009 12:06:14 +0000 (13:06 +0100)]
libv4l: Add software cropping from CIF to VGA modes (fix skype)
From: Hans de Goede <hdegoede@redhat.com>
* Add support for software cropping from 352x288 -> 320x240 / 176x144 ->
160x120, so that apps which will only work with vga resolutions like
320x240 (Skype!) will work with cams/drivers which do not support cropping
CIF resolutions to VGA resolutions in hardware. This makes all 2.6.27 gspca
supported cams, except for the pac7302 which only does 640x480 (and skype
wants 320x240), work with skype
* The v4lconvert_convert function was becoming a bit of a mess, so split the
functionailiy into seperate v4lconvert_convert_pixfmt, v4lconvert_rotate and
v4lconvert_crop functions, and make v4lconvert_convert a frontend to
these
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Fri, 6 Mar 2009 12:55:42 +0000 (13:55 +0100)]
videodev2.h: remove deprecated VIDIOC_G_CHIP_IDENT_OLD
From: Hans Verkuil <hverkuil@xs4all.nl>
As announced VIDIOC_G_CHIP_IDENT_OLD is now removed for 2.6.30.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mauro Carvalho Chehab [Thu, 26 Feb 2009 18:41:03 +0000 (15:41 -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>
Mauro Carvalho Chehab [Thu, 26 Feb 2009 18:30:48 +0000 (15:30 -0300)]
Move parse-sniffusb2.pl to the right dir
From: Mauro Carvalho Chehab <mchehab@redhat.com>
As pointed by Cityk, this file were at the wrong place.
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Fri, 20 Feb 2009 10:38:35 +0000 (11:38 +0100)]
v4l2-apps: clean up the output for g_jpegcomp a bit.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 20 Feb 2009 10:28:46 +0000 (11:28 +0100)]
v4l2-ctl: add get/set-jpeg-comp support.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 13 Feb 2009 13:00:19 +0000 (14:00 +0100)]
v4l2-apps: rename parse_sniffusb2.pl to parse-sniffusb2.pl
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 13 Feb 2009 12:23:52 +0000 (13:23 +0100)]
v4l2-apps: rename capture_example to capture-example
From: Hans Verkuil <hverkuil@xs4all.nl>
Follow the existing naming conventions.
Also did a few small cleanups in this source.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 13 Feb 2009 12:17:31 +0000 (13:17 +0100)]
v4l2-apps: rename v4l2_sysfs_path to v4l2-sysfs-path
From: Hans Verkuil <hverkuil@xs4all.nl>
All other tools use - instead of the awkward-to-type underscore, so
rename v4l2_sysfs_path to be consistent with the others. Please pay
attention to existing nameing conventions the next time someone adds
a tool.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 13 Feb 2009 12:06:29 +0000 (13:06 +0100)]
v4l2-apps: move libraries around to make the directory tree flatter
From: Hans Verkuil <hverkuil@xs4all.nl>
Instead of having libv4l2util in v4l2-apps/lib and libv4l in v4l2-apps/lib/libv4l,
both are now moved to v4l2-apps/libv4l2util and v4l2-apps/libv4l.
This is much cleaner and less confusing.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 13 Feb 2009 11:56:07 +0000 (12:56 +0100)]
libv4l2util: rename from libv4l2 to prevent clash with the libv4l2 conversion library
From: Hans Verkuil <hverkuil@xs4all.nl>
libv4l2 was introduced to fix conversion problems. But this clashed with
the already existing libv4l2 utility library. Renamed that libv4l2 library
and header to libv4l2util.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mauro Carvalho Chehab [Mon, 9 Feb 2009 17:38:11 +0000 (15:38 -0200)]
Fix Makefile to compile stress-buffer.c
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Douglas Schilling Landgraf [Mon, 2 Feb 2009 16:34:50 +0000 (14:34 -0200)]
v4l2-apps: Add stress buffer tool
From: Douglas Schilling Landgraf <dougsland@redhat.com>
Added stress buffer tool
Priority: normal
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Douglas Schilling Landgraf [Mon, 2 Feb 2009 16:31:39 +0000 (14:31 -0200)]
v4l2-apps: Add parser for USB snoops captured from SniffUSB 2.0
From: Franklin Meng <fmeng2002@yahoo.com>
Added parser for USB snoops captured from SniffUSB 2.0
Priority: normal
Signed-off-by: Franklin Meng <fmeng2002@yahoo.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Mauro Carvalho Chehab [Wed, 28 Jan 2009 00:16:53 +0000 (22:16 -0200)]
Retrieves info for all v4l2 devices on /dev
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 27 Jan 2009 23:56:31 +0000 (21:56 -0200)]
v4l2_sysfs_path: replace "bus path" by "sysfs path"
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 27 Jan 2009 23:47:39 +0000 (21:47 -0200)]
Add a small utility for retrieving sysfs bus path
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Thanks to Carsten Meier <cm@trexity.de> for providing us a c++ code
snippet for USB.
This code is capable of getting the bus info for both USB and PCI
devices. This is retrieved via bus_info returned by VIDIOC_QUERYCAP.
The utility will output the following info for a usb device:
bus info = usb-0000:00:1d.7-1
bus path = /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1
And, for PCI devices, it will output:
bus info = PCI:0000:01:02.0
bus path = /sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0
Notice: This will only work for devices that uses the standard
notation for the bus info:
on PCI:
sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci));
or
sprintf(cap->bus_info, "PCIe:%s", pci_name(dev->pci));
on USB:
usb_make_path(dev->udev, cap->bus_info, sizeof(cap->bus_info));
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 31 Dec 2008 03:45:35 +0000 (01:45 -0200)]
parse_em28xx.pl: Add a limited capability of parsing i2c commands
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Tue, 23 Dec 2008 14:58:55 +0000 (15:58 +0100)]
v4l2-dbg: fix --list-symbols
From: Hans Verkuil <hverkuil@xs4all.nl>
--list-symbols didn't work for i2c drivers anymore.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Tue, 30 Dec 2008 10:14:19 +0000 (11:14 +0100)]
v4l2: debugging API changed to match against driver name instead of ID.
From: Hans Verkuil <hverkuil@xs4all.nl>
Since the i2c driver ID will be removed in the near future we have to
modify the v4l2 debugging API to use the driver name instead of driver ID.
Note that this API is not used in applications other than v4l2-dbg.cpp
as it is for debugging and testing only.
Should anyone use the old VIDIOC_G_CHIP_IDENT, then this will be logged
with a warning that it is deprecated and will be removed in 2.6.30.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mauro Carvalho Chehab [Tue, 23 Dec 2008 00:00:03 +0000 (22:00 -0200)]
v4l2-dbg: allow debug tvp5150 registers
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 22 Dec 2008 18:01:46 +0000 (16:01 -0200)]
v4l2-dbg: Use aliases for debug, on available chips
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 22 Dec 2008 17:06:33 +0000 (15:06 -0200)]
v4l2-dbg: Add support for get/set ac97 registers
From: Mauro Carvalho Chehab <mchehab@redhat.com>
em28xx devices can have an ac97 anciliary chip. This patch allows
get/set ac97 registers
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 22 Dec 2008 16:49:07 +0000 (14:49 -0200)]
em28xx: update regiters on v4l2-dbg debug util
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Some ac97 registers where presented as if they are em28xx ones. Also,
add mising em2874 registers.
The code were generated by the following command:
$ more em28xx-reg.h |perl -ne 'if (m/(EM2[A-Z0-9]..)_R.._([^\s]+)\s+(0x[0-9A-Fa-f].)/) { printf "\t{$3, $1_PREFIX \"$2\", 1},\n"; }' |grep -v EM2800_PREFIX|sort >/tmp/registers
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 22 Dec 2008 12:22:42 +0000 (10:22 -0200)]
v4l2-dbg: em2800 registers are not very common nowadays. Use it as alternate names
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 22 Dec 2008 12:19:13 +0000 (10:19 -0200)]
v4l2-dbg: print also register number when name is available
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 22 Dec 2008 12:17:16 +0000 (10:17 -0200)]
v4l2-dbg: print register name and fix doioctl check
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 22 Dec 2008 11:53:53 +0000 (09:53 -0200)]
v4l2-dbg: print register name when known
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 22 Dec 2008 11:36:29 +0000 (09:36 -0200)]
v4l2-dbg: fix --list-symbols option
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 22 Dec 2008 10:52:13 +0000 (08:52 -0200)]
merge: www.linuxtv.org/hg/~hverkuil/v4l-dvb-fixes
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Sun, 21 Dec 2008 13:38:12 +0000 (14:38 +0100)]
ioctl-test: Support all ioctls, improve output and add additional checks
From: Hans Verkuil <hverkuil@xs4all.nl>
Improved ioctl-test so that it can be used for compat32 testing.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 20 Dec 2008 12:14:03 +0000 (13:14 +0100)]
v4l2-dbg: get-chip-ident has no arguments
From: Hans Verkuil <hverkuil@xs4all.nl>
get-chip-ident expected an argument when none was needed.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 6 Dec 2008 10:29:33 +0000 (11:29 +0100)]
v4l2-ctl: List device links as such
From: Jean Delvare <khali@linux-fr.org>
Improvement to --list-devices: when a device node is actually a link
to another device node, display it as such.
Priority: normal
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mauro Carvalho Chehab [Wed, 26 Nov 2008 14:30:47 +0000 (12:30 -0200)]
Add a parser for em28xx register debug log
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Mon, 24 Nov 2008 12:56:06 +0000 (13:56 +0100)]
qv4l2: fix compile warnings.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mauro Carvalho Chehab [Sun, 16 Nov 2008 03:26:13 +0000 (01:26 -0200)]
select video device via a popup menu
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Seeking for a video device at /dev is sometimes hard, since not all
distros create a /dev/v4l dir. Instead of opening a file, be more
user-friendly, by just displaying the valid files.
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 10 Nov 2008 20:21:34 +0000 (18:21 -0200)]
command line: added --frames, touched up
From: Carl Karsten <carl@personnelware.com>
1. Added command line option -f --frames for number of frames to grab
2. changed the default -f from 1000 to 70
3. show defaults in --help
4. added a Version, picked 1.3 as the current ver because I consider the
original to be 1.0 and at least 2 changes have been made.
Signed-off-by: Carl Karsten <carl@personnelware.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 29 Sep 2008 05:48:26 +0000 (05:48 +0000)]
2-apps: fix generation of parse.h
From: Andreas Oberritter <obi@linuxtv.org>
Here's a fix for v4l2-apps/util/Makefile: It uses echo -e, which is not
portable across different shell implementations. I replaced it with
printf. That's a common problem on Ubuntu, where dash is used instead of
bash as the default shell.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 24 Sep 2008 13:35:08 +0000 (10:35 -0300)]
merge: http://linuxtv.org/hg/~hgoede/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hans@localhost.localdomain [Mon, 15 Sep 2008 11:48:21 +0000 (13:48 +0200)]
libv4l: 0.5.0 release
From: Hans de Goede <hdegoede@redhat.com>
* Add support for enumerating framesizes and frameintervals of emulated
formats when the driver supports it for the real format
* Make sure the video device always gets opened RW even if the application
asks for RO
* Add Genius E-Messenger 112 (093a:2476) to list of cams which have their
sensor upside down
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Sun, 7 Sep 2008 12:46:44 +0000 (14:46 +0200)]
v4l2-ctl: add --list-devices option
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 6 Sep 2008 12:58:47 +0000 (14:58 +0200)]
v4l2-ctl: improve fmt handling
From: Hans Verkuil <hverkuil@xs4all.nl>
- add 'try' versions for the various formats
- add set/try-fmt-overlay support
- print result of set/try call if verbose was set
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 5 Sep 2008 06:27:28 +0000 (08:27 +0200)]
v4l2-ctl: improve error reporting
From: Hans Verkuil <hverkuil@xs4all.nl>
Based on a similar patch from Jean Delvare.
By default errors are shown. --verbose also reports successful calls and
--silent suppresses the output altogether, only returning an application
error code.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
hans@localhost.localdomain [Wed, 3 Sep 2008 12:24:30 +0000 (14:24 +0200)]
libv4l: Prefer compressed pixformats for resolutions > 176x144
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: Prefer compressed pixformats for resolutions > 176x144
Priority: normal
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Wed, 3 Sep 2008 09:36:18 +0000 (11:36 +0200)]
libv4l: Add suport for YUYV and YVYU packed pixel formats
From: Jean-Francois Moine <moinejf@free.fr>
libv4l: Add suport for YUYV and YVYU packed pixel formats
Priority: normal
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Hans Verkuil [Sun, 31 Aug 2008 10:03:53 +0000 (12:03 +0200)]
v4l2-compliance: fix memory bug in handling of the -d option.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
hans@localhost.localdomain [Fri, 29 Aug 2008 12:00:57 +0000 (14:00 +0200)]
libv4l: adjust (fix) sn9c102 bayer order
From: Hans de Goede <j.w.r.degoede@hhs.nl>
* The bayer pixel order in gspca's sonixb driver was different from that in
the sn9c102 driver from the mainline kernel, a recent gspca patch fixes
this, adjust libv4l to match (and make it work properly with the sn9c102
driver).
Priority: normal
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Tue, 26 Aug 2008 16:11:09 +0000 (18:11 +0200)]
libv4l: fix a few compile warnings
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: fix a few compile warnings
Priority: normal
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Tue, 26 Aug 2008 14:37:38 +0000 (16:37 +0200)]
libv4l: x86_64 asm fixes and hide non public symbols
From: Gregor Jasny <gjasny@web.de>
* Hide non public symbols (Gregor Jasny)
* Fix and enable x86_64 asm jpeg decompress helper functions (Gregor Jasny)
Priority: normal
Signed-off-by: Gregor Jasny <gjasny@web.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Tue, 26 Aug 2008 10:55:08 +0000 (12:55 +0200)]
libv4l: Fully handle upside down cam detection in userspace
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: Fully handle upside down cam detection in userspace
Priority: normal
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Fri, 22 Aug 2008 21:23:50 +0000 (23:23 +0200)]
libv4l: add support for Pixart custom JPEG format
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: add support for Pixart custom JPEG format
Priority: normal
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 17 Aug 2008 18:13:01 +0000 (20:13 +0200)]
libv4l: adjust upside down sensor support for kernel changes
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: adjust upside down sensor support for kernel changes
Priority: normal
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Thu, 7 Aug 2008 17:34:10 +0000 (19:34 +0200)]
libv4l: add support for fixing upside down images to libv4lconvert
From: Hans de Goede <j.w.r.degoede@hhs.nl>
Add support to libv4lconvert to flipping the image for upside down mounted
sensors, libv4lconvert will do this automatically if the webcam sets a
flag in its query_fmt reply indicating that this is necessary, this fixes
the upside down image on Philips SPC200NC images
Priority: normal
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Wed, 6 Aug 2008 08:49:16 +0000 (10:49 +0200)]
libv4l: Fix errors and warnings when compiling with ICC
From: Gregor Jasny <jasny@vidsoft.de>
libv4l: Fix errors and warnings when compiling with ICC
Priority: normal
Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Wed, 6 Aug 2008 08:41:47 +0000 (10:41 +0200)]
merge: v4l-dvb
Hans Verkuil [Mon, 4 Aug 2008 17:49:24 +0000 (19:49 +0200)]
ivtv/cx18-ctl: fix same overrun.
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Mon, 4 Aug 2008 17:42:57 +0000 (19:42 +0200)]
v4l2-dbg/v4l2-ctl: fix buffer overrun.
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
hans@localhost.localdomain [Mon, 4 Aug 2008 14:09:03 +0000 (16:09 +0200)]
libv4l: keep our own CPPFLAGS even when otherflags are specified to make
From: Gregor Jasny <jasny@vidsoft.de>
libv4l: keep our own CPPFLAGS even when otherflags are specified to make
Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 19:20:08 +0000 (21:20 +0200)]
libv4l: mmap return value should be void * not void
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: mmap return value should be void * not void
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 17:25:44 +0000 (19:25 +0200)]
libv4l: use driver read() when possible
From: Hans de Goede <j.w.r.degoede@hhs.nl>
When the driver supports read() and we are not converting let the driver
handle read() instead of emulating it with mmap mode
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 16:47:06 +0000 (18:47 +0200)]
libv4l: remove 2 unused variable declarations
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: remove 2 unused variable declarations
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 16:36:50 +0000 (18:36 +0200)]
libv4l: drop appl-patches
From: Hans de Goede <j.w.r.degoede@hhs.nl>
Drop the appl-patches dir, all application patches are now available and
tracked here: http://linuxtv.org/v4lwiki/index.php/Libv4l_Progress
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 15:15:12 +0000 (17:15 +0200)]
libv4l: add rgb24 <-> bgr24 conversion
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: add rgb24 <-> bgr24 conversion
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 14:53:49 +0000 (16:53 +0200)]
libv4l: prefer native formats
From: Hans de Goede <j.w.r.degoede@hhs.nl>
When the hardware supports a format natively prefer using the native
version over converting from another supported format
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 12:35:38 +0000 (14:35 +0200)]
libv4l: mpa buffers before queuing
From: Hans de Goede <j.w.r.degoede@hhs.nl>
With some drivers the buffers must be mapped before queuing, so when
converting map the (real) buffers before calling the qbuf ioctl
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 11:21:19 +0000 (13:21 +0200)]
libv4l: link against pthread
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: link against pthread
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 11:15:46 +0000 (13:15 +0200)]
libv4l: makefile and pkgconfig improvements
From: Gregor Jasny <jasny@vidsoft.de>
Various Makefile and pkgconfig file improvements by Gregor Jasny (Debian)
Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 10:43:49 +0000 (12:43 +0200)]
libv4l: add support for converting to rgb24
From: Jean-Francois Moine <moinejf@free.fr>
Add support for conversion to RGB24 (before we only support BGR24) based
on a patch by Jean-Francois Moine
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Sun, 3 Aug 2008 09:42:57 +0000 (11:42 +0200)]
libv4l: make xawtv happy
From: Hans de Goede <j.w.r.degoede@hhs.nl>
Be more relaxed in our checks for mixing read and mmap access, we were
being more strict in this then certain kernel drivers (bttv) making xawtv
unhappy
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Thu, 31 Jul 2008 07:37:27 +0000 (09:37 +0200)]
libv4l: fixup copyright headers
From: Brandon Philips <bphilips@suse.de>
Part of the copyright headers refered GPL instead of LGPL due to a copy
and paste error (Brandon Philips)
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Brandon Philips [Thu, 31 Jul 2008 03:07:58 +0000 (20:07 -0700)]
libv4l: add /dev/v4l/ to the paths supported by open() override
Signed-off-by: Brandon Philips <bphilips@suse.de>
Brandon Philips [Thu, 31 Jul 2008 03:05:21 +0000 (20:05 -0700)]
libv4l: silence the creation of pkg-config files
Signed-off-by: Brandon Philips <bphilips@suse.de>
hans@localhost.localdomain [Tue, 29 Jul 2008 21:56:08 +0000 (23:56 +0200)]
libv4l: query buffer: indicate the mapping state of our (fake) buffer in the flags
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: query buffer: indicate the mapping state of our (fake) buffer in the flags
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Tue, 29 Jul 2008 21:43:20 +0000 (23:43 +0200)]
libv4l: proper accounting of mmap count of fake mmap buffers
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: proper accounting of mmap count of fake mmap buffers
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Tue, 29 Jul 2008 21:26:45 +0000 (23:26 +0200)]
libv4l: intercept get capabilites and report read capability
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: intercept get capabilites and report read capability
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Tue, 29 Jul 2008 21:15:36 +0000 (23:15 +0200)]
libv4l: check capabilities for streaming
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: check capabilities for streaming
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Tue, 29 Jul 2008 21:02:59 +0000 (23:02 +0200)]
libv4l: add pkg-config (.pc) files for easier detection if libv4l is available
From: Hans de Goede <j.w.r.degoede@hhs.nl>
libv4l: add pkg-config (.pc) files for easier detection if libv4l is available
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
hans@localhost.localdomain [Tue, 29 Jul 2008 19:48:08 +0000 (21:48 +0200)]
libv4l2: work around wrong REQUEST_BUFFERS ioctl return code
From: Gregor Jasny <jasny@vidsoft.de>
libv4l2: work around wrong REQUEST_BUFFERS ioctl return code
Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>