Age | Commit message (Collapse) | Author |
|
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>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
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>
|
|
Lots of new options for VIDIOC_S/G_FMT and other ioctls.
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Fix the copyright lines in the v4l2 library. Also explicitly add
the Nathan's SOB for frequency.c.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Nathan Laredo <laredo@gnu.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>
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>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|