Age | Commit message (Collapse) | Author |
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
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(+)
|
|
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(-)
|
|
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>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
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>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
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>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
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>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
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>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Now, it will print keycode name, if known.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Using the same approach as capture_exampe.c
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
The usage line for the -t option was wrong.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|