Repository URL to install this package:
Version:
7:2.7.1-1ubuntu2 ▾
|
<!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: libavutil/attributes.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
 <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><a href="annotated.html"><span>Data 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 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="#define-members">Defines</a> </div>
<div class="headertitle">
<div class="title">libavutil/attributes.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Macro definitions for various function/variable attributes.
<a href="#details">More...</a></p>
<p><a href="attributes_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#a69fc4855d57a0b3471e795107677e5c4">AV_GCC_VERSION_AT_LEAST</a>(x, y)   (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#a299375f4aab80f039568d03b5c2f4214">av_noinline</a>   __attribute__((noinline))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#adc7fd5bb40d84900a3a30ef3318020c2">av_pure</a>   __attribute__((pure))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#a9eaead3cde73464fd66bab4cef9307ad">av_const</a>   __attribute__((const))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#abeeb324fff79a5335d36774704e2475c">av_cold</a>   __attribute__((cold))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#a767318f92f3dcb0a604c6beaa910eb0c">av_flatten</a>   __attribute__((flatten))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a>   __attribute__((deprecated))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#a7ca8a3900269f92fcc7b68235dea7787">av_unused</a>   __attribute__((unused))</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Disable warnings about deprecated features This is useful for sections of code kept for backward compatibility and scheduled for removal. <a href="#a7ca8a3900269f92fcc7b68235dea7787"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#aa402443f9068fb645e9a55f41fc99e09">av_used</a>   __attribute__((used))</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Mark a variable as used and prevent the compiler from optimizing it away. <a href="#aa402443f9068fb645e9a55f41fc99e09"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#ae7fb094d0e833b9afe387f7283dbbad3">av_alias</a>   __attribute__((may_alias))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#a934ff195492486f0f9d22770103e757b">av_uninit</a>(x)   x=x</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#a4887afda7f138d25d3f0dd843ca0ac18">av_builtin_constant_p</a>   __builtin_constant_p</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#a4b078d4b8e02c0f452ee1dcaa7d983d3">av_printf_format</a>(fmtpos, attrpos)   __attribute__((__format__(__printf__, fmtpos, attrpos)))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="attributes_8h.html#ac85a6b34744701495efddc98c65e8afa">av_noreturn</a>   __attribute__((noreturn))</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Macro definitions for various function/variable attributes. </p>
<p>Definition in file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="a69fc4855d57a0b3471e795107677e5c4"></a><!-- doxytag: member="attributes.h::AV_GCC_VERSION_AT_LEAST" ref="a69fc4855d57a0b3471e795107677e5c4" args="(x, y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#a69fc4855d57a0b3471e795107677e5c4">AV_GCC_VERSION_AT_LEAST</a></td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">x, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname">y </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>   (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00030">30</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="a299375f4aab80f039568d03b5c2f4214"></a><!-- doxytag: member="attributes.h::av_noinline" ref="a299375f4aab80f039568d03b5c2f4214" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#a299375f4aab80f039568d03b5c2f4214">av_noinline</a>   __attribute__((noinline))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00054">54</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="adc7fd5bb40d84900a3a30ef3318020c2"></a><!-- doxytag: member="attributes.h::av_pure" ref="adc7fd5bb40d84900a3a30ef3318020c2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#adc7fd5bb40d84900a3a30ef3318020c2">av_pure</a>   __attribute__((pure))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00062">62</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9eaead3cde73464fd66bab4cef9307ad"></a><!-- doxytag: member="attributes.h::av_const" ref="a9eaead3cde73464fd66bab4cef9307ad" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#a9eaead3cde73464fd66bab4cef9307ad">av_const</a>   __attribute__((const))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00068">68</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="abeeb324fff79a5335d36774704e2475c"></a><!-- doxytag: member="attributes.h::av_cold" ref="abeeb324fff79a5335d36774704e2475c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#abeeb324fff79a5335d36774704e2475c">av_cold</a>   __attribute__((cold))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00074">74</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="a767318f92f3dcb0a604c6beaa910eb0c"></a><!-- doxytag: member="attributes.h::av_flatten" ref="a767318f92f3dcb0a604c6beaa910eb0c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#a767318f92f3dcb0a604c6beaa910eb0c">av_flatten</a>   __attribute__((flatten))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00080">80</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="aa6d076561d3a9eea4729ee632652de02"></a><!-- doxytag: member="attributes.h::attribute_deprecated" ref="aa6d076561d3a9eea4729ee632652de02" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a>   __attribute__((deprecated))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00086">86</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="a7ca8a3900269f92fcc7b68235dea7787"></a><!-- doxytag: member="attributes.h::av_unused" ref="a7ca8a3900269f92fcc7b68235dea7787" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#a7ca8a3900269f92fcc7b68235dea7787">av_unused</a>   __attribute__((unused))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Disable warnings about deprecated features This is useful for sections of code kept for backward compatibility and scheduled for removal. </p>
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00118">118</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="aa402443f9068fb645e9a55f41fc99e09"></a><!-- doxytag: member="attributes.h::av_used" ref="aa402443f9068fb645e9a55f41fc99e09" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#aa402443f9068fb645e9a55f41fc99e09">av_used</a>   __attribute__((used))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Mark a variable as used and prevent the compiler from optimizing it away. </p>
<p>This is useful for variables accessed only from inline assembler without the compiler being aware. </p>
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00129">129</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae7fb094d0e833b9afe387f7283dbbad3"></a><!-- doxytag: member="attributes.h::av_alias" ref="ae7fb094d0e833b9afe387f7283dbbad3" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">union <a class="el" href="unionunaligned__16.html">unaligned_16</a> <a class="el" href="unionav__alias.html">av_alias</a>   __attribute__((may_alias))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00135">135</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="a934ff195492486f0f9d22770103e757b"></a><!-- doxytag: member="attributes.h::av_uninit" ref="a934ff195492486f0f9d22770103e757b" args="(x)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#a934ff195492486f0f9d22770103e757b">av_uninit</a></td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">x</td><td>)</td>
<td>   x=x</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00141">141</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4887afda7f138d25d3f0dd843ca0ac18"></a><!-- doxytag: member="attributes.h::av_builtin_constant_p" ref="a4887afda7f138d25d3f0dd843ca0ac18" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#a4887afda7f138d25d3f0dd843ca0ac18">av_builtin_constant_p</a>   __builtin_constant_p</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00147">147</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4b078d4b8e02c0f452ee1dcaa7d983d3"></a><!-- doxytag: member="attributes.h::av_printf_format" ref="a4b078d4b8e02c0f452ee1dcaa7d983d3" args="(fmtpos, attrpos)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#a4b078d4b8e02c0f452ee1dcaa7d983d3">av_printf_format</a></td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">fmtpos, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname">attrpos </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>   __attribute__((__format__(__printf__, fmtpos, attrpos)))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00148">148</a> of file <a class="el" href="attributes_8h_source.html">attributes.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac85a6b34744701495efddc98c65e8afa"></a><!-- doxytag: member="attributes.h::av_noreturn" ref="ac85a6b34744701495efddc98c65e8afa" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define <a class="el" href="attributes_8h.html#ac85a6b34744701495efddc98c65e8afa">av_noreturn</a>   __attribute__((noreturn))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="attributes_8h_source.html#l00155">155</a> of file <a class="el" href="attributes_8h_source.html">attributes.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"> </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>