summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-20libv4l: Change controls shm segment name to include the usernamehans@rhel5-devel.localdomain
From: Gregor Jasny <gjasny@googlemail.com> Change controls shm segment name to include the username, as it is only writable by the user (this means libv4l controls are per user) Priority: normal Signed-off-by: Gregor Jasny <gjasny@googlemail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-17libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-14libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-14libv4l: Do not hide JPG / MJPG pixfmt from applicationshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Some applications want to use jpg format if possible, so do not hide it from the apps (do not assume it always needs conversion) Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-14libv4l: Fix reqbuf Device or Resource busy error when using readhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Some applications such as v4l2-apps/test/capture-example.c, in read mode use select() together with read() and do a select() before the first read(). This causes issues together with certain drivers (gspca for example), do not allow switching from read mode to mmap mode and they assume read() mode if a select or poll() is done before any buffers are requested. When not using libv4l2, this is not an issue but libv4l2 uses mmap mode under the hood when converting as that safes a memcpy for each frame read. This fails with such drivers when the application has done a select() before the first read() as the driver now is in "read mode" and disallows switching to mmap mode. This patch fixes this by falling back to using read() for v4l2_read() when using mmap mode fails. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-12libv4l: Also look for dmi info under /sys/class/dmi/idhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l was looking for dmi strings in sysfs under /sys/devices/virtual/dmi/id but with some kernel configurations this does not exist. It turns out that the dmi strings do exist under /sys/class/dmi/id here. It seems that all systems with dmi info in sysfs have /sys/class/dmi/id so default to using that instead. To be sure fall back to /sys/devices/virtual/dmi/id (the old behavor) when /sys/class/dmi/id is not found. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-11libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-10libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-09libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-09libv4l: fix upside down devices table orderinghans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: fix upside down devices table ordering Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-07libv4l: fix a compiler warninghans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: fix a compiler warning Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-05libv4l: update my email addresshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update my email address Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-05libv4l: README improvementshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: README improvements Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-05libv4l: README improvementshans@rhel5-devel.localdomain
From: bifferos <bifferos@yahoo.co.uk> libv4l: README improvements Priority: normal Signed-off-by: bifferos <bifferos@yahoo.co.uk> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-05libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-03libv4l: fixup 320x240 output for pac7302 camerashans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: fixup 320x240 output for pac7302 cameras Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-27libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-26libv4l: allow use of System / Product DMI strings in upside down cam listhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: allow use of System / Product DMI strings in upside down cam list Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-25libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-16libv4l: Make library subdir name configurablehans@rhel5-devel.localdomain
From: Gregor Jasny <gjasny@googlemail.com> While studying the Debian library package name, I noticed that private So /usr/lib/libv4l should become /usr/lib/libv4l0. As this would break existing scripts, I suggest to start versioning with the next soname bump. The line in the makefiles will then read: ifeq ($(LIBSUBDIR),) LIBSUBDIR = libv4l$(LIB_RELEASE) endif Unfortunately, the private subdirs in Debian must be named after the library package, which would be libv4l-0. Therefore I need to configure the LIBSUBDIR at compile time. Priority: normal Signed-off-by: Gregor Jasny <gjasny@googlemail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-14libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-10libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-10libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-10libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-09libv4l: Improved pac207 decompression codehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Improved pac207 decompression code to also support higher compression modes of the pac207, which enables us to use higher framerates. Many many thanks to Bertrik Sikken for figuring the decompression out! Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-09libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-08libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-06libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-07-03libv4l: add support for RGB565 formathans@rhel5-devel.localdomain
From: Mauro Carvalho Chehab <mchehab@redhat.com> Currently, em28xx driver outputs webcams only at RGB565 format. However, several webcam applications don't support this format. In order to properly work with those applications, a RGB565 handler should be added at libv4l. Tested with Silvercrest 1.3 mpix with v4l2grab (V4L2, with native libv4l support) and two LD_PRELOAD applications: camorama (V4L1 API) and skype (using compat32). Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-29libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-29libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-24libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-24libv4l: whitebalance fix divide by 0 and avoid abrupt changeshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: whitebalance fix divide by 0 and avoid abrupt changes Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-22libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-21libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-19libv4l: add various laptop models to the upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: add various laptop models to the upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-17libv4l: enable automatic gain / exposure control for st6422 deviceshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: enable automatic gain / exposure control for st6422 devices Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-17libv4l1: Emulate VIDIOCGWIN instead of passing it through to the kernelhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Emulate VIDIOCGWIN instead of passing it through to the kernel, this fixes us reporting a wrong size to the app when libv4l2 / libv4lconvert is cropping / downsampling the image. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-17libv4l: fix deadlock introduced by locking fix in previous patchhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: fix deadlock introduced by locking fix in previous patch Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-17libv4l: Report aligned resolution on first get_fmthans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> When a user does a try_fmt with the current dest_fmt and the dest_fmt is a supported one we will align the resulution (see try_fmt for why). Do the on the result of the first get_fmt, so that a try_fmt on the result of a get_fmt done immediately after open leaves the fmt unchanged Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-17libv4l1: Use v4l2_ioctl when determining min/max sizehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Use v4l2_ioctl instead of native ioctl's when finding out what the minimum / maximum size is, so that we take the resolution aligment done by libv4l2 into account for the minimum / maximum size. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-16libv4l: Make sure Y and UV or from the same 2x2 pixel block when croppinghans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: Make sure Y and UV or from the same 2x2 pixel block when cropping Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-16libv4l: Fix a bug in the always report widths which are a multiple of 8 codehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Fix a bug in the always report widths which are a multiple of 8 code added in 0.5.97 Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-14libv4l: Detect ov518 decompression errorshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Sometimes the ov518 gives us an incomplete frame, detect this and throw it away. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-14libv4l: Remove 0 blocks from non-compresses ov511 frames toohans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: Remove 0 blocks from non-compresses ov511 frames too Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-12libv4l: add missing stdint.h include to libv4l2.hhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: add missing stdint.h include to libv4l2.h Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-12libv4l: add support for decompressing ov511 compressed frameshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: add support for decompressing ov511 compressed frames Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-08libv4l: remove DEADJOE files during make cleanhans@rhel5-devel.localdomain
From: Gregor Jasny <gjasny@googlemail.com> libv4l: remove DEADJOE files during make clean Priority: normal Signed-off-by: Gregor Jasny <gjasny@googlemail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-08libv4l: move ov518 decompression code to an external helperhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Change support for decompressing ov518 "JPEG" to piping data through an external helper as I've failed to contact Mark W. McClelland to get permission to relicense the code. If you know a working email address for Mark W. McClelland, please let me know. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-05libv4l: add support for decompressing ov518 JPEGhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Add support for decompressing ov518 "JPEG", note this code is not LGPL yet, I'm waiting for a license change permission. If I do not get one this will be moved to an external helper and the data will be piped through this, to keep libv4l2.so LGPL Priority: normal Signed-off-by: Hans de Goede