/usr/share/doc/ffmpeg/api/structAVOptionRanges.html is in ffmpeg-doc 7:3.4.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | <!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FFmpeg: AVOptionRanges 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/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">FFmpeg
 <span id="projectnumber">3.4.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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">AVOptionRanges Struct Reference<div class="ingroups"><a class="el" href="group__lavu.html">libavutil</a> » <a class="el" href="group__lavu__data.html">Data Structures</a> » <a class="el" href="group__avoptions.html">AVOptions</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>List of <a class="el" href="structAVOptionRange.html" title="A single allowed range of values, or a single allowed value. ">AVOptionRange</a> structs.
<a href="structAVOptionRanges.html#details">More...</a></p>
<p><code>#include <<a class="el" href="opt_8h_source.html">libavutil/opt.h</a>></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:a6e081daa7e707607e63165909b0995ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVOptionRange.html">AVOptionRange</a> ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVOptionRanges.html#a6e081daa7e707607e63165909b0995ce">range</a></td></tr>
<tr class="memdesc:a6e081daa7e707607e63165909b0995ce"><td class="mdescLeft"> </td><td class="mdescRight">Array of option ranges. <a href="#a6e081daa7e707607e63165909b0995ce">More...</a><br /></td></tr>
<tr class="separator:a6e081daa7e707607e63165909b0995ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4cc8d5b5afbb07ae49357a7e0d6a2517"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVOptionRanges.html#a4cc8d5b5afbb07ae49357a7e0d6a2517">nb_ranges</a></td></tr>
<tr class="memdesc:a4cc8d5b5afbb07ae49357a7e0d6a2517"><td class="mdescLeft"> </td><td class="mdescRight">Number of ranges per component. <a href="#a4cc8d5b5afbb07ae49357a7e0d6a2517">More...</a><br /></td></tr>
<tr class="separator:a4cc8d5b5afbb07ae49357a7e0d6a2517"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aff53b7303e862ed17b10237ca52ce8a8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVOptionRanges.html#aff53b7303e862ed17b10237ca52ce8a8">nb_components</a></td></tr>
<tr class="memdesc:aff53b7303e862ed17b10237ca52ce8a8"><td class="mdescLeft"> </td><td class="mdescRight">Number of componentes. <a href="#aff53b7303e862ed17b10237ca52ce8a8">More...</a><br /></td></tr>
<tr class="separator:aff53b7303e862ed17b10237ca52ce8a8"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>List of <a class="el" href="structAVOptionRange.html" title="A single allowed range of values, or a single allowed value. ">AVOptionRange</a> structs. </p>
<p class="definition">Definition at line <a class="el" href="opt_8h_source.html#l00330">330</a> of file <a class="el" href="opt_8h_source.html">opt.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a6e081daa7e707607e63165909b0995ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e081daa7e707607e63165909b0995ce">◆ </a></span>range</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVOptionRange.html">AVOptionRange</a>** AVOptionRanges::range</td>
</tr>
</table>
</div><div class="memdoc">
<p>Array of option ranges. </p>
<p>Most of option types use just one component. Following describes multi-component option types:</p>
<p>AV_OPT_TYPE_IMAGE_SIZE: component index 0: range of pixel count (width * height). component index 1: range of width. component index 2: range of height.</p>
<dl class="section note"><dt>Note</dt><dd>To obtain multi-component version of this structure, user must provide AV_OPT_MULTI_COMPONENT_RANGE to av_opt_query_ranges or av_opt_query_ranges_default function.</dd></dl>
<p>Multi-component range can be read as in following example:</p>
<div class="fragment"><div class="line"><span class="keywordtype">int</span> range_index, component_index;</div><div class="line"><a class="code" href="structAVOptionRanges.html">AVOptionRanges</a> *ranges;</div><div class="line"><a class="code" href="structAVOptionRange.html">AVOptionRange</a> *<a class="code" href="structAVOptionRanges.html#a6e081daa7e707607e63165909b0995ce">range</a>[3]; <span class="comment">//may require more than 3 in the future.</span></div><div class="line"><a class="code" href="group__avoptions.html#ga9751db4da3e0facd522f5b345f4001ef">av_opt_query_ranges</a>(&ranges, obj, key, <a class="code" href="group__avoptions.html#ga1f10d07c79eec8bd1a8e1b91817e1b1a">AV_OPT_MULTI_COMPONENT_RANGE</a>);</div><div class="line"><span class="keywordflow">for</span> (range_index = 0; range_index < ranges-><a class="code" href="structAVOptionRanges.html#a4cc8d5b5afbb07ae49357a7e0d6a2517">nb_ranges</a>; range_index++) {</div><div class="line"> <span class="keywordflow">for</span> (component_index = 0; component_index < ranges-><a class="code" href="structAVOptionRanges.html#aff53b7303e862ed17b10237ca52ce8a8">nb_components</a>; component_index++)</div><div class="line"> range[component_index] = ranges-><a class="code" href="structAVOptionRanges.html#a6e081daa7e707607e63165909b0995ce">range</a>[ranges-><a class="code" href="structAVOptionRanges.html#a4cc8d5b5afbb07ae49357a7e0d6a2517">nb_ranges</a> * component_index + range_index];</div><div class="line"> <span class="comment">//do something with range here.</span></div><div class="line">}</div><div class="line"><a class="code" href="group__avoptions.html#ga880756f24644ff66c806ed2d9ab3d790">av_opt_freep_ranges</a>(&ranges);</div></div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="opt_8h_source.html#l00361">361</a> of file <a class="el" href="opt_8h_source.html">opt.h</a>.</p>
</div>
</div>
<a id="a4cc8d5b5afbb07ae49357a7e0d6a2517"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4cc8d5b5afbb07ae49357a7e0d6a2517">◆ </a></span>nb_ranges</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVOptionRanges::nb_ranges</td>
</tr>
</table>
</div><div class="memdoc">
<p>Number of ranges per component. </p>
<p class="definition">Definition at line <a class="el" href="opt_8h_source.html#l00365">365</a> of file <a class="el" href="opt_8h_source.html">opt.h</a>.</p>
</div>
</div>
<a id="aff53b7303e862ed17b10237ca52ce8a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff53b7303e862ed17b10237ca52ce8a8">◆ </a></span>nb_components</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVOptionRanges::nb_components</td>
</tr>
</table>
</div><div class="memdoc">
<p>Number of componentes. </p>
<p class="definition">Definition at line <a class="el" href="opt_8h_source.html#l00369">369</a> of file <a class="el" href="opt_8h_source.html">opt.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavutil/<a class="el" href="opt_8h_source.html">opt.h</a></li>
</ul>
</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.13
</small></address>
</body>
</html>
|