File: //usr/share/doc/libvpx-devel/html/vpx__frame__buffer_8h_source.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WebM Codec SDK: vpx/vpx_frame_buffer.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">WebM Codec SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_ce0ab26228883e873492c15423e35021.html">vpx</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">vpx_frame_buffer.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="vpx__frame__buffer_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2014 The WebM project authors. All Rights Reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Use of this source code is governed by a BSD-style license</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * that can be found in the LICENSE file in the root of the source</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * tree. An additional intellectual property rights grant can be found</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * in the file PATENTS. All contributing project authors may</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * be found in the AUTHORS file in the root of the source tree.</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> */</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#ifndef VPX_VPX_FRAME_BUFFER_H_</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#define VPX_VPX_FRAME_BUFFER_H_</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "./vpx_integer.h"</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="vpx__frame__buffer_8h.html#a92d4c1a691bffa03789df35386788295"> 29</a></span> <span class="preprocessor">#define VPX_MAXIMUM_WORK_BUFFERS 8</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="vpx__frame__buffer_8h.html#abf69f005955646519b1379d5ed67b002"> 33</a></span> <span class="preprocessor">#define VP9_MAXIMUM_REF_BUFFERS 8</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structvpx__codec__frame__buffer.html"> 39</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structvpx__codec__frame__buffer.html">vpx_codec_frame_buffer</a> {</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structvpx__codec__frame__buffer.html#adcfd9dc0e57e1dad453c4496d8bbce30"> 40</a></span>  uint8_t *<a class="code" href="structvpx__codec__frame__buffer.html#adcfd9dc0e57e1dad453c4496d8bbce30">data</a>; </div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structvpx__codec__frame__buffer.html#aa36d70c1f42be1cd31287b8ecf7b53a5"> 41</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structvpx__codec__frame__buffer.html#aa36d70c1f42be1cd31287b8ecf7b53a5">size</a>; </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structvpx__codec__frame__buffer.html#a7037d613f7b54f9cdad629cf17cb5e18"> 42</a></span>  <span class="keywordtype">void</span> *<a class="code" href="structvpx__codec__frame__buffer.html#a7037d613f7b54f9cdad629cf17cb5e18">priv</a>; </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> } <a class="code" href="vpx__frame__buffer_8h.html#a4de4803ac50d034a9119fde97ef7520b">vpx_codec_frame_buffer_t</a>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="vpx__frame__buffer_8h.html#a178a7aeb9acedc2d9e5227cea1301169"> 63</a></span> <span class="keyword">typedef</span> int (*<a class="code" href="vpx__frame__buffer_8h.html#a178a7aeb9acedc2d9e5227cea1301169">vpx_get_frame_buffer_cb_fn_t</a>)(<span class="keywordtype">void</span> *priv, <span class="keywordtype">size_t</span> min_size,</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="structvpx__codec__frame__buffer.html">vpx_codec_frame_buffer_t</a> *fb);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="vpx__frame__buffer_8h.html#a79d9a6a92e4eb753fc2d27f50d996de1"> 76</a></span> <span class="keyword">typedef</span> int (*<a class="code" href="vpx__frame__buffer_8h.html#a79d9a6a92e4eb753fc2d27f50d996de1">vpx_release_frame_buffer_cb_fn_t</a>)(<span class="keywordtype">void</span> *priv,</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="structvpx__codec__frame__buffer.html">vpx_codec_frame_buffer_t</a> *fb);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> } <span class="comment">// extern "C"</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor">#endif // VPX_VPX_FRAME_BUFFER_H_</span></div><div class="ttc" id="vpx__frame__buffer_8h_html_a4de4803ac50d034a9119fde97ef7520b"><div class="ttname"><a href="vpx__frame__buffer_8h.html#a4de4803ac50d034a9119fde97ef7520b">vpx_codec_frame_buffer_t</a></div><div class="ttdeci">struct vpx_codec_frame_buffer vpx_codec_frame_buffer_t</div><div class="ttdoc">External frame buffer. </div></div>
<div class="ttc" id="structvpx__codec__frame__buffer_html_adcfd9dc0e57e1dad453c4496d8bbce30"><div class="ttname"><a href="structvpx__codec__frame__buffer.html#adcfd9dc0e57e1dad453c4496d8bbce30">vpx_codec_frame_buffer::data</a></div><div class="ttdeci">uint8_t * data</div><div class="ttdef"><b>Definition:</b> vpx_frame_buffer.h:40</div></div>
<div class="ttc" id="vpx__frame__buffer_8h_html_a178a7aeb9acedc2d9e5227cea1301169"><div class="ttname"><a href="vpx__frame__buffer_8h.html#a178a7aeb9acedc2d9e5227cea1301169">vpx_get_frame_buffer_cb_fn_t</a></div><div class="ttdeci">int(* vpx_get_frame_buffer_cb_fn_t)(void *priv, size_t min_size, vpx_codec_frame_buffer_t *fb)</div><div class="ttdoc">get frame buffer callback prototype </div><div class="ttdef"><b>Definition:</b> vpx_frame_buffer.h:63</div></div>
<div class="ttc" id="structvpx__codec__frame__buffer_html_aa36d70c1f42be1cd31287b8ecf7b53a5"><div class="ttname"><a href="structvpx__codec__frame__buffer.html#aa36d70c1f42be1cd31287b8ecf7b53a5">vpx_codec_frame_buffer::size</a></div><div class="ttdeci">size_t size</div><div class="ttdef"><b>Definition:</b> vpx_frame_buffer.h:41</div></div>
<div class="ttc" id="structvpx__codec__frame__buffer_html_a7037d613f7b54f9cdad629cf17cb5e18"><div class="ttname"><a href="structvpx__codec__frame__buffer.html#a7037d613f7b54f9cdad629cf17cb5e18">vpx_codec_frame_buffer::priv</a></div><div class="ttdeci">void * priv</div><div class="ttdef"><b>Definition:</b> vpx_frame_buffer.h:42</div></div>
<div class="ttc" id="structvpx__codec__frame__buffer_html"><div class="ttname"><a href="structvpx__codec__frame__buffer.html">vpx_codec_frame_buffer</a></div><div class="ttdoc">External frame buffer. </div><div class="ttdef"><b>Definition:</b> vpx_frame_buffer.h:39</div></div>
<div class="ttc" id="vpx__frame__buffer_8h_html_a79d9a6a92e4eb753fc2d27f50d996de1"><div class="ttname"><a href="vpx__frame__buffer_8h.html#a79d9a6a92e4eb753fc2d27f50d996de1">vpx_release_frame_buffer_cb_fn_t</a></div><div class="ttdeci">int(* vpx_release_frame_buffer_cb_fn_t)(void *priv, vpx_codec_frame_buffer_t *fb)</div><div class="ttdoc">release frame buffer callback prototype </div><div class="ttdef"><b>Definition:</b> vpx_frame_buffer.h:76</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>