1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct v4l2_subdev_sensor_ops</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Device Drivers"><link rel="up" href="mediadev.html#id-1.8.2" title="Video2Linux devices"><link rel="prev" href="API-struct-v4l2-subdev-vbi-ops.html" title="struct v4l2_subdev_vbi_ops"><link rel="next" href="API-struct-v4l2-subdev-pad-ops.html" title="struct v4l2_subdev_pad_ops"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct v4l2_subdev_sensor_ops</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-v4l2-subdev-vbi-ops.html">Prev</a> </td><th width="60%" align="center">Video2Linux devices</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-v4l2-subdev-pad-ops.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-v4l2-subdev-sensor-ops"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct v4l2_subdev_sensor_ops — 
2     v4l2-subdev sensor operations
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct v4l2_subdev_sensor_ops {
5  int (* g_skip_top_lines) (struct v4l2_subdev *sd, u32 *lines);
6  int (* g_skip_frames) (struct v4l2_subdev *sd, u32 *frames);
7};  </pre></div><div class="refsect1"><a name="id-1.8.2.86.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">g_skip_top_lines</span></dt><dd><p>
8   number of lines at the top of the image to be skipped.
9   This is needed for some sensors, which always corrupt
10   several top lines of the output image, or which send their
11   metadata in them.
12      </p></dd><dt><span class="term">g_skip_frames</span></dt><dd><p>
13   number of frames to skip at stream start. This is needed for
14   buggy sensors that generate faulty frames when they are
15   turned on.
16      </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-v4l2-subdev-vbi-ops.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="mediadev.html#id-1.8.2">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-v4l2-subdev-pad-ops.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct v4l2_subdev_vbi_ops</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct v4l2_subdev_pad_ops</span></td></tr></table></div></body></html>
17