Repository URL to install this package:
|
Version:
8:3.0.2-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"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>FFmpeg: libavutil/channel_layout.h Source File</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
 <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 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>
<!-- 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>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_8d855866ba5d436d839c7fc557836cd9.html">libavutil</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">channel_layout.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="channel__layout_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at></span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (c) 2008 Peter Ross</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * This file is part of FFmpeg.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * FFmpeg is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * License as published by the Free Software Foundation; either</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * FFmpeg is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * License along with FFmpeg; if not, write to the Free Software</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef AVUTIL_CHANNEL_LAYOUT_H</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"></span><span class="preprocessor">#define AVUTIL_CHANNEL_LAYOUT_H</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <stdint.h></span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"></span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> * @file</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * audio channel layout utility functions</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"></span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> * @addtogroup lavu_audio</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> * @{</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"></span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"> * @defgroup channel_masks Audio channel masks</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> * A channel layout is a 64-bits integer with a bit set for every channel.</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> * The number of bits set must be equal to the number of channels.</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"> * The value 0 means that the channel layout is not known.</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"> * @note this data structure is not powerful enough to handle channels</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> * combinations that have the same channel multiple times, such as</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> * dual-mono.</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> * @{</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="group__channel__masks.html#gaf9c5619f74c99ea8a8606719c01fe7df"> 49</a></span> <span class="preprocessor">#define AV_CH_FRONT_LEFT 0x00000001</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga394b4b2c87790178bf7b683b45320f31"> 50</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_FRONT_RIGHT 0x00000002</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga88f2868b232a89fd11ad9d6c39d502a1"> 51</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_FRONT_CENTER 0x00000004</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="group__channel__masks.html#gab19b66e345cf1f9d50ffc26c28862bcc"> 52</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LOW_FREQUENCY 0x00000008</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="group__channel__masks.html#gaa3cae8c6d0eaab3dc3ce178f6af81ae2"> 53</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_BACK_LEFT 0x00000010</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga7a7ab3bb418bf9672dcdf6554346e5eb"> 54</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_BACK_RIGHT 0x00000020</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga6c9ea2ea60044bfe844174300b237386"> 55</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_FRONT_LEFT_OF_CENTER 0x00000040</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga558dc25b0ce327d2547d3cc9e4bd6a4e"> 56</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_FRONT_RIGHT_OF_CENTER 0x00000080</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga68650a364e52edb62d5984dddec4f935"> 57</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_BACK_CENTER 0x00000100</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga02e55f35249dfa57a2e4edfd3acfec4f"> 58</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_SIDE_LEFT 0x00000200</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga947b60ab70c428ebb07c8b9c87023b39"> 59</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_SIDE_RIGHT 0x00000400</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga922199ce7638a651d66a423379b4c5dc"> 60</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_TOP_CENTER 0x00000800</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga352bec66d2e1bef67efe5b7f0a4207f3"> 61</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_TOP_FRONT_LEFT 0x00001000</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga6b558fe85e67383a5b04e56b97b145d0"> 62</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_TOP_FRONT_CENTER 0x00002000</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__channel__masks.html#gabce29ea1d7e2d433263b2cbf28232360"> 63</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_TOP_FRONT_RIGHT 0x00004000</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group__channel__masks.html#gaac082f244f37f9c5d8e4f7bf96cc76dc"> 64</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_TOP_BACK_LEFT 0x00008000</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga439a8664c452f9782b460f61a3908451"> 65</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_TOP_BACK_CENTER 0x00010000</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga8fa88c3c74339f4218a3e70286fdbdaa"> 66</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_TOP_BACK_RIGHT 0x00020000</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="group__channel__masks.html#gaea8f62dcaa4774307a8fa9b52172c688"> 67</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_STEREO_LEFT 0x20000000 </span><span class="comment">///< Stereo downmix.</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group__channel__masks.html#gab68e7edb9182b1b22898b960707143c1"> 68</a></span> <span class="comment"></span>#define AV_CH_STEREO_RIGHT 0x40000000 <span class="comment">///< See AV_CH_STEREO_LEFT.</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga11e273c4872335063b5059cca52218c0"> 69</a></span> <span class="comment"></span>#define AV_CH_WIDE_LEFT 0x0000000080000000ULL</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga2c7ff738c3481d2891d052f5bca55248"> 70</a></span> <span class="preprocessor">#define AV_CH_WIDE_RIGHT 0x0000000100000000ULL</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__channel__masks.html#gafc04912a8294d8788e4162092df8a549"> 71</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_SURROUND_DIRECT_LEFT 0x0000000200000000ULL</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga0c9137cc9fd60d15be588e2eff3cfa23"> 72</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_SURROUND_DIRECT_RIGHT 0x0000000400000000ULL</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga72d2eaef6727608379ab29859f5d5ee2"> 73</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LOW_FREQUENCY_2 0x0000000800000000ULL</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment">/** Channel mask value used for AVCodecContext.request_channel_layout</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"> to indicate that the user requests the channel order of the decoder output</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"> to be the native codec channel order. */</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group__channel__masks.html#ga7ab04ac641edef25c03de0a577eab57d"> 78</a></span> <span class="preprocessor">#define AV_CH_LAYOUT_NATIVE 0x8000000000000000ULL</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="comment"> * @}</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment"> * @defgroup channel_mask_c Audio channel layouts</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="comment"> * @{</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment"> * */</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga53d6da2dcd56f5f87c7afd8b33fa15ba"> 85</a></span> <span class="preprocessor">#define AV_CH_LAYOUT_MONO (AV_CH_FRONT_CENTER)</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gabc6d6651bba254cd0fa2c42a57228e65"> 86</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_STEREO (AV_CH_FRONT_LEFT|AV_CH_FRONT_RIGHT)</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga03f59e18b3598aa0cab9ed675c287a36"> 87</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_2POINT1 (AV_CH_LAYOUT_STEREO|AV_CH_LOW_FREQUENCY)</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gad0badd9c9984bc74290f26c2edfdfe44"> 88</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_2_1 (AV_CH_LAYOUT_STEREO|AV_CH_BACK_CENTER)</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga625aec7f2285dc35e3ed801e91889564"> 89</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_SURROUND (AV_CH_LAYOUT_STEREO|AV_CH_FRONT_CENTER)</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gae3fc8d83d40cfbd4910b16d526beb294"> 90</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_3POINT1 (AV_CH_LAYOUT_SURROUND|AV_CH_LOW_FREQUENCY)</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga0bcbe41f2d3214b0a3fd2698ebe0caf9"> 91</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_4POINT0 (AV_CH_LAYOUT_SURROUND|AV_CH_BACK_CENTER)</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gacc48c498c05b3b3c2549f715ba4f1d1b"> 92</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_4POINT1 (AV_CH_LAYOUT_4POINT0|AV_CH_LOW_FREQUENCY)</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga5c25ee8b976d0cb15e0b6d2cf923d19d"> 93</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_2_2 (AV_CH_LAYOUT_STEREO|AV_CH_SIDE_LEFT|AV_CH_SIDE_RIGHT)</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga0982ce29eced939dfcfb5b52416810ae"> 94</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_QUAD (AV_CH_LAYOUT_STEREO|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga10eddec555bcf849efce5158b0cbdb50"> 95</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_5POINT0 (AV_CH_LAYOUT_SURROUND|AV_CH_SIDE_LEFT|AV_CH_SIDE_RIGHT)</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gac36a042dc21866f9043ce930f300d0df"> 96</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_5POINT1 (AV_CH_LAYOUT_5POINT0|AV_CH_LOW_FREQUENCY)</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gab057e9fd36b7e929d000d663badbafc6"> 97</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_5POINT0_BACK (AV_CH_LAYOUT_SURROUND|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gae9da5d6069701241a22f3af19b152662"> 98</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_5POINT1_BACK (AV_CH_LAYOUT_5POINT0_BACK|AV_CH_LOW_FREQUENCY)</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga0fbea70d397140a524b55018128fca77"> 99</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_6POINT0 (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_CENTER)</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga735985d89e38896a0cb9e5a1e96cb9b8"> 100</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_6POINT0_FRONT (AV_CH_LAYOUT_2_2|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga44e719835fe17c5af5e619083918d1ca"> 101</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_HEXAGONAL (AV_CH_LAYOUT_5POINT0_BACK|AV_CH_BACK_CENTER)</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga0b63b18f49c294bfbc22afa8b59b6685"> 102</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_6POINT1 (AV_CH_LAYOUT_5POINT1|AV_CH_BACK_CENTER)</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gaaf1920f827888aeb99540f3ee5a78cea"> 103</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_6POINT1_BACK (AV_CH_LAYOUT_5POINT1_BACK|AV_CH_BACK_CENTER)</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga934ec29833f0cbc4a1fe8f97cc914664"> 104</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_6POINT1_FRONT (AV_CH_LAYOUT_6POINT0_FRONT|AV_CH_LOW_FREQUENCY)</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gab843d4e87bc747c7a81f082589023f98"> 105</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_7POINT0 (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gaa4c21d7abb460730295f99c7f0098259"> 106</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_7POINT0_FRONT (AV_CH_LAYOUT_5POINT0|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga2006ce652a95bad74291db52fa346464"> 107</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_7POINT1 (AV_CH_LAYOUT_5POINT1|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga883478469aa86f5c3f57ce864a12745b"> 108</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_7POINT1_WIDE (AV_CH_LAYOUT_5POINT1|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga9702d40a7d1f6e2b00e02d8ecb83bd63"> 109</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_7POINT1_WIDE_BACK (AV_CH_LAYOUT_5POINT1_BACK|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gaa760931c084e33a254fca038b7de8dae"> 110</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_OCTAGONAL (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_LEFT|AV_CH_BACK_CENTER|AV_CH_BACK_RIGHT)</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gafdbfe62b38dd3c6b1f89023f7aa6994c"> 111</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_HEXADECAGONAL (AV_CH_LAYOUT_OCTAGONAL|AV_CH_WIDE_LEFT|AV_CH_WIDE_RIGHT|AV_CH_TOP_BACK_LEFT|AV_CH_TOP_BACK_RIGHT|AV_CH_TOP_BACK_CENTER|AV_CH_TOP_FRONT_CENTER|AV_CH_TOP_FRONT_LEFT|AV_CH_TOP_FRONT_RIGHT)</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ga3004e784b29fd907a0d4aebeca0e6933"> 112</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AV_CH_LAYOUT_STEREO_DOWNMIX (AV_CH_STEREO_LEFT|AV_CH_STEREO_RIGHT)</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="preprocessor"></span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#gabd576ea664e3ac5d31f3362064fe13e6"> 114</a></span> <span class="keyword">enum</span> <a class="code" href="group__channel__mask__c.html#gabd576ea664e3ac5d31f3362064fe13e6">AVMatrixEncoding</a> {</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a04179fd7b3339556603020ae88e02793"> 115</a></span>  <a class="code" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a04179fd7b3339556603020ae88e02793">AV_MATRIX_ENCODING_NONE</a>,</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a0578f715ed49986a6e4c40884c174dbd"> 116</a></span>  <a class="code" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a0578f715ed49986a6e4c40884c174dbd">AV_MATRIX_ENCODING_DOLBY</a>,</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a068d30f3ce95f82781b0052bf86bc10e"> 117</a></span>  <a class="code" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a068d30f3ce95f82781b0052bf86bc10e">AV_MATRIX_ENCODING_DPLII</a>,</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a03124652d3e9efb6ce687971c7abbfa1"> 118</a></span>  <a class="code" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a03124652d3e9efb6ce687971c7abbfa1">AV_MATRIX_ENCODING_DPLIIX</a>,</div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a927893de2c83ddb117fb89dcc579e363"> 119</a></span>  <a class="code" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a927893de2c83ddb117fb89dcc579e363">AV_MATRIX_ENCODING_DPLIIZ</a>,</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6aa155505a7fb9f2b45778b1d7776dcfb7"> 120</a></span>  <a class="code" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6aa155505a7fb9f2b45778b1d7776dcfb7">AV_MATRIX_ENCODING_DOLBYEX</a>,</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6ad9089736c1dd449617a2805d37e502d3"> 121</a></span>  <a class="code" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6ad9089736c1dd449617a2805d37e502d3">AV_MATRIX_ENCODING_DOLBYHEADPHONE</a>,</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a3a3acaf62825a3b21c7631ddf1dcc648"> 122</a></span>  <a class="code" href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a3a3acaf62825a3b21c7631ddf1dcc648">AV_MATRIX_ENCODING_NB</a></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> };</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment"></span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="comment"> * Return a channel layout id that matches name, or 0 if no match is found.</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="comment"> * name can be one or several of the following notations,</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="comment"> * separated by '+' or '|':</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="comment"> * - the name of an usual channel layout (mono, stereo, 4.0, quad, 5.0,</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="comment"> * 5.0(side), 5.1, 5.1(side), 7.1, 7.1(wide), downmix);</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="comment"> * - the name of a single channel (FL, FR, FC, LFE, BL, BR, FLC, FRC, BC,</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="comment"> * SL, SR, TC, TFL, TFC, TFR, TBL, TBC, TBR, DL, DR);</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="comment"> * - a number of channels, in decimal, optionally followed by 'c', yielding</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="comment"> * the default channel layout for that number of channels (@see</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="comment"> * av_get_default_channel_layout);</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="comment"> * - a channel layout mask, in hexadecimal starting with "0x" (see the</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment"> * AV_CH_* macros).</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="comment"> * @warning Starting from the next major bump the trailing character</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="comment"> * 'c' to specify a number of channels will be required, while a</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="comment"> * channel layout mask could also be specified as a decimal number</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="comment"> * (if and only if not followed by "c").</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="comment"> * Example: "stereo+FC" = "2c+FC" = "2c+1c" = "0x7"</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> uint64_t <a class="code" href="group__channel__mask__c.html#ga3e8a7ab3d4c1ac98b902ab6b00741343">av_get_channel_layout</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="comment"></span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"> * Return a description of a channel layout.</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment"> * If nb_channels is <= 0, it is guessed from the channel_layout.</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="comment"> * @param buf put here the string containing the channel layout</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="comment"> * @param buf_size size in bytes of the buffer</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="keywordtype">void</span> <a class="code" href="group__channel__mask__c.html#ga99d0b5bb80534d13a6cc96336cf9076a">av_get_channel_layout_string</a>(<span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> buf_size, <span class="keywordtype">int</span> nb_channels, uint64_t channel_layout);</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="keyword">struct </span>AVBPrint;<span class="comment"></span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment"> * Append a description of a channel layout to a bprint buffer.</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="keywordtype">void</span> <a class="code" href="group__channel__mask__c.html#ga48cdbfac1bbb45835eae8bcdc9877b0e">av_bprint_channel_layout</a>(<span class="keyword">struct</span> AVBPrint *bp, <span class="keywordtype">int</span> nb_channels, uint64_t channel_layout);</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"></span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="comment"> * Return the number of channels in the channel layout.</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="keywordtype">int</span> <a class="code" href="group__channel__mask__c.html#gac95619abeb32e4a3daa18e3ff3419380">av_get_channel_layout_nb_channels</a>(uint64_t channel_layout);</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment"></span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="comment"> * Return default channel layout for a given number of channels.</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> int64_t <a class="code" href="group__channel__mask__c.html#gacb84f3e93a583e1f84a5283162a606a2">av_get_default_channel_layout</a>(<span class="keywordtype">int</span> nb_channels);</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment"></span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment"> * Get the index of a channel in channel_layout.</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> * @param channel a channel layout describing exactly one channel which must be</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="comment"> * present in channel_layout.</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment"> * @return index of channel in channel_layout on success, a negative AVERROR</span></div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="comment"> * on error.</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="keywordtype">int</span> <a class="code" href="group__channel__mask__c.html#ga0669978493902b5ae723e386013da3ce">av_get_channel_layout_channel_index</a>(uint64_t channel_layout,</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  uint64_t channel);</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="comment"></span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="comment"> * Get the channel with the given index in channel_layout.</span></div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> uint64_t <a class="code" href="group__channel__mask__c.html#gaf492843360fb4ecee6b5ec4166b04fcd">av_channel_layout_extract_channel</a>(uint64_t channel_layout, <span class="keywordtype">int</span> index);</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="comment"></span></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="comment"> * Get the name of a given channel.</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="comment"> * @return channel name on success, NULL on error.</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__channel__mask__c.html#gaf9a5e23a9bbf5909f2dc84b25d78e35e">av_get_channel_name</a>(uint64_t channel);</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="comment"></span></div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"> * Get the description of a given channel.</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="comment"> * @param channel a channel layout with a single channel</span></div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="comment"> * @return channel description on success, NULL on error</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__channel__mask__c.html#gade4b74b99e3fb954b88b0cb8eddb785a">av_get_channel_description</a>(uint64_t channel);</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="comment"></span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="comment"> * Get the value and name of a standard channel layout.</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="comment"> * @param[in] index index in an internal list, starting at 0</span></div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="comment"> * @param[out] layout channel layout mask</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="comment"> * @param[out] name name of the layout</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="comment"> * @return 0 if the layout exists,</span></div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="comment"> * <0 if index is beyond the limits</span></div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="keywordtype">int</span> <a class="code" href="group__channel__mask__c.html#ga00447bfae43d690f1f549a9e2521bf85">av_get_standard_channel_layout</a>(<span class="keywordtype">unsigned</span> index, uint64_t *layout,</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> **name);</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="comment"></span></div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="comment"> * @}</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="comment"> * @}</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="preprocessor">#endif </span><span class="comment">/* AVUTIL_CHANNEL_LAYOUT_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="group__channel__mask__c_html_ggabd576ea664e3ac5d31f3362064fe13e6a068d30f3ce95f82781b0052bf86bc10e"><div class="ttname"><a href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a068d30f3ce95f82781b0052bf86bc10e">AV_MATRIX_ENCODING_DPLII</a></div><div class="ttdef"><b>Definition:</b> <a href="channel__layout_8h_source.html#l00117">channel_layout.h:117</a></div></div>
<div class="ttc" id="group__channel__mask__c_html_gac95619abeb32e4a3daa18e3ff3419380"><div class="ttname"><a href="group__channel__mask__c.html#gac95619abeb32e4a3daa18e3ff3419380">av_get_channel_layout_nb_channels</a></div><div class="ttdeci">int av_get_channel_layout_nb_channels(uint64_t channel_layout)</div><div class="ttdoc">Return the number of channels in the channel layout. </div></div>
<div class="ttc" id="group__channel__mask__c_html_ga00447bfae43d690f1f549a9e2521bf85"><div class="ttname"><a href="group__channel__mask__c.html#ga00447bfae43d690f1f549a9e2521bf85">av_get_standard_channel_layout</a></div><div class="ttdeci">int av_get_standard_channel_layout(unsigned index, uint64_t *layout, const char **name)</div><div class="ttdoc">Get the value and name of a standard channel layout. </div></div>
<div class="ttc" id="group__channel__mask__c_html_ga3e8a7ab3d4c1ac98b902ab6b00741343"><div class="ttname"><a href="group__channel__mask__c.html#ga3e8a7ab3d4c1ac98b902ab6b00741343">av_get_channel_layout</a></div><div class="ttdeci">uint64_t av_get_channel_layout(const char *name)</div><div class="ttdoc">Return a channel layout id that matches name, or 0 if no match is found. </div></div>
<div class="ttc" id="group__channel__mask__c_html_ggabd576ea664e3ac5d31f3362064fe13e6a3a3acaf62825a3b21c7631ddf1dcc648"><div class="ttname"><a href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a3a3acaf62825a3b21c7631ddf1dcc648">AV_MATRIX_ENCODING_NB</a></div><div class="ttdef"><b>Definition:</b> <a href="channel__layout_8h_source.html#l00122">channel_layout.h:122</a></div></div>
<div class="ttc" id="group__channel__mask__c_html_ggabd576ea664e3ac5d31f3362064fe13e6a03124652d3e9efb6ce687971c7abbfa1"><div class="ttname"><a href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a03124652d3e9efb6ce687971c7abbfa1">AV_MATRIX_ENCODING_DPLIIX</a></div><div class="ttdef"><b>Definition:</b> <a href="channel__layout_8h_source.html#l00118">channel_layout.h:118</a></div></div>
<div class="ttc" id="group__channel__mask__c_html_ggabd576ea664e3ac5d31f3362064fe13e6a0578f715ed49986a6e4c40884c174dbd"><div class="ttname"><a href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a0578f715ed49986a6e4c40884c174dbd">AV_MATRIX_ENCODING_DOLBY</a></div><div class="ttdef"><b>Definition:</b> <a href="channel__layout_8h_source.html#l00116">channel_layout.h:116</a></div></div>
<div class="ttc" id="group__channel__mask__c_html_ggabd576ea664e3ac5d31f3362064fe13e6ad9089736c1dd449617a2805d37e502d3"><div class="ttname"><a href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6ad9089736c1dd449617a2805d37e502d3">AV_MATRIX_ENCODING_DOLBYHEADPHONE</a></div><div class="ttdef"><b>Definition:</b> <a href="channel__layout_8h_source.html#l00121">channel_layout.h:121</a></div></div>
<div class="ttc" id="group__channel__mask__c_html_ga48cdbfac1bbb45835eae8bcdc9877b0e"><div class="ttname"><a href="group__channel__mask__c.html#ga48cdbfac1bbb45835eae8bcdc9877b0e">av_bprint_channel_layout</a></div><div class="ttdeci">void av_bprint_channel_layout(struct AVBPrint *bp, int nb_channels, uint64_t channel_layout)</div><div class="ttdoc">Append a description of a channel layout to a bprint buffer. </div></div>
<div class="ttc" id="group__channel__mask__c_html_ga99d0b5bb80534d13a6cc96336cf9076a"><div class="ttname"><a href="group__channel__mask__c.html#ga99d0b5bb80534d13a6cc96336cf9076a">av_get_channel_layout_string</a></div><div class="ttdeci">void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, uint64_t channel_layout)</div><div class="ttdoc">Return a description of a channel layout. </div></div>
<div class="ttc" id="group__channel__mask__c_html_ggabd576ea664e3ac5d31f3362064fe13e6a04179fd7b3339556603020ae88e02793"><div class="ttname"><a href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a04179fd7b3339556603020ae88e02793">AV_MATRIX_ENCODING_NONE</a></div><div class="ttdef"><b>Definition:</b> <a href="channel__layout_8h_source.html#l00115">channel_layout.h:115</a></div></div>
<div class="ttc" id="group__channel__mask__c_html_ga0669978493902b5ae723e386013da3ce"><div class="ttname"><a href="group__channel__mask__c.html#ga0669978493902b5ae723e386013da3ce">av_get_channel_layout_channel_index</a></div><div class="ttdeci">int av_get_channel_layout_channel_index(uint64_t channel_layout, uint64_t channel)</div><div class="ttdoc">Get the index of a channel in channel_layout. </div></div>
<div class="ttc" id="group__channel__mask__c_html_gaf492843360fb4ecee6b5ec4166b04fcd"><div class="ttname"><a href="group__channel__mask__c.html#gaf492843360fb4ecee6b5ec4166b04fcd">av_channel_layout_extract_channel</a></div><div class="ttdeci">uint64_t av_channel_layout_extract_channel(uint64_t channel_layout, int index)</div><div class="ttdoc">Get the channel with the given index in channel_layout. </div></div>
<div class="ttc" id="group__channel__mask__c_html_ggabd576ea664e3ac5d31f3362064fe13e6aa155505a7fb9f2b45778b1d7776dcfb7"><div class="ttname"><a href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6aa155505a7fb9f2b45778b1d7776dcfb7">AV_MATRIX_ENCODING_DOLBYEX</a></div><div class="ttdef"><b>Definition:</b> <a href="channel__layout_8h_source.html#l00120">channel_layout.h:120</a></div></div>
<div class="ttc" id="group__channel__mask__c_html_gaf9a5e23a9bbf5909f2dc84b25d78e35e"><div class="ttname"><a href="group__channel__mask__c.html#gaf9a5e23a9bbf5909f2dc84b25d78e35e">av_get_channel_name</a></div><div class="ttdeci">const char * av_get_channel_name(uint64_t channel)</div><div class="ttdoc">Get the name of a given channel. </div></div>
<div class="ttc" id="group__channel__mask__c_html_gacb84f3e93a583e1f84a5283162a606a2"><div class="ttname"><a href="group__channel__mask__c.html#gacb84f3e93a583e1f84a5283162a606a2">av_get_default_channel_layout</a></div><div class="ttdeci">int64_t av_get_default_channel_layout(int nb_channels)</div><div class="ttdoc">Return default channel layout for a given number of channels. </div></div>
<div class="ttc" id="group__channel__mask__c_html_gade4b74b99e3fb954b88b0cb8eddb785a"><div class="ttname"><a href="group__channel__mask__c.html#gade4b74b99e3fb954b88b0cb8eddb785a">av_get_channel_description</a></div><div class="ttdeci">const char * av_get_channel_description(uint64_t channel)</div><div class="ttdoc">Get the description of a given channel. </div></div>
<div class="ttc" id="group__channel__mask__c_html_gabd576ea664e3ac5d31f3362064fe13e6"><div class="ttname"><a href="group__channel__mask__c.html#gabd576ea664e3ac5d31f3362064fe13e6">AVMatrixEncoding</a></div><div class="ttdeci">AVMatrixEncoding</div><div class="ttdef"><b>Definition:</b> <a href="channel__layout_8h_source.html#l00114">channel_layout.h:114</a></div></div>
<div class="ttc" id="group__channel__mask__c_html_ggabd576ea664e3ac5d31f3362064fe13e6a927893de2c83ddb117fb89dcc579e363"><div class="ttname"><a href="group__channel__mask__c.html#ggabd576ea664e3ac5d31f3362064fe13e6a927893de2c83ddb117fb89dcc579e363">AV_MATRIX_ENCODING_DPLIIZ</a></div><div class="ttdef"><b>Definition:</b> <a href="channel__layout_8h_source.html#l00119">channel_layout.h:119</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<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.8.6
</small></address>
</body>
</html>