Repository URL to install this package:
Version:
7:2.7.1-1ubuntu3 ▾
|
<!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: AVCodec 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
 <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 Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data 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 Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="functions.html"><span>Data 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">AVCodec Struct Reference<div class="ingroups"><a class="el" href="group__lavc__core.html">Core functions/structures.</a></div></div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="AVCodec" -->
<p><a class="el" href="structAVCodec.html" title="AVCodec.">AVCodec</a>.
<a href="structAVCodec.html#details">More...</a></p>
<p><code>#include <<a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>></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 * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#ad3daa3e729850b573c139a83be8938ca">name</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the codec implementation. <a href="#ad3daa3e729850b573c139a83be8938ca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#acb4afcfce3b6541ed70aa7f21d507422">long_name</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Descriptive name for the codec, meant to be more human readable than name. <a href="#acb4afcfce3b6541ed70aa7f21d507422"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="group__lavu__misc.html#ga9a84bba4713dfced21a1a56163be1f48">AVMediaType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#ab539ca86026d043803c24ba06fa84197">type</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="group__lavc__core.html#gaadca229ad2c20e060a14fec08a5cc7ce">AVCodecID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a01a53d07936f4c7ee280444793b6967b">id</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#af51f7ff3dac8b730f46b9713e49a2518">capabilities</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Codec capabilities. <a href="#af51f7ff3dac8b730f46b9713e49a2518"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structAVRational.html">AVRational</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a5cc75a0ab41697df21a8cd649662190c">supported_framerates</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">array of supported framerates, or NULL if any, array is terminated by {0,0} <a href="#a5cc75a0ab41697df21a8cd649662190c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5">AVPixelFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#ac2b97bd3c19686025e1b7d577329c250">pix_fmts</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">array of supported pixel formats, or NULL if unknown, array is terminated by -1 <a href="#ac2b97bd3c19686025e1b7d577329c250"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#aee7a194f1c3251958d3dabed3fa8148e">supported_samplerates</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">array of supported audio samplerates, or NULL if unknown, array is terminated by 0 <a href="#aee7a194f1c3251958d3dabed3fa8148e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum <a class="el" href="group__lavu__sampfmts.html#gaf9a51ca15301871723577c730b5865c5">AVSampleFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#aac19f4c45370f715412ad5c7b78daacf">sample_fmts</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">array of supported sample formats, or NULL if unknown, array is terminated by -1 <a href="#aac19f4c45370f715412ad5c7b78daacf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const uint64_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a1d4c5152626bbd1f575a3e0014cb59e7">channel_layouts</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">array of support channel layouts, or NULL if unknown. array is terminated by 0 <a href="#a1d4c5152626bbd1f575a3e0014cb59e7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#afc51006d374ca72dfa3b0e29cbb1d981">max_lowres</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">maximum value for lowres supported by the decoder, no direct access, use <a class="el" href="group__lavc__core.html#gafda0a87bc29a129cd12e858b4609cccd">av_codec_get_max_lowres()</a> <a href="#afc51006d374ca72dfa3b0e29cbb1d981"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structAVClass.html">AVClass</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a4ded9f7ec1fa1a73ea3e831428c100fa">priv_class</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="structAVClass.html" title="Describe the class of an AVClass context structure.">AVClass</a> for the private context. <a href="#a4ded9f7ec1fa1a73ea3e831428c100fa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structAVProfile.html">AVProfile</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#ac832350f2bac582fe3d174e2e3b1eb5e">profiles</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN} <a href="#ac832350f2bac582fe3d174e2e3b1eb5e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#aa86c803fcfc0ebb569b15d4645d0e796">priv_data_size</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structAVCodec.html">AVCodec</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#ab423f961a2ce8ef9442010909a29dbf5">next</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="group__lavc__core.html#ga27561af66de4a75c3da1dc61f8c5cd9a">AVCodecDefault</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a16e4be8873bd93ac84c7b7d86455d518">defaults</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Private codec-specific defaults. <a href="#a16e4be8873bd93ac84c7b7d86455d518"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a9f2ec22903b64381c7126fcfa28ef24f">init_static_data</a> )(struct <a class="el" href="structAVCodec.html">AVCodec</a> *codec)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize codec static data, called from <a class="el" href="group__lavc__core.html#ga882513208349dbcea177626d9fd7ed92" title="Register the codec codec and initialize libavcodec.">avcodec_register()</a>. <a href="#a9f2ec22903b64381c7126fcfa28ef24f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a3889d5db28d56089e9debfec3e9f065f">init</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a43e5db74e3cb68dfe025390f99114234">encode_sub</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *, uint8_t *buf, int buf_size, const struct <a class="el" href="structAVSubtitle.html">AVSubtitle</a> *sub)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a77d3f51b26f7e32894d5d3adf28cd0d7">encode2</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, <a class="el" href="structAVPacket.html">AVPacket</a> *avpkt, const <a class="el" href="structAVFrame.html">AVFrame</a> *<a class="el" href="extract__mvs_8c.html#ad7d33d579a8d4241a5e643e39287a209">frame</a>, int *got_packet_ptr)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Encode data to an <a class="el" href="structAVPacket.html" title="This structure stores compressed data.">AVPacket</a>. <a href="#a77d3f51b26f7e32894d5d3adf28cd0d7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a9b499bef3f761d744d848b2f8ce41f50">decode</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *, void *outdata, int *outdata_size, <a class="el" href="structAVPacket.html">AVPacket</a> *avpkt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a4c37aedc6221fd3342d20da639199bff">close</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a988b31fb18ff269f49bb06a792fe48bc">flush</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Flush buffers. <a href="#a988b31fb18ff269f49bb06a792fe48bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#a30b99d076ad0288b0d9bf3c931df8986">caps_internal</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal codec capabilities. <a href="#a30b99d076ad0288b0d9bf3c931df8986"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Frame-level threading support functions</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#ab62dd9bb53e1561be5b1354d50fb5158">init_thread_copy</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">If defined, called on thread contexts when they are created. <a href="#ab62dd9bb53e1561be5b1354d50fb5158"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVCodec.html#af25cdaf7b0b732121f8fb79cba84aa18">update_thread_context</a> )(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *dst, const <a class="el" href="structAVCodecContext.html">AVCodecContext</a> *src)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy necessary context variables from a previous thread context to the current one. <a href="#af25cdaf7b0b732121f8fb79cba84aa18"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="structAVCodec.html" title="AVCodec.">AVCodec</a>. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#_a1">decoding_encoding.c</a>, <a class="el" href="demuxing_decoding_8c-example.html#_a55">demuxing_decoding.c</a>, <a class="el" href="filtering_audio_8c-example.html#_a13">filtering_audio.c</a>, <a class="el" href="filtering_video_8c-example.html#_a14">filtering_video.c</a>, <a class="el" href="muxing_8c-example.html#_a32">muxing.c</a>, <a class="el" href="transcode_aac_8c-example.html#_a5">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#_a29">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03180">3180</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="ad3daa3e729850b573c139a83be8938ca"></a><!-- doxytag: member="AVCodec::name" ref="ad3daa3e729850b573c139a83be8938ca" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* <a class="el" href="structAVCodec.html#ad3daa3e729850b573c139a83be8938ca">AVCodec::name</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Name of the codec implementation. </p>
<p>The name is globally unique among encoders and among decoders (but an encoder and a decoder can share the same name). This is the primary way to find a codec from the user perspective. </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03187">3187</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="acb4afcfce3b6541ed70aa7f21d507422"></a><!-- doxytag: member="AVCodec::long_name" ref="acb4afcfce3b6541ed70aa7f21d507422" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* <a class="el" href="structAVCodec.html#acb4afcfce3b6541ed70aa7f21d507422">AVCodec::long_name</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Descriptive name for the codec, meant to be more human readable than name. </p>
<p>You should use the NULL_IF_CONFIG_SMALL() macro to define it. </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03192">3192</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab539ca86026d043803c24ba06fa84197"></a><!-- doxytag: member="AVCodec::type" ref="ab539ca86026d043803c24ba06fa84197" 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="structAVCodec.html#ab539ca86026d043803c24ba06fa84197">AVCodec::type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03193">3193</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a01a53d07936f4c7ee280444793b6967b"></a><!-- doxytag: member="AVCodec::id" ref="a01a53d07936f4c7ee280444793b6967b" 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="structAVCodec.html#a01a53d07936f4c7ee280444793b6967b">AVCodec::id</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03194">3194</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="af51f7ff3dac8b730f46b9713e49a2518"></a><!-- doxytag: member="AVCodec::capabilities" ref="af51f7ff3dac8b730f46b9713e49a2518" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVCodec.html#af51f7ff3dac8b730f46b9713e49a2518">AVCodec::capabilities</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Codec capabilities. </p>
<p>see CODEC_CAP_* </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#a79">decoding_encoding.c</a>, <a class="el" href="muxing_8c-example.html#a81">muxing.c</a>, and <a class="el" href="transcoding_8c-example.html#a113">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03199">3199</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="transcoding_8c_source.html#l00446">flush_encoder()</a>, <a class="el" href="muxing_8c_source.html#l00209">open_audio()</a>, and <a class="el" href="decoding__encoding_8c_source.html#l00534">video_decode_example()</a>.</p>
</div>
</div>
<a class="anchor" id="a5cc75a0ab41697df21a8cd649662190c"></a><!-- doxytag: member="AVCodec::supported_framerates" ref="a5cc75a0ab41697df21a8cd649662190c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structAVRational.html">AVRational</a>* <a class="el" href="structAVCodec.html#a5cc75a0ab41697df21a8cd649662190c">AVCodec::supported_framerates</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>array of supported framerates, or NULL if any, array is terminated by {0,0} </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03200">3200</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac2b97bd3c19686025e1b7d577329c250"></a><!-- doxytag: member="AVCodec::pix_fmts" ref="ac2b97bd3c19686025e1b7d577329c250" 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="structAVCodec.html#ac2b97bd3c19686025e1b7d577329c250">AVCodec::pix_fmts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>array of supported pixel formats, or NULL if unknown, array is terminated by -1 </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="transcoding_8c-example.html#a40">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03201">3201</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="transcoding_8c_source.html#l00087">open_output_file()</a>.</p>
</div>
</div>
<a class="anchor" id="aee7a194f1c3251958d3dabed3fa8148e"></a><!-- doxytag: member="AVCodec::supported_samplerates" ref="aee7a194f1c3251958d3dabed3fa8148e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int* <a class="el" href="structAVCodec.html#aee7a194f1c3251958d3dabed3fa8148e">AVCodec::supported_samplerates</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>array of supported audio samplerates, or NULL if unknown, array is terminated by 0 </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#a5">decoding_encoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03202">3202</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="decoding__encoding_8c_source.html#l00061">select_sample_rate()</a>.</p>
</div>
</div>
<a class="anchor" id="aac19f4c45370f715412ad5c7b78daacf"></a><!-- doxytag: member="AVCodec::sample_fmts" ref="aac19f4c45370f715412ad5c7b78daacf" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__lavu__sampfmts.html#gaf9a51ca15301871723577c730b5865c5">AVSampleFormat</a>* <a class="el" href="structAVCodec.html#aac19f4c45370f715412ad5c7b78daacf">AVCodec::sample_fmts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>array of supported sample formats, or NULL if unknown, array is terminated by -1 </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#a2">decoding_encoding.c</a>, <a class="el" href="transcode_aac_8c-example.html#a29">transcode_aac.c</a>, and <a class="el" href="transcoding_8c-example.html#a47">transcoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03203">3203</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="decoding__encoding_8c_source.html#l00048">check_sample_fmt()</a>, and <a class="el" href="transcode__aac_8c_source.html#l00120">open_output_file()</a>.</p>
</div>
</div>
<a class="anchor" id="a1d4c5152626bbd1f575a3e0014cb59e7"></a><!-- doxytag: member="AVCodec::channel_layouts" ref="a1d4c5152626bbd1f575a3e0014cb59e7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const uint64_t* <a class="el" href="structAVCodec.html#a1d4c5152626bbd1f575a3e0014cb59e7">AVCodec::channel_layouts</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>array of support channel layouts, or NULL if unknown. array is terminated by 0 </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="decoding_encoding_8c-example.html#a8">decoding_encoding.c</a>.</dd>
</dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03204">3204</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
<p>Referenced by <a class="el" href="decoding__encoding_8c_source.html#l00078">select_channel_layout()</a>.</p>
</div>
</div>
<a class="anchor" id="afc51006d374ca72dfa3b0e29cbb1d981"></a><!-- doxytag: member="AVCodec::max_lowres" ref="afc51006d374ca72dfa3b0e29cbb1d981" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t <a class="el" href="structAVCodec.html#afc51006d374ca72dfa3b0e29cbb1d981">AVCodec::max_lowres</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>maximum value for lowres supported by the decoder, no direct access, use <a class="el" href="group__lavc__core.html#gafda0a87bc29a129cd12e858b4609cccd">av_codec_get_max_lowres()</a> </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03206">3206</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4ded9f7ec1fa1a73ea3e831428c100fa"></a><!-- doxytag: member="AVCodec::priv_class" ref="a4ded9f7ec1fa1a73ea3e831428c100fa" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structAVClass.html">AVClass</a>* <a class="el" href="structAVCodec.html#a4ded9f7ec1fa1a73ea3e831428c100fa">AVCodec::priv_class</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="structAVClass.html" title="Describe the class of an AVClass context structure.">AVClass</a> for the private context. </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03208">3208</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac832350f2bac582fe3d174e2e3b1eb5e"></a><!-- doxytag: member="AVCodec::profiles" ref="ac832350f2bac582fe3d174e2e3b1eb5e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structAVProfile.html">AVProfile</a>* <a class="el" href="structAVCodec.html#ac832350f2bac582fe3d174e2e3b1eb5e">AVCodec::profiles</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN} </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03209">3209</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="aa86c803fcfc0ebb569b15d4645d0e796"></a><!-- doxytag: member="AVCodec::priv_data_size" ref="aa86c803fcfc0ebb569b15d4645d0e796" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVCodec.html#aa86c803fcfc0ebb569b15d4645d0e796">AVCodec::priv_data_size</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03218">3218</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab423f961a2ce8ef9442010909a29dbf5"></a><!-- doxytag: member="AVCodec::next" ref="ab423f961a2ce8ef9442010909a29dbf5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="structAVCodec.html">AVCodec</a>* <a class="el" href="structAVCodec.html#ab423f961a2ce8ef9442010909a29dbf5">AVCodec::next</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03219">3219</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab62dd9bb53e1561be5b1354d50fb5158"></a><!-- doxytag: member="AVCodec::init_thread_copy" ref="ab62dd9bb53e1561be5b1354d50fb5158" args=")(AVCodecContext *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* <a class="el" href="structAVCodec.html#ab62dd9bb53e1561be5b1354d50fb5158">AVCodec::init_thread_copy</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>If defined, called on thread contexts when they are created. </p>
<p>If the codec allocates writable tables in <a class="el" href="structAVCodec.html#a3889d5db28d56089e9debfec3e9f065f">init()</a>, re-allocate them here. priv_data will be set to a copy of the original. </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03229">3229</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="af25cdaf7b0b732121f8fb79cba84aa18"></a><!-- doxytag: member="AVCodec::update_thread_context" ref="af25cdaf7b0b732121f8fb79cba84aa18" args=")(AVCodecContext *dst, const AVCodecContext *src)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* <a class="el" href="structAVCodec.html#af25cdaf7b0b732121f8fb79cba84aa18">AVCodec::update_thread_context</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *dst, const <a class="el" href="structAVCodecContext.html">AVCodecContext</a> *src)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Copy necessary context variables from a previous thread context to the current one. </p>
<p>If not defined, the next thread will start automatically; otherwise, the codec must call ff_thread_finish_setup().</p>
<p>dst and src will (rarely) point to the same context, in which case memcpy should be skipped. </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03237">3237</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a16e4be8873bd93ac84c7b7d86455d518"></a><!-- doxytag: member="AVCodec::defaults" ref="a16e4be8873bd93ac84c7b7d86455d518" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="group__lavc__core.html#ga27561af66de4a75c3da1dc61f8c5cd9a">AVCodecDefault</a>* <a class="el" href="structAVCodec.html#a16e4be8873bd93ac84c7b7d86455d518">AVCodec::defaults</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Private codec-specific defaults. </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03243">3243</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9f2ec22903b64381c7126fcfa28ef24f"></a><!-- doxytag: member="AVCodec::init_static_data" ref="a9f2ec22903b64381c7126fcfa28ef24f" args=")(struct AVCodec *codec)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* <a class="el" href="structAVCodec.html#a9f2ec22903b64381c7126fcfa28ef24f">AVCodec::init_static_data</a>)(struct <a class="el" href="structAVCodec.html">AVCodec</a> *codec)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Initialize codec static data, called from <a class="el" href="group__lavc__core.html#ga882513208349dbcea177626d9fd7ed92" title="Register the codec codec and initialize libavcodec.">avcodec_register()</a>. </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03248">3248</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3889d5db28d56089e9debfec3e9f065f"></a><!-- doxytag: member="AVCodec::init" ref="a3889d5db28d56089e9debfec3e9f065f" args=")(AVCodecContext *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* <a class="el" href="structAVCodec.html#a3889d5db28d56089e9debfec3e9f065f">AVCodec::init</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03250">3250</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a43e5db74e3cb68dfe025390f99114234"></a><!-- doxytag: member="AVCodec::encode_sub" ref="a43e5db74e3cb68dfe025390f99114234" args=")(AVCodecContext *, uint8_t *buf, int buf_size, const struct AVSubtitle *sub)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* <a class="el" href="structAVCodec.html#a43e5db74e3cb68dfe025390f99114234">AVCodec::encode_sub</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *, uint8_t *buf, int buf_size, const struct <a class="el" href="structAVSubtitle.html">AVSubtitle</a> *sub)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03251">3251</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a77d3f51b26f7e32894d5d3adf28cd0d7"></a><!-- doxytag: member="AVCodec::encode2" ref="a77d3f51b26f7e32894d5d3adf28cd0d7" args=")(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* <a class="el" href="structAVCodec.html#a77d3f51b26f7e32894d5d3adf28cd0d7">AVCodec::encode2</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *avctx, <a class="el" href="structAVPacket.html">AVPacket</a> *avpkt, const <a class="el" href="structAVFrame.html">AVFrame</a> *<a class="el" href="extract__mvs_8c.html#ad7d33d579a8d4241a5e643e39287a209">frame</a>, int *got_packet_ptr)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Encode data to an <a class="el" href="structAVPacket.html" title="This structure stores compressed data.">AVPacket</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">avctx</td><td>codec context </td></tr>
<tr><td class="paramdir"></td><td class="paramname">avpkt</td><td>output <a class="el" href="structAVPacket.html" title="This structure stores compressed data.">AVPacket</a> (may contain a user-provided buffer) </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td><a class="el" href="structAVFrame.html" title="This structure describes decoded (raw) audio or video data.">AVFrame</a> containing the raw data to be encoded </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">got_packet_ptr</td><td>encoder sets to 0 or 1 to indicate that a non-empty packet was returned in avpkt. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success, negative error code on failure </dd></dl>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03263">3263</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9b499bef3f761d744d848b2f8ce41f50"></a><!-- doxytag: member="AVCodec::decode" ref="a9b499bef3f761d744d848b2f8ce41f50" args=")(AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* <a class="el" href="structAVCodec.html#a9b499bef3f761d744d848b2f8ce41f50">AVCodec::decode</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *, void *outdata, int *outdata_size, <a class="el" href="structAVPacket.html">AVPacket</a> *avpkt)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03265">3265</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4c37aedc6221fd3342d20da639199bff"></a><!-- doxytag: member="AVCodec::close" ref="a4c37aedc6221fd3342d20da639199bff" args=")(AVCodecContext *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int(* <a class="el" href="structAVCodec.html#a4c37aedc6221fd3342d20da639199bff">AVCodec::close</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03266">3266</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a988b31fb18ff269f49bb06a792fe48bc"></a><!-- doxytag: member="AVCodec::flush" ref="a988b31fb18ff269f49bb06a792fe48bc" args=")(AVCodecContext *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* <a class="el" href="structAVCodec.html#a988b31fb18ff269f49bb06a792fe48bc">AVCodec::flush</a>)(<a class="el" href="structAVCodecContext.html">AVCodecContext</a> *)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Flush buffers. </p>
<p>Will be called when seeking </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03271">3271</a> of file <a class="el" href="libavcodec_2avcodec_8h_source.html">avcodec.h</a>.</p>
</div>
</div>
<a class="anchor" id="a30b99d076ad0288b0d9bf3c931df8986"></a><!-- doxytag: member="AVCodec::caps_internal" ref="a30b99d076ad0288b0d9bf3c931df8986" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="structAVCodec.html#a30b99d076ad0288b0d9bf3c931df8986">AVCodec::caps_internal</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Internal codec capabilities. </p>
<p>See FF_CODEC_CAP_* in internal.h </p>
<p>Definition at line <a class="el" href="libavcodec_2avcodec_8h_source.html#l03276">3276</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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </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  <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>