Improved JL2005BCD patch for libv4lcnvert
authorTheodore Kilgore <kilgota@banach.math.auburn.edu>
Fri, 16 Dec 2011 19:53:03 +0000 (13:53 -0600)
committerHans de Goede <hdegoede@redhat.com>
Thu, 29 Dec 2011 15:42:29 +0000 (16:42 +0100)
commitf054413dcae4d70337c017bdfc9d66d6fcf02dcb
treedfce4dc60d26a1e5acea5e8973ff93d874282f17
parentfdd4829f26a98b28198bc414e0bab26b5d636739
Improved JL2005BCD patch for libv4lcnvert

Hans,

The patch below supercedes the previous one I sent.

Two particular items of interest:

1. The Bayer tiling question seems to be resolved.

2. White balance is enabled and seems to help a lot. I am not certain if
one ought to enable a gamma setting as well, but things look pretty decent
without it, seems to me.

Other remarks:

It is pretty clear that these cameras have an internal gain setting which
relies upon internal feedback for self-correction. It works pretty well
most of the time, but sometimes it overcorrects and thereby goes a little
bit crazy.

I have tried it out with a bunch of cameras now. I did not check
individually which one is which, but I have a fairly large set of them
which includes the B and C and D variants, and some of the fancy ones have
the LCD previewer on the back but definitely do not send preview
thumbnails in webcam mode. So all of them seem to work. I would dare to
presume that your camera will work, too, whenever you get around to
checking it.

Patch below created by git diff from my recently downloaded git tree, as
was the last one. Patch is

Signed-off-by Theodore Kilgore <kilgota@auburn.edu>
include/linux/videodev2.h
lib/libv4lconvert/Makefile
lib/libv4lconvert/control/libv4lcontrol.c
lib/libv4lconvert/jl2005bcd.c [new file with mode: 0644]
lib/libv4lconvert/libv4lconvert-priv.h
lib/libv4lconvert/libv4lconvert.c