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 / structAVHWAccel.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: AVHWAccel Struct 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 class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><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="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">AVHWAccel Struct Reference<div class="ingroups"><a class="el" href="group__lavc__hwaccel.html">AVHWAccel</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="AVHWAccel" -->
<p><code>#include &lt;<a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a9cc735be128cb62ff4cb594d3e3bdb92">name</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the hardware accelerated codec.  <a href="#a9cc735be128cb62ff4cb594d3e3bdb92"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="group__lavu__misc.html#ga9a84bba4713dfced21a1a56163be1f48">AVMediaType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#af962ad3e15697454ba312d1254e5a423">type</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of codec implemented by the hardware accelerator.  <a href="#af962ad3e15697454ba312d1254e5a423"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="group__lavc__core.html#gaadca229ad2c20e060a14fec08a5cc7ce">AVCodecID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a3c93d40193e9178eb7408295c6c2b2f2">id</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Codec implemented by the hardware accelerator.  <a href="#a3c93d40193e9178eb7408295c6c2b2f2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#ac5692f044266af8c1c33b7ac549df338">pix_fmt</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Supported pixel format.  <a href="#ac5692f044266af8c1c33b7ac549df338"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#aa1da71a1cc27b60294023a893759e60a">capabilities</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Hardware accelerated codec capabilities.  <a href="#aa1da71a1cc27b60294023a893759e60a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structAVHWAccel.html">AVHWAccel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#aaca69ddfacfa72b642007b5ab4b89424">next</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a803e49525ffe5390c61998bc24bb6cd0">alloc_frame</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, <a class="el" href="structAVFrame.html">AVFrame</a> *<a class="el" href="extract__mvs_8c.html#ad7d33d579a8d4241a5e643e39287a209">frame</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocate a custom buffer.  <a href="#a803e49525ffe5390c61998bc24bb6cd0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#ac604e62f43c3386f1a5f3998f2270ffe">start_frame</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, const uint8_t *buf, uint32_t buf_size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Called at the beginning of each frame or field picture.  <a href="#ac604e62f43c3386f1a5f3998f2270ffe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a339f59ce5bb56b17269dfd2517698b80">decode_slice</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, const uint8_t *buf, uint32_t buf_size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback for each slice.  <a href="#a339f59ce5bb56b17269dfd2517698b80"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#aef4337fb338e00fd9f3e1d8a032f0f43">end_frame</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Called at the end of each frame or field picture.  <a href="#aef4337fb338e00fd9f3e1d8a032f0f43"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#aecd7bfd22ce294f1ae5073164bb90d65">frame_priv_data_size</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of per-frame hardware accelerator private data.  <a href="#aecd7bfd22ce294f1ae5073164bb90d65"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#ae4f9f34bd73e9c757692168d2578e842">decode_mb</a> )(struct MpegEncContext *s)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Called for every Macroblock in a slice.  <a href="#ae4f9f34bd73e9c757692168d2578e842"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#aed68e178391abbd01f78137fbc36ef7f">init</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the hwaccel private data.  <a href="#aed68e178391abbd01f78137fbc36ef7f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a27f99d0902f1823f327e1eae32790d23">uninit</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Uninitialize the hwaccel private data.  <a href="#a27f99d0902f1823f327e1eae32790d23"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVHWAccel.html#a0094df5ea13d644ebcba1237d45055be">priv_data_size</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of the private data to allocate in AVCodecInternal.hwaccel_priv_data.  <a href="#a0094df5ea13d644ebcba1237d45055be"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03287">3287</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="a9cc735be128cb62ff4cb594d3e3bdb92"></a><!-- doxytag: member="AVHWAccel::name" ref="a9cc735be128cb62ff4cb594d3e3bdb92" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="structAVHWAccel.html#a9cc735be128cb62ff4cb594d3e3bdb92">AVHWAccel::name</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Name of the hardware accelerated codec. </p>
<p>The name is globally unique among encoders and among decoders (but an encoder and a decoder can share the same name). </p>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03293">3293</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="af962ad3e15697454ba312d1254e5a423"></a><!-- doxytag: member="AVHWAccel::type" ref="af962ad3e15697454ba312d1254e5a423" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__lavu__misc.html#ga9a84bba4713dfced21a1a56163be1f48">AVMediaType</a> <a class="el" href="structAVHWAccel.html#af962ad3e15697454ba312d1254e5a423">AVHWAccel::type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Type of codec implemented by the hardware accelerator. </p>
<p>See AVMEDIA_TYPE_xxx </p>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03300">3300</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3c93d40193e9178eb7408295c6c2b2f2"></a><!-- doxytag: member="AVHWAccel::id" ref="a3c93d40193e9178eb7408295c6c2b2f2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__lavc__core.html#gaadca229ad2c20e060a14fec08a5cc7ce">AVCodecID</a> <a class="el" href="structAVHWAccel.html#a3c93d40193e9178eb7408295c6c2b2f2">AVHWAccel::id</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Codec implemented by the hardware accelerator. </p>
<p>See AV_CODEC_ID_xxx </p>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03307">3307</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac5692f044266af8c1c33b7ac549df338"></a><!-- doxytag: member="AVHWAccel::pix_fmt" ref="ac5692f044266af8c1c33b7ac549df338" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> <a class="el" href="structAVHWAccel.html#ac5692f044266af8c1c33b7ac549df338">AVHWAccel::pix_fmt</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Supported pixel format. </p>
<p>Only hardware accelerated formats are supported here. </p>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03314">3314</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa1da71a1cc27b60294023a893759e60a"></a><!-- doxytag: member="AVHWAccel::capabilities" ref="aa1da71a1cc27b60294023a893759e60a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structAVHWAccel.html#aa1da71a1cc27b60294023a893759e60a">AVHWAccel::capabilities</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Hardware accelerated codec capabilities. </p>
<p>see FF_HWACCEL_CODEC_CAP_* </p>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03320">3320</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaca69ddfacfa72b642007b5ab4b89424"></a><!-- doxytag: member="AVHWAccel::next" ref="aaca69ddfacfa72b642007b5ab4b89424" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structAVHWAccel.html">AVHWAccel</a>* <a class="el" href="structAVHWAccel.html#aaca69ddfacfa72b642007b5ab4b89424">AVHWAccel::next</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03329">3329</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="a803e49525ffe5390c61998bc24bb6cd0"></a><!-- doxytag: member="AVHWAccel::alloc_frame" ref="a803e49525ffe5390c61998bc24bb6cd0" args=")(AVCodecContext *avctx, AVFrame *frame)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* <a class="el" href="structAVHWAccel.html#a803e49525ffe5390c61998bc24bb6cd0">AVHWAccel::alloc_frame</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, <a class="el" href="structAVFrame.html">AVFrame</a> *<a class="el" href="extract__mvs_8c.html#ad7d33d579a8d4241a5e643e39287a209">frame</a>)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Allocate a custom buffer. </p>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03334">3334</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac604e62f43c3386f1a5f3998f2270ffe"></a><!-- doxytag: member="AVHWAccel::start_frame" ref="ac604e62f43c3386f1a5f3998f2270ffe" args=")(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* <a class="el" href="structAVHWAccel.html#ac604e62f43c3386f1a5f3998f2270ffe">AVHWAccel::start_frame</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, const uint8_t *buf, uint32_t buf_size)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Called at the beginning of each frame or field picture. </p>
<p>Meaningful frame information (codec specific) is guaranteed to be parsed at this point. This function is mandatory.</p>
<p>Note that buf can be NULL along with buf_size set to 0. Otherwise, this means the whole frame is available at this point.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">avctx</td><td>the codec context </td></tr>
    <tr><td class="paramname">buf</td><td>the frame data buffer base </td></tr>
    <tr><td class="paramname">buf_size</td><td>the size of the frame in bytes </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>zero if successful, a negative value otherwise </dd></dl>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03350">3350</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="a339f59ce5bb56b17269dfd2517698b80"></a><!-- doxytag: member="AVHWAccel::decode_slice" ref="a339f59ce5bb56b17269dfd2517698b80" args=")(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* <a class="el" href="structAVHWAccel.html#a339f59ce5bb56b17269dfd2517698b80">AVHWAccel::decode_slice</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, const uint8_t *buf, uint32_t buf_size)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Callback for each slice. </p>
<p>Meaningful slice information (codec specific) is guaranteed to be parsed at this point. This function is mandatory. The only exception is XvMC, that works on MB level.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">avctx</td><td>the codec context </td></tr>
    <tr><td class="paramname">buf</td><td>the slice data buffer base </td></tr>
    <tr><td class="paramname">buf_size</td><td>the size of the slice in bytes </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>zero if successful, a negative value otherwise </dd></dl>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03364">3364</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="aef4337fb338e00fd9f3e1d8a032f0f43"></a><!-- doxytag: member="AVHWAccel::end_frame" ref="aef4337fb338e00fd9f3e1d8a032f0f43" args=")(AVCodecContext *avctx)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* <a class="el" href="structAVHWAccel.html#aef4337fb338e00fd9f3e1d8a032f0f43">AVHWAccel::end_frame</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Called at the end of each frame or field picture. </p>
<p>The whole picture is parsed at this point and can now be sent to the hardware accelerator. This function is mandatory.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">avctx</td><td>the codec context </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>zero if successful, a negative value otherwise </dd></dl>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03375">3375</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="aecd7bfd22ce294f1ae5073164bb90d65"></a><!-- doxytag: member="AVHWAccel::frame_priv_data_size" ref="aecd7bfd22ce294f1ae5073164bb90d65" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structAVHWAccel.html#aecd7bfd22ce294f1ae5073164bb90d65">AVHWAccel::frame_priv_data_size</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Size of per-frame hardware accelerator private data. </p>
<p>Private data is allocated with <a class="el" href="group__lavu__mem.html#ga0a8cc057ae9723ce3b9203cb5365971a" title="Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...">av_mallocz()</a> before <a class="el" href="structAVCodecContext.html#ad2a02f9d24723a62e30a3cfecdb7c2c5" title="Called at the beginning of each frame to get a buffer for it.">AVCodecContext.get_buffer()</a> and deallocated after <a class="el" href="structAVCodecContext.html#a8756e30ca5ccc941e6bbde8bcc546bdf" title="Called to release buffers which were allocated with get_buffer.">AVCodecContext.release_buffer()</a>. </p>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03384">3384</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae4f9f34bd73e9c757692168d2578e842"></a><!-- doxytag: member="AVHWAccel::decode_mb" ref="ae4f9f34bd73e9c757692168d2578e842" args=")(struct MpegEncContext *s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* <a class="el" href="structAVHWAccel.html#ae4f9f34bd73e9c757692168d2578e842">AVHWAccel::decode_mb</a>)(struct MpegEncContext *s)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Called for every Macroblock in a slice. </p>
<p>XvMC uses it to replace the ff_mpv_decode_mb(). Instead of decoding to raw picture, MB parameters are stored in an array provided by the video driver.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>the mpeg context </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03395">3395</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="aed68e178391abbd01f78137fbc36ef7f"></a><!-- doxytag: member="AVHWAccel::init" ref="aed68e178391abbd01f78137fbc36ef7f" args=")(AVCodecContext *avctx)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* <a class="el" href="structAVHWAccel.html#aed68e178391abbd01f78137fbc36ef7f">AVHWAccel::init</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initialize the hwaccel private data. </p>
<p>This will be called from ff_get_format(), after hwaccel and hwaccel_context are set and the hwaccel private data in AVCodecInternal is allocated. </p>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03404">3404</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="a27f99d0902f1823f327e1eae32790d23"></a><!-- doxytag: member="AVHWAccel::uninit" ref="a27f99d0902f1823f327e1eae32790d23" args=")(AVCodecContext *avctx)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* <a class="el" href="structAVHWAccel.html#a27f99d0902f1823f327e1eae32790d23">AVHWAccel::uninit</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Uninitialize the hwaccel private data. </p>
<p>This will be called from get_format() or <a class="el" href="group__lavc__core.html#gaf4daa92361efb3523ef5afeb0b54077f" title="Close a given AVCodecContext and free all the data associated with it (but not the AVCodecContext its...">avcodec_close()</a>, after hwaccel and hwaccel_context are already uninitialized. </p>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03412">3412</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0094df5ea13d644ebcba1237d45055be"></a><!-- doxytag: member="AVHWAccel::priv_data_size" ref="a0094df5ea13d644ebcba1237d45055be" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structAVHWAccel.html#a0094df5ea13d644ebcba1237d45055be">AVHWAccel::priv_data_size</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Size of the private data to allocate in AVCodecInternal.hwaccel_priv_data. </p>

<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03418">3418</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavcodec/<a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a></li>
</ul>
</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>