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 283 284 285 286 287
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>AVbin: _AVbinStreamInfo Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul></div>
<h1>_AVbinStreamInfo Struct Reference</h1><!-- doxytag: class="_AVbinStreamInfo" --><hr><a name="_details"></a><h2>Detailed Description</h2>
Stream details.
<p>
A stream is a single audio track or video. Most audio files contain one audio stream. Most video files contain one audio stream and one video stream. More than one audio stream may indicate the presence of multiple languages which can be selected (however at this time AVbin does not provide language information).
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__AVbinStreamInfo.html#d83b02f20df9c637283b5122d62bc9f8">structure_size</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Size of this structure, in bytes. <a href="#d83b02f20df9c637283b5122d62bc9f8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="avbin_8h.html#b67520b82e177cc6d18dbc80577e7f70">AVbinStreamType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__AVbinStreamInfo.html#bab1cfac939f9d9c8e0da865f5109ced">type</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The type of stream; either audio or video. <a href="#bab1cfac939f9d9c8e0da865f5109ced"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap>union {</td></tr>
<tr><td class="memItemLeft" nowrap> struct {</td></tr>
<tr><td class="memItemLeft" nowrap> unsigned int <a class="el" href="struct__AVbinStreamInfo.html#78378b4e51398bc87ba4be7da4d636f6">width</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Width of the video image, in pixels. <a href="#4029256530beb823658a1574c7860d0c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap> unsigned int <a class="el" href="struct__AVbinStreamInfo.html#adcdce40dc2f17d9748f2bd2f9e693dd">height</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Height of the video image, in pixels. <a href="#9d3a74613ad4673f5f0c677e3428610a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap> unsigned int <a class="el" href="struct__AVbinStreamInfo.html#9447c41db0de64f0276dabf0ea562b72">sample_aspect_num</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Aspect-ratio of each pixel. <a href="#737e14de4822ce3a77d1fa7b80dce814"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap> unsigned int <a class="el" href="struct__AVbinStreamInfo.html#992b89ff0b8ca9cb6a059b7d0b96bb81">sample_aspect_den</a></td></tr>
<tr><td class="memItemLeft" nowrap valign="top"> } <a class="el" href="struct__AVbinStreamInfo.html#2acc916b91dd0c8540f3dc3a38a765c2">video</a></td></tr>
<tr><td class="memItemLeft" nowrap> struct {</td></tr>
<tr><td class="memItemLeft" nowrap> <a class="el" href="avbin_8h.html#6dfca3f94be1120bff8e0f60a691079a">AVbinSampleFormat</a> <a class="el" href="struct__AVbinStreamInfo.html#54bf99a17aace0938bc5116f7f7fed36">sample_format</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Data type of audio samples. <a href="#e8a7f3aae2a93a5009086c034b22d6fe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap> unsigned int <a class="el" href="struct__AVbinStreamInfo.html#6f8eeedcb1a1b7a3d77eae4db03f3a85">sample_rate</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Number of samples per second, in Hz. <a href="#3d9cee5c27b4cb2dcf79d999138794f0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap> unsigned int <a class="el" href="struct__AVbinStreamInfo.html#2d61369ae174482c0f7b957f316f13a7">sample_bits</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Number of bits per sample; typically 8 or 16. <a href="#23cc34e6983969c9c8adbc00a015178c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap> unsigned int <a class="el" href="struct__AVbinStreamInfo.html#56afd0c34c3828a15f102b54c9cfa8ec">channels</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Number of interleaved audio channels. <a href="#f73802727a192672774d315b76b9cdf2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap valign="top"> } <a class="el" href="struct__AVbinStreamInfo.html#4289ad4dafb20b210332d1dfab2cecdb">audio</a></td></tr>
<tr><td class="memItemLeft" nowrap valign="top">}; </td><td class="memItemRight" valign="bottom"></td></tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="d83b02f20df9c637283b5122d62bc9f8"></a><!-- doxytag: member="_AVbinStreamInfo::structure_size" ref="d83b02f20df9c637283b5122d62bc9f8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t <a class="el" href="struct__AVbinStreamInfo.html#d83b02f20df9c637283b5122d62bc9f8">_AVbinStreamInfo::structure_size</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Size of this structure, in bytes.
<p>
This must be filled in by the application before passing to AVbin.
</div>
</div><p>
<a class="anchor" name="bab1cfac939f9d9c8e0da865f5109ced"></a><!-- doxytag: member="_AVbinStreamInfo::type" ref="bab1cfac939f9d9c8e0da865f5109ced" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="avbin_8h.html#b67520b82e177cc6d18dbc80577e7f70">AVbinStreamType</a> <a class="el" href="struct__AVbinStreamInfo.html#bab1cfac939f9d9c8e0da865f5109ced">_AVbinStreamInfo::type</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The type of stream; either audio or video.
<p>
</div>
</div><p>
<a class="anchor" name="78378b4e51398bc87ba4be7da4d636f6"></a><!-- doxytag: member="_AVbinStreamInfo::width" ref="78378b4e51398bc87ba4be7da4d636f6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="struct__AVbinStreamInfo.html#78378b4e51398bc87ba4be7da4d636f6">_AVbinStreamInfo::width</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Width of the video image, in pixels.
<p>
This is the width of actual video data, and is not necessarily the size the video is to be displayed at (see sample_aspect_num).
</div>
</div><p>
<a class="anchor" name="adcdce40dc2f17d9748f2bd2f9e693dd"></a><!-- doxytag: member="_AVbinStreamInfo::height" ref="adcdce40dc2f17d9748f2bd2f9e693dd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="struct__AVbinStreamInfo.html#adcdce40dc2f17d9748f2bd2f9e693dd">_AVbinStreamInfo::height</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Height of the video image, in pixels.
<p>
</div>
</div><p>
<a class="anchor" name="9447c41db0de64f0276dabf0ea562b72"></a><!-- doxytag: member="_AVbinStreamInfo::sample_aspect_num" ref="9447c41db0de64f0276dabf0ea562b72" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="struct__AVbinStreamInfo.html#9447c41db0de64f0276dabf0ea562b72">_AVbinStreamInfo::sample_aspect_num</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Aspect-ratio of each pixel.
<p>
The aspect is given by dividing sample_aspect_num by asmple_aspect_den.
</div>
</div><p>
<a class="anchor" name="992b89ff0b8ca9cb6a059b7d0b96bb81"></a><!-- doxytag: member="_AVbinStreamInfo::sample_aspect_den" ref="992b89ff0b8ca9cb6a059b7d0b96bb81" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="struct__AVbinStreamInfo.html#992b89ff0b8ca9cb6a059b7d0b96bb81">_AVbinStreamInfo::sample_aspect_den</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="2acc916b91dd0c8540f3dc3a38a765c2"></a><!-- doxytag: member="_AVbinStreamInfo::video" ref="2acc916b91dd0c8540f3dc3a38a765c2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct { ... } <a class="el" href="struct__AVbinStreamInfo.html#2acc916b91dd0c8540f3dc3a38a765c2">_AVbinStreamInfo::video</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="54bf99a17aace0938bc5116f7f7fed36"></a><!-- doxytag: member="_AVbinStreamInfo::sample_format" ref="54bf99a17aace0938bc5116f7f7fed36" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="avbin_8h.html#6dfca3f94be1120bff8e0f60a691079a">AVbinSampleFormat</a> <a class="el" href="struct__AVbinStreamInfo.html#54bf99a17aace0938bc5116f7f7fed36">_AVbinStreamInfo::sample_format</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Data type of audio samples.
<p>
</div>
</div><p>
<a class="anchor" name="6f8eeedcb1a1b7a3d77eae4db03f3a85"></a><!-- doxytag: member="_AVbinStreamInfo::sample_rate" ref="6f8eeedcb1a1b7a3d77eae4db03f3a85" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="struct__AVbinStreamInfo.html#6f8eeedcb1a1b7a3d77eae4db03f3a85">_AVbinStreamInfo::sample_rate</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Number of samples per second, in Hz.
<p>
</div>
</div><p>
<a class="anchor" name="2d61369ae174482c0f7b957f316f13a7"></a><!-- doxytag: member="_AVbinStreamInfo::sample_bits" ref="2d61369ae174482c0f7b957f316f13a7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="struct__AVbinStreamInfo.html#2d61369ae174482c0f7b957f316f13a7">_AVbinStreamInfo::sample_bits</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Number of bits per sample; typically 8 or 16.
<p>
</div>
</div><p>
<a class="anchor" name="56afd0c34c3828a15f102b54c9cfa8ec"></a><!-- doxytag: member="_AVbinStreamInfo::channels" ref="56afd0c34c3828a15f102b54c9cfa8ec" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int <a class="el" href="struct__AVbinStreamInfo.html#56afd0c34c3828a15f102b54c9cfa8ec">_AVbinStreamInfo::channels</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Number of interleaved audio channels.
<p>
Typically 1 for monoaural, 2 for stereo. Higher channel numbers are used for surround sound, however AVbin does not currently provide a way to access the arrangement of these channels.
</div>
</div><p>
<a class="anchor" name="4289ad4dafb20b210332d1dfab2cecdb"></a><!-- doxytag: member="_AVbinStreamInfo::audio" ref="4289ad4dafb20b210332d1dfab2cecdb" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct { ... } <a class="el" href="struct__AVbinStreamInfo.html#4289ad4dafb20b210332d1dfab2cecdb">_AVbinStreamInfo::audio</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="b3835913064440944ab08a411e852219"></a><!-- doxytag: member="_AVbinStreamInfo::@1" ref="b3835913064440944ab08a411e852219" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">union { ... } </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 17 23:51:44 2008 for AVbin by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>
|