summaryrefslogtreecommitdiff
path: root/v4l2-apps
AgeCommit message (Collapse)Author
2009-02-26merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-26Move parse-sniffusb2.pl to the right dirMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> As pointed by Cityk, this file were at the wrong place. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-20v4l2-apps: clean up the output for g_jpegcomp a bit.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-20v4l2-ctl: add get/set-jpeg-comp support.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-13v4l2-apps: rename parse_sniffusb2.pl to parse-sniffusb2.plHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-13v4l2-apps: rename capture_example to capture-exampleHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Follow the existing naming conventions. Also did a few small cleanups in this source. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-13v4l2-apps: rename v4l2_sysfs_path to v4l2-sysfs-pathHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> All other tools use - instead of the awkward-to-type underscore, so rename v4l2_sysfs_path to be consistent with the others. Please pay attention to existing nameing conventions the next time someone adds a tool. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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>
2009-02-13libv4l2util: rename from libv4l2 to prevent clash with the libv4l2 ↵Hans Verkuil
conversion library From: Hans Verkuil <hverkuil@xs4all.nl> libv4l2 was introduced to fix conversion problems. But this clashed with the already existing libv4l2 utility library. Renamed that libv4l2 library and header to libv4l2util. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-02-09Fix Makefile to compile stress-buffer.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-02v4l2-apps: Add stress buffer toolDouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@redhat.com> Added stress buffer tool Priority: normal Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-02v4l2-apps: Add parser for USB snoops captured from SniffUSB 2.0Douglas Schilling Landgraf
From: Franklin Meng <fmeng2002@yahoo.com> Added parser for USB snoops captured from SniffUSB 2.0 Priority: normal Signed-off-by: Franklin Meng <fmeng2002@yahoo.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-01-27Retrieves info for all v4l2 devices on /devMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-01-27v4l2_sysfs_path: replace "bus path" by "sysfs path"Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-01-27Add a small utility for retrieving sysfs bus pathMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Thanks to Carsten Meier <cm@trexity.de> for providing us a c++ code snippet for USB. This code is capable of getting the bus info for both USB and PCI devices. This is retrieved via bus_info returned by VIDIOC_QUERYCAP. The utility will output the following info for a usb device: bus info = usb-0000:00:1d.7-1 bus path = /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1 And, for PCI devices, it will output: bus info = PCI:0000:01:02.0 bus path = /sys/devices/pci0000:00/0000:00:1e.0/0000:01:02.0 Notice: This will only work for devices that uses the standard notation for the bus info: on PCI: sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci)); or sprintf(cap->bus_info, "PCIe:%s", pci_name(dev->pci)); on USB: usb_make_path(dev->udev, cap->bus_info, sizeof(cap->bus_info)); Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-31parse_em28xx.pl: Add a limited capability of parsing i2c commandsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-23v4l2-dbg: fix --list-symbolsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> --list-symbols didn't work for i2c drivers anymore. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-12-30v4l2: debugging API changed to match against driver name instead of ID.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Since the i2c driver ID will be removed in the near future we have to modify the v4l2 debugging API to use the driver name instead of driver ID. Note that this API is not used in applications other than v4l2-dbg.cpp as it is for debugging and testing only. Should anyone use the old VIDIOC_G_CHIP_IDENT, then this will be logged with a warning that it is deprecated and will be removed in 2.6.30. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-12-22v4l2-dbg: allow debug tvp5150 registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: Use aliases for debug, on available chipsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: Add support for get/set ac97 registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> em28xx devices can have an ac97 anciliary chip. This patch allows get/set ac97 registers Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22em28xx: update regiters on v4l2-dbg debug utilMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Some ac97 registers where presented as if they are em28xx ones. Also, add mising em2874 registers. The code were generated by the following command: $ more em28xx-reg.h |perl -ne 'if (m/(EM2[A-Z0-9]..)_R.._([^\s]+)\s+(0x[0-9A-Fa-f].)/) { printf "\t{$3, $1_PREFIX \"$2\", 1},\n"; }' |grep -v EM2800_PREFIX|sort >/tmp/registers Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: em2800 registers are not very common nowadays. Use it as alternate ↵Mauro Carvalho Chehab
names From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: print also register number when name is availableMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: print register name and fix doioctl checkMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: print register name when knownMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: fix --list-symbols optionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-fixesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-21ioctl-test: Support all ioctls, improve output and add additional checksHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Improved ioctl-test so that it can be used for compat32 testing. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-12-20v4l2-dbg: get-chip-ident has no argumentsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> get-chip-ident expected an argument when none was needed. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-12-06v4l2-ctl: List device links as suchHans Verkuil
From: Jean Delvare <khali@linux-fr.org> Improvement to --list-devices: when a device node is actually a link to another device node, display it as such. Priority: normal Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-11-26Add a parser for em28xx register debug logMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-24qv4l2: fix compile warnings.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-11-16select video device via a popup menuMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Seeking for a video device at /dev is sometimes hard, since not all distros create a /dev/v4l dir. Instead of opening a file, be more user-friendly, by just displaying the valid files. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-10command line: added --frames, touched upMauro Carvalho Chehab
From: Carl Karsten <carl@personnelware.com> 1. Added command line option -f --frames for number of frames to grab 2. changed the default -f from 1000 to 70 3. show defaults in --help 4. added a Version, picked 1.3 as the current ver because I consider the original to be 1.0 and at least 2 changes have been made. Signed-off-by: Carl Karsten <carl@personnelware.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-292-apps: fix generation of parse.hMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> Here's a fix for v4l2-apps/util/Makefile: It uses echo -e, which is not portable across different shell implementations. I replaced it with printf. That's a common problem on Ubuntu, where dash is used instead of bash as the default shell. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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-09-07v4l2-ctl: add --list-devices optionHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06v4l2-ctl: improve fmt handlingHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - add 'try' versions for the various formats - add set/try-fmt-overlay support - print result of set/try call if verbose was set Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-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>