summaryrefslogtreecommitdiff
path: root/v4l2-apps/lib/libv4l
AgeCommit message (Collapse)Author
2009-02-13v4l2-apps: move libraries around to make the directory tree flatterHans Verkuil
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>
2008-09-24merge: http://linuxtv.org/hg/~hgoede/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-15libv4l: 0.5.0 releasehans@localhost.localdomain
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>
2008-09-03libv4l: Prefer compressed pixformats for resolutions > 176x144hans@localhost.localdomain
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>
2008-09-03libv4l: Add suport for YUYV and YVYU packed pixel formatshans@localhost.localdomain
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>
2008-08-29v4l2-apps: fix v4l2-apps build and 'make firmware' warningsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - fix some warnings when creating/removing directories when running 'make firmware' - fix v4l2-apps build: copy and strip the linux/include headers first to avoid the kernel-specific constructs in the original headers. Update the include paths to point to the copy. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-29libv4l: adjust (fix) sn9c102 bayer orderhans@localhost.localdomain
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>
2008-08-26libv4l: fix a few compile warningshans@localhost.localdomain
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>
2008-08-26libv4l: x86_64 asm fixes and hide non public symbolshans@localhost.localdomain
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>
2008-08-26libv4l: Fully handle upside down cam detection in userspacehans@localhost.localdomain
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>
2008-08-22libv4l: add support for Pixart custom JPEG formathans@localhost.localdomain
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>
2008-08-17libv4l: adjust upside down sensor support for kernel changeshans@localhost.localdomain
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>
2008-08-07libv4l: add support for fixing upside down images to libv4lconverthans@localhost.localdomain
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>
2008-08-06libv4l: Fix errors and warnings when compiling with ICChans@localhost.localdomain
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>
2008-08-04libv4l: keep our own CPPFLAGS even when otherflags are specified to makehans@localhost.localdomain
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>
2008-08-03libv4l: mmap return value should be void * not voidhans@localhost.localdomain
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>
2008-08-03libv4l: use driver read() when possiblehans@localhost.localdomain
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>
2008-08-03libv4l: remove 2 unused variable declarationshans@localhost.localdomain
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>
2008-08-03libv4l: drop appl-patcheshans@localhost.localdomain
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>
2008-08-03libv4l: add rgb24 <-> bgr24 conversionhans@localhost.localdomain
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>
2008-08-03libv4l: prefer native formatshans@localhost.localdomain
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>
2008-08-03libv4l: mpa buffers before queuinghans@localhost.localdomain
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>
2008-08-03libv4l: link against pthreadhans@localhost.localdomain
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>
2008-08-03libv4l: makefile and pkgconfig improvementshans@localhost.localdomain
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>
2008-08-03libv4l: add support for converting to rgb24hans@localhost.localdomain
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>
2008-08-03libv4l: make xawtv happyhans@localhost.localdomain
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>
2008-07-31libv4l: fixup copyright headershans@localhost.localdomain
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>
2008-07-30libv4l: add /dev/v4l/ to the paths supported by open() overrideBrandon Philips
Signed-off-by: Brandon Philips <bphilips@suse.de>
2008-07-30libv4l: silence the creation of pkg-config filesBrandon Philips
Signed-off-by: Brandon Philips <bphilips@suse.de>
2008-07-29libv4l: query buffer: indicate the mapping state of our (fake) buffer in the ↵hans@localhost.localdomain
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>
2008-07-29libv4l: proper accounting of mmap count of fake mmap buffershans@localhost.localdomain
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>
2008-07-29libv4l: intercept get capabilites and report read capabilityhans@localhost.localdomain
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>
2008-07-29libv4l: check capabilities for streaminghans@localhost.localdomain
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>
2008-07-29libv4l: add pkg-config (.pc) files for easier detection if libv4l is availablehans@localhost.localdomain
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>
2008-07-29libv4l2: work around wrong REQUEST_BUFFERS ioctl return codehans@localhost.localdomain
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>
2008-07-23libv4l 0.3.7 release, add spca505/6 and spca508 format supporthans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> * Add spca505/6 and spca508 cam specific formats (YUYV per line variations) Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-07-16libv4l: Add missing COPYING.LIB filehans@localhost.localdomain
2008-07-12libv4l release 0.3.5hans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> * Make JPEG decoding more robust Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-07-08v4l2-library: libv4l-0.3.4 (the brownpaperbag release) - final patchThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> * The mmap64 support in 0.3.3, has caused a bug in libv4l1 when running on 32 bit systems (who uses those now a days?), this bug caused v4l1 compatibility to not work at all, this release fixes this Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-08v4l2-library: libv4l-really-sync-with-0.3.4.patchThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> * The mmap64 support in 0.3.3, has caused a bug in libv4l1 when running on 32 bit systems (who uses those now a days?), this bug caused v4l1 compatibility to not work at all, this release fixes this * Some apps (xawtv, kopete) use an ioctl wrapper internally for various reasons. This wrappers request argument is an int, but the real ioctl's request argument is an unsigned long. Passing the VIDIOC_xxx defines through to the wrapper, and then to the real ioctl, causes the request to get sign extended on 64 bit args. The kernel seems to ignore the upper 32 bits, causing the sign extension to not make a difference. libv4l now also ignores the upper 32 bits of the libv4lx_ioctl request argument on 64 bit archs * Add a bugfix patch for kopete in the appl-patches dir, currently it assumes that it got the width and height it asked for when doing a S_FMT, which is a wrong assumption Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-06v4l2-library: libv4l-sync-with-0.3.3-releaseThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> * Add open64 and mmap64 wrappers to the LD_PRELOAD wrapper libs, so that they also work for applications compiled with FILE_OFFSET_BITS=64, this fixes using them with v4l-info * While looking at xawtv in general, found a few bugs in xawtv itself, added a patch to fix those to the appl-patches dir * Talking about the appl-patches dir, restore that as it accidentally got dropped from 0.3.2 * Be more verbose in various places when it comes to logging (esp errors) * Change v4lconvert_enum_fmt code a bit, so that it is easier to add more supported destination formats to libv4lconvert * Don't return -EINVAL from try_fmt when we cannot convert because the cam doesn't have any formats we know. Instead just return as format whatever the cam returns from try_fmt, this new behavior is compliant with the v4l2 api as documented Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-04v4l2-library: libv4l-0.3.2-releaseThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> The current mercurial has been released on my homepage as tarbal release 0.3.2, the only changes from the current mercurial + all patches already send (including the asm patch from Gregor Jasny) is updating of the ChangeLog file and updating the version in the Makefile, these changes are included in the attached patch. Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-04v4l2-library: libv4l-fix-idct-inline-assemblyThierry MERLE
From: Gregor Jasny <jasny@vidsoft.de> This patch fixes the input constraint for the sar instruction. It allows only an immediate or cl as shift width. Signed-off-by: Gregor Jasny <jasny@vidsoft.de> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-04v4l2-library: libv4l-warnings.patchThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> Fix all compiler warnings in libv4l Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-04v4l2-library: libv4l-makefile-improvements.patchThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> Makefile improvements: * Split DESTDIR into DESTDIR and PREFIX as used in most makefiles out there * Add LIBDIR variable to allow installation in <prefix>/lib64 for example * Install the wrappers in <libdir>/libv4l instead of directly under libdir, as they are not libraries meant for linking * preserve timestamps of header files when installing them Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-04v4l2-library: libv4l-update-documentation.patchThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> Some documentation updates to bring the documentation up2date with the latest changes. Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-04v4l2-library: libv4l-pac207-comments.patchThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> Add comments to pac207.c about what todays experiments have teached us about the pac207 compression. Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-04v4l2-library: libv4l-sonix-license-permissionThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> Add license change (GPL -> LGPL) permission notice, and don't claim copyright over code I didn't write, instead add copyright header of the original author (oops) Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-03v4l2-library: add support to libv4l for the compressed bayer format emitted ↵Thierry MERLE
by pac207 based cams From: Hans de Goede <j.w.r.degoede@hhs.nl> This patch adds support to libv4l for the compressed bayer format emitted by pac207 based cams. Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-03v4l2-library: Add support for sonix (sn9c10x) bayer compression to libv4lconvertThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> Add support for sonix (sn9c10x) bayer compression to libv4lconvert Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>