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

Repository URL to install this package:

Details    
ffmpeg-doc / usr / share / doc / ffmpeg / api / structAVPixFmtDescriptor.html
Size: Mime:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>FFmpeg: AVPixFmtDescriptor Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">FFmpeg
   &#160;<span id="projectnumber">3.0.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li 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>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></div>

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

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">AVPixFmtDescriptor Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes of an image.  
 <a href="structAVPixFmtDescriptor.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="pixdesc_8h_source.html">pixdesc.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a10736c3f1288eb87b23ede3ffdefb435"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPixFmtDescriptor.html#a10736c3f1288eb87b23ede3ffdefb435">name</a></td></tr>
<tr class="separator:a10736c3f1288eb87b23ede3ffdefb435"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae83de203f97288c9f4070212a5eac5de"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPixFmtDescriptor.html#ae83de203f97288c9f4070212a5eac5de">nb_components</a></td></tr>
<tr class="memdesc:ae83de203f97288c9f4070212a5eac5de"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of components each pixel has, (1-4)  <a href="#ae83de203f97288c9f4070212a5eac5de">More...</a><br/></td></tr>
<tr class="separator:ae83de203f97288c9f4070212a5eac5de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4abca4534188ff94627e88c0d8362058"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPixFmtDescriptor.html#a4abca4534188ff94627e88c0d8362058">log2_chroma_w</a></td></tr>
<tr class="memdesc:a4abca4534188ff94627e88c0d8362058"><td class="mdescLeft">&#160;</td><td class="mdescRight">Amount to shift the luma width right to find the chroma width.  <a href="#a4abca4534188ff94627e88c0d8362058">More...</a><br/></td></tr>
<tr class="separator:a4abca4534188ff94627e88c0d8362058"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abea8ed308fe00644fc066a00018afa95"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPixFmtDescriptor.html#abea8ed308fe00644fc066a00018afa95">log2_chroma_h</a></td></tr>
<tr class="memdesc:abea8ed308fe00644fc066a00018afa95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Amount to shift the luma height right to find the chroma height.  <a href="#abea8ed308fe00644fc066a00018afa95">More...</a><br/></td></tr>
<tr class="separator:abea8ed308fe00644fc066a00018afa95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5047d1e6b045f637345dbc305bf4357d"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPixFmtDescriptor.html#a5047d1e6b045f637345dbc305bf4357d">flags</a></td></tr>
<tr class="memdesc:a5047d1e6b045f637345dbc305bf4357d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Combination of AV_PIX_FMT_FLAG_...  <a href="#a5047d1e6b045f637345dbc305bf4357d">More...</a><br/></td></tr>
<tr class="separator:a5047d1e6b045f637345dbc305bf4357d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17569c9349766c3b5201b33f84f19a25"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVComponentDescriptor.html">AVComponentDescriptor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPixFmtDescriptor.html#a17569c9349766c3b5201b33f84f19a25">comp</a> [4]</td></tr>
<tr class="memdesc:a17569c9349766c3b5201b33f84f19a25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters that describe how pixels are packed.  <a href="#a17569c9349766c3b5201b33f84f19a25">More...</a><br/></td></tr>
<tr class="separator:a17569c9349766c3b5201b33f84f19a25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85163c36645d2f372a4e98b314fa964b"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAVPixFmtDescriptor.html#a85163c36645d2f372a4e98b314fa964b">alias</a></td></tr>
<tr class="memdesc:a85163c36645d2f372a4e98b314fa964b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alternative comma-separated names.  <a href="#a85163c36645d2f372a4e98b314fa964b">More...</a><br/></td></tr>
<tr class="separator:a85163c36645d2f372a4e98b314fa964b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes of an image. </p>
<p>It also stores the subsampling factors and number of components.</p>
<dl class="section note"><dt>Note</dt><dd>This is separate of the colorspace (RGB, YCbCr, YPbPr, JPEG-style YUV and all the YUV variants) <a class="el" href="structAVPixFmtDescriptor.html" title="Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...">AVPixFmtDescriptor</a> just stores how values are stored not what these values represent. </dd></dl>

<p>Definition at line <a class="el" href="pixdesc_8h_source.html#l00081">81</a> of file <a class="el" href="pixdesc_8h_source.html">pixdesc.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a10736c3f1288eb87b23ede3ffdefb435"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* AVPixFmtDescriptor::name</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="pixdesc_8h_source.html#l00082">82</a> of file <a class="el" href="pixdesc_8h_source.html">pixdesc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae83de203f97288c9f4070212a5eac5de"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t AVPixFmtDescriptor::nb_components</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The number of components each pixel has, (1-4) </p>

<p>Definition at line <a class="el" href="pixdesc_8h_source.html#l00083">83</a> of file <a class="el" href="pixdesc_8h_source.html">pixdesc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4abca4534188ff94627e88c0d8362058"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t AVPixFmtDescriptor::log2_chroma_w</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Amount to shift the luma width right to find the chroma width. </p>
<p>For YV12 this is 1 for example. chroma_width = -((-luma_width) &gt;&gt; log2_chroma_w) The note above is needed to ensure rounding up. This value only refers to the chroma components.chroma_width = -((-luma_width )&gt;&gt;log2_chroma_w) </p>

<p>Definition at line <a class="el" href="pixdesc_8h_source.html#l00092">92</a> of file <a class="el" href="pixdesc_8h_source.html">pixdesc.h</a>.</p>

</div>
</div>
<a class="anchor" id="abea8ed308fe00644fc066a00018afa95"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t AVPixFmtDescriptor::log2_chroma_h</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Amount to shift the luma height right to find the chroma height. </p>
<p>For YV12 this is 1 for example. chroma_height= -((-luma_height) &gt;&gt; log2_chroma_h) The note above is needed to ensure rounding up. This value only refers to the chroma components. </p>

<p>Definition at line <a class="el" href="pixdesc_8h_source.html#l00101">101</a> of file <a class="el" href="pixdesc_8h_source.html">pixdesc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5047d1e6b045f637345dbc305bf4357d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t AVPixFmtDescriptor::flags</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Combination of AV_PIX_FMT_FLAG_... </p>
<p>flags. </p>

<p>Definition at line <a class="el" href="pixdesc_8h_source.html#l00106">106</a> of file <a class="el" href="pixdesc_8h_source.html">pixdesc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a17569c9349766c3b5201b33f84f19a25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structAVComponentDescriptor.html">AVComponentDescriptor</a> AVPixFmtDescriptor::comp[4]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Parameters that describe how pixels are packed. </p>
<p>If the format has 1 or 2 components, then luma is 0. If the format has 3 or 4 components: if the RGB flag is set then 0 is red, 1 is green and 2 is blue; otherwise 0 is luma, 1 is chroma-U and 2 is chroma-V.</p>
<p>If present, the Alpha channel is always the last component. </p>

<p>Definition at line <a class="el" href="pixdesc_8h_source.html#l00117">117</a> of file <a class="el" href="pixdesc_8h_source.html">pixdesc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a85163c36645d2f372a4e98b314fa964b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* AVPixFmtDescriptor::alias</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Alternative comma-separated names. </p>

<p>Definition at line <a class="el" href="pixdesc_8h_source.html#l00122">122</a> of file <a class="el" href="pixdesc_8h_source.html">pixdesc.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavutil/<a class="el" href="pixdesc_8h_source.html">pixdesc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>