diff options
author | Koen Kooi <koen@openembedded.org> | 2011-01-27 19:23:37 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2011-01-28 09:18:35 +0100 |
commit | 1ecddfca9156dfbb03569a313f53bfdb539a72a3 (patch) | |
tree | f90626217af09cbb9de93c508d9b6afda4bf8618 /recipes/linux/linux-omap-2.6.37/media/0032-v4l-Add-subdev-sensor-g_skip_frames-operation.patch | |
parent | d0e24841966fc9a4160ec652b2370adac24a3c31 (diff) | |
download | openembedded-1ecddfca9156dfbb03569a313f53bfdb539a72a3.tar.gz |
linux-omap 2.6.37: add Laurents ISP patchset
Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes/linux/linux-omap-2.6.37/media/0032-v4l-Add-subdev-sensor-g_skip_frames-operation.patch')
-rw-r--r-- | recipes/linux/linux-omap-2.6.37/media/0032-v4l-Add-subdev-sensor-g_skip_frames-operation.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-2.6.37/media/0032-v4l-Add-subdev-sensor-g_skip_frames-operation.patch b/recipes/linux/linux-omap-2.6.37/media/0032-v4l-Add-subdev-sensor-g_skip_frames-operation.patch new file mode 100644 index 0000000000..bbfe8470e6 --- /dev/null +++ b/recipes/linux/linux-omap-2.6.37/media/0032-v4l-Add-subdev-sensor-g_skip_frames-operation.patch @@ -0,0 +1,35 @@ +From 80c35f54b7d24b5f05e1e510f87e2ad1b94efede Mon Sep 17 00:00:00 2001 +From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> +Date: Tue, 16 Nov 2010 06:21:06 +0200 +Subject: [PATCH 32/43] v4l: Add subdev sensor g_skip_frames operation + +Some buggy sensors generate corrupt frames when the stream is started. +This new operation return the number of corrupt frames to skip when +starting the stream. + +Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> +--- + include/media/v4l2-subdev.h | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h +index a02663e..181de59 100644 +--- a/include/media/v4l2-subdev.h ++++ b/include/media/v4l2-subdev.h +@@ -352,9 +352,13 @@ struct v4l2_subdev_vbi_ops { + * This is needed for some sensors, which always corrupt + * several top lines of the output image, or which send their + * metadata in them. ++ * @g_skip_frames: number of frames to skip at stream start. This is needed for ++ * buggy sensors that generate faulty frames when they are ++ * turned on. + */ + struct v4l2_subdev_sensor_ops { + int (*g_skip_top_lines)(struct v4l2_subdev *sd, u32 *lines); ++ int (*g_skip_frames)(struct v4l2_subdev *sd, u32 *frames); + }; + + /* +-- +1.6.6.1 + |