Age | Commit message (Collapse) | Author |
|
From: Carl Karsten <carl@personnelware.com>
Date: Thu, 28 Feb 2008 15:21:51 -0600
Adding #include <stddef.h> solves a build problem I had on Ubnutu.
v4l-dvb/v4l2-apps/test$ make
CC driver-test.o
In file included from driver-test.c:17:
../lib/v4l2_driver.h:26: error: expected specifier-qualifier-list before 'size_t'
make: *** [driver-test.o] Error 1
Thanks to Carl Karsten <carl@personnelware.com> for pointing this issue.
CC: Carl Karsten <carl@personnelware.com>
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Add a method to allow seek mode to find different versions of base
firmwares. This is useful to seek for older Xceive firmware revisions.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
USB drivers, like em28xx and tm6000, have 8 or 16 bit registers, instead of 32,
at host.
This patch adds an option to set step 1 when listing registers on those
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
move rds-saa6588.c from v4l_experimental to v4l2-apps/util
From: Mauro Carvalho Chehab <mchehab@infradead.org>
rds-saa6588 is, in fact, a test utility, not a driver. Move it to the proper
place and add a proper Makefile.
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>
When you have several boards inside a machine, you need to know what board
qv4l2 is using.
This patch presents driver, board name and bus id, to help identifying the
board.
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>
Xceive firmwares seem to use Big Endian for encoding size, delay and reset.
Kernel drivers uses Little Endian. Before this patch, method 1 were fixing
endian only for size.
This patch changes the behavior to change endian also for delay and reset.
With this change, with HVR12x0 file, method (1) works for all firmwares.
This produces a very optimized script.
The seek method is known to work with firmwares version 2.7 and 2.5. However,
drivers with firmware version 1.x have a different internal format. So, another
seek method will be required to allow the script to work on those firmwares.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
This is the tool used to generate extract_xc3028.pl.
Once you have a firmware file, generated from other methods, like usb dumps,
this tool allows to seek the firmware inside a windows driver, creating an
extrating script.
There are two methods to seek for a firmware:
1) a complete firmware seek;
2) seek for firmware hunks. For each firmware segment, it writes the
segment size, and seeks for the segment inside the firmware.
The result of method 2) is not optimized.
In the case of hvr12x0 driver, the base firmwares didn't hit method (1), so,
the extracting tool broke it into several small segments. This is not
optimized, but works.
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Firmware now allows having an IF table. This added some changes at the firmware
formats. This patch fixes firmware-tool to properly display such
newer firmware files.
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
xc2028/3028 tuner module.
From: Michel Ludwig <michel.ludwig@gmail.com>
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>
Wrong buffer type was set, causing EINVAL to be returned.
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: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
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>
|
|
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>
|