summaryrefslogtreecommitdiff
path: root/v4l2-apps
AgeCommit message (Collapse)Author
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-23v4l2-apps: fixes for compile warnings/errorsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - clean up capture_example.c (bad codingstyle and compile warnings) - fix some headers without trailing newline - fix compile warnings in v4l2-ctl.cpp and v4l2-dbg.cpp - fix qv4l2 __stack_chk_fail_local compile error that occurs on some distros (ubuntu) - fix some Makefile clean up rules Signed-off-by: Hans Verkuil <hverkuil@xs4all.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-11Adds the possibility of writing captured stream into a fileMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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>
2008-07-03v4l2-library: libv4l: update mercurial tree to latest 0.3.1 releaseThierry MERLE
From: Hans de Goede <j.w.r.degoede@hhs.nl> This patch syncs (updates) the libv4l in mercurial with (to) the latest 0.3.1 release. - Only serialize V4L2_BUF_TYPE_VIDEO_CAPTURE type ioctls - Do not return an uninitialized variable as result code for GPICT (fixes vlc, but see below) - Add an apps-patches directory which includes: * vlc-0.8.6-libv4l1.patch, modify vlc's v4l1 plugin to directly call into libv4l1, in the end we want all apps todo this as its better then LD_PRELOAD tricks, but for vlc this is needed as vlc's plugin system causes LD_PRELOAD to not work on symbols in the plugins * camorama-0.19-fixes.patch, small bugfixes to camorama's v4l1 support, this patch only fixes _real_ bugs in camorama and does not change it to work with v4l1compat. Although it does work better with these bugs fixed :) With this patch and LD_PRELOAD=<path>/v4l1compat.so it works flawless. Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-01v4l2-library: global filesThierry MERLE
From: Hans de Goede <j.w.r.degoede at hhs.nl> Global files to make the libv4l compile, install and exported into a tar.gz file Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-01v4l2-library: libv4l1 and v4l1compatThierry MERLE
From: Hans de Goede <j.w.r.degoede at hhs.nl> libv4l1 is the base of the v4l1compat.so wrapper lib, which is a .so which can be LD_PRELOAD-ed and the overrules the libc's open/close/etc, and when opening /dev/videoX calls v4l1_open. Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-01v4l2-library: libv4l2 and v4l2convertThierry MERLE
From: Hans de Goede <j.w.r.degoede at hhs.nl> libv4l2 offers v4l2_ prefixed versions of open/close/etc. The API is 100% the same as directly opening /dev/videoX using regular open/close/etc, the big difference is that format conversion is done if necessary when capturing. That is if you (try to) set a capture format which is not supported by the cam, but is supported by libv4lconvert, then the try_fmt / set_fmt will succeed as if the cam supports the format and on dqbuf / read the data will be converted for you and returned in the request format. v4l2convert: open/close/ioctl/mmap/munmap library call wrapper doing format conversion for v4l2 applications which want to be able to simply capture bgr24 / yuv420 from v4l2 devices with more exotic frame formats. Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-07-01v4l2-library: libv4lconvertThierry MERLE
From: Hans de Goede <j.w.r.degoede at hhs.nl> libv4lconvert: video decompression routines Signed-off-by: Hans de Goede <j.w.r.degoede at hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
2008-06-29v4l2-ctl: improve handling of control names with non-alnum charsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-28v4l2-dbg: if only the 'min' value is specified, then set max to min+0xffHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-27v4l2-ctl: fix bug in --set-standardHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> --set-standard allows you to set a standard index corresponding to what ENUMSTD returns. But this clashes when you specify a standard whose ID is very small, like PAL-BG. Then the utility thinks you specified a standard index and will select the wrong standard. Fixed by using a flag to mark that the standard actually is a standard and not a standard index. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-27Added the SBGGR16 format and fixed two memory leaks on pixfmt-test.Mauro Carvalho Chehab
From: Michael Schimek <mschimek@gmx.at> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-01v4l2-apps: add initial version of v4l2-complianceHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Add tool to test V4L2 API driver compliance. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-31v4l2-dbg: merge v4l-board-dbg into v4l2-dbgHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> There is no point in having multiple debug utilities that do the same thing, so merge the functionality of v4l-board-dbg into v4l2-dbg. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-31v4l2-dbg: simplify v4l2-dbgHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-31v4l2-dbg: simplify usage messageHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.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-29merge: http://linuxtv.org/hg/~hgoede/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22ivtv-ctl: fix 64-bit compile warning.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-20capture_example: code cleanupsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Just fixed a bunch of checkpatch warnings and tightened up the code. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-20capture_example: Don't change the format by defaultHans Verkuil
From: Jean Delvare <khali@linux-fr.org> Don't change the capture format by default. This lets the user select the capture pixel format and resolution using v4l2-ctl. The old behavior (forcing the format to 640x480 YUYV) can still be obtained by passing -f. Priority: normal Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-19v4l2-ctl: merge strings in the usage messageHans Verkuil
From: Jean Delvare <khali@linux-fr.org> Function calls aren't cheap. By merging the strings printed by the usage() function, we reduce the number of times printf (or actually puts) is called, from 121 to only 4. This makes usage() about twice as fast as before, and also shrinks the binary size a bit (4 kB). Priority: normal Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-19v4l2-ctl: added support to set the pixelformatHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-28v4l2-ctl: show name and afc when calling VIDIOC_G_TUNERHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-27v4l2-apps: some capture_example improvementsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - show progress even when sending captured data to stdout - use bytesused rather than length - use /dev/video0 instead of /dev/video (conform xawtv tools) Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-16v4l-board-dbg: Add registers for em28xxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16v4l-host-dbg: Add missing saa7134-dbg.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16v4l-board-dbg: Some cleanupsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16v4l-board-dbg: Add support for saa7134 registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16Prepare v4l-board-dbg to other chip additionsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16rename bttv-dbg to v4l-board-dbg in order to make it more genericMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16Add a tool to debug bttv registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-05-25ivtv-ctl: add support to set mute and audio stereo/bilingual modes for playbackHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> There was no support to set the fast/slow playback mute mode and the stereo/bilingual playback modes. Added this to ivtv-ctl. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-05-24v4l2-ctl: return errors as the program resultHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> If an error occurs, then the program now returns an error. Also did a few cleanups. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-04-28cx18: add new cx18-ctl control utilityHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Add cx18-ctl utility to control cx18 cards, add cx18 debug support to v4l2-dbg. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-04-26ivtv: add ivtv-ctl control utility.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>