/usr/share/doc/ffmpeg/api/structAVBufferSrcParameters.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 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 | <!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: AVBufferSrcParameters 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">AVBufferSrcParameters Struct Reference<div class="ingroups"><a class="el" href="group__lavfi.html">libavfilter</a> » <a class="el" href="group__lavfi__buffersrc.html">Buffer source API</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>This structure contains the parameters describing the frames that will be passed to this filter.
<a href="structAVBufferSrcParameters.html#details">More...</a></p>
<p><code>#include <<a class="el" href="buffersrc_8h_source.html">libavfilter/buffersrc.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:a56f28f81f1a86cecc39a8d61674912b8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVBufferSrcParameters.html#a56f28f81f1a86cecc39a8d61674912b8">format</a></td></tr>
<tr class="memdesc:a56f28f81f1a86cecc39a8d61674912b8"><td class="mdescLeft"> </td><td class="mdescRight">video: the pixel format, value corresponds to enum AVPixelFormat audio: the sample format, value corresponds to enum AVSampleFormat <a href="#a56f28f81f1a86cecc39a8d61674912b8">More...</a><br /></td></tr>
<tr class="separator:a56f28f81f1a86cecc39a8d61674912b8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7767325c1259942a33586f05c90e38b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVRational.html">AVRational</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVBufferSrcParameters.html#a7767325c1259942a33586f05c90e38b0">time_base</a></td></tr>
<tr class="memdesc:a7767325c1259942a33586f05c90e38b0"><td class="mdescLeft"> </td><td class="mdescRight">The timebase to be used for the timestamps on the input frames. <a href="#a7767325c1259942a33586f05c90e38b0">More...</a><br /></td></tr>
<tr class="separator:a7767325c1259942a33586f05c90e38b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6c6f3d9ed8b427070e9055e7ac61263f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVBufferSrcParameters.html#a6c6f3d9ed8b427070e9055e7ac61263f">width</a></td></tr>
<tr class="memdesc:a6c6f3d9ed8b427070e9055e7ac61263f"><td class="mdescLeft"> </td><td class="mdescRight">Video only, the display dimensions of the input frames. <a href="#a6c6f3d9ed8b427070e9055e7ac61263f">More...</a><br /></td></tr>
<tr class="separator:a6c6f3d9ed8b427070e9055e7ac61263f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89783d603b84908fb1998bbbea981b70"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVBufferSrcParameters.html#a89783d603b84908fb1998bbbea981b70">height</a></td></tr>
<tr class="separator:a89783d603b84908fb1998bbbea981b70"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae47c141ea7a7770351613242229f951a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVRational.html">AVRational</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVBufferSrcParameters.html#ae47c141ea7a7770351613242229f951a">sample_aspect_ratio</a></td></tr>
<tr class="memdesc:ae47c141ea7a7770351613242229f951a"><td class="mdescLeft"> </td><td class="mdescRight">Video only, the sample (pixel) aspect ratio. <a href="#ae47c141ea7a7770351613242229f951a">More...</a><br /></td></tr>
<tr class="separator:ae47c141ea7a7770351613242229f951a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a032a202496206e18449c66233058647a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVRational.html">AVRational</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVBufferSrcParameters.html#a032a202496206e18449c66233058647a">frame_rate</a></td></tr>
<tr class="memdesc:a032a202496206e18449c66233058647a"><td class="mdescLeft"> </td><td class="mdescRight">Video only, the frame rate of the input video. <a href="#a032a202496206e18449c66233058647a">More...</a><br /></td></tr>
<tr class="separator:a032a202496206e18449c66233058647a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a86c49b4202433037c9e2b0b6ae541534"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structAVBufferRef.html">AVBufferRef</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVBufferSrcParameters.html#a86c49b4202433037c9e2b0b6ae541534">hw_frames_ctx</a></td></tr>
<tr class="memdesc:a86c49b4202433037c9e2b0b6ae541534"><td class="mdescLeft"> </td><td class="mdescRight">Video with a hwaccel pixel format only. <a href="#a86c49b4202433037c9e2b0b6ae541534">More...</a><br /></td></tr>
<tr class="separator:a86c49b4202433037c9e2b0b6ae541534"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a34a1613f1e80f8520c159fac59e29834"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVBufferSrcParameters.html#a34a1613f1e80f8520c159fac59e29834">sample_rate</a></td></tr>
<tr class="memdesc:a34a1613f1e80f8520c159fac59e29834"><td class="mdescLeft"> </td><td class="mdescRight">Audio only, the audio sampling rate in samples per secon. <a href="#a34a1613f1e80f8520c159fac59e29834">More...</a><br /></td></tr>
<tr class="separator:a34a1613f1e80f8520c159fac59e29834"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afa7a9f0a7d29029d1b68528f2610a340"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVBufferSrcParameters.html#afa7a9f0a7d29029d1b68528f2610a340">channel_layout</a></td></tr>
<tr class="memdesc:afa7a9f0a7d29029d1b68528f2610a340"><td class="mdescLeft"> </td><td class="mdescRight">Audio only, the audio channel layout. <a href="#afa7a9f0a7d29029d1b68528f2610a340">More...</a><br /></td></tr>
<tr class="separator:afa7a9f0a7d29029d1b68528f2610a340"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This structure contains the parameters describing the frames that will be passed to this filter. </p>
<p>It should be allocated with <a class="el" href="group__lavfi__buffersrc.html#gaae82d4f8a69757ce01421dd3167861a5" title="Allocate a new AVBufferSrcParameters instance. ">av_buffersrc_parameters_alloc()</a> and freed with <a class="el" href="group__lavu__mem__funcs.html#ga0c9096f498624c525aa2315b8a20c411" title="Free a memory block which has been allocated with a function of av_malloc() or av_realloc() family...">av_free()</a>. All the allocated fields in it remain owned by the caller. </p>
<p class="definition">Definition at line <a class="el" href="buffersrc_8h_source.html#l00073">73</a> of file <a class="el" href="buffersrc_8h_source.html">buffersrc.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a56f28f81f1a86cecc39a8d61674912b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56f28f81f1a86cecc39a8d61674912b8">◆ </a></span>format</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVBufferSrcParameters::format</td>
</tr>
</table>
</div><div class="memdoc">
<p>video: the pixel format, value corresponds to enum AVPixelFormat audio: the sample format, value corresponds to enum AVSampleFormat </p>
<p class="definition">Definition at line <a class="el" href="buffersrc_8h_source.html#l00078">78</a> of file <a class="el" href="buffersrc_8h_source.html">buffersrc.h</a>.</p>
</div>
</div>
<a id="a7767325c1259942a33586f05c90e38b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7767325c1259942a33586f05c90e38b0">◆ </a></span>time_base</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVRational.html">AVRational</a> AVBufferSrcParameters::time_base</td>
</tr>
</table>
</div><div class="memdoc">
<p>The timebase to be used for the timestamps on the input frames. </p>
<p class="definition">Definition at line <a class="el" href="buffersrc_8h_source.html#l00082">82</a> of file <a class="el" href="buffersrc_8h_source.html">buffersrc.h</a>.</p>
</div>
</div>
<a id="a6c6f3d9ed8b427070e9055e7ac61263f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c6f3d9ed8b427070e9055e7ac61263f">◆ </a></span>width</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVBufferSrcParameters::width</td>
</tr>
</table>
</div><div class="memdoc">
<p>Video only, the display dimensions of the input frames. </p>
<p class="definition">Definition at line <a class="el" href="buffersrc_8h_source.html#l00087">87</a> of file <a class="el" href="buffersrc_8h_source.html">buffersrc.h</a>.</p>
</div>
</div>
<a id="a89783d603b84908fb1998bbbea981b70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89783d603b84908fb1998bbbea981b70">◆ </a></span>height</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVBufferSrcParameters::height</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="buffersrc_8h_source.html#l00087">87</a> of file <a class="el" href="buffersrc_8h_source.html">buffersrc.h</a>.</p>
</div>
</div>
<a id="ae47c141ea7a7770351613242229f951a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae47c141ea7a7770351613242229f951a">◆ </a></span>sample_aspect_ratio</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVRational.html">AVRational</a> AVBufferSrcParameters::sample_aspect_ratio</td>
</tr>
</table>
</div><div class="memdoc">
<p>Video only, the sample (pixel) aspect ratio. </p>
<p class="definition">Definition at line <a class="el" href="buffersrc_8h_source.html#l00092">92</a> of file <a class="el" href="buffersrc_8h_source.html">buffersrc.h</a>.</p>
</div>
</div>
<a id="a032a202496206e18449c66233058647a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a032a202496206e18449c66233058647a">◆ </a></span>frame_rate</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVRational.html">AVRational</a> AVBufferSrcParameters::frame_rate</td>
</tr>
</table>
</div><div class="memdoc">
<p>Video only, the frame rate of the input video. </p>
<p>This field must only be set to a non-zero value if input stream has a known constant framerate and should be left at its initial value if the framerate is variable or unknown. </p>
<p class="definition">Definition at line <a class="el" href="buffersrc_8h_source.html#l00100">100</a> of file <a class="el" href="buffersrc_8h_source.html">buffersrc.h</a>.</p>
</div>
</div>
<a id="a86c49b4202433037c9e2b0b6ae541534"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86c49b4202433037c9e2b0b6ae541534">◆ </a></span>hw_frames_ctx</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structAVBufferRef.html">AVBufferRef</a>* AVBufferSrcParameters::hw_frames_ctx</td>
</tr>
</table>
</div><div class="memdoc">
<p>Video with a hwaccel pixel format only. </p>
<p>This should be a reference to an <a class="el" href="structAVHWFramesContext.html" title="This struct describes a set or pool of "hardware" frames (i.e. ">AVHWFramesContext</a> instance describing the input frames. </p>
<p class="definition">Definition at line <a class="el" href="buffersrc_8h_source.html#l00106">106</a> of file <a class="el" href="buffersrc_8h_source.html">buffersrc.h</a>.</p>
</div>
</div>
<a id="a34a1613f1e80f8520c159fac59e29834"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34a1613f1e80f8520c159fac59e29834">◆ </a></span>sample_rate</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int AVBufferSrcParameters::sample_rate</td>
</tr>
</table>
</div><div class="memdoc">
<p>Audio only, the audio sampling rate in samples per secon. </p>
<p class="definition">Definition at line <a class="el" href="buffersrc_8h_source.html#l00111">111</a> of file <a class="el" href="buffersrc_8h_source.html">buffersrc.h</a>.</p>
</div>
</div>
<a id="afa7a9f0a7d29029d1b68528f2610a340"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa7a9f0a7d29029d1b68528f2610a340">◆ </a></span>channel_layout</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t AVBufferSrcParameters::channel_layout</td>
</tr>
</table>
</div><div class="memdoc">
<p>Audio only, the audio channel layout. </p>
<p class="definition">Definition at line <a class="el" href="buffersrc_8h_source.html#l00116">116</a> of file <a class="el" href="buffersrc_8h_source.html">buffersrc.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavfilter/<a class="el" href="buffersrc_8h_source.html">buffersrc.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>
|