Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ffmpeg-doc / usr / share / doc / ffmpeg / api / vdpau_8h_source.html
Size: Mime:
<!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.6"/>
<title>FFmpeg: libavcodec/vdpau.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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
   <div id="projectname">FFmpeg
   &#160;<span id="projectnumber">3.0.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_3b1f69f89eda39a44baf4887988d54a7.html">libavcodec</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">vdpau.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="vdpau_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>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * The Video Decode and Presentation API for UNIX (VDPAU) is used for</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * hardware-accelerated decoding of MPEG-1/2, H.264 and VC-1.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Copyright (C) 2008 NVIDIA</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * This file is part of FFmpeg.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * FFmpeg is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * modify it under the terms of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * License as published by the Free Software Foundation; either</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * FFmpeg is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * License along with FFmpeg; if not, write to the Free Software</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#ifndef AVCODEC_VDPAU_H</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define AVCODEC_VDPAU_H</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * @file</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> * @ingroup lavc_codec_hwaccel_vdpau</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> * Public libavcodec VDPAU header.</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> * @defgroup lavc_codec_hwaccel_vdpau VDPAU Decoder and Renderer</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> * @ingroup lavc_codec_hwaccel</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> * VDPAU hardware acceleration has two modules</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"> * - VDPAU decoding</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment"> * - VDPAU presentation</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"> * The VDPAU decoding module parses all headers using FFmpeg</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment"> * parsing mechanisms and uses VDPAU for the actual decoding.</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment"> * As per the current implementation, the actual decoding</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment"> * and rendering (API calls) are done as part of the VDPAU</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment"> * presentation (vo_vdpau.c) module.</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment"> * @{</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#include &lt;vdpau/vdpau.h&gt;</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor">#include &lt;vdpau/vdpau_x11.h&gt;</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">#include &quot;libavutil/avconfig.h&quot;</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="attributes_8h.html">libavutil/attributes.h</a>&quot;</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="avcodec_8h.html">avcodec.h</a>&quot;</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="libavcodec_2version_8h.html">version.h</a>&quot;</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#if FF_API_BUFS_VDPAU</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="unionAVVDPAUPictureInfo.html">   61</a></span>&#160;<span class="preprocessor"></span><span class="keyword">union </span><a class="code" href="unionAVVDPAUPictureInfo.html">AVVDPAUPictureInfo</a> {</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="unionAVVDPAUPictureInfo.html#a9b04dee7006f93e2b2cede4316d99673">   62</a></span>&#160;    VdpPictureInfoH264        <a class="code" href="unionAVVDPAUPictureInfo.html#a9b04dee7006f93e2b2cede4316d99673">h264</a>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="unionAVVDPAUPictureInfo.html#a0953a7bad8855265a7dc4959d7ef7316">   63</a></span>&#160;    VdpPictureInfoMPEG1Or2    <a class="code" href="unionAVVDPAUPictureInfo.html#a0953a7bad8855265a7dc4959d7ef7316">mpeg</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="unionAVVDPAUPictureInfo.html#a0d054be4e5fbebdc6d723f6a1498117e">   64</a></span>&#160;    VdpPictureInfoVC1          <a class="code" href="unionAVVDPAUPictureInfo.html#a0d054be4e5fbebdc6d723f6a1498117e">vc1</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="unionAVVDPAUPictureInfo.html#a03ba529bc77155578dd37aee7bb86af9">   65</a></span>&#160;    VdpPictureInfoMPEG4Part2 <a class="code" href="unionAVVDPAUPictureInfo.html#a03ba529bc77155578dd37aee7bb86af9">mpeg4</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;};</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keyword">struct </span><a class="code" href="structAVCodecContext.html">AVCodecContext</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">struct </span><a class="code" href="structAVFrame.html">AVFrame</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group__lavc__codec__hwaccel__vdpau.html#ga98e0853e07041294b96e1f4611ad9858">   72</a></span>&#160;<span class="keyword">typedef</span> int (*<a class="code" href="group__lavc__codec__hwaccel__vdpau.html#ga98e0853e07041294b96e1f4611ad9858">AVVDPAU_Render2</a>)(<span class="keyword">struct </span><a class="code" href="structAVCodecContext.html">AVCodecContext</a> *, <span class="keyword">struct </span><a class="code" href="structAVFrame.html">AVFrame</a> *,</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;                               <span class="keyword">const</span> VdpPictureInfo *, uint32_t,</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;                               <span class="keyword">const</span> VdpBitstreamBuffer *);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment"> * This structure is used to share data between the libavcodec library and</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="comment"> * the client video application.</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="comment"> * The user shall allocate the structure via the av_alloc_vdpau_hwaccel</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment"> * function and make it available as</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="comment"> * AVCodecContext.hwaccel_context. Members can be set by the user once</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment"> * during initialization or through each AVCodecContext.get_buffer()</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="comment"> * function call. In any case, they must be valid prior to calling</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment"> * decoding functions.</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="comment"> * The size of this structure is not a part of the public ABI and must not</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="comment"> * be used outside of libavcodec. Use av_vdpau_alloc_context() to allocate an</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment"> * AVVDPAUContext.</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structAVVDPAUContext.html">   90</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structAVVDPAUContext.html">AVVDPAUContext</a> {<span class="comment"></span></div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="comment">    /**</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="comment">     * VDPAU decoder handle</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="comment">     *</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="comment">     * Set by user.</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structAVVDPAUContext.html#a54b51de52e8b936c93272cad8e94e395">   96</a></span>&#160;    VdpDecoder <a class="code" href="structAVVDPAUContext.html#a54b51de52e8b936c93272cad8e94e395">decoder</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment">    /**</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="comment">     * VDPAU decoder render callback</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">     *</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment">     * Set by the user.</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structAVVDPAUContext.html#ac007e73409f8171d5aa26c2c1b72454c">  103</a></span>&#160;    VdpDecoderRender *<a class="code" href="structAVVDPAUContext.html#ac007e73409f8171d5aa26c2c1b72454c">render</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="preprocessor">#if FF_API_BUFS_VDPAU</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor"></span><span class="comment">    /**</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="comment">     * VDPAU picture information</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="comment">     *</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="comment">     * Set by libavcodec.</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <a class="code" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a></div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="structAVVDPAUContext.html#af2826dbf7db72ddae2376372db67bd82">  112</a></span>&#160;    <span class="keyword">union </span><a class="code" href="unionAVVDPAUPictureInfo.html">AVVDPAUPictureInfo</a> <a class="code" href="structAVVDPAUContext.html#af2826dbf7db72ddae2376372db67bd82">info</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="comment">    /**</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">     * Allocated size of the bitstream_buffers table.</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="comment">     *</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">     * Set by libavcodec.</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <a class="code" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a></div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="structAVVDPAUContext.html#a4dcbc0fe3aa59529a032d63777e00b4a">  120</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structAVVDPAUContext.html#a4dcbc0fe3aa59529a032d63777e00b4a">bitstream_buffers_allocated</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="comment">    /**</span></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">     * Useful bitstream buffers in the bitstream buffers table.</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment">     *</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">     * Set by libavcodec.</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <a class="code" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="structAVVDPAUContext.html#a9116d89dbc37270ff70579b1e9411069">  128</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structAVVDPAUContext.html#a9116d89dbc37270ff70579b1e9411069">bitstream_buffers_used</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment">   /**</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="comment">     * Table of bitstream buffers.</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="comment">     * The user is responsible for freeing this buffer using av_freep().</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="comment">     *</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="comment">     * Set by libavcodec.</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <a class="code" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="structAVVDPAUContext.html#a669a2d63ad020507d8327df13a075cd2">  137</a></span>&#160;    VdpBitstreamBuffer *<a class="code" href="structAVVDPAUContext.html#a669a2d63ad020507d8327df13a075cd2">bitstream_buffers</a>;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="structAVVDPAUContext.html#af220e2bf6c0093dd63c8384dccccd3d8">  139</a></span>&#160;<span class="preprocessor"></span>    <a class="code" href="group__lavc__codec__hwaccel__vdpau.html#ga98e0853e07041294b96e1f4611ad9858">AVVDPAU_Render2</a> <a class="code" href="structAVVDPAUContext.html#af220e2bf6c0093dd63c8384dccccd3d8">render2</a>;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;} <a class="code" href="structAVVDPAUContext.html">AVVDPAUContext</a>;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment"> * @brief allocation function for AVVDPAUContext</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="comment"> * Allows extending the struct without breaking API/ABI</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<a class="code" href="structAVVDPAUContext.html">AVVDPAUContext</a> *<a class="code" href="group__lavc__codec__hwaccel__vdpau.html#gabd46596564db27b9783814b2942f6d84">av_alloc_vdpaucontext</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<a class="code" href="group__lavc__codec__hwaccel__vdpau.html#ga98e0853e07041294b96e1f4611ad9858">AVVDPAU_Render2</a> <a class="code" href="group__lavc__codec__hwaccel__vdpau.html#ga0a3496e46e9dfcd50f7baa96a9da0275">av_vdpau_hwaccel_get_render2</a>(<span class="keyword">const</span> <a class="code" href="structAVVDPAUContext.html">AVVDPAUContext</a> *);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__lavc__codec__hwaccel__vdpau.html#ga5d993c664b580bb5b927e46c34455cf6">av_vdpau_hwaccel_set_render2</a>(<a class="code" href="structAVVDPAUContext.html">AVVDPAUContext</a> *, <a class="code" href="group__lavc__codec__hwaccel__vdpau.html#ga98e0853e07041294b96e1f4611ad9858">AVVDPAU_Render2</a>);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="comment"> * Associate a VDPAU device with a codec context for hardware acceleration.</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="comment"> * This function is meant to be called from the get_format() codec callback,</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="comment"> * or earlier. It can also be called after avcodec_flush_buffers() to change</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="comment"> * the underlying VDPAU device mid-stream (e.g. to recover from non-transparent</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="comment"> * display preemption).</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment"> * @note get_format() must return AV_PIX_FMT_VDPAU if this function completes</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment"> * successfully.</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="comment"> * @param avctx decoding context whose get_format() callback is invoked</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="comment"> * @param device VDPAU device handle to use for hardware acceleration</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="comment"> * @param get_proc_address VDPAU device driver</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment"> * @param flags zero of more OR&#39;d AV_HWACCEL_FLAG_* flags</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="comment"> * @return 0 on success, an AVERROR code on failure.</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__lavc__codec__hwaccel__vdpau.html#gac56d6b1b4478056afc0e0a8f52271afa">av_vdpau_bind_context</a>(<a class="code" href="structAVCodecContext.html">AVCodecContext</a> *avctx, VdpDevice device,</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;                          VdpGetProcAddress *get_proc_address, <span class="keywordtype">unsigned</span> flags);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="comment"> * Gets the parameters to create an adequate VDPAU video surface for the codec</span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="comment"> * context using VDPAU hardware decoding acceleration.</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="comment"> * @note Behavior is undefined if the context was not successfully bound to a</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="comment"> * VDPAU device using av_vdpau_bind_context().</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="comment"> * @param avctx the codec context being used for decoding the stream</span></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="comment"> * @param type storage space for the VDPAU video surface chroma type</span></div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="comment"> *              (or NULL to ignore)</span></div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment"> * @param width storage space for the VDPAU video surface pixel width</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="comment"> *              (or NULL to ignore)</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="comment"> * @param height storage space for the VDPAU video surface pixel height</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="comment"> *              (or NULL to ignore)</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="comment"> * @return 0 on success, a negative AVERROR code on failure.</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__lavc__codec__hwaccel__vdpau.html#gad4354a22f2f4d44000515e836b7863af">av_vdpau_get_surface_parameters</a>(<a class="code" href="structAVCodecContext.html">AVCodecContext</a> *avctx, VdpChromaType *type,</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;                                    uint32_t *<a class="code" href="demuxing__decoding_8c.html#a2474a5474cbff19523a51eb1de01cda4">width</a>, uint32_t *<a class="code" href="demuxing__decoding_8c.html#ad12fc34ce789bce6c8a05d8a17138534">height</a>);</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="comment"> * Allocate an AVVDPAUContext.</span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="comment"> * @return Newly-allocated AVVDPAUContext or NULL on failure.</span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<a class="code" href="structAVVDPAUContext.html">AVVDPAUContext</a> *<a class="code" href="group__lavc__codec__hwaccel__vdpau.html#gac3b2e926326d9bc7c4a856304c4bc0f8">av_vdpau_alloc_context</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="preprocessor">#if FF_API_VDPAU_PROFILE</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="preprocessor"></span><span class="comment">/**</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="comment"> * Get a decoder profile that should be used for initializing a VDPAU decoder.</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="comment"> * Should be called from the AVCodecContext.get_format() callback.</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="comment"> * @deprecated Use av_vdpau_bind_context() instead.</span></div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="comment"> * @param avctx the codec context being used for decoding the stream</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="comment"> * @param profile a pointer into which the result will be written on success.</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="comment"> *                The contents of profile are undefined if this function returns</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="comment"> *                an error.</span></div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="comment"> * @return 0 on success (non-negative), a negative AVERROR on failure.</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<a class="code" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__lavc__codec__hwaccel__vdpau.html#gaf111973c1c9863d63a591b19128764c5">av_vdpau_get_profile</a>(<a class="code" href="structAVCodecContext.html">AVCodecContext</a> *avctx, VdpDecoderProfile *profile);</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="preprocessor">#if FF_API_CAP_VDPAU</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="preprocessor"></span><span class="comment">/** @brief The videoSurface is used for rendering. */</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="group__lavc__codec__hwaccel__vdpau.html#ga87551b42b8cc836804d9e0c5ac6fa367">  219</a></span>&#160;<span class="preprocessor">#define FF_VDPAU_STATE_USED_FOR_RENDER 1</span></div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="comment"> * @brief The videoSurface is needed for reference/prediction.</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="comment"> * The codec manipulates this.</span></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="group__lavc__codec__hwaccel__vdpau.html#ga1f3b6a25961a335e3bb131428266d4a9">  225</a></span>&#160;<span class="preprocessor">#define FF_VDPAU_STATE_USED_FOR_REFERENCE 2</span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="comment"> * @brief This structure is used as a callback between the FFmpeg</span></div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="comment"> * decoder (vd_) and presentation (vo_) module.</span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="comment"> * This is used for defining a video frame containing surface,</span></div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="comment"> * picture parameter, bitstream information etc which are passed</span></div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="comment"> * between the FFmpeg decoder and its clients.</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="structvdpau__render__state.html">  234</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structvdpau__render__state.html">vdpau_render_state</a> {</div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="structvdpau__render__state.html#a03db4a28b9c8187ca69335d6aaa01d3f">  235</a></span>&#160;    VdpVideoSurface <a class="code" href="structvdpau__render__state.html#a03db4a28b9c8187ca69335d6aaa01d3f">surface</a>; <span class="comment">///&lt; Used as rendered surface, never changed.</span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="structvdpau__render__state.html#ab52402f2ec91ac3daf3c39bee6e6b717">  237</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structvdpau__render__state.html#ab52402f2ec91ac3daf3c39bee6e6b717">state</a>; <span class="comment">///&lt; Holds FF_VDPAU_STATE_* values.</span></div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="comment"></span><span class="comment"></span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;<span class="comment">    /** picture parameter information for all supported codecs */</span></div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="structvdpau__render__state.html#a761eb1f0760c95d8e755b4b9ac20c77c">  240</a></span>&#160;    <span class="keyword">union </span><a class="code" href="unionAVVDPAUPictureInfo.html">AVVDPAUPictureInfo</a> <a class="code" href="structvdpau__render__state.html#a761eb1f0760c95d8e755b4b9ac20c77c">info</a>;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="comment">    /** Describe size/location of the compressed video data.</span></div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="comment">        Set to 0 when freeing bitstream_buffers. */</span></div>
<div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="structvdpau__render__state.html#ab0e6b4e8689307349f7f10e451d57329">  244</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structvdpau__render__state.html#ab0e6b4e8689307349f7f10e451d57329">bitstream_buffers_allocated</a>;</div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="structvdpau__render__state.html#ab030c29ece1ef5130f78e69fa19af738">  245</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structvdpau__render__state.html#ab030c29ece1ef5130f78e69fa19af738">bitstream_buffers_used</a>;<span class="comment"></span></div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="comment">    /** The user is responsible for freeing this buffer using av_freep(). */</span></div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="structvdpau__render__state.html#a5716971d7108b6a94ee628fb4a884e32">  247</a></span>&#160;    VdpBitstreamBuffer *<a class="code" href="structvdpau__render__state.html#a5716971d7108b6a94ee628fb4a884e32">bitstream_buffers</a>;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;};</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="comment">/* @}*/</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* AVCODEC_VDPAU_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="structAVFrame_html"><div class="ttname"><a href="structAVFrame.html">AVFrame</a></div><div class="ttdoc">This structure describes decoded (raw) audio or video data. </div><div class="ttdef"><b>Definition:</b> <a href="frame_8h_source.html#l00181">frame.h:181</a></div></div>
<div class="ttc" id="unionAVVDPAUPictureInfo_html_a0953a7bad8855265a7dc4959d7ef7316"><div class="ttname"><a href="unionAVVDPAUPictureInfo.html#a0953a7bad8855265a7dc4959d7ef7316">AVVDPAUPictureInfo::mpeg</a></div><div class="ttdeci">VdpPictureInfoMPEG1Or2 mpeg</div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00063">vdpau.h:63</a></div></div>
<div class="ttc" id="structAVVDPAUContext_html_a669a2d63ad020507d8327df13a075cd2"><div class="ttname"><a href="structAVVDPAUContext.html#a669a2d63ad020507d8327df13a075cd2">AVVDPAUContext::bitstream_buffers</a></div><div class="ttdeci">attribute_deprecated VdpBitstreamBuffer * bitstream_buffers</div><div class="ttdoc">Table of bitstream buffers. </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00137">vdpau.h:137</a></div></div>
<div class="ttc" id="attributes_8h_html"><div class="ttname"><a href="attributes_8h.html">attributes.h</a></div><div class="ttdoc">Macro definitions for various function/variable attributes. </div></div>
<div class="ttc" id="group__lavc__codec__hwaccel__vdpau_html_gad4354a22f2f4d44000515e836b7863af"><div class="ttname"><a href="group__lavc__codec__hwaccel__vdpau.html#gad4354a22f2f4d44000515e836b7863af">av_vdpau_get_surface_parameters</a></div><div class="ttdeci">int av_vdpau_get_surface_parameters(AVCodecContext *avctx, VdpChromaType *type, uint32_t *width, uint32_t *height)</div><div class="ttdoc">Gets the parameters to create an adequate VDPAU video surface for the codec context using VDPAU hardw...</div></div>
<div class="ttc" id="group__lavc__codec__hwaccel__vdpau_html_ga0a3496e46e9dfcd50f7baa96a9da0275"><div class="ttname"><a href="group__lavc__codec__hwaccel__vdpau.html#ga0a3496e46e9dfcd50f7baa96a9da0275">av_vdpau_hwaccel_get_render2</a></div><div class="ttdeci">AVVDPAU_Render2 av_vdpau_hwaccel_get_render2(const AVVDPAUContext *)</div></div>
<div class="ttc" id="group__lavc__codec__hwaccel__vdpau_html_gaf111973c1c9863d63a591b19128764c5"><div class="ttname"><a href="group__lavc__codec__hwaccel__vdpau.html#gaf111973c1c9863d63a591b19128764c5">av_vdpau_get_profile</a></div><div class="ttdeci">attribute_deprecated int av_vdpau_get_profile(AVCodecContext *avctx, VdpDecoderProfile *profile)</div><div class="ttdoc">Get a decoder profile that should be used for initializing a VDPAU decoder. </div></div>
<div class="ttc" id="group__lavc__codec__hwaccel__vdpau_html_gac3b2e926326d9bc7c4a856304c4bc0f8"><div class="ttname"><a href="group__lavc__codec__hwaccel__vdpau.html#gac3b2e926326d9bc7c4a856304c4bc0f8">av_vdpau_alloc_context</a></div><div class="ttdeci">AVVDPAUContext * av_vdpau_alloc_context(void)</div><div class="ttdoc">Allocate an AVVDPAUContext. </div></div>
<div class="ttc" id="structAVVDPAUContext_html_a9116d89dbc37270ff70579b1e9411069"><div class="ttname"><a href="structAVVDPAUContext.html#a9116d89dbc37270ff70579b1e9411069">AVVDPAUContext::bitstream_buffers_used</a></div><div class="ttdeci">attribute_deprecated int bitstream_buffers_used</div><div class="ttdoc">Useful bitstream buffers in the bitstream buffers table. </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00128">vdpau.h:128</a></div></div>
<div class="ttc" id="structAVVDPAUContext_html_a54b51de52e8b936c93272cad8e94e395"><div class="ttname"><a href="structAVVDPAUContext.html#a54b51de52e8b936c93272cad8e94e395">AVVDPAUContext::decoder</a></div><div class="ttdeci">VdpDecoder decoder</div><div class="ttdoc">VDPAU decoder handle. </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00096">vdpau.h:96</a></div></div>
<div class="ttc" id="libavcodec_2version_8h_html"><div class="ttname"><a href="libavcodec_2version_8h.html">version.h</a></div><div class="ttdoc">Libavcodec version macros. </div></div>
<div class="ttc" id="structAVVDPAUContext_html_af2826dbf7db72ddae2376372db67bd82"><div class="ttname"><a href="structAVVDPAUContext.html#af2826dbf7db72ddae2376372db67bd82">AVVDPAUContext::info</a></div><div class="ttdeci">attribute_deprecated union AVVDPAUPictureInfo info</div><div class="ttdoc">VDPAU picture information. </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00112">vdpau.h:112</a></div></div>
<div class="ttc" id="structvdpau__render__state_html_a5716971d7108b6a94ee628fb4a884e32"><div class="ttname"><a href="structvdpau__render__state.html#a5716971d7108b6a94ee628fb4a884e32">vdpau_render_state::bitstream_buffers</a></div><div class="ttdeci">VdpBitstreamBuffer * bitstream_buffers</div><div class="ttdoc">The user is responsible for freeing this buffer using av_freep(). </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00247">vdpau.h:247</a></div></div>
<div class="ttc" id="structAVVDPAUContext_html"><div class="ttname"><a href="structAVVDPAUContext.html">AVVDPAUContext</a></div><div class="ttdoc">This structure is used to share data between the libavcodec library and the client video application...</div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00090">vdpau.h:90</a></div></div>
<div class="ttc" id="structAVVDPAUContext_html_a4dcbc0fe3aa59529a032d63777e00b4a"><div class="ttname"><a href="structAVVDPAUContext.html#a4dcbc0fe3aa59529a032d63777e00b4a">AVVDPAUContext::bitstream_buffers_allocated</a></div><div class="ttdeci">attribute_deprecated int bitstream_buffers_allocated</div><div class="ttdoc">Allocated size of the bitstream_buffers table. </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00120">vdpau.h:120</a></div></div>
<div class="ttc" id="structvdpau__render__state_html_a761eb1f0760c95d8e755b4b9ac20c77c"><div class="ttname"><a href="structvdpau__render__state.html#a761eb1f0760c95d8e755b4b9ac20c77c">vdpau_render_state::info</a></div><div class="ttdeci">union AVVDPAUPictureInfo info</div><div class="ttdoc">picture parameter information for all supported codecs </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00240">vdpau.h:240</a></div></div>
<div class="ttc" id="group__lavc__codec__hwaccel__vdpau_html_gac56d6b1b4478056afc0e0a8f52271afa"><div class="ttname"><a href="group__lavc__codec__hwaccel__vdpau.html#gac56d6b1b4478056afc0e0a8f52271afa">av_vdpau_bind_context</a></div><div class="ttdeci">int av_vdpau_bind_context(AVCodecContext *avctx, VdpDevice device, VdpGetProcAddress *get_proc_address, unsigned flags)</div><div class="ttdoc">Associate a VDPAU device with a codec context for hardware acceleration. </div></div>
<div class="ttc" id="unionAVVDPAUPictureInfo_html"><div class="ttname"><a href="unionAVVDPAUPictureInfo.html">AVVDPAUPictureInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00061">vdpau.h:61</a></div></div>
<div class="ttc" id="group__lavc__codec__hwaccel__vdpau_html_ga5d993c664b580bb5b927e46c34455cf6"><div class="ttname"><a href="group__lavc__codec__hwaccel__vdpau.html#ga5d993c664b580bb5b927e46c34455cf6">av_vdpau_hwaccel_set_render2</a></div><div class="ttdeci">void av_vdpau_hwaccel_set_render2(AVVDPAUContext *, AVVDPAU_Render2)</div></div>
<div class="ttc" id="unionAVVDPAUPictureInfo_html_a03ba529bc77155578dd37aee7bb86af9"><div class="ttname"><a href="unionAVVDPAUPictureInfo.html#a03ba529bc77155578dd37aee7bb86af9">AVVDPAUPictureInfo::mpeg4</a></div><div class="ttdeci">VdpPictureInfoMPEG4Part2 mpeg4</div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00065">vdpau.h:65</a></div></div>
<div class="ttc" id="avcodec_8h_html"><div class="ttname"><a href="avcodec_8h.html">avcodec.h</a></div><div class="ttdoc">Libavcodec external API header. </div></div>
<div class="ttc" id="group__lavc__codec__hwaccel__vdpau_html_gabd46596564db27b9783814b2942f6d84"><div class="ttname"><a href="group__lavc__codec__hwaccel__vdpau.html#gabd46596564db27b9783814b2942f6d84">av_alloc_vdpaucontext</a></div><div class="ttdeci">AVVDPAUContext * av_alloc_vdpaucontext(void)</div><div class="ttdoc">allocation function for AVVDPAUContext </div></div>
<div class="ttc" id="structAVCodecContext_html"><div class="ttname"><a href="structAVCodecContext.html">AVCodecContext</a></div><div class="ttdoc">main external API structure. </div><div class="ttdef"><b>Definition:</b> <a href="avcodec_8h_source.html#l01532">avcodec.h:1532</a></div></div>
<div class="ttc" id="structvdpau__render__state_html_ab030c29ece1ef5130f78e69fa19af738"><div class="ttname"><a href="structvdpau__render__state.html#ab030c29ece1ef5130f78e69fa19af738">vdpau_render_state::bitstream_buffers_used</a></div><div class="ttdeci">int bitstream_buffers_used</div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00245">vdpau.h:245</a></div></div>
<div class="ttc" id="structvdpau__render__state_html_ab0e6b4e8689307349f7f10e451d57329"><div class="ttname"><a href="structvdpau__render__state.html#ab0e6b4e8689307349f7f10e451d57329">vdpau_render_state::bitstream_buffers_allocated</a></div><div class="ttdeci">int bitstream_buffers_allocated</div><div class="ttdoc">Describe size/location of the compressed video data. </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00244">vdpau.h:244</a></div></div>
<div class="ttc" id="structAVVDPAUContext_html_ac007e73409f8171d5aa26c2c1b72454c"><div class="ttname"><a href="structAVVDPAUContext.html#ac007e73409f8171d5aa26c2c1b72454c">AVVDPAUContext::render</a></div><div class="ttdeci">VdpDecoderRender * render</div><div class="ttdoc">VDPAU decoder render callback. </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00103">vdpau.h:103</a></div></div>
<div class="ttc" id="structvdpau__render__state_html_ab52402f2ec91ac3daf3c39bee6e6b717"><div class="ttname"><a href="structvdpau__render__state.html#ab52402f2ec91ac3daf3c39bee6e6b717">vdpau_render_state::state</a></div><div class="ttdeci">int state</div><div class="ttdoc">Holds FF_VDPAU_STATE_* values. </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00237">vdpau.h:237</a></div></div>
<div class="ttc" id="group__lavc__codec__hwaccel__vdpau_html_ga98e0853e07041294b96e1f4611ad9858"><div class="ttname"><a href="group__lavc__codec__hwaccel__vdpau.html#ga98e0853e07041294b96e1f4611ad9858">AVVDPAU_Render2</a></div><div class="ttdeci">int(* AVVDPAU_Render2)(struct AVCodecContext *, struct AVFrame *, const VdpPictureInfo *, uint32_t, const VdpBitstreamBuffer *)</div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00072">vdpau.h:72</a></div></div>
<div class="ttc" id="attributes_8h_html_aa6d076561d3a9eea4729ee632652de02"><div class="ttname"><a href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a></div><div class="ttdeci">#define attribute_deprecated</div><div class="ttdef"><b>Definition:</b> <a href="attributes_8h_source.html#l00094">attributes.h:94</a></div></div>
<div class="ttc" id="structAVVDPAUContext_html_af220e2bf6c0093dd63c8384dccccd3d8"><div class="ttname"><a href="structAVVDPAUContext.html#af220e2bf6c0093dd63c8384dccccd3d8">AVVDPAUContext::render2</a></div><div class="ttdeci">AVVDPAU_Render2 render2</div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00139">vdpau.h:139</a></div></div>
<div class="ttc" id="unionAVVDPAUPictureInfo_html_a9b04dee7006f93e2b2cede4316d99673"><div class="ttname"><a href="unionAVVDPAUPictureInfo.html#a9b04dee7006f93e2b2cede4316d99673">AVVDPAUPictureInfo::h264</a></div><div class="ttdeci">VdpPictureInfoH264 h264</div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00062">vdpau.h:62</a></div></div>
<div class="ttc" id="structvdpau__render__state_html"><div class="ttname"><a href="structvdpau__render__state.html">vdpau_render_state</a></div><div class="ttdoc">This structure is used as a callback between the FFmpeg decoder (vd_) and presentation (vo_) module...</div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00234">vdpau.h:234</a></div></div>
<div class="ttc" id="unionAVVDPAUPictureInfo_html_a0d054be4e5fbebdc6d723f6a1498117e"><div class="ttname"><a href="unionAVVDPAUPictureInfo.html#a0d054be4e5fbebdc6d723f6a1498117e">AVVDPAUPictureInfo::vc1</a></div><div class="ttdeci">VdpPictureInfoVC1 vc1</div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00064">vdpau.h:64</a></div></div>
<div class="ttc" id="demuxing__decoding_8c_html_ad12fc34ce789bce6c8a05d8a17138534"><div class="ttname"><a href="demuxing__decoding_8c.html#ad12fc34ce789bce6c8a05d8a17138534">height</a></div><div class="ttdeci">static int height</div><div class="ttdef"><b>Definition:</b> <a href="demuxing__decoding_8c_source.html#l00039">demuxing_decoding.c:39</a></div></div>
<div class="ttc" id="structvdpau__render__state_html_a03db4a28b9c8187ca69335d6aaa01d3f"><div class="ttname"><a href="structvdpau__render__state.html#a03db4a28b9c8187ca69335d6aaa01d3f">vdpau_render_state::surface</a></div><div class="ttdeci">VdpVideoSurface surface</div><div class="ttdoc">Used as rendered surface, never changed. </div><div class="ttdef"><b>Definition:</b> <a href="vdpau_8h_source.html#l00235">vdpau.h:235</a></div></div>
<div class="ttc" id="demuxing__decoding_8c_html_a2474a5474cbff19523a51eb1de01cda4"><div class="ttname"><a href="demuxing__decoding_8c.html#a2474a5474cbff19523a51eb1de01cda4">width</a></div><div class="ttdeci">static int width</div><div class="ttdef"><b>Definition:</b> <a href="demuxing__decoding_8c_source.html#l00039">demuxing_decoding.c:39</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>