summaryrefslogtreecommitdiff
path: root/v4l2-apps/util
AgeCommit message (Collapse)Author
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-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-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>
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-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-11-15Fix compiation bug on qv4l2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> sys/time.h is required to include videodev2.h at userspace. thanks to audetto@tiscalli.it for pointing it. Also fixed a warning at a printf. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-14Added a simple V4L TV record perl scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This script can be used to test V4L TV record on STD/M video standards. Should be easy to adapt it to be used with other video standards. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-12Print buffer type for struct v4l2_sliced_vbi_cap.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> This was commented out because the type was missing in v4l2_sliced_vbi_cap. It's now added, so this can now be used. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-11-12Improve usage message and short options for v4l2-ctlHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Several uncommon actions had a short option, while some common actions only had a long option. Reorganized this. Also split the usage message in common and uncommon options. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-10-26Fix incorrect usage line in v4l2-ctlHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The usage line for the -t option was wrong. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-10-12Add VIDIOC_ENUM_FMT support to v4l2-ctl.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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-08-25Bug fix (-C didn't work).Hans Verkuil
Lots of new options for VIDIOC_S/G_FMT and other ioctls.
2006-07-01Split qv4l2.cpp into multiple sources.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-07-01Fix qv4l2.cpp to work with v4l2.h.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> 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>