1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct vb2_v4l2_buffer</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-vb2-clear-last-buffer-dequeued.html" title="vb2_clear_last_buffer_dequeued"><link rel="next" href="API-vb2-thread-start.html" title="vb2_thread_start"></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 vb2_v4l2_buffer</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-vb2-clear-last-buffer-dequeued.html">Prev</a> </td><th width="60%" align="center">Video2Linux devices</th><td width="20%" align="right"> <a accesskey="n" href="API-vb2-thread-start.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-vb2-v4l2-buffer"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct vb2_v4l2_buffer — 
2  video buffer information for v4l2
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct vb2_v4l2_buffer {
5  struct vb2_buffer vb2_buf;
6  __u32 flags;
7  __u32 field;
8  struct timeval timestamp;
9  struct v4l2_timecode timecode;
10  __u32 sequence;
11};  </pre></div><div class="refsect1"><a name="id-1.8.2.104.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">vb2_buf</span></dt><dd><p>
12video buffer 2
13      </p></dd><dt><span class="term">flags</span></dt><dd><p>
14buffer informational flags
15      </p></dd><dt><span class="term">field</span></dt><dd><p>
16enum v4l2_field; field order of the image in the buffer
17      </p></dd><dt><span class="term">timestamp</span></dt><dd><p>
18frame timestamp
19      </p></dd><dt><span class="term">timecode</span></dt><dd><p>
20frame timecode
21      </p></dd><dt><span class="term">sequence</span></dt><dd><p>
22sequence count of this frame
23Should contain enough information to be able to cover all the fields
24of struct v4l2_buffer at videodev2.h
25      </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-vb2-clear-last-buffer-dequeued.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-vb2-thread-start.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">vb2_clear_last_buffer_dequeued</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">vb2_thread_start</span></td></tr></table></div></body></html>
26