summaryrefslogtreecommitdiff
path: root/v4l2-apps/test
AgeCommit message (Collapse)Author
2009-03-06videodev2.h: remove deprecated VIDIOC_G_CHIP_IDENT_OLDHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> As announced VIDIOC_G_CHIP_IDENT_OLD is now removed for 2.6.30. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-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: 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>
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-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-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-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-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-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-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-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-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>
2007-06-20Add another testing tool to v4l2-apps/testMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Michael Schimek gladly donated us a newer testing tool, capable of identify other API non-compliances, called pixfmt-test. Thanks Michael for this contribution. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-07Add capability to test VIDIOC_[S|G]_FREQUENCY on driver-testMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-01-21error check were wrong, since at userspace, error codes are positive valsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-20Improved error handling at driver-test.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-01Implement mmapped streaming receptionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Add capabilities to the library and to the driver to receive video streams. Library will use a callback, called every time a new buffer is reported by dqbuf. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-01Start adding mmap streaming into driver-testMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-01Add capture_exampe from V4L2 API spec Draft 0.20Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> V4L2 Draft spec have an interesting capture example code. Added it to the tree to allow testing V4L2 devices. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-16Start adding v4l2_mmap_bufs to prepare for streamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This method requests buffers and maps it into a mmaped memory. Still under testing. Still need other stuff to make stream to work. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-15Improved v4l2_driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - Better presentation of version - Make v4l2_enum_fmt generic for all types - Added v4l2_gettryset_fmt_cap to GET/TRY/SET fmt on capture - driver-test now sets a video format Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-15Initiated v4l-apps/lib V4L2 functionsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - Created v4l2_driver.c with some basic functions to: . Enum STD, INPUT and FORMAT . GET/SET STD and INPUT . GET PARAM - ioctl-test reverted back to a simple "brute-force" all ioctl call; - driver-test created to: . test V4L2 kernel drivers; . implement all functions provided by v4l2 library - driver-test should grow following the changes at v4l2-apps/lib Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-12Improved ioctl-testMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, it tests and diagnostics some api troubles. Still lacks several ioctls. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-09-01Add cropping support to v4l2-ctl, set buf_type in sliced_vbi_cap query.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> VIDIOC_S/G_CROP is now handled by v4l2-ctl. The v4l2_buf_type is now filled in in VIDIOC_G_SLICED_VBI_CAP. Several test tools now compile when v4l1 API is disabled. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-07-01Fix makefiles, start with libv4l2.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-07-01Move qv4l2 and v4l2-ctl to from test to utilHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-07-01Move test to v4l2-apps/test.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>