aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTheodore Kilgore <kilgota@banach.math.auburn.edu>2011-12-16 13:53:03 -0600
committerHans de Goede <hdegoede@redhat.com>2011-12-29 16:42:29 +0100
commitf054413dcae4d70337c017bdfc9d66d6fcf02dcb (patch)
treedfce4dc60d26a1e5acea5e8973ff93d874282f17 /include
parentfdd4829f26a98b28198bc414e0bab26b5d636739 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/videodev2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 9d145234..95fb72e5 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -401,6 +401,7 @@ struct v4l2_pix_format {
#define V4L2_PIX_FMT_SPCA561 v4l2_fourcc('S', '5', '6', '1') /* compressed GBRG bayer */
#define V4L2_PIX_FMT_PAC207 v4l2_fourcc('P', '2', '0', '7') /* compressed BGGR bayer */
#define V4L2_PIX_FMT_MR97310A v4l2_fourcc('M', '3', '1', '0') /* compressed BGGR bayer */
+#define V4L2_PIX_FMT_JL2005BCD v4l2_fourcc('J', 'L', '2', '0') /* compressed RGGB bayer */
#define V4L2_PIX_FMT_SN9C2028 v4l2_fourcc('S', 'O', 'N', 'X') /* compressed GBRG bayer */
#define V4L2_PIX_FMT_SQ905C v4l2_fourcc('9', '0', '5', 'C') /* compressed RGGB bayer */
#define V4L2_PIX_FMT_PJPG v4l2_fourcc('P', 'J', 'P', 'G') /* Pixart 73xx JPEG */

Privacy Policy