summaryrefslogtreecommitdiff
path: root/v4l2-apps
AgeCommit message (Collapse)Author
2009-06-14v4l2-ctl: add modulator get/set options.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-17merge: http://linuxtv.org/hg/~hgoede/libv4lMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@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
2009-06-05libv4l: recognize when controls are disabledhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: recognize when controls are disabled Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-06-02libv4l: initial support for compiling on FreeBSDhans@rhel5-devel.localdomain
From: Hans Petter Selasky <hselasky@freebsd.org> Add a patch by Hans Petter Selasky <hselasky@freebsd.org>, which should lead to allowing use of libv4l (and the Linux webcam drivers ported to userspace usb drivers) on FreeBSd, this is a work in progress Priority: normal Signed-off-by: Hans Petter Selasky <hselasky@freebsd.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-29libv4l: Fix a crash in v4lcontrol_controls_changed()hans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Don't crash when v4lcontrol_controls_changed() gets called and we have no fake controls (null pointer dereference). Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-27libv4l: Fix black screen on devices with hardware gamma controlhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: Fix black screen on devices with hardware gamma control Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-27libv4l: Link libv4lconvert with -lm for powfhans@rhel5-devel.localdomain
From: Gregor Jasny <gjasny@googlemail.com> libv4l: Link libv4lconvert with -lm for powf Priority: normal Signed-off-by: Gregor Jasny <gjasny@googlemail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-26libv4l: 0.5.98 releasehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: 0.5.98 release Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-26libv4l: fix a crash when doing processing on non rgb / bayer datahans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> We were calling processing on the rotate90_src, but when doing single conversion and not doing rotate90 that was not pointing the buffer we should do the processing on (the converted data), but instead it was pointing to the original src buffer. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-26libv4l: activate software whitebalance by default on some camshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: activate software whitebalance by default on some cams Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-26libv4l: add gamma correction to video processinghans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> add gamma correction to the video processing, and enable it by default (correct for a display gamma of 1.5) for pac207 based cams. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-25libv4l: Fix a few small issues with V4L2_CTRL_FLAG_NEXT_CTRL handlinghans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: Fix a few small issues with V4L2_CTRL_FLAG_NEXT_CTRL handling Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-25libv4l: Obsolete the V4L2_ENABLE_ENUM_FMT_EMULATION v4l2_fd_open flaghans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> The V4L2_ENABLE_ENUM_FMT_EMULATION v4l2_fd_open flag is obsolete, libv4l2 now *always* reports emulated formats through the ENUM_FMT ioctl Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-25libv4l: add software autogain / exposurehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Add software autogain / exposure, for camera's which have gain and exposure controls but do not contain the ability to calculate the average lumination in hardware (which is needed to do this in the kernel). This patch enables this for the spca561 rev12a, but it should be usefull for other cameras too. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-22libv4l: add support for adding black borders (reverse cropping)hans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Add the capability to provide 320x240 to apps if the cam can only do 320x232 (some zc3xx cams) by adding black borders. And more in general the capability to make certain standard resolutions available by adding black borders to slightly smaller resolutions, in case we encounter more cams which have a hardware limitation which makes them do a resolution slightly smaller then the standard ones. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-21libv4l: better handling of the V4L2_DISABLE_CONVERSION flaghans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: better handling of the V4L2_DISABLE_CONVERSION flag Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-21libv4l: fix detection of conversion mode in v4l2_buffers_mapped()hans@localhost.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: fix detection of conversion mode in v4l2_buffers_mapped() Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-21libv4l: Do not set format for control applicationshans@localhost.localdomain
From: Hans de Goede <hdegoede@redhat.com> When we must do conversion (as we want todo flipping / processing) and the cam does not default to a supported dest format, we set the emulated format to rgb24, wait with doing this till the app actually does something format related, otherwise control applications like v4l2ucp used to become the stream owner locking out other apps. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-21libv4l: rewrite video processing codehans@localhost.localdomain
From: Hans de Goede <hdegoede@redhat.com> Rewrite video processing code to make it easier to add more video filters (and with little extra processing cost). As part of this the normalize filter has been removed as it wasn't functioning satisfactory anyways Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-20libv4l: add fake controls controlling the software h- and v-flippinghans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> When we need to go through the fake mmap buffer anyways, we can add fake controls at no cost. So in the case of webcams which only support non standard pixformats, export fake flipping controls, as this can be done at no (performace) cost (until the user activates them). Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-19libv4l: support separate vfliping and hflipinghans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Before this patch libv4l only support 180 degree rotation, which is hflip and vflip combined, this patch adds support for separate hflipping and vflipping. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-17libv4l: add Changelog entry for last 3 commitshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: add Changelog entry for last 3 commits (I should really learn to do this before comitting) Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-17libv4l: fix v4lconvert_uyvy_to_yuv420()hans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> v4lconvert_uyvy_to_yuv420() had a bug causing the result to be all messed up, also see: http://bugzilla.gnome.org/show_bug.cgi?id=571772 Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-16libv4l: add ability to determine flags based on DMI infohans@localhost.localdomain
From: Hans de Goede <hdegoede@redhat.com> It is possible for the same laptop webcam module (so same usb id) to be mounted upside down in some models and the right way up in other laptop models. This patch adds the ability to only apply flags to a webcam based on the combination of usb id and dmi info to identify the laptop model. It also adds the webcam in the Asus N50Vn as the first upside down cam identified this way. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-05-16libv4l: Support V4L2_CTRL_FLAG_NEXT_CTRL for fake controlshans@localhost.localdomain
From: Adam Baker <linux@baker-net.org.uk> The "fake" controls added by libv4l to provide whitebalance on some cameras do not respect the V4L2_CTRL_FLAG_NEXT_CTRL and hence don't appear on control programs that try to use that flag if there are any driver controls that do support the flag. Add support for V4L2_CTRL_FLAG_NEXT_CTRL Priority: normal Signed-off-by: Adam Baker <linux@baker-net.org.uk> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-17libv4l: Add sq905 to the list of devices which benefit from whitebalancinghans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: Add sq905 to the list of devices which benefit from whitebalancing Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-17libv4l: add missing Libs.private to v4lconvert.pchans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: add missing Libs.private to v4lconvert.pc Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-16libv4l: Only created shared memory segment when we have fake v4l2 controlshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: Only created shared memory segment when we have fake v4l2 controls Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-16libv4l: if the card name contains a / replace it with a - in the shm namehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> / is not allowed inside shm names, so if the card name contains a / replace it with a - Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-16libv4l: Makefiles: better dependency generationhans@rhel5-devel.localdomain
From: Gregor Jasny <gjasny@googlemail.com> libv4l: Makefiles: better dependency generation Priority: normal Signed-off-by: Gregor Jasny <gjasny@googlemail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-16libv4l: link libv4lcontrol against rt, not libv4l2hans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: link libv4lcontrol against rt, not libv4l2 Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-16libv4l: genius messenger 112 needs both upside down and whitebalance flags.hans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: genius messenger 112 needs both upside down and whitebalance flags. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-15libv4l: 0.9.97 releasehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: 0.9.97 release Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-15libv4l: Don't add "fake" controls when not doing conversionhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Since all things fake controls enable (such as whitebalancing) depend upon libv4lconvert_convert being called, do not fake controls when conversion is disabled. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-14libv4l: crop widths to the nearest multiple of 8 when converting to YUV420hans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Some applications / libs (*cough* gstreamer *cough*) will not work correctly with planar YUV formats when the width is not a multiple of 8, so crop widths which are not a multiple of 8 to the nearest multiple of 8 when converting to planar YUV Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-04-14libv4l: fix reading wrong memory when doing yuv420->rgb conversionhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> Fix reading outside of the source memory when doing yuv420->rgb conversion. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>