1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>GstMpeg4Parser: GStreamer Bad Plugins 1.0 Library Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Library Reference Manual"> 8<link rel="up" href="codecparsers.html" title="Bitstream parsing Library"> 9<link rel="prev" href="gst-plugins-bad-libs-mpegvideoparser.html" title="GstMpegvideoParser"> 10<link rel="next" href="gst-plugins-bad-libs-vc1parser.html" title="GstVc1Parser"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#gst-plugins-bad-libs-mpeg4parser.description" class="shortcut">Description</a></span> 19</td> 20<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 21<td><a accesskey="u" href="codecparsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 22<td><a accesskey="p" href="gst-plugins-bad-libs-mpegvideoparser.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 23<td><a accesskey="n" href="gst-plugins-bad-libs-vc1parser.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 24</tr></table> 25<div class="refentry"> 26<a name="gst-plugins-bad-libs-mpeg4parser"></a><div class="titlepage"></div> 27<div class="refnamediv"><table width="100%"><tr> 28<td valign="top"> 29<h2><span class="refentrytitle"><a name="gst-plugins-bad-libs-mpeg4parser.top_of_page"></a>GstMpeg4Parser</span></h2> 30<p>GstMpeg4Parser — Convenience library for parsing mpeg4 part 2 video 31bitstream.</p> 32</td> 33<td class="gallery_image" valign="top" align="right"></td> 34</tr></table></div> 35<div class="refsect1"> 36<a name="gst-plugins-bad-libs-mpeg4parser.functions"></a><h2>Functions</h2> 37<div class="informaltable"><table class="informaltable" width="100%" border="0"> 38<colgroup> 39<col width="150px" class="functions_return"> 40<col class="functions_name"> 41</colgroup> 42<tbody> 43<tr> 44<td class="function_type"> 45<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 46</td> 47<td class="function_name"> 48<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#gst-mpeg4-parse" title="gst_mpeg4_parse ()">gst_mpeg4_parse</a> <span class="c_punctuation">()</span> 49</td> 50</tr> 51<tr> 52<td class="function_type"> 53<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 54</td> 55<td class="function_name"> 56<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#gst-mpeg4-parse-video-object-plane" title="gst_mpeg4_parse_video_object_plane ()">gst_mpeg4_parse_video_object_plane</a> <span class="c_punctuation">()</span> 57</td> 58</tr> 59<tr> 60<td class="function_type"> 61<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 62</td> 63<td class="function_name"> 64<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#gst-mpeg4-parse-group-of-vop" title="gst_mpeg4_parse_group_of_vop ()">gst_mpeg4_parse_group_of_vop</a> <span class="c_punctuation">()</span> 65</td> 66</tr> 67<tr> 68<td class="function_type"> 69<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 70</td> 71<td class="function_name"> 72<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#gst-mpeg4-parse-video-object-layer" title="gst_mpeg4_parse_video_object_layer ()">gst_mpeg4_parse_video_object_layer</a> <span class="c_punctuation">()</span> 73</td> 74</tr> 75<tr> 76<td class="function_type"> 77<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 78</td> 79<td class="function_name"> 80<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#gst-mpeg4-parse-visual-object" title="gst_mpeg4_parse_visual_object ()">gst_mpeg4_parse_visual_object</a> <span class="c_punctuation">()</span> 81</td> 82</tr> 83<tr> 84<td class="function_type"> 85<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 86</td> 87<td class="function_name"> 88<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#gst-mpeg4-parse-visual-object-sequence" title="gst_mpeg4_parse_visual_object_sequence ()">gst_mpeg4_parse_visual_object_sequence</a> <span class="c_punctuation">()</span> 89</td> 90</tr> 91<tr> 92<td class="function_type"> 93<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 94</td> 95<td class="function_name"> 96<a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#gst-mpeg4-parse-video-packet-header" title="gst_mpeg4_parse_video_packet_header ()">gst_mpeg4_parse_video_packet_header</a> <span class="c_punctuation">()</span> 97</td> 98</tr> 99</tbody> 100</table></div> 101</div> 102<div class="refsect1"> 103<a name="gst-plugins-bad-libs-mpeg4parser.other"></a><h2>Types and Values</h2> 104<div class="informaltable"><table class="informaltable" width="100%" border="0"> 105<colgroup> 106<col width="150px" class="name"> 107<col class="description"> 108</colgroup> 109<tbody> 110<tr> 111<td class="datatype_keyword">enum</td> 112<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4StartCode" title="enum GstMpeg4StartCode">GstMpeg4StartCode</a></td> 113</tr> 114<tr> 115<td class="datatype_keyword">enum</td> 116<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VisualObjectType" title="enum GstMpeg4VisualObjectType">GstMpeg4VisualObjectType</a></td> 117</tr> 118<tr> 119<td class="datatype_keyword">enum</td> 120<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4AspectRatioInfo" title="enum GstMpeg4AspectRatioInfo">GstMpeg4AspectRatioInfo</a></td> 121</tr> 122<tr> 123<td class="datatype_keyword">enum</td> 124<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult">GstMpeg4ParseResult</a></td> 125</tr> 126<tr> 127<td class="datatype_keyword">enum</td> 128<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectCodingType" title="enum GstMpeg4VideoObjectCodingType">GstMpeg4VideoObjectCodingType</a></td> 129</tr> 130<tr> 131<td class="datatype_keyword">enum</td> 132<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ChromaFormat" title="enum GstMpeg4ChromaFormat">GstMpeg4ChromaFormat</a></td> 133</tr> 134<tr> 135<td class="datatype_keyword">enum</td> 136<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectLayerShape" title="enum GstMpeg4VideoObjectLayerShape">GstMpeg4VideoObjectLayerShape</a></td> 137</tr> 138<tr> 139<td class="datatype_keyword">enum</td> 140<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4SpriteEnable" title="enum GstMpeg4SpriteEnable">GstMpeg4SpriteEnable</a></td> 141</tr> 142<tr> 143<td class="datatype_keyword">enum</td> 144<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4Profile" title="enum GstMpeg4Profile">GstMpeg4Profile</a></td> 145</tr> 146<tr> 147<td class="datatype_keyword">enum</td> 148<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4Level" title="enum GstMpeg4Level">GstMpeg4Level</a></td> 149</tr> 150<tr> 151<td class="datatype_keyword">struct</td> 152<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VisualObjectSequence" title="struct GstMpeg4VisualObjectSequence">GstMpeg4VisualObjectSequence</a></td> 153</tr> 154<tr> 155<td class="datatype_keyword">struct</td> 156<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VisualObject" title="struct GstMpeg4VisualObject">GstMpeg4VisualObject</a></td> 157</tr> 158<tr> 159<td class="datatype_keyword">struct</td> 160<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoSignalType" title="struct GstMpeg4VideoSignalType">GstMpeg4VideoSignalType</a></td> 161</tr> 162<tr> 163<td class="datatype_keyword">struct</td> 164<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoPlaneShortHdr" title="struct GstMpeg4VideoPlaneShortHdr">GstMpeg4VideoPlaneShortHdr</a></td> 165</tr> 166<tr> 167<td class="datatype_keyword">struct</td> 168<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectLayer" title="struct GstMpeg4VideoObjectLayer">GstMpeg4VideoObjectLayer</a></td> 169</tr> 170<tr> 171<td class="datatype_keyword">struct</td> 172<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4SpriteTrajectory" title="struct GstMpeg4SpriteTrajectory">GstMpeg4SpriteTrajectory</a></td> 173</tr> 174<tr> 175<td class="datatype_keyword">struct</td> 176<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4GroupOfVOP" title="struct GstMpeg4GroupOfVOP">GstMpeg4GroupOfVOP</a></td> 177</tr> 178<tr> 179<td class="datatype_keyword">struct</td> 180<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectPlane" title="struct GstMpeg4VideoObjectPlane">GstMpeg4VideoObjectPlane</a></td> 181</tr> 182<tr> 183<td class="datatype_keyword">struct</td> 184<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4Packet" title="struct GstMpeg4Packet">GstMpeg4Packet</a></td> 185</tr> 186<tr> 187<td class="datatype_keyword">struct</td> 188<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoPacketHdr" title="struct GstMpeg4VideoPacketHdr">GstMpeg4VideoPacketHdr</a></td> 189</tr> 190</tbody> 191</table></div> 192</div> 193<div class="refsect1"> 194<a name="gst-plugins-bad-libs-mpeg4parser.includes"></a><h2>Includes</h2> 195<pre class="synopsis">#include <gst/codecparsers/gstmpeg4parser.h> 196</pre> 197</div> 198<div class="refsect1"> 199<a name="gst-plugins-bad-libs-mpeg4parser.description"></a><h2>Description</h2> 200<p>For more details about the structures, you can refer to the 201specifications: ISO-IEC-14496-2_2004_MPEG4_VISUAL.pdf</p> 202</div> 203<div class="refsect1"> 204<a name="gst-plugins-bad-libs-mpeg4parser.functions_details"></a><h2>Functions</h2> 205<div class="refsect2"> 206<a name="gst-mpeg4-parse"></a><h3>gst_mpeg4_parse ()</h3> 207<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 208gst_mpeg4_parse (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4Packet" title="struct GstMpeg4Packet"><span class="type">GstMpeg4Packet</span></a> *packet</code></em>, 209 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> skip_user_data</code></em>, 210 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectPlane" title="struct GstMpeg4VideoObjectPlane"><span class="type">GstMpeg4VideoObjectPlane</span></a> *vop</code></em>, 211 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>, 212 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>, 213 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>);</pre> 214<p>Parses <em class="parameter"><code>data</code></em> 215 and fills <em class="parameter"><code>packet</code></em> 216 with the information of the next packet 217found.</p> 218<div class="refsect3"> 219<a name="gst-mpeg4-parse.parameters"></a><h4>Parameters</h4> 220<div class="informaltable"><table class="informaltable" width="100%" border="0"> 221<colgroup> 222<col width="150px" class="parameters_name"> 223<col class="parameters_description"> 224<col width="200px" class="parameters_annotations"> 225</colgroup> 226<tbody> 227<tr> 228<td class="parameter_name"><p>packet</p></td> 229<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4Packet" title="struct GstMpeg4Packet"><span class="type">GstMpeg4Packet</span></a> to fill</p></td> 230<td class="parameter_annotations"> </td> 231</tr> 232<tr> 233<td class="parameter_name"><p>skip_user_data</p></td> 234<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to skip user data packet <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p></td> 235<td class="parameter_annotations"> </td> 236</tr> 237<tr> 238<td class="parameter_name"><p>vop</p></td> 239<td class="parameter_description"><p>The last parsed <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectPlane" title="struct GstMpeg4VideoObjectPlane"><span class="type">GstMpeg4VideoObjectPlane</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you do 240not need to detect the resync codes.</p></td> 241<td class="parameter_annotations"> </td> 242</tr> 243<tr> 244<td class="parameter_name"><p>offset</p></td> 245<td class="parameter_description"><p>offset from which to start the parsing</p></td> 246<td class="parameter_annotations"> </td> 247</tr> 248<tr> 249<td class="parameter_name"><p>data</p></td> 250<td class="parameter_description"><p>The data to parse</p></td> 251<td class="parameter_annotations"> </td> 252</tr> 253<tr> 254<td class="parameter_name"><p>size</p></td> 255<td class="parameter_description"><p>The size of the <em class="parameter"><code>data</code></em> 256to parse</p></td> 257<td class="parameter_annotations"> </td> 258</tr> 259</tbody> 260</table></div> 261</div> 262<div class="refsect3"> 263<a name="gst-mpeg4-parse.returns"></a><h4>Returns</h4> 264<p> a <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="type">GstMpeg4ParseResult</span></a></p> 265</div> 266</div> 267<hr> 268<div class="refsect2"> 269<a name="gst-mpeg4-parse-video-object-plane"></a><h3>gst_mpeg4_parse_video_object_plane ()</h3> 270<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 271gst_mpeg4_parse_video_object_plane (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectPlane" title="struct GstMpeg4VideoObjectPlane"><span class="type">GstMpeg4VideoObjectPlane</span></a> *vop</code></em>, 272 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4SpriteTrajectory" title="struct GstMpeg4SpriteTrajectory"><span class="type">GstMpeg4SpriteTrajectory</span></a> *sprite_trajectory</code></em>, 273 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectLayer" title="struct GstMpeg4VideoObjectLayer"><span class="type">GstMpeg4VideoObjectLayer</span></a> *vol</code></em>, 274 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>, 275 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>);</pre> 276<p>Parses <em class="parameter"><code>data</code></em> 277 containing the video object plane packet, and fills the <em class="parameter"><code>vol</code></em> 278 279structure.</p> 280<div class="refsect3"> 281<a name="gst-mpeg4-parse-video-object-plane.parameters"></a><h4>Parameters</h4> 282<div class="informaltable"><table class="informaltable" width="100%" border="0"> 283<colgroup> 284<col width="150px" class="parameters_name"> 285<col class="parameters_description"> 286<col width="200px" class="parameters_annotations"> 287</colgroup> 288<tbody> 289<tr> 290<td class="parameter_name"><p>vop</p></td> 291<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectPlane" title="struct GstMpeg4VideoObjectPlane"><span class="type">GstMpeg4VideoObjectPlane</span></a> currently being parsed</p></td> 292<td class="parameter_annotations"> </td> 293</tr> 294<tr> 295<td class="parameter_name"><p>sprite_trajectory</p></td> 296<td class="parameter_description"><p>A <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4SpriteTrajectory" title="struct GstMpeg4SpriteTrajectory"><span class="type">GstMpeg4SpriteTrajectory</span></a> to fill or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> 297<td class="parameter_annotations"> </td> 298</tr> 299<tr> 300<td class="parameter_name"><p>vol</p></td> 301<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectLayer" title="struct GstMpeg4VideoObjectLayer"><span class="type">GstMpeg4VideoObjectLayer</span></a> structure to fill</p></td> 302<td class="parameter_annotations"> </td> 303</tr> 304<tr> 305<td class="parameter_name"><p>data</p></td> 306<td class="parameter_description"><p>The data to parse</p></td> 307<td class="parameter_annotations"> </td> 308</tr> 309<tr> 310<td class="parameter_name"><p>size</p></td> 311<td class="parameter_description"><p>The size of the <em class="parameter"><code>data</code></em> 312to parse</p></td> 313<td class="parameter_annotations"> </td> 314</tr> 315</tbody> 316</table></div> 317</div> 318<div class="refsect3"> 319<a name="gst-mpeg4-parse-video-object-plane.returns"></a><h4>Returns</h4> 320<p> a <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="type">GstMpeg4ParseResult</span></a></p> 321</div> 322</div> 323<hr> 324<div class="refsect2"> 325<a name="gst-mpeg4-parse-group-of-vop"></a><h3>gst_mpeg4_parse_group_of_vop ()</h3> 326<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 327gst_mpeg4_parse_group_of_vop (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4GroupOfVOP" title="struct GstMpeg4GroupOfVOP"><span class="type">GstMpeg4GroupOfVOP</span></a> *gov</code></em>, 328 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>, 329 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>);</pre> 330<p>Parses <em class="parameter"><code>data</code></em> 331 containing the group of video object plane packet, and fills 332the <em class="parameter"><code>gov</code></em> 333 structure.</p> 334<div class="refsect3"> 335<a name="gst-mpeg4-parse-group-of-vop.parameters"></a><h4>Parameters</h4> 336<div class="informaltable"><table class="informaltable" width="100%" border="0"> 337<colgroup> 338<col width="150px" class="parameters_name"> 339<col class="parameters_description"> 340<col width="200px" class="parameters_annotations"> 341</colgroup> 342<tbody> 343<tr> 344<td class="parameter_name"><p>gov</p></td> 345<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4GroupOfVOP" title="struct GstMpeg4GroupOfVOP"><span class="type">GstMpeg4GroupOfVOP</span></a> structure to fill</p></td> 346<td class="parameter_annotations"> </td> 347</tr> 348<tr> 349<td class="parameter_name"><p>data</p></td> 350<td class="parameter_description"><p>The data to parse</p></td> 351<td class="parameter_annotations"> </td> 352</tr> 353<tr> 354<td class="parameter_name"><p>size</p></td> 355<td class="parameter_description"><p>The size of the <em class="parameter"><code>data</code></em> 356to parse</p></td> 357<td class="parameter_annotations"> </td> 358</tr> 359</tbody> 360</table></div> 361</div> 362<div class="refsect3"> 363<a name="gst-mpeg4-parse-group-of-vop.returns"></a><h4>Returns</h4> 364<p> a <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="type">GstMpeg4ParseResult</span></a></p> 365</div> 366</div> 367<hr> 368<div class="refsect2"> 369<a name="gst-mpeg4-parse-video-object-layer"></a><h3>gst_mpeg4_parse_video_object_layer ()</h3> 370<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 371gst_mpeg4_parse_video_object_layer (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectLayer" title="struct GstMpeg4VideoObjectLayer"><span class="type">GstMpeg4VideoObjectLayer</span></a> *vol</code></em>, 372 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VisualObject" title="struct GstMpeg4VisualObject"><span class="type">GstMpeg4VisualObject</span></a> *vo</code></em>, 373 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>, 374 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>);</pre> 375<p>Parses <em class="parameter"><code>data</code></em> 376 containing the video object layer packet, and fills 377the <em class="parameter"><code>vol</code></em> 378 structure.</p> 379<div class="refsect3"> 380<a name="gst-mpeg4-parse-video-object-layer.parameters"></a><h4>Parameters</h4> 381<div class="informaltable"><table class="informaltable" width="100%" border="0"> 382<colgroup> 383<col width="150px" class="parameters_name"> 384<col class="parameters_description"> 385<col width="200px" class="parameters_annotations"> 386</colgroup> 387<tbody> 388<tr> 389<td class="parameter_name"><p>vol</p></td> 390<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectLayer" title="struct GstMpeg4VideoObjectLayer"><span class="type">GstMpeg4VideoObjectLayer</span></a> structure to fill</p></td> 391<td class="parameter_annotations"> </td> 392</tr> 393<tr> 394<td class="parameter_name"><p>vo</p></td> 395<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VisualObject" title="struct GstMpeg4VisualObject"><span class="type">GstMpeg4VisualObject</span></a> currently being parsed or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> 396<td class="parameter_annotations"> </td> 397</tr> 398<tr> 399<td class="parameter_name"><p>data</p></td> 400<td class="parameter_description"><p>The data to parse</p></td> 401<td class="parameter_annotations"> </td> 402</tr> 403<tr> 404<td class="parameter_name"><p>size</p></td> 405<td class="parameter_description"><p>The size of the <em class="parameter"><code>data</code></em> 406to parse</p></td> 407<td class="parameter_annotations"> </td> 408</tr> 409</tbody> 410</table></div> 411</div> 412<div class="refsect3"> 413<a name="gst-mpeg4-parse-video-object-layer.returns"></a><h4>Returns</h4> 414<p> a <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="type">GstMpeg4ParseResult</span></a></p> 415</div> 416</div> 417<hr> 418<div class="refsect2"> 419<a name="gst-mpeg4-parse-visual-object"></a><h3>gst_mpeg4_parse_visual_object ()</h3> 420<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 421gst_mpeg4_parse_visual_object (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VisualObject" title="struct GstMpeg4VisualObject"><span class="type">GstMpeg4VisualObject</span></a> *vo</code></em>, 422 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoSignalType" title="struct GstMpeg4VideoSignalType"><span class="type">GstMpeg4VideoSignalType</span></a> *signal_type</code></em>, 423 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>, 424 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>);</pre> 425<p>Parses <em class="parameter"><code>data</code></em> 426 containing the visual object packet, and fills 427the <em class="parameter"><code>vo</code></em> 428 structure.</p> 429<div class="refsect3"> 430<a name="gst-mpeg4-parse-visual-object.parameters"></a><h4>Parameters</h4> 431<div class="informaltable"><table class="informaltable" width="100%" border="0"> 432<colgroup> 433<col width="150px" class="parameters_name"> 434<col class="parameters_description"> 435<col width="200px" class="parameters_annotations"> 436</colgroup> 437<tbody> 438<tr> 439<td class="parameter_name"><p>vo</p></td> 440<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VisualObject" title="struct GstMpeg4VisualObject"><span class="type">GstMpeg4VisualObject</span></a> structure to fill</p></td> 441<td class="parameter_annotations"> </td> 442</tr> 443<tr> 444<td class="parameter_name"><p>signal_type</p></td> 445<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoSignalType" title="struct GstMpeg4VideoSignalType"><span class="type">GstMpeg4VideoSignalType</span></a> to fill or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> 446<td class="parameter_annotations"> </td> 447</tr> 448<tr> 449<td class="parameter_name"><p>data</p></td> 450<td class="parameter_description"><p>The data to parse, should contain the vo_start_code 451but not the start code prefix</p></td> 452<td class="parameter_annotations"> </td> 453</tr> 454<tr> 455<td class="parameter_name"><p>size</p></td> 456<td class="parameter_description"><p>The size of the <em class="parameter"><code>data</code></em> 457to parse</p></td> 458<td class="parameter_annotations"> </td> 459</tr> 460</tbody> 461</table></div> 462</div> 463<div class="refsect3"> 464<a name="gst-mpeg4-parse-visual-object.returns"></a><h4>Returns</h4> 465<p> a <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="type">GstMpeg4ParseResult</span></a></p> 466</div> 467</div> 468<hr> 469<div class="refsect2"> 470<a name="gst-mpeg4-parse-visual-object-sequence"></a><h3>gst_mpeg4_parse_visual_object_sequence ()</h3> 471<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 472gst_mpeg4_parse_visual_object_sequence 473 (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VisualObjectSequence" title="struct GstMpeg4VisualObjectSequence"><span class="type">GstMpeg4VisualObjectSequence</span></a> *vos</code></em>, 474 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>, 475 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>);</pre> 476<p>Parses <em class="parameter"><code>data</code></em> 477 containing the visual object sequence packet, and fills 478the <em class="parameter"><code>vos</code></em> 479 structure.</p> 480<div class="refsect3"> 481<a name="gst-mpeg4-parse-visual-object-sequence.parameters"></a><h4>Parameters</h4> 482<div class="informaltable"><table class="informaltable" width="100%" border="0"> 483<colgroup> 484<col width="150px" class="parameters_name"> 485<col class="parameters_description"> 486<col width="200px" class="parameters_annotations"> 487</colgroup> 488<tbody> 489<tr> 490<td class="parameter_name"><p>vos</p></td> 491<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VisualObjectSequence" title="struct GstMpeg4VisualObjectSequence"><span class="type">GstMpeg4VisualObjectSequence</span></a> structure to fill</p></td> 492<td class="parameter_annotations"> </td> 493</tr> 494<tr> 495<td class="parameter_name"><p>data</p></td> 496<td class="parameter_description"><p>The data to parse, should contain the visual_object_sequence_start_code 497but not the start code prefix</p></td> 498<td class="parameter_annotations"> </td> 499</tr> 500<tr> 501<td class="parameter_name"><p>size</p></td> 502<td class="parameter_description"><p>The size of the <em class="parameter"><code>data</code></em> 503to parse</p></td> 504<td class="parameter_annotations"> </td> 505</tr> 506</tbody> 507</table></div> 508</div> 509<div class="refsect3"> 510<a name="gst-mpeg4-parse-visual-object-sequence.returns"></a><h4>Returns</h4> 511<p> a <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="type">GstMpeg4ParseResult</span></a></p> 512</div> 513</div> 514<hr> 515<div class="refsect2"> 516<a name="gst-mpeg4-parse-video-packet-header"></a><h3>gst_mpeg4_parse_video_packet_header ()</h3> 517<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4ParseResult" title="enum GstMpeg4ParseResult"><span class="returnvalue">GstMpeg4ParseResult</span></a> 518gst_mpeg4_parse_video_packet_header (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoPacketHdr" title="struct GstMpeg4VideoPacketHdr"><span class="type">GstMpeg4VideoPacketHdr</span></a> *videopackethdr</code></em>, 519 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectLayer" title="struct GstMpeg4VideoObjectLayer"><span class="type">GstMpeg4VideoObjectLayer</span></a> *vol</code></em>, 520 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectPlane" title="struct GstMpeg4VideoObjectPlane"><span class="type">GstMpeg4VideoObjectPlane</span></a> *vop</code></em>, 521 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4SpriteTrajectory" title="struct GstMpeg4SpriteTrajectory"><span class="type">GstMpeg4SpriteTrajectory</span></a> *sprite_trajectory</code></em>, 522 <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>, 523 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>);</pre> 524<p>Parsers <em class="parameter"><code>data</code></em> 525 containing the video packet header 526and fills the <em class="parameter"><code>videopackethdr</code></em> 527 structure</p> 528<div class="refsect3"> 529<a name="gst-mpeg4-parse-video-packet-header.parameters"></a><h4>Parameters</h4> 530<div class="informaltable"><table class="informaltable" width="100%" border="0"> 531<colgroup> 532<col width="150px" class="parameters_name"> 533<col class="parameters_description"> 534<col width="200px" class="parameters_annotations"> 535</colgroup> 536<tbody> 537<tr> 538<td class="parameter_name"><p>videopackethdr</p></td> 539<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoPacketHdr" title="struct GstMpeg4VideoPacketHdr"><span class="type">GstMpeg4VideoPacketHdr</span></a> structure to fill</p></td> 540<td class="parameter_annotations"> </td> 541</tr> 542<tr> 543<td class="parameter_name"><p>vol</p></td> 544<td class="parameter_description"><p>The last parsed <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectLayer" title="struct GstMpeg4VideoObjectLayer"><span class="type">GstMpeg4VideoObjectLayer</span></a>, will be updated 545with the informations found during the parsing</p></td> 546<td class="parameter_annotations"> </td> 547</tr> 548<tr> 549<td class="parameter_name"><p>vop</p></td> 550<td class="parameter_description"><p>The last parsed <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4VideoObjectPlane" title="struct GstMpeg4VideoObjectPlane"><span class="type">GstMpeg4VideoObjectPlane</span></a>, will be updated 551with the informations found during the parsing</p></td> 552<td class="parameter_annotations"> </td> 553</tr> 554<tr> 555<td class="parameter_name"><p>sprite_trajectory</p></td> 556<td class="parameter_description"><p>A <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4SpriteTrajectory" title="struct GstMpeg4SpriteTrajectory"><span class="type">GstMpeg4SpriteTrajectory</span></a> to fill or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> 557with the informations found during the parsing</p></td> 558<td class="parameter_annotations"> </td> 559</tr> 560<tr> 561<td class="parameter_name"><p>data</p></td> 562<td class="parameter_description"><p>The data to parse, should be set after the resync marker.</p></td> 563<td class="parameter_annotations"> </td> 564</tr> 565<tr> 566<td class="parameter_name"><p>size</p></td> 567<td class="parameter_description"><p>The size of the data to parse</p></td> 568<td class="parameter_annotations"> </td> 569</tr> 570</tbody> 571</table></div> 572</div> 573</div> 574</div> 575<div class="refsect1"> 576<a name="gst-plugins-bad-libs-mpeg4parser.other_details"></a><h2>Types and Values</h2> 577<div class="refsect2"> 578<a name="GstMpeg4StartCode"></a><h3>enum GstMpeg4StartCode</h3> 579<p>Defines the different startcodes present in the bitstream as 580defined in: Table 6-3 — Start code values</p> 581<div class="refsect3"> 582<a name="GstMpeg4StartCode.members"></a><h4>Members</h4> 583<div class="informaltable"><table class="informaltable" width="100%" border="0"> 584<colgroup> 585<col width="300px" class="enum_members_name"> 586<col class="enum_members_description"> 587<col width="200px" class="enum_members_annotations"> 588</colgroup> 589<tbody> 590<tr> 591<td class="enum_member_name"><p><a name="GST-MPEG4-VIDEO-OBJ-FIRST:CAPS"></a>GST_MPEG4_VIDEO_OBJ_FIRST</p></td> 592<td> </td> 593<td> </td> 594</tr> 595<tr> 596<td class="enum_member_name"><p><a name="GST-MPEG4-VIDEO-OBJ-LAST:CAPS"></a>GST_MPEG4_VIDEO_OBJ_LAST</p></td> 597<td> </td> 598<td> </td> 599</tr> 600<tr> 601<td class="enum_member_name"><p><a name="GST-MPEG4-VIDEO-LAYER-FIRST:CAPS"></a>GST_MPEG4_VIDEO_LAYER_FIRST</p></td> 602<td> </td> 603<td> </td> 604</tr> 605<tr> 606<td class="enum_member_name"><p><a name="GST-MPEG4-VIDEO-LAYER-LAST:CAPS"></a>GST_MPEG4_VIDEO_LAYER_LAST</p></td> 607<td> </td> 608<td> </td> 609</tr> 610<tr> 611<td class="enum_member_name"><p><a name="GST-MPEG4-VISUAL-OBJ-SEQ-START:CAPS"></a>GST_MPEG4_VISUAL_OBJ_SEQ_START</p></td> 612<td> </td> 613<td> </td> 614</tr> 615<tr> 616<td class="enum_member_name"><p><a name="GST-MPEG4-VISUAL-OBJ-SEQ-END:CAPS"></a>GST_MPEG4_VISUAL_OBJ_SEQ_END</p></td> 617<td> </td> 618<td> </td> 619</tr> 620<tr> 621<td class="enum_member_name"><p><a name="GST-MPEG4-USER-DATA:CAPS"></a>GST_MPEG4_USER_DATA</p></td> 622<td> </td> 623<td> </td> 624</tr> 625<tr> 626<td class="enum_member_name"><p><a name="GST-MPEG4-GROUP-OF-VOP:CAPS"></a>GST_MPEG4_GROUP_OF_VOP</p></td> 627<td> </td> 628<td> </td> 629</tr> 630<tr> 631<td class="enum_member_name"><p><a name="GST-MPEG4-VIDEO-SESSION-ERR:CAPS"></a>GST_MPEG4_VIDEO_SESSION_ERR</p></td> 632<td> </td> 633<td> </td> 634</tr> 635<tr> 636<td class="enum_member_name"><p><a name="GST-MPEG4-VISUAL-OBJ:CAPS"></a>GST_MPEG4_VISUAL_OBJ</p></td> 637<td> </td> 638<td> </td> 639</tr> 640<tr> 641<td class="enum_member_name"><p><a name="GST-MPEG4-VIDEO-OBJ-PLANE:CAPS"></a>GST_MPEG4_VIDEO_OBJ_PLANE</p></td> 642<td> </td> 643<td> </td> 644</tr> 645<tr> 646<td class="enum_member_name"><p><a name="GST-MPEG4-FBA:CAPS"></a>GST_MPEG4_FBA</p></td> 647<td> </td> 648<td> </td> 649</tr> 650<tr> 651<td class="enum_member_name"><p><a name="GST-MPEG4-FBA-PLAN:CAPS"></a>GST_MPEG4_FBA_PLAN</p></td> 652<td> </td> 653<td> </td> 654</tr> 655<tr> 656<td class="enum_member_name"><p><a name="GST-MPEG4-MESH:CAPS"></a>GST_MPEG4_MESH</p></td> 657<td> </td> 658<td> </td> 659</tr> 660<tr> 661<td class="enum_member_name"><p><a name="GST-MPEG4-MESH-PLAN:CAPS"></a>GST_MPEG4_MESH_PLAN</p></td> 662<td> </td> 663<td> </td> 664</tr> 665<tr> 666<td class="enum_member_name"><p><a name="GST-MPEG4-STILL-TEXTURE-OBJ:CAPS"></a>GST_MPEG4_STILL_TEXTURE_OBJ</p></td> 667<td> </td> 668<td> </td> 669</tr> 670<tr> 671<td class="enum_member_name"><p><a name="GST-MPEG4-TEXTURE-SPATIAL:CAPS"></a>GST_MPEG4_TEXTURE_SPATIAL</p></td> 672<td> </td> 673<td> </td> 674</tr> 675<tr> 676<td class="enum_member_name"><p><a name="GST-MPEG4-TEXTURE-SNR-LAYER:CAPS"></a>GST_MPEG4_TEXTURE_SNR_LAYER</p></td> 677<td> </td> 678<td> </td> 679</tr> 680<tr> 681<td class="enum_member_name"><p><a name="GST-MPEG4-TEXTURE-TILE:CAPS"></a>GST_MPEG4_TEXTURE_TILE</p></td> 682<td> </td> 683<td> </td> 684</tr> 685<tr> 686<td class="enum_member_name"><p><a name="GST-MPEG4-SHAPE-LAYER:CAPS"></a>GST_MPEG4_SHAPE_LAYER</p></td> 687<td> </td> 688<td> </td> 689</tr> 690<tr> 691<td class="enum_member_name"><p><a name="GST-MPEG4-STUFFING:CAPS"></a>GST_MPEG4_STUFFING</p></td> 692<td> </td> 693<td> </td> 694</tr> 695<tr> 696<td class="enum_member_name"><p><a name="GST-MPEG4-SYSTEM-FIRST:CAPS"></a>GST_MPEG4_SYSTEM_FIRST</p></td> 697<td> </td> 698<td> </td> 699</tr> 700<tr> 701<td class="enum_member_name"><p><a name="GST-MPEG4-SYSTEM-LAST:CAPS"></a>GST_MPEG4_SYSTEM_LAST</p></td> 702<td> </td> 703<td> </td> 704</tr> 705<tr> 706<td class="enum_member_name"><p><a name="GST-MPEG4-RESYNC:CAPS"></a>GST_MPEG4_RESYNC</p></td> 707<td> </td> 708<td> </td> 709</tr> 710</tbody> 711</table></div> 712</div> 713</div> 714<hr> 715<div class="refsect2"> 716<a name="GstMpeg4VisualObjectType"></a><h3>enum GstMpeg4VisualObjectType</h3> 717<p>Defines the different visual object types as 718defined in: Table 6-5 -- Meaning of visual object type</p> 719<div class="refsect3"> 720<a name="GstMpeg4VisualObjectType.members"></a><h4>Members</h4> 721<div class="informaltable"><table class="informaltable" width="100%" border="0"> 722<colgroup> 723<col width="300px" class="enum_members_name"> 724<col class="enum_members_description"> 725<col width="200px" class="enum_members_annotations"> 726</colgroup> 727<tbody> 728<tr> 729<td class="enum_member_name"><p><a name="GST-MPEG4-VIDEO-ID:CAPS"></a>GST_MPEG4_VIDEO_ID</p></td> 730<td> </td> 731<td> </td> 732</tr> 733<tr> 734<td class="enum_member_name"><p><a name="GST-MPEG4-STILL-TEXTURE-ID:CAPS"></a>GST_MPEG4_STILL_TEXTURE_ID</p></td> 735<td> </td> 736<td> </td> 737</tr> 738<tr> 739<td class="enum_member_name"><p><a name="GST-MPEG4-STILL-MESH-ID:CAPS"></a>GST_MPEG4_STILL_MESH_ID</p></td> 740<td> </td> 741<td> </td> 742</tr> 743<tr> 744<td class="enum_member_name"><p><a name="GST-MPEG4-STILL-FBA-ID:CAPS"></a>GST_MPEG4_STILL_FBA_ID</p></td> 745<td> </td> 746<td> </td> 747</tr> 748<tr> 749<td class="enum_member_name"><p><a name="GST-MPEG4-STILL-3D-MESH-ID:CAPS"></a>GST_MPEG4_STILL_3D_MESH_ID</p></td> 750<td> </td> 751<td> </td> 752</tr> 753</tbody> 754</table></div> 755</div> 756</div> 757<hr> 758<div class="refsect2"> 759<a name="GstMpeg4AspectRatioInfo"></a><h3>enum GstMpeg4AspectRatioInfo</h3> 760<p>Defines the different pixel aspect ratios as 761defined in: Table 6-12 -- Meaning of pixel aspect ratio</p> 762<div class="refsect3"> 763<a name="GstMpeg4AspectRatioInfo.members"></a><h4>Members</h4> 764<div class="informaltable"><table class="informaltable" width="100%" border="0"> 765<colgroup> 766<col width="300px" class="enum_members_name"> 767<col class="enum_members_description"> 768<col width="200px" class="enum_members_annotations"> 769</colgroup> 770<tbody> 771<tr> 772<td class="enum_member_name"><p><a name="GST-MPEG4-SQUARE:CAPS"></a>GST_MPEG4_SQUARE</p></td> 773<td class="enum_member_description"> 774<p>1:1 square</p> 775</td> 776<td class="enum_member_annotations"> </td> 777</tr> 778<tr> 779<td class="enum_member_name"><p><a name="GST-MPEG4-625-TYPE-4-3:CAPS"></a>GST_MPEG4_625_TYPE_4_3</p></td> 780<td class="enum_member_description"> 781<p>12:11 (625-type for 4:3 picture)</p> 782</td> 783<td class="enum_member_annotations"> </td> 784</tr> 785<tr> 786<td class="enum_member_name"><p><a name="GST-MPEG4-525-TYPE-4-3:CAPS"></a>GST_MPEG4_525_TYPE_4_3</p></td> 787<td class="enum_member_description"> 788<p>10:11 (525-type for 4:3 picture)</p> 789</td> 790<td class="enum_member_annotations"> </td> 791</tr> 792<tr> 793<td class="enum_member_name"><p><a name="GST-MPEG4-625-TYPE-16-9:CAPS"></a>GST_MPEG4_625_TYPE_16_9</p></td> 794<td class="enum_member_description"> 795<p>16:11 (625-type stretched for 16:9 picture)</p> 796</td> 797<td class="enum_member_annotations"> </td> 798</tr> 799<tr> 800<td class="enum_member_name"><p><a name="GST-MPEG4-525-TYPE-16-9:CAPS"></a>GST_MPEG4_525_TYPE_16_9</p></td> 801<td class="enum_member_description"> 802<p>40:33 (525-type stretched for 16:9 picture)</p> 803</td> 804<td class="enum_member_annotations"> </td> 805</tr> 806<tr> 807<td class="enum_member_name"><p><a name="GST-MPEG4-EXTENDED-PAR:CAPS"></a>GST_MPEG4_EXTENDED_PAR</p></td> 808<td class="enum_member_description"> 809<p>Extended par</p> 810</td> 811<td class="enum_member_annotations"> </td> 812</tr> 813</tbody> 814</table></div> 815</div> 816</div> 817<hr> 818<div class="refsect2"> 819<a name="GstMpeg4ParseResult"></a><h3>enum GstMpeg4ParseResult</h3> 820<p>Result type of any parsing function.</p> 821<div class="refsect3"> 822<a name="GstMpeg4ParseResult.members"></a><h4>Members</h4> 823<div class="informaltable"><table class="informaltable" width="100%" border="0"> 824<colgroup> 825<col width="300px" class="enum_members_name"> 826<col class="enum_members_description"> 827<col width="200px" class="enum_members_annotations"> 828</colgroup> 829<tbody> 830<tr> 831<td class="enum_member_name"><p><a name="GST-MPEG4-PARSER-OK:CAPS"></a>GST_MPEG4_PARSER_OK</p></td> 832<td class="enum_member_description"> 833<p>The parsing went well</p> 834</td> 835<td class="enum_member_annotations"> </td> 836</tr> 837<tr> 838<td class="enum_member_name"><p><a name="GST-MPEG4-PARSER-BROKEN-DATA:CAPS"></a>GST_MPEG4_PARSER_BROKEN_DATA</p></td> 839<td class="enum_member_description"> 840<p>The bitstream was broken</p> 841</td> 842<td class="enum_member_annotations"> </td> 843</tr> 844<tr> 845<td class="enum_member_name"><p><a name="GST-MPEG4-PARSER-NO-PACKET:CAPS"></a>GST_MPEG4_PARSER_NO_PACKET</p></td> 846<td class="enum_member_description"> 847<p>There was no packet in the buffer</p> 848</td> 849<td class="enum_member_annotations"> </td> 850</tr> 851<tr> 852<td class="enum_member_name"><p><a name="GST-MPEG4-PARSER-NO-PACKET-END:CAPS"></a>GST_MPEG4_PARSER_NO_PACKET_END</p></td> 853<td class="enum_member_description"> 854<p>There was no packet end in the buffer</p> 855</td> 856<td class="enum_member_annotations"> </td> 857</tr> 858<tr> 859<td class="enum_member_name"><p><a name="GST-MPEG4-PARSER-ERROR:CAPS"></a>GST_MPEG4_PARSER_ERROR</p></td> 860<td> </td> 861<td> </td> 862</tr> 863</tbody> 864</table></div> 865</div> 866</div> 867<hr> 868<div class="refsect2"> 869<a name="GstMpeg4VideoObjectCodingType"></a><h3>enum GstMpeg4VideoObjectCodingType</h3> 870<p>The vop coding types as defined in: 871Table 6-20 -- Meaning of vop_coding_type</p> 872<div class="refsect3"> 873<a name="GstMpeg4VideoObjectCodingType.members"></a><h4>Members</h4> 874<div class="informaltable"><table class="informaltable" width="100%" border="0"> 875<colgroup> 876<col width="300px" class="enum_members_name"> 877<col class="enum_members_description"> 878<col width="200px" class="enum_members_annotations"> 879</colgroup> 880<tbody> 881<tr> 882<td class="enum_member_name"><p><a name="GST-MPEG4-I-VOP:CAPS"></a>GST_MPEG4_I_VOP</p></td> 883<td class="enum_member_description"> 884<p>intra-coded (I)</p> 885</td> 886<td class="enum_member_annotations"> </td> 887</tr> 888<tr> 889<td class="enum_member_name"><p><a name="GST-MPEG4-P-VOP:CAPS"></a>GST_MPEG4_P_VOP</p></td> 890<td class="enum_member_description"> 891<p>predictive-coded (P)</p> 892</td> 893<td class="enum_member_annotations"> </td> 894</tr> 895<tr> 896<td class="enum_member_name"><p><a name="GST-MPEG4-B-VOP:CAPS"></a>GST_MPEG4_B_VOP</p></td> 897<td class="enum_member_description"> 898<p>bidirectionally-predictive-coded (B)</p> 899</td> 900<td class="enum_member_annotations"> </td> 901</tr> 902<tr> 903<td class="enum_member_name"><p><a name="GST-MPEG4-S-VOP:CAPS"></a>GST_MPEG4_S_VOP</p></td> 904<td class="enum_member_description"> 905<p>sprite (S)</p> 906</td> 907<td class="enum_member_annotations"> </td> 908</tr> 909</tbody> 910</table></div> 911</div> 912</div> 913<hr> 914<div class="refsect2"> 915<a name="GstMpeg4ChromaFormat"></a><h3>enum GstMpeg4ChromaFormat</h3> 916<p>The chroma format in use as 917defined in: Table 6-13 -- Meaning of chroma_format</p> 918<div class="refsect3"> 919<a name="GstMpeg4ChromaFormat.members"></a><h4>Members</h4> 920<div class="informaltable"><table class="informaltable" width="100%" border="0"> 921<colgroup> 922<col width="300px" class="enum_members_name"> 923<col class="enum_members_description"> 924<col width="200px" class="enum_members_annotations"> 925</colgroup> 926<tbody><tr> 927<td class="enum_member_name"><p><a name="GST-MPEG4-CHROMA-4-2-0:CAPS"></a>GST_MPEG4_CHROMA_4_2_0</p></td> 928<td> </td> 929<td> </td> 930</tr></tbody> 931</table></div> 932</div> 933</div> 934<hr> 935<div class="refsect2"> 936<a name="GstMpeg4VideoObjectLayerShape"></a><h3>enum GstMpeg4VideoObjectLayerShape</h3> 937<p>The different video object layer shapes as defined in: 938Table 6-16 — Video Object Layer shape type</p> 939<div class="refsect3"> 940<a name="GstMpeg4VideoObjectLayerShape.members"></a><h4>Members</h4> 941<div class="informaltable"><table class="informaltable" width="100%" border="0"> 942<colgroup> 943<col width="300px" class="enum_members_name"> 944<col class="enum_members_description"> 945<col width="200px" class="enum_members_annotations"> 946</colgroup> 947<tbody> 948<tr> 949<td class="enum_member_name"><p><a name="GST-MPEG4-RECTANGULAR:CAPS"></a>GST_MPEG4_RECTANGULAR</p></td> 950<td> </td> 951<td> </td> 952</tr> 953<tr> 954<td class="enum_member_name"><p><a name="GST-MPEG4-BINARY:CAPS"></a>GST_MPEG4_BINARY</p></td> 955<td> </td> 956<td> </td> 957</tr> 958<tr> 959<td class="enum_member_name"><p><a name="GST-MPEG4-BINARY-ONLY:CAPS"></a>GST_MPEG4_BINARY_ONLY</p></td> 960<td> </td> 961<td> </td> 962</tr> 963<tr> 964<td class="enum_member_name"><p><a name="GST-MPEG4-GRAYSCALE:CAPS"></a>GST_MPEG4_GRAYSCALE</p></td> 965<td> </td> 966<td> </td> 967</tr> 968</tbody> 969</table></div> 970</div> 971</div> 972<hr> 973<div class="refsect2"> 974<a name="GstMpeg4SpriteEnable"></a><h3>enum GstMpeg4SpriteEnable</h3> 975<p>Indicates the usage of static sprite coding 976or global motion compensation (GMC) as defined in: 977Table V2 - 2 -- Meaning of sprite_enable codewords</p> 978<div class="refsect3"> 979<a name="GstMpeg4SpriteEnable.members"></a><h4>Members</h4> 980<div class="informaltable"><table class="informaltable" width="100%" border="0"> 981<colgroup> 982<col width="300px" class="enum_members_name"> 983<col class="enum_members_description"> 984<col width="200px" class="enum_members_annotations"> 985</colgroup> 986<tbody> 987<tr> 988<td class="enum_member_name"><p><a name="GST-MPEG4-SPRITE-UNUSED:CAPS"></a>GST_MPEG4_SPRITE_UNUSED</p></td> 989<td> </td> 990<td> </td> 991</tr> 992<tr> 993<td class="enum_member_name"><p><a name="GST-MPEG4-SPRITE-STATIC:CAPS"></a>GST_MPEG4_SPRITE_STATIC</p></td> 994<td> </td> 995<td> </td> 996</tr> 997<tr> 998<td class="enum_member_name"><p><a name="GST-MPEG4-SPRITE-GMG:CAPS"></a>GST_MPEG4_SPRITE_GMG</p></td> 999<td> </td> 1000<td> </td> 1001</tr> 1002</tbody> 1003</table></div> 1004</div> 1005</div> 1006<hr> 1007<div class="refsect2"> 1008<a name="GstMpeg4Profile"></a><h3>enum GstMpeg4Profile</h3> 1009<p>Different defined profiles as defined in: 10109- Profiles and levels</p> 1011<p>It is computed using: 1012Table G.1 — FLC table for profile_and_level_indication</p> 1013<div class="refsect3"> 1014<a name="GstMpeg4Profile.members"></a><h4>Members</h4> 1015<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1016<colgroup> 1017<col width="300px" class="enum_members_name"> 1018<col class="enum_members_description"> 1019<col width="200px" class="enum_members_annotations"> 1020</colgroup> 1021<tbody> 1022<tr> 1023<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-CORE:CAPS"></a>GST_MPEG4_PROFILE_CORE</p></td> 1024<td> </td> 1025<td> </td> 1026</tr> 1027<tr> 1028<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-MAIN:CAPS"></a>GST_MPEG4_PROFILE_MAIN</p></td> 1029<td> </td> 1030<td> </td> 1031</tr> 1032<tr> 1033<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-N-BIT:CAPS"></a>GST_MPEG4_PROFILE_N_BIT</p></td> 1034<td> </td> 1035<td> </td> 1036</tr> 1037<tr> 1038<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-SIMPLE:CAPS"></a>GST_MPEG4_PROFILE_SIMPLE</p></td> 1039<td> </td> 1040<td> </td> 1041</tr> 1042<tr> 1043<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-HYBRID:CAPS"></a>GST_MPEG4_PROFILE_HYBRID</p></td> 1044<td> </td> 1045<td> </td> 1046</tr> 1047<tr> 1048<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-RESERVED:CAPS"></a>GST_MPEG4_PROFILE_RESERVED</p></td> 1049<td> </td> 1050<td> </td> 1051</tr> 1052<tr> 1053<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-SIMPLE-FBA:CAPS"></a>GST_MPEG4_PROFILE_SIMPLE_FBA</p></td> 1054<td> </td> 1055<td> </td> 1056</tr> 1057<tr> 1058<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-CORE-STUDIO:CAPS"></a>GST_MPEG4_PROFILE_CORE_STUDIO</p></td> 1059<td> </td> 1060<td> </td> 1061</tr> 1062<tr> 1063<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-SIMPLE-STUDIO:CAPS"></a>GST_MPEG4_PROFILE_SIMPLE_STUDIO</p></td> 1064<td> </td> 1065<td> </td> 1066</tr> 1067<tr> 1068<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-CORE-SCALABLE:CAPS"></a>GST_MPEG4_PROFILE_CORE_SCALABLE</p></td> 1069<td> </td> 1070<td> </td> 1071</tr> 1072<tr> 1073<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-ADVANCED-CORE:CAPS"></a>GST_MPEG4_PROFILE_ADVANCED_CORE</p></td> 1074<td> </td> 1075<td> </td> 1076</tr> 1077<tr> 1078<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-ADVANCED-SIMPLE:CAPS"></a>GST_MPEG4_PROFILE_ADVANCED_SIMPLE</p></td> 1079<td> </td> 1080<td> </td> 1081</tr> 1082<tr> 1083<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-SIMPLE-SCALABLE:CAPS"></a>GST_MPEG4_PROFILE_SIMPLE_SCALABLE</p></td> 1084<td> </td> 1085<td> </td> 1086</tr> 1087<tr> 1088<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-SCALABLE-TEXTURE:CAPS"></a>GST_MPEG4_PROFILE_SCALABLE_TEXTURE</p></td> 1089<td> </td> 1090<td> </td> 1091</tr> 1092<tr> 1093<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-SIMPLE-FACE-ANIMATION:CAPS"></a>GST_MPEG4_PROFILE_SIMPLE_FACE_ANIMATION</p></td> 1094<td> </td> 1095<td> </td> 1096</tr> 1097<tr> 1098<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-BASIC-ANIMATED-TEXTURE:CAPS"></a>GST_MPEG4_PROFILE_BASIC_ANIMATED_TEXTURE</p></td> 1099<td> </td> 1100<td> </td> 1101</tr> 1102<tr> 1103<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-ADVANCED-REALTIME-SIMPLE:CAPS"></a>GST_MPEG4_PROFILE_ADVANCED_REALTIME_SIMPLE</p></td> 1104<td> </td> 1105<td> </td> 1106</tr> 1107<tr> 1108<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-ADVANCED-SCALABLE-TEXTURE:CAPS"></a>GST_MPEG4_PROFILE_ADVANCED_SCALABLE_TEXTURE</p></td> 1109<td> </td> 1110<td> </td> 1111</tr> 1112<tr> 1113<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-FINE-GRANULARITY-SCALABLE:CAPS"></a>GST_MPEG4_PROFILE_FINE_GRANULARITY_SCALABLE</p></td> 1114<td> </td> 1115<td> </td> 1116</tr> 1117<tr> 1118<td class="enum_member_name"><p><a name="GST-MPEG4-PROFILE-ADVANCED-CODING-EFFICIENCY:CAPS"></a>GST_MPEG4_PROFILE_ADVANCED_CODING_EFFICIENCY</p></td> 1119<td> </td> 1120<td> </td> 1121</tr> 1122</tbody> 1123</table></div> 1124</div> 1125</div> 1126<hr> 1127<div class="refsect2"> 1128<a name="GstMpeg4Level"></a><h3>enum GstMpeg4Level</h3> 1129<p>Different levels as defined in: 11309- Profiles and levels</p> 1131<p>It is computed using: 1132Table G.1 — FLC table for profile_and_level_indication</p> 1133<div class="refsect3"> 1134<a name="GstMpeg4Level.members"></a><h4>Members</h4> 1135<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1136<colgroup> 1137<col width="300px" class="enum_members_name"> 1138<col class="enum_members_description"> 1139<col width="200px" class="enum_members_annotations"> 1140</colgroup> 1141<tbody> 1142<tr> 1143<td class="enum_member_name"><p><a name="GST-MPEG4-LEVEL0:CAPS"></a>GST_MPEG4_LEVEL0</p></td> 1144<td> </td> 1145<td> </td> 1146</tr> 1147<tr> 1148<td class="enum_member_name"><p><a name="GST-MPEG4-LEVEL1:CAPS"></a>GST_MPEG4_LEVEL1</p></td> 1149<td> </td> 1150<td> </td> 1151</tr> 1152<tr> 1153<td class="enum_member_name"><p><a name="GST-MPEG4-LEVEL2:CAPS"></a>GST_MPEG4_LEVEL2</p></td> 1154<td> </td> 1155<td> </td> 1156</tr> 1157<tr> 1158<td class="enum_member_name"><p><a name="GST-MPEG4-LEVEL3:CAPS"></a>GST_MPEG4_LEVEL3</p></td> 1159<td> </td> 1160<td> </td> 1161</tr> 1162<tr> 1163<td class="enum_member_name"><p><a name="GST-MPEG4-LEVEL3b"></a>GST_MPEG4_LEVEL3b</p></td> 1164<td> </td> 1165<td> </td> 1166</tr> 1167<tr> 1168<td class="enum_member_name"><p><a name="GST-MPEG4-LEVEL4:CAPS"></a>GST_MPEG4_LEVEL4</p></td> 1169<td> </td> 1170<td> </td> 1171</tr> 1172<tr> 1173<td class="enum_member_name"><p><a name="GST-MPEG4-LEVEL5:CAPS"></a>GST_MPEG4_LEVEL5</p></td> 1174<td> </td> 1175<td> </td> 1176</tr> 1177<tr> 1178<td class="enum_member_name"><p><a name="GST-MPEG4-LEVEL-RESERVED:CAPS"></a>GST_MPEG4_LEVEL_RESERVED</p></td> 1179<td> </td> 1180<td> </td> 1181</tr> 1182</tbody> 1183</table></div> 1184</div> 1185</div> 1186<hr> 1187<div class="refsect2"> 1188<a name="GstMpeg4VisualObjectSequence"></a><h3>struct GstMpeg4VisualObjectSequence</h3> 1189<pre class="programlisting">struct GstMpeg4VisualObjectSequence { 1190 guint8 profile_and_level_indication; 1191 1192 /* Computed according to: 1193 * Table G.1 — FLC table for profile_and_level_indication */ 1194 GstMpeg4Level level; 1195 GstMpeg4Profile profile; 1196}; 1197</pre> 1198<p>The visual object sequence structure as defined in: 11996.2.2 Visual Object Sequence and Visual Object</p> 1200</div> 1201<hr> 1202<div class="refsect2"> 1203<a name="GstMpeg4VisualObject"></a><h3>struct GstMpeg4VisualObject</h3> 1204<pre class="programlisting">struct GstMpeg4VisualObject { 1205 guint8 is_identifier; 1206 /* If is_identifier */ 1207 guint8 verid; 1208 guint8 priority; 1209 1210 GstMpeg4VisualObjectType type; 1211}; 1212</pre> 1213<p>The visual object structure as defined in: 12146.2.2 Visual Object Sequence and Visual Object</p> 1215</div> 1216<hr> 1217<div class="refsect2"> 1218<a name="GstMpeg4VideoSignalType"></a><h3>struct GstMpeg4VideoSignalType</h3> 1219<pre class="programlisting">struct GstMpeg4VideoSignalType { 1220 guint8 type; 1221 1222 guint8 format; 1223 guint8 range; 1224 guint8 color_description; 1225 guint8 color_primaries; 1226 guint8 transfer_characteristics; 1227 guint8 matrix_coefficients; 1228}; 1229</pre> 1230<p>The video signal type structure as defined in: 12316.2.2 Visual Object Sequence and Visual Object.</p> 1232</div> 1233<hr> 1234<div class="refsect2"> 1235<a name="GstMpeg4VideoPlaneShortHdr"></a><h3>struct GstMpeg4VideoPlaneShortHdr</h3> 1236<pre class="programlisting">struct GstMpeg4VideoPlaneShortHdr { 1237 guint8 temporal_reference; 1238 guint8 split_screen_indicator; 1239 guint8 document_camera_indicator; 1240 guint8 full_picture_freeze_release; 1241 guint8 source_format; 1242 guint8 picture_coding_type; 1243 guint8 vop_quant; 1244 guint8 pei; 1245 guint8 psupp; 1246 1247 /* Gob layer specific fields */ 1248 guint8 gob_header_empty; 1249 guint8 gob_number; 1250 guint8 gob_frame_id; 1251 guint8 quant_scale; 1252 1253 /* Computed 1254 * If all the values are set to 0, then it is reserved 1255 * Table 6-25 -- Parameters Defined by source_format Field 1256 */ 1257 guint16 vop_width; 1258 guint16 vop_height; 1259 guint16 num_macroblocks_in_gob; 1260 guint8 num_gobs_in_vop; 1261 1262 /* The size in bits */ 1263 guint size; 1264}; 1265</pre> 1266<p>The video plane short header structure as defined in: 12676.2.5.2 Video Plane with Short Header</p> 1268</div> 1269<hr> 1270<div class="refsect2"> 1271<a name="GstMpeg4VideoObjectLayer"></a><h3>struct GstMpeg4VideoObjectLayer</h3> 1272<pre class="programlisting">struct GstMpeg4VideoObjectLayer { 1273 guint8 random_accessible_vol; 1274 guint8 video_object_type_indication; 1275 1276 guint8 is_object_layer_identifier; 1277 /* if is_object_layer_identifier */ 1278 guint8 verid; 1279 guint8 priority; 1280 1281 GstMpeg4AspectRatioInfo aspect_ratio_info; 1282 guint8 par_width; 1283 guint8 par_height; 1284 1285 guint8 control_parameters; 1286 /* if control_parameters */ 1287 GstMpeg4ChromaFormat chroma_format; 1288 guint8 low_delay; 1289 guint8 vbv_parameters; 1290 /* if vbv_parameters */ 1291 guint16 first_half_bitrate; 1292 guint16 latter_half_bitrate; 1293 guint16 first_half_vbv_buffer_size; 1294 guint16 latter_half_vbv_buffer_size; 1295 guint16 first_half_vbv_occupancy; 1296 guint16 latter_half_vbv_occupancy; 1297 1298 /* Computed values */ 1299 guint32 bit_rate; 1300 guint32 vbv_buffer_size; 1301 1302 GstMpeg4VideoObjectLayerShape shape; 1303 /* if shape == GST_MPEG4_GRAYSCALE && verid =! 1 */ 1304 guint8 shape_extension; 1305 1306 guint16 vop_time_increment_resolution; 1307 guint8 vop_time_increment_bits; 1308 guint8 fixed_vop_rate; 1309 /* if fixed_vop_rate */ 1310 guint16 fixed_vop_time_increment; 1311 1312 guint16 width; 1313 guint16 height; 1314 guint8 interlaced; 1315 guint8 obmc_disable; 1316 1317 GstMpeg4SpriteEnable sprite_enable; 1318 /* if vol->sprite_enable == SPRITE_GMG or SPRITE_STATIC*/ 1319 /* if vol->sprite_enable != GST_MPEG4_SPRITE_GMG */ 1320 guint16 sprite_width; 1321 guint16 sprite_height; 1322 guint16 sprite_left_coordinate; 1323 guint16 sprite_top_coordinate; 1324 1325 guint8 no_of_sprite_warping_points; 1326 guint8 sprite_warping_accuracy; 1327 guint8 sprite_brightness_change; 1328 /* if vol->sprite_enable != GST_MPEG4_SPRITE_GMG */ 1329 guint8 low_latency_sprite_enable; 1330 1331 /* if shape != GST_MPEG4_RECTANGULAR */ 1332 guint8 sadct_disable; 1333 1334 guint8 not_8_bit; 1335 1336 /* if no_8_bit */ 1337 guint8 quant_precision; 1338 guint8 bits_per_pixel; 1339 1340 /* if shape == GRAYSCALE */ 1341 guint8 no_gray_quant_update; 1342 guint8 composition_method; 1343 guint8 linear_composition; 1344 1345 guint8 quant_type; 1346 /* if quant_type */ 1347 guint8 load_intra_quant_mat; 1348 guint8 intra_quant_mat[64]; 1349 guint8 load_non_intra_quant_mat; 1350 guint8 non_intra_quant_mat[64]; 1351 1352 guint8 quarter_sample; 1353 guint8 complexity_estimation_disable; 1354 guint8 resync_marker_disable; 1355 guint8 data_partitioned; 1356 guint8 reversible_vlc; 1357 guint8 newpred_enable; 1358 guint8 reduced_resolution_vop_enable; 1359 guint8 scalability; 1360 guint8 enhancement_type; 1361 1362 GstMpeg4VideoPlaneShortHdr short_hdr; 1363}; 1364</pre> 1365<p>The video object layer structure as defined in: 13666.2.3 Video Object Layer</p> 1367</div> 1368<hr> 1369<div class="refsect2"> 1370<a name="GstMpeg4SpriteTrajectory"></a><h3>struct GstMpeg4SpriteTrajectory</h3> 1371<pre class="programlisting">struct GstMpeg4SpriteTrajectory { 1372 guint16 vop_ref_points[63]; /* Defined as "du" in 6.2.5.4 */ 1373 guint16 sprite_ref_points[63]; /* Defined as "dv" in 6.2.5.4 */ 1374}; 1375</pre> 1376<p>The sprite trajectory structure as defined in: 13777.8.4 Sprite reference point decoding and 13786.2.5.4 Sprite coding</p> 1379</div> 1380<hr> 1381<div class="refsect2"> 1382<a name="GstMpeg4GroupOfVOP"></a><h3>struct GstMpeg4GroupOfVOP</h3> 1383<pre class="programlisting">struct GstMpeg4GroupOfVOP { 1384 guint8 hours; 1385 guint8 minutes; 1386 guint8 seconds; 1387 1388 guint8 closed; 1389 guint8 broken_link; 1390}; 1391</pre> 1392<p>The group of video object plane structure as defined in: 13936.2.4 Group of Video Object Plane</p> 1394</div> 1395<hr> 1396<div class="refsect2"> 1397<a name="GstMpeg4VideoObjectPlane"></a><h3>struct GstMpeg4VideoObjectPlane</h3> 1398<pre class="programlisting">struct GstMpeg4VideoObjectPlane { 1399 GstMpeg4VideoObjectCodingType coding_type; 1400 1401 guint8 modulo_time_base; 1402 guint16 time_increment; 1403 1404 guint8 coded; 1405 /* if newpred_enable */ 1406 guint16 id; 1407 guint8 id_for_prediction_indication; 1408 guint16 id_for_prediction; 1409 1410 guint16 width; 1411 guint16 height; 1412 guint16 horizontal_mc_spatial_ref; 1413 guint16 vertical_mc_spatial_ref; 1414 1415 guint8 rounding_type; 1416 /*if vol->shape != GST_MPEG4_RECTANGULAR */ 1417 guint8 background_composition; 1418 guint8 change_conv_ratio_disable; 1419 guint8 constant_alpha; 1420 guint8 constant_alpha_value; 1421 guint8 reduced_resolution; 1422 1423 guint8 intra_dc_vlc_thr; 1424 1425 1426 guint8 top_field_first; 1427 guint8 alternate_vertical_scan_flag; 1428 1429 guint16 quant; 1430 1431 guint8 fcode_forward; 1432 guint8 fcode_backward; 1433 1434 guint8 shape_coding_type; 1435 guint8 load_backward_shape; 1436 guint8 ref_select_code; 1437 1438 /* Computed macroblock informations */ 1439 guint16 mb_height; 1440 guint16 mb_width; 1441 guint mb_num; 1442 1443 /* The size of the header */ 1444 guint size; 1445}; 1446</pre> 1447<p>The Video object plane structure as defined in: 14486.2.5 Video Object Plane and Video Plane with Short Header</p> 1449</div> 1450<hr> 1451<div class="refsect2"> 1452<a name="GstMpeg4Packet"></a><h3>struct GstMpeg4Packet</h3> 1453<pre class="programlisting">struct GstMpeg4Packet { 1454 const guint8 *data; 1455 guint offset; 1456 gsize size; 1457 guint marker_size; 1458 1459 GstMpeg4StartCode type; 1460}; 1461</pre> 1462<p>A structure that contains the type of a packet, its offset and its size</p> 1463<div class="refsect3"> 1464<a name="GstMpeg4Packet.members"></a><h4>Members</h4> 1465<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1466<colgroup> 1467<col width="300px" class="struct_members_name"> 1468<col class="struct_members_description"> 1469<col width="200px" class="struct_members_annotations"> 1470</colgroup> 1471<tbody> 1472<tr> 1473<td class="struct_member_name"><p>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *<em class="structfield"><code><a name="GstMpeg4Packet.data"></a>data</code></em>;</p></td> 1474<td class="struct_member_description"><p>the data containing packet starting at <em class="parameter"><code>offset</code></em> 1475</p></td> 1476<td class="struct_member_annotations"> </td> 1477</tr> 1478<tr> 1479<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstMpeg4Packet.offset"></a>offset</code></em>;</p></td> 1480<td class="struct_member_description"><p>offset of the start of the packet (without the 3 bytes startcode), but 1481including the <a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4StartCode" title="enum GstMpeg4StartCode"><span class="type">GstMpeg4StartCode</span></a> byte.</p></td> 1482<td class="struct_member_annotations"> </td> 1483</tr> 1484<tr> 1485<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GstMpeg4Packet.size"></a>size</code></em>;</p></td> 1486<td class="struct_member_description"><p>The size in bytes of the packet or <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#G-MAXUINT:CAPS"><code class="literal">G_MAXUINT</code></a> if the end wasn't found.</p></td> 1487<td class="struct_member_annotations"> </td> 1488</tr> 1489<tr> 1490<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstMpeg4Packet.marker-size"></a>marker_size</code></em>;</p></td> 1491<td class="struct_member_description"><p>The size in bit of the resync marker.</p></td> 1492<td class="struct_member_annotations"> </td> 1493</tr> 1494<tr> 1495<td class="struct_member_name"><p><a class="link" href="gst-plugins-bad-libs-mpeg4parser.html#GstMpeg4StartCode" title="enum GstMpeg4StartCode"><span class="type">GstMpeg4StartCode</span></a> <em class="structfield"><code><a name="GstMpeg4Packet.type"></a>type</code></em>;</p></td> 1496<td class="struct_member_description"><p>the type of the packet that start at <em class="parameter"><code>offset</code></em> 1497</p></td> 1498<td class="struct_member_annotations"> </td> 1499</tr> 1500</tbody> 1501</table></div> 1502</div> 1503</div> 1504<hr> 1505<div class="refsect2"> 1506<a name="GstMpeg4VideoPacketHdr"></a><h3>struct GstMpeg4VideoPacketHdr</h3> 1507<pre class="programlisting">struct GstMpeg4VideoPacketHdr { 1508 guint8 header_extension_code; 1509 guint16 macroblock_number; 1510 guint16 quant_scale; 1511 guint size; 1512}; 1513</pre> 1514<p>The video packet header structure as defined in: 15156.2.5.2 Video Plane with Short Header</p> 1516<div class="refsect3"> 1517<a name="GstMpeg4VideoPacketHdr.members"></a><h4>Members</h4> 1518<div class="informaltable"><table class="informaltable" width="100%" border="0"> 1519<colgroup> 1520<col width="300px" class="struct_members_name"> 1521<col class="struct_members_description"> 1522<col width="200px" class="struct_members_annotations"> 1523</colgroup> 1524<tbody> 1525<tr> 1526<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="GstMpeg4VideoPacketHdr.header-extension-code"></a>header_extension_code</code></em>;</p></td> 1527<td> </td> 1528<td> </td> 1529</tr> 1530<tr> 1531<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GstMpeg4VideoPacketHdr.macroblock-number"></a>macroblock_number</code></em>;</p></td> 1532<td> </td> 1533<td> </td> 1534</tr> 1535<tr> 1536<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GstMpeg4VideoPacketHdr.quant-scale"></a>quant_scale</code></em>;</p></td> 1537<td> </td> 1538<td> </td> 1539</tr> 1540<tr> 1541<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstMpeg4VideoPacketHdr.size"></a>size</code></em>;</p></td> 1542<td class="struct_member_description"><p>Size of the header in bit.</p></td> 1543<td class="struct_member_annotations"> </td> 1544</tr> 1545</tbody> 1546</table></div> 1547</div> 1548</div> 1549</div> 1550</div> 1551<div class="footer"> 1552<hr>Generated by GTK-Doc V1.28</div> 1553</body> 1554</html>