Hans de Goede [Sun, 27 May 2012 09:45:13 +0000 (11:45 +0200)]
v4l2-ctl: Add support for setting the band to S_TUNER / S_MODULATOR
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 27 May 2012 08:33:21 +0000 (10:33 +0200)]
v4l2-ctl: Add support for printing band info to G_TUNER / G_MODULATOR code
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 2 Jun 2012 09:25:40 +0000 (11:25 +0200)]
v4l2-ctl: Add support for new hwseek tuner capabilities
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 2 Jun 2012 09:11:53 +0000 (11:11 +0200)]
Add HW_SEEK and TUNER_BAND capabilities to videodev2.h
Bring in the pending (reviewed and acked) changes from:
http://git.linuxtv.org/hverkuil/media_tree.git/shortlog/refs/heads/bands
As these are needed to add support for these new API-s to v4l2-ctl.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Ezequiel Garcia [Wed, 30 May 2012 13:42:44 +0000 (10:42 -0300)]
Add configure option to allow qv4l2 disable
This patch could ease the job of a few people,
by providing an option they actually need.
OpenWRT [1] and Openembedded [2] are already disabling
qv4l2 by applying ugly patches.
[1] https://dev.openwrt.org/browser/packages/libs/libv4l/patches/004-disable-qv4l2.patch
[2] http://patches.openembedded.org/patch/21469/
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 15:21:40 +0000 (12:21 -0300)]
libdvbv5: fix the DVB write routine
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 14:23:25 +0000 (11:23 -0300)]
libdvbv5: Fix DiSEqC output
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 14:15:56 +0000 (11:15 -0300)]
utils/dvb: Handle a calloc() error
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 12:54:23 +0000 (09:54 -0300)]
libdvbv5: Improve INFO messages when emulation mode is enabled
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 12:18:26 +0000 (09:18 -0300)]
libdvbv5: Verbose DiSEqC commangs, when verbose is on
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 30 May 2012 11:50:31 +0000 (08:50 -0300)]
dvb: Allow forcing the usage of DVBv3 calls on dvbv5-scan and dvbv5-zap
Forcing the usage of DVBv3 API allows testing the backward compatibility
of the application with Kernels before 3.3.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 29 May 2012 21:10:13 +0000 (18:10 -0300)]
libdvbv5: Add ATSC-MH API bits
Adds the missing bits for ATSC-MH. Not tested though.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 29 May 2012 20:55:51 +0000 (17:55 -0300)]
libdvbv5: Fix DVB-S2/DVB-T2 support if DVB version is < 5.5
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 29 May 2012 20:44:33 +0000 (17:44 -0300)]
dvb: Update README to reflect its tests with DVB-S
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Thu, 24 May 2012 21:02:10 +0000 (18:02 -0300)]
[media] libdvbv5: Fix LNBf offset calculus
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Thu, 24 May 2012 21:02:09 +0000 (18:02 -0300)]
[media] libdvbv5: Fix tuning command
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Mon, 28 May 2012 12:33:47 +0000 (14:33 +0200)]
v4l2-ctl: split up the huge usage message.
Split up the usage message in easier to understand chunks, and only display
the relevant chunk where possible.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans de Goede [Sat, 26 May 2012 11:19:13 +0000 (13:19 +0200)]
Remove config.h.in from git
It is auto-generated so it does not belong in git
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 26 May 2012 11:10:02 +0000 (13:10 +0200)]
v4l2-ctl: Add a --tuner-index cmdline option
This allows doing a g_tuner, s_tuner, g_modulator, s_modulator, g_frequency,
s_frequency or s_hw_freq_seek operation on a different tuner/modulator
then the one with index 0.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 26 May 2012 10:59:40 +0000 (12:59 +0200)]
v4l2-ctl: Be consistent in handling v4l2_frequency.type for modulators
Currently for a S_FREQUENCY we set v4l2_frequency.type to V4L2_TUNER_RADIO,
but on G_FREQUENCY we leave it unset. The spec states that the type field
should be ignored by modulators, but since we're setting it on
S_FREQUENCY, lets be consistent and also set if on G_FREQUENCY.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 26 May 2012 10:51:19 +0000 (12:51 +0200)]
v4l2-ctl: Remove double G_TUNER on G_FREQUENCY
Remove a left-over from commit
b18142f9, where the code for determining the
frequency factor (V4L2_TUNER_CAP_LOW), was changed to use a G_MODULATOR
instead of a G_TUNER for MODULATORS.
This left over causes an unnecessary double G_TUNER for regular tuners, and
an unwanted G_TUNER call for modulators.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Sat, 26 May 2012 07:46:45 +0000 (09:46 +0200)]
v4l2-compliance: various fixes.
- set node.caps to vcap.device_caps if possible
- G/S_CTRL didn't test properly for the corner case where there are no
controls at all.
- fix an overly strict test: 'LANG1 capability, but NTSC-M standard'. If the
tuner supports PAL as well, then this is perfectly legal.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 22 May 2012 09:07:04 +0000 (11:07 +0200)]
qv4l2: add support for the new timings ioctls.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 22 May 2012 09:05:41 +0000 (11:05 +0200)]
v4l2-ctl: add support for the new timings ioctls.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 22 May 2012 08:56:02 +0000 (10:56 +0200)]
videodev2.h: update to latest version.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Gregor Jasny [Mon, 21 May 2012 19:14:01 +0000 (21:14 +0200)]
libdvbv5: Fix build error with hardening build flags
On Debian and Ubuntu the following hardening flags are used:
(see dpkg-buildflags --export=sh)
export CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security"
export CPPFLAGS="-D_FORTIFY_SOURCE=2"
export CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security"
export FFLAGS="-g -O2"
export LDFLAGS="-Wl,-z,relro"
Without this commit the following error occurs:
dvb-fe.c:56:3: error: format not a string literal and no format arguments [-Werror=format-security]
dvb-fe.c:61:3: error: format not a string literal and no format arguments [-Werror=format-security]
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
André Roth [Sat, 19 May 2012 22:38:54 +0000 (19:38 -0300)]
libdvbv5: log levels
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 20 May 2012 18:09:27 +0000 (15:09 -0300)]
libdvbv5: renamings for dvb-sat, dvb-scan
From: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sat, 19 May 2012 22:38:52 +0000 (19:38 -0300)]
libdvbv5: log functions for dvb-fe and libsat
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Sun, 20 May 2012 18:04:48 +0000 (20:04 +0200)]
libdvbv5: Fix dvb-frontend.h include location
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 20 May 2012 17:48:00 +0000 (19:48 +0200)]
libdvbv5: Remove outdated duplicate header file
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 20 May 2012 17:46:35 +0000 (19:46 +0200)]
libdvbv5: Correct output paths of gen_dvb_structs and write missing header
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 20 May 2012 17:07:57 +0000 (19:07 +0200)]
libdvbv5: correct Makefile path for kernel sync target
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Mauro Carvalho Chehab [Sat, 19 May 2012 17:27:54 +0000 (14:27 -0300)]
libdvbv5: Fix function indentation
We use Kernel CodingStyle here. So, let's fix indentation for those
two functions.
Cc: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sat, 19 May 2012 09:18:49 +0000 (06:18 -0300)]
libdvbv5: ignore user commands on fe
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sat, 19 May 2012 09:18:50 +0000 (06:18 -0300)]
libdvbv5: libscan renamings
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sat, 19 May 2012 09:18:48 +0000 (06:18 -0300)]
libdvbv5: add a function to get API cmd names
As the DVBv5 library have their own commands, create
a function to retrieve both DVBv5 and API internal
command names.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Fri, 18 May 2012 21:54:32 +0000 (23:54 +0200)]
libdvbv5: Add configure option to fall back to static build
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Fri, 18 May 2012 21:17:11 +0000 (23:17 +0200)]
libdvbv5: remove accidentially committed hunk
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Fri, 18 May 2012 20:56:21 +0000 (22:56 +0200)]
libdvbv5: Hide diseqc_addr symbol
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Fri, 18 May 2012 20:55:13 +0000 (22:55 +0200)]
libdvbv5: Check index parameter for lower bound
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Fri, 18 May 2012 20:27:19 +0000 (22:27 +0200)]
libdvbv5: Add missing headers
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Fri, 18 May 2012 16:03:15 +0000 (18:03 +0200)]
libdvbv5: Add missing headers
Noticed by the Launchpad auto builders while building for
Ubuntu Quantal.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
André Roth [Wed, 16 May 2012 21:52:18 +0000 (18:52 -0300)]
[media] renamings and global parms removed
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Wed, 16 May 2012 18:27:21 +0000 (15:27 -0300)]
[media] refactored for user properties
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Wed, 16 May 2012 18:27:20 +0000 (15:27 -0300)]
[media] renamings and librarization
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Tue, 15 May 2012 19:19:01 +0000 (21:19 +0200)]
libdvbv5: Add header guards and missing includes
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 13 May 2012 11:34:29 +0000 (13:34 +0200)]
libv4lconvert: Take bytesperline into account for packed YUV conversion
The changes were tested with a modified vivi driver that added
256 padding bytes per line.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sun, 13 May 2012 15:04:58 +0000 (17:04 +0200)]
libdvbv5: Fix make dist
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Mauro Carvalho Chehab [Sun, 13 May 2012 13:29:26 +0000 (10:29 -0300)]
dvb: Fix dvbv5-scan frequency skip logic with Satellite
Polarization should be taken into acount when checking frequencies on
DVB-S & friends.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sun, 13 May 2012 11:17:30 +0000 (08:17 -0300)]
[media] split README for utils/dvb/ and lib/libdvbv5
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sun, 13 May 2012 11:17:29 +0000 (08:17 -0300)]
[media] renamed dvb_frontend.h to dvb-frontend.h
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sun, 13 May 2012 11:17:28 +0000 (08:17 -0300)]
[media] fixed bw for DVB-S
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sun, 13 May 2012 11:17:27 +0000 (08:17 -0300)]
[media] added m4 directory to gitignore
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sun, 13 May 2012 11:17:26 +0000 (08:17 -0300)]
[media] use extern C for c++
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sun, 13 May 2012 11:29:03 +0000 (11:29 +0000)]
libdvbv5 shared lib
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
André Roth [Sun, 13 May 2012 11:17:24 +0000 (08:17 -0300)]
[media] fixed off by one parameter check error
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Fri, 11 May 2012 20:19:07 +0000 (17:19 -0300)]
dvb: fix the table parsing logic to avoid segfaults
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Fri, 11 May 2012 11:51:03 +0000 (13:51 +0200)]
libv4l2: Improve VIDIOC_*_FMT logging
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Jakob Haufe [Thu, 10 May 2012 18:26:48 +0000 (20:26 +0200)]
libv4lcontrol: Add Lenovo Thinkpad X220 Tablet to upside down table
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Thu, 10 May 2012 18:15:25 +0000 (20:15 +0200)]
libv4lcontrol: Add another USB ID to ASUS table
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans Verkuil [Wed, 2 May 2012 21:09:53 +0000 (23:09 +0200)]
qv4l2: fix endianness issues when mapping a V4L2 pixel format to a Qt format.
Tested on a little and a big endian machine.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 29 Apr 2012 19:33:38 +0000 (21:33 +0200)]
v4l2-compliance: fix VIDIOC_G_FBUF test.
If VIDIOC_G_FBUF returned 0, then that was seen as an error code due to a
faulty 'if' condition.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 29 Apr 2012 11:07:44 +0000 (13:07 +0200)]
qv4l2: QSpinBox should honor the control's step value.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sat, 28 Apr 2012 17:20:20 +0000 (19:20 +0200)]
v4l2-compliance: add tests for VIDIOC_G/S_PARM.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sat, 28 Apr 2012 16:26:23 +0000 (18:26 +0200)]
v4l2-compliance: add tests for VIDIOC_G/S_JPEGCOMP.
Since these ioctls are on their way out a warning is issued if they are
implemented.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 27 Apr 2012 21:38:23 +0000 (23:38 +0200)]
v4l2-compliance: add tests for VIDIOC_S_HW_FREQ_SEEK.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans de Goede [Fri, 27 Apr 2012 15:40:53 +0000 (17:40 +0200)]
libv4lconvert: Fix interpretation of bit 7 of the Pixart JPEG marker
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 27 Apr 2012 12:56:18 +0000 (14:56 +0200)]
libv4lconvert: Further Pixart JPEG decompression tweaks
Many thanks to Jean-François Moine <moinejf@free.fr> for digging the
quantization tables out of the windows driver.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Fri, 27 Apr 2012 11:42:42 +0000 (13:42 +0200)]
v4l2-compliance: EIO after getting/setting a control is now a warning
USB devices can return EIO when setting or getting certain controls due
to hardware constraints. Warn about this, but no longer treat it as an error.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Fri, 27 Apr 2012 11:29:06 +0000 (13:29 +0200)]
v4l2-compliance: fix 'OK' results that should have been 'Not Supported'.
For radio devices some format ioctls were reported as being 'OK' when it should
have been 'Not Supported'.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans de Goede [Mon, 23 Apr 2012 21:18:24 +0000 (23:18 +0200)]
libv4lconvert: Drop Pixart JPEG frames with changing chrominance setting
Sometimes the pac7302 switches chrominance setting halfway though a
frame, with a quite ugly looking result, so lets drop such frames.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 23 Apr 2012 21:03:40 +0000 (23:03 +0200)]
libv4lconvert: Dynamic quantization tables for Pixart JPEG
Inspired by a patch from Jean-François Moine <moinejf@free.fr>, I've spend
4 days on a row investigating (through trial and error) Pixart's JPEG
compression. This patch accumulates what I've learned from this, giving 2
important improvements:
1) Support for properly decompressing pac7302 generated images where some
of the MCU-s are compressed with a lower quality / higher quantization
values
2) Proper chrominance quantization tables for Pixart JPEG, getting rid of
the sometimes horribly over saturation our decompression code was causing
The support for dynamic quantization tables this patch adds also allows us to
enable lower compression ratios in the kernel driver when running at a lower
framerate, resulting in better image quality.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 25 Apr 2012 14:39:55 +0000 (16:39 +0200)]
Revert "tinyjpeg: Better luminance quantization table for Pixart JPEG"
This reverts commit
e2886326345e8750d96b2a5f5fae6dd47c76d534.
Hans de Goede [Mon, 23 Apr 2012 17:43:07 +0000 (19:43 +0200)]
libv4lconvert: Fix decoding of 160x120 Pixart JPEG images
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Thu, 19 Apr 2012 14:45:05 +0000 (16:45 +0200)]
qv4l2:add support for integer menu controls.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 19 Apr 2012 14:31:28 +0000 (16:31 +0200)]
v4l2-compliance: add integer menu support.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 19 Apr 2012 14:28:05 +0000 (16:28 +0200)]
v4l2-ctl: add support for integer menus.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 19 Apr 2012 14:21:02 +0000 (16:21 +0200)]
v4l2-compliance: add tests for control events.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 19 Apr 2012 14:20:11 +0000 (16:20 +0200)]
videodev2.h: update to latest version.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Thu, 19 Apr 2012 10:49:07 +0000 (12:49 +0200)]
ioctl-test: update to the latest list of ioctls.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Gregor Jasny [Sat, 14 Apr 2012 21:12:15 +0000 (23:12 +0200)]
dvb: Fix spelling errors found by lintian
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Sat, 14 Apr 2012 16:46:23 +0000 (18:46 +0200)]
libv4lconvert: Revert X201 upside down table entry
Disabled due to http://bugs.debian.org/667958
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Mauro Carvalho Chehab [Mon, 9 Apr 2012 21:25:01 +0000 (18:25 -0300)]
dvb-file: Allow writing a zap/channel file for a DVBv5-only standard
ISDB-T is not really supported by a DVB-T format. Yet, DVB-T tools
are able to work with with an ISDB-T frontend in compat mode.
So, while the conversion to a legacy format is not a rocket science,
it is interesting to allow writing/converting a DVB-T file for an
ISDB-T scan file.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 9 Apr 2012 20:13:28 +0000 (17:13 -0300)]
dvb-format-convert: fix argument check and helper message
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Ville Skyttä [Mon, 9 Apr 2012 07:03:53 +0000 (09:03 +0200)]
Documentation spelling fixes
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Robert Abel [Sat, 25 Feb 2012 17:12:38 +0000 (18:12 +0100)]
libv4lconvert: Use bytesperline instead of width
Basically, I found that libv4l and its conversion functions usually
choose to ignore v4l2_pix_format.bytesperline, which seems to work out
most of the time.
I'm currently working with the mt9v032 camera on a Gumstix Overo board.
The mt9v032's driver pads output lines to 768 pixels, giving 0x900 bytes
per line. All code in bayer.c (the camera uses raw bayer pattern) is
written to assume bytesperline = width and thus everything goes horribly
wrong.
Anyway, the patch for bayer => rgb as well as bayer => yuv is attached.
Basically, every time where width was assumed to be the offset to the
neighboring pixel below, now step is used.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans de Goede [Sun, 8 Apr 2012 09:27:52 +0000 (11:27 +0200)]
libv4lconver: Add 06f8:301b pac7302 based cam to the quirk table
Reported-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Jean-Francois Moine [Fri, 23 Mar 2012 19:19:45 +0000 (20:19 +0100)]
tinyjpeg: Better luminance quantization table for Pixart JPEG
An other luminance quantization table gives a better quality to the
Pixart images created by the webcams handled by the gspca drivers
pac7302 and pac7311 (pixel format 'PJPG').
Tests have been done with 5 different pac7302 webcams. The marker was
always 0x44.
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Hans de Goede [Sat, 7 Apr 2012 14:40:48 +0000 (16:40 +0200)]
libv4lconvert: Fix building when configured with --without-jpeg
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 7 Apr 2012 14:31:12 +0000 (16:31 +0200)]
libv4lconver/tinyjpeg: Fix out of bounds array usage
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Gregor Jasny [Fri, 6 Apr 2012 15:06:16 +0000 (17:06 +0200)]
libv4l2: Prevent GCC 4.7 inlining error
See: http://bugs.debian.org/667406
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Fri, 6 Apr 2012 14:56:00 +0000 (16:56 +0200)]
dvb: Fix help and version strings
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Mon, 2 Apr 2012 19:21:59 +0000 (21:21 +0200)]
libv4lconvert: Add LIFEBOOK T731 to upside down table
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans Verkuil [Fri, 30 Mar 2012 09:57:39 +0000 (11:57 +0200)]
v4l2-ctl/dbg: include config.h for --log-status.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Gregor Jasny [Sun, 25 Mar 2012 20:44:59 +0000 (22:44 +0200)]
libv4lconvert: Add ThinkPad Edge E325 to upside down table
Gregor Jasny [Thu, 22 Mar 2012 21:05:14 +0000 (22:05 +0100)]
Add ThinkPad X201 to upside down table
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Gregor Jasny [Thu, 22 Mar 2012 21:01:47 +0000 (22:01 +0100)]
Add ThinkPad X200 to upside down table
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Robert Abel [Sat, 25 Feb 2012 14:48:46 +0000 (15:48 +0100)]
libv4l: Miscellaneous Comment Fixes
I found some minor spelling/grammar issues in the comments of libv4l. I
fixed the most irksome to me in the patch below.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Hans Verkuil [Fri, 24 Feb 2012 12:10:29 +0000 (13:10 +0100)]
v4l2-ctl: add decoder/encoder_cmd support.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>