summaryrefslogtreecommitdiff
path: root/v4l2-apps
AgeCommit message (Collapse)Author
2008-09-05v4l2-ctl: improve error reportingHans Verkuil
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>
2008-08-31v4l2-compliance: fix memory bug in handling of the -d option.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-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-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-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-06merge: v4l-dvbhans@localhost.localdomain
2008-08-04ivtv/cx18-ctl: fix same overrun.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-04v4l2-dbg/v4l2-ctl: fix buffer overrun.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.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-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-07-27merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-videodevMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-26v4l2-ctl: fix find_controls when dealing with old-style controls.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> 'v4l2-ctl -C contrast' would not show the control description. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-26fix a few assorted spelling mistakes.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>