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-doc / api / vda_8h.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"/>
<title>FFmpeg: libavcodec/vda.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<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">2.7.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<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>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">libavcodec/vda.h File Reference<div class="ingroups"><a class="el" href="group__lavc__codec__hwaccel__vda.html">VDA</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Public libavcodec VDA header.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="libavcodec_2avcodec_8h_source.html">libavcodec/avcodec.h</a>&quot;</code><br/>
<code>#include &lt;stdint.h&gt;</code><br/>
<code>#include &lt;VideoDecodeAcceleration/VDADecoder.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="libavcodec_2version_8h_source.html">libavcodec/version.h</a>&quot;</code><br/>
</div>
<p><a href="vda_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvda__context.html">vda_context</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This structure is used to provide the necessary configurations and data to the VDA FFmpeg HWAccel implementation.  <a href="structvda__context.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVDAContext.html">AVVDAContext</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This struct holds all the information that needs to be passed between the caller and libavcodec for initializing VDA decoding.  <a href="structAVVDAContext.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="vda_8h.html#a63024b9f4f18a0420b1e71b49205d3ca">Picture</a>&#160;&#160;&#160;QuickdrawPicture</td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="vda_8h.html#adc29c2ff13d900c2f185ee95427fb06ca6a3d93ff5334fd34c1a863298cbc598b">kVDADecodeInfo_Asynchronous</a> =  1UL &lt;&lt; 0, 
<a class="el" href="vda_8h.html#adc29c2ff13d900c2f185ee95427fb06ca03ffb3954e167c29e46c07251920ecbf">kVDADecodeInfo_FrameDropped</a> =  1UL &lt;&lt; 1
 }</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavc__codec__hwaccel__vda.html#gac1efc3b9787748648228c97845fc4c52">ff_vda_create_decoder</a> (struct <a class="el" href="structvda__context.html">vda_context</a> *vda_ctx, uint8_t *extradata, int extradata_size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create the video decoder.  <a href="group__lavc__codec__hwaccel__vda.html#gac1efc3b9787748648228c97845fc4c52"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavc__codec__hwaccel__vda.html#ga032d202aa5c1eea108b6305670bc3322">ff_vda_destroy_decoder</a> (struct <a class="el" href="structvda__context.html">vda_context</a> *vda_ctx)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy the video decoder.  <a href="group__lavc__codec__hwaccel__vda.html#ga032d202aa5c1eea108b6305670bc3322"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVVDAContext.html">AVVDAContext</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavc__codec__hwaccel__vda.html#ga406d1f99d8c74fbeb2bb6992817d02b3">av_vda_alloc_context</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocate and initialize a VDA context.  <a href="group__lavc__codec__hwaccel__vda.html#ga406d1f99d8c74fbeb2bb6992817d02b3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavc__codec__hwaccel__vda.html#ga50f5cd66fd40a76ffb1d419475c04cd4">av_vda_default_init</a> (<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a convenience function that creates and sets up the VDA context using an internal implementation.  <a href="group__lavc__codec__hwaccel__vda.html#ga50f5cd66fd40a76ffb1d419475c04cd4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavc__codec__hwaccel__vda.html#ga6df74ab297f8ed873d7d06f75736fb6e">av_vda_default_init2</a> (<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, <a class="el" href="structAVVDAContext.html">AVVDAContext</a> *vdactx)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a convenience function that creates and sets up the VDA context using an internal implementation.  <a href="group__lavc__codec__hwaccel__vda.html#ga6df74ab297f8ed873d7d06f75736fb6e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lavc__codec__hwaccel__vda.html#ga322e94626395443ebb900e4034ec5096">av_vda_default_free</a> (<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function must be called to free the VDA context initialized with <a class="el" href="group__lavc__codec__hwaccel__vda.html#ga50f5cd66fd40a76ffb1d419475c04cd4" title="This is a convenience function that creates and sets up the VDA context using an internal implementat...">av_vda_default_init()</a>.  <a href="group__lavc__codec__hwaccel__vda.html#ga322e94626395443ebb900e4034ec5096"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Public libavcodec VDA header. </p>

<p>Definition in file <a class="el" href="vda_8h_source.html">vda.h</a>.</p>
</div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="a63024b9f4f18a0420b1e71b49205d3ca"></a><!-- doxytag: member="vda.h::Picture" ref="a63024b9f4f18a0420b1e71b49205d3ca" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="vda_8h.html#a63024b9f4f18a0420b1e71b49205d3ca">Picture</a>&#160;&#160;&#160;QuickdrawPicture</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="vda_8h_source.html#l00040">40</a> of file <a class="el" href="vda_8h_source.html">vda.h</a>.</p>

</div>
</div>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="adc29c2ff13d900c2f185ee95427fb06c"></a><!-- doxytag: member="vda.h::@4" ref="adc29c2ff13d900c2f185ee95427fb06c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="adc29c2ff13d900c2f185ee95427fb06ca6a3d93ff5334fd34c1a863298cbc598b"></a><!-- doxytag: member="kVDADecodeInfo_Asynchronous" ref="adc29c2ff13d900c2f185ee95427fb06ca6a3d93ff5334fd34c1a863298cbc598b" args="" -->kVDADecodeInfo_Asynchronous</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adc29c2ff13d900c2f185ee95427fb06ca03ffb3954e167c29e46c07251920ecbf"></a><!-- doxytag: member="kVDADecodeInfo_FrameDropped" ref="adc29c2ff13d900c2f185ee95427fb06ca03ffb3954e167c29e46c07251920ecbf" args="" -->kVDADecodeInfo_FrameDropped</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="vda_8h_source.html#l00047">47</a> of file <a class="el" href="vda_8h_source.html">vda.h</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- 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>Defines</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>



<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.7.6.1
</small></address>

</body>
</html>