summaryrefslogtreecommitdiff
path: root/v4l2-apps
AgeCommit message (Collapse)Author
2007-11-24Make format output more compactMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-15Improve standards print at --listMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-15Improve --list commant to show the firmware typeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-11-14Add little firmware manipulation tool for firmware files required by theMauro Carvalho Chehab
xc2028/3028 tuner module. From: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-20v4l2-ctl: fix minor inconsistency regarding INTEGER64 handling.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-10-19v4l2-ctl: fix --get-sliced-vbi(-out)-cap.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Wrong buffer type was set, causing EINVAL to be returned. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-10-15merge: http://www.linuxtv.org/hg/~hverkuil/ivtvMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-14v4l2-ctl: fix usage message.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-10-11Remove obsolete VIDIOC_S/G_MPEGCOMP ioctlsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Remove the obsolete VIDIOC_G_MPEGCOMP and VIDIOC_S_MPEGCOMP ioctls from the V4L2 API as per the removal schedule (October 2007). Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-08-20v4l2-ctl: add VIDIOC_OVERLAY support.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-07-12Fix tuner max rangeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> By default, tuner-core reports max range as the maximum possible unsigned int. Since qv4l2 uses QSpinBox to display frequency ranges, and this waits for a signed integer, it is considering the maximum value as being -1. This hack will trunc any value bigger than the maximum signed integer to the max value. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- v4l2-apps/util/qv4l2/general-tab.cpp | 2 ++ 1 file changed, 2 insertions(+)
2007-07-12gen_keytables.pl is too verbose.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Make gen_keytables.pl less verbose Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- v4l2-apps/util/gen_keytables.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
2007-07-31videodev2.h: remove superfluous FBUF GLOBAL_INV_ALPHA supportHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> There is no need for a global inverted alpha capability since all the application has to do is to pass '255-alpha' as the global alpha value. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-07-25Fix v4l2-dbg option parsing bug.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-06-04Add inverted alpha support to v4l2-ctl.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-06-02Clean up formatting of v4l2-ctl output.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-05-29Add full crop/cropcap support to v4l2-ctlHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - Remove last use of V4L2_CAP_VIDEO_OUTPUT_POS from v4l2-ctl and v4l2-dbg. - Add VIDIOC_CROPCAP support to v4l2-ctl. - Extend VIDIOC_G/S_CROP support for other buffers besides video capture in v4l2-ctl. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-05-21Backed out changeset c7cb1aaec112a3ee7d6483b54d03d6a093754f10Hans Verkuil
2007-05-19Use v4l2_pix_out_fmt instead of v4l2_pix_fmt for video output formatHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Adding top/left fields to v4l2_pix_fmt broke the ABI. To fix this a new v4l2_pix_out_fmt struct was introduced to specify the video output format. This new struct *does* have the additional top/left fields. The V4L2_CAP_VIDEO_OUTPUT_POS capability that was introduced is no longer needed and is removed. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-05-17Fix v4l2-ctl: comment out top/left usageHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The patch that broke the ABI was reverted. Also revert the changes in v4l2-ctl that used that new functionality. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-05-012_driver.c:v4l2_enum_stds: erroneously always returns failureMauro Carvalho Chehab
From: David Warman <dwarman@davidwarman.net> v4l2_driver.c:v4l2_enum_stds: erroneously always returns failure because errno is +ve, needs inverting for use as a v4l error code. The diff command actually produced patched for two fixes; I separated them manually into these two reports. Signed-off-by: David Warman <dwarman@davidwarman.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-28Add VIDIOC_G_CHIP_IDENT to various i2c modulesHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-27Generate driver IDs and chip IDs from the headers and use that in v4l2-dbg.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Instead of a hand-coded list the driver IDs and chip idents are generated automatically from the corresponding headers. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-26Show v4l2_framebuffer Base address in v4l2-ctl.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-25Add v4l2-dbg debugging utility.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> With v4l2-dbg it is possible to make register dumps of host or i2c chips. It is also possible to query what chips are available. This is just the first version, it will be improved substantially. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-25Add v4l2-ctl support for output overlays and framebuffer ioctls.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-18Use strtol instead of atol to parse the value for a control.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Setting the VIDEO_MUTE control works much better if you can enter a hexadecimal value. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2007-02-04Forgot to test against V4L2_CTRL_FLAG_DISABLEDHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-21Improved keycode printingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, it will print keycode name, if known. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-21Better not to depend at the links under v4l dir.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-21Create keycodes dir, if not existentMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-21Add gen_keytables.pl to automatically generate IR keycodes and improved keytableMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Keytable is now a 3 in 1 script: calling with one argument, it reads keytable from a IR device calling with two arguments, it writes a keytable at a IR device calling with three arguments, it allows changing just one keymap Of course, it is generic enough to work also with other event devices. gen_keytables.pl will generate keyboard mappings, as defined at kernel module. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-21Added a small utility to allow see/edit IR tablesMauro 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-11Add missing PAL-60 standard to v4l2-ctl -s optionHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-12-01Fix G_PARM outputMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-01Fix driver_test for a non-compliance on bttv driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> bttv driver presents a non-compliance: When S_FMT is called, pix.sizeimage reports a different size than when QUERYBUF is called, for the same S_FMT. The current code can work fine with this non-compliance, but an error should be reported. Those are the reports from bttv driver, by running driver-test: FMT SET: 640x480, fourcc=YVU9, 640 bytes/line, 345600 bytes/frame, colorspace=0x00000000 <snip/> QUERYBUF: 00:00:00.00000000 index=0, type=video-cap, bytesused=0, flags=0x00000000, field=any, sequence=0, memory=mmap, offset=0x00000000, length=348160 TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000 QUERYBUF: ERROR: VIDIOC_S_FMT said buffer should have 345600 size, but received 348160 from QUERYBUF! Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-01Make v4l2-apps to run some rules defined at main MakefileMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> There are some basic rules that are interesting to be working at apps dir, like: commit, whitespace, pull, push, insmod, rmmod Signed-of-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-01Added a TODO for missing ioctls at the libraryMauro 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-01Fix free buffer handlingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> There is a non-compliance on video-buf implementation about calling REQBUFS with count=0. According with API, this should free all buffers, but video-buf returns, instead, -EINVAL. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-12-01It seems that ioctl might fail without actually running the codeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Using the same approach as capture_exampe.c 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-01Added a function to free buffers (v4l2_free_bufs)Mauro 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-16Fix v4l2_mmap_bufs and add checks for memory allocationMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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>