This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] v4l: Add subdev sensor g_skip_frames operation
Author:  Laurent Pinchart <[email protected]>
Date:    Tue Nov 16 01:21:06 2010 -0300

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 <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 include/media/v4l2-subdev.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=c0f97eb0d45a109aa9454f698aa82f8401f7296d

diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index edeaf39..1562c4f 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -341,9 +341,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);
 };
 
 /*

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to