• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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>GstMpegvideoParser: 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-jpegparser.html" title="GstJpegParser">
10<link rel="next" href="gst-plugins-bad-libs-mpeg4parser.html" title="GstMpeg4Parser">
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">|</span18                  <a href="#gst-plugins-bad-libs-mpegvideoparser.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-jpegparser.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-mpeg4parser.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-mpegvideoparser"></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-mpegvideoparser.top_of_page"></a>GstMpegvideoParser</span></h2>
30<p>GstMpegvideoParser — Convenience library for mpeg1 and 2 video
31bitstream parsing.</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-mpegvideoparser.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 href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
46</td>
47<td class="function_name">
48<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse" title="gst_mpeg_video_parse ()">gst_mpeg_video_parse</a> <span class="c_punctuation">()</span>
49</td>
50</tr>
51<tr>
52<td class="function_type">
53<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
54</td>
55<td class="function_name">
56<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-packet-parse-sequence-header" title="gst_mpeg_video_packet_parse_sequence_header ()">gst_mpeg_video_packet_parse_sequence_header</a> <span class="c_punctuation">()</span>
57</td>
58</tr>
59<tr>
60<td class="function_type">
61<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
62</td>
63<td class="function_name">
64<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-packet-parse-sequence-extension" title="gst_mpeg_video_packet_parse_sequence_extension ()">gst_mpeg_video_packet_parse_sequence_extension</a> <span class="c_punctuation">()</span>
65</td>
66</tr>
67<tr>
68<td class="function_type">
69<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
70</td>
71<td class="function_name">
72<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-packet-parse-sequence-display-extension" title="gst_mpeg_video_packet_parse_sequence_display_extension ()">gst_mpeg_video_packet_parse_sequence_display_extension</a> <span class="c_punctuation">()</span>
73</td>
74</tr>
75<tr>
76<td class="function_type">
77<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
78</td>
79<td class="function_name">
80<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-packet-parse-sequence-scalable-extension" title="gst_mpeg_video_packet_parse_sequence_scalable_extension ()">gst_mpeg_video_packet_parse_sequence_scalable_extension</a> <span class="c_punctuation">()</span>
81</td>
82</tr>
83<tr>
84<td class="function_type">
85<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
86</td>
87<td class="function_name">
88<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-packet-parse-picture-header" title="gst_mpeg_video_packet_parse_picture_header ()">gst_mpeg_video_packet_parse_picture_header</a> <span class="c_punctuation">()</span>
89</td>
90</tr>
91<tr>
92<td class="function_type">
93<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
94</td>
95<td class="function_name">
96<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-packet-parse-picture-extension" title="gst_mpeg_video_packet_parse_picture_extension ()">gst_mpeg_video_packet_parse_picture_extension</a> <span class="c_punctuation">()</span>
97</td>
98</tr>
99<tr>
100<td class="function_type">
101<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
102</td>
103<td class="function_name">
104<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-packet-parse-gop" title="gst_mpeg_video_packet_parse_gop ()">gst_mpeg_video_packet_parse_gop</a> <span class="c_punctuation">()</span>
105</td>
106</tr>
107<tr>
108<td class="function_type">
109<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
110</td>
111<td class="function_name">
112<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-packet-parse-slice-header" title="gst_mpeg_video_packet_parse_slice_header ()">gst_mpeg_video_packet_parse_slice_header</a> <span class="c_punctuation">()</span>
113</td>
114</tr>
115<tr>
116<td class="function_type">
117<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
118</td>
119<td class="function_name">
120<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-packet-parse-quant-matrix-extension" title="gst_mpeg_video_packet_parse_quant_matrix_extension ()">gst_mpeg_video_packet_parse_quant_matrix_extension</a> <span class="c_punctuation">()</span>
121</td>
122</tr>
123<tr>
124<td class="function_type">
125<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
126</td>
127<td class="function_name">
128<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-finalise-mpeg2-sequence-header" title="gst_mpeg_video_finalise_mpeg2_sequence_header ()">gst_mpeg_video_finalise_mpeg2_sequence_header</a> <span class="c_punctuation">()</span>
129</td>
130</tr>
131<tr>
132<td class="function_type">
133<span class="returnvalue">void</span>
134</td>
135<td class="function_name">
136<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-quant-matrix-get-raster-from-zigzag" title="gst_mpeg_video_quant_matrix_get_raster_from_zigzag ()">gst_mpeg_video_quant_matrix_get_raster_from_zigzag</a> <span class="c_punctuation">()</span>
137</td>
138</tr>
139<tr>
140<td class="function_type">
141<span class="returnvalue">void</span>
142</td>
143<td class="function_name">
144<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-quant-matrix-get-zigzag-from-raster" title="gst_mpeg_video_quant_matrix_get_zigzag_from_raster ()">gst_mpeg_video_quant_matrix_get_zigzag_from_raster</a> <span class="c_punctuation">()</span>
145</td>
146</tr>
147</tbody>
148</table></div>
149</div>
150<div class="refsect1">
151<a name="gst-plugins-bad-libs-mpegvideoparser.other"></a><h2>Types and Values</h2>
152<div class="informaltable"><table class="informaltable" width="100%" border="0">
153<colgroup>
154<col width="150px" class="name">
155<col class="description">
156</colgroup>
157<tbody>
158<tr>
159<td class="datatype_keyword">enum</td>
160<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPacketTypeCode" title="enum GstMpegVideoPacketTypeCode">GstMpegVideoPacketTypeCode</a></td>
161</tr>
162<tr>
163<td class="datatype_keyword">enum</td>
164<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPacketExtensionCode" title="enum GstMpegVideoPacketExtensionCode">GstMpegVideoPacketExtensionCode</a></td>
165</tr>
166<tr>
167<td class="datatype_keyword">enum</td>
168<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoLevel" title="enum GstMpegVideoLevel">GstMpegVideoLevel</a></td>
169</tr>
170<tr>
171<td class="datatype_keyword">enum</td>
172<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoProfile" title="enum GstMpegVideoProfile">GstMpegVideoProfile</a></td>
173</tr>
174<tr>
175<td class="datatype_keyword">enum</td>
176<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureType" title="enum GstMpegVideoPictureType">GstMpegVideoPictureType</a></td>
177</tr>
178<tr>
179<td class="datatype_keyword">enum</td>
180<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureStructure" title="enum GstMpegVideoPictureStructure">GstMpegVideoPictureStructure</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-mpegvideoparser.html#GstMpegVideoSequenceHdr" title="struct GstMpegVideoSequenceHdr">GstMpegVideoSequenceHdr</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-mpegvideoparser.html#GstMpegVideoSequenceExt" title="struct GstMpegVideoSequenceExt">GstMpegVideoSequenceExt</a></td>
189</tr>
190<tr>
191<td class="datatype_keyword">struct</td>
192<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureHdr" title="struct GstMpegVideoPictureHdr">GstMpegVideoPictureHdr</a></td>
193</tr>
194<tr>
195<td class="datatype_keyword">struct</td>
196<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoGop" title="struct GstMpegVideoGop">GstMpegVideoGop</a></td>
197</tr>
198<tr>
199<td class="datatype_keyword">struct</td>
200<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureExt" title="struct GstMpegVideoPictureExt">GstMpegVideoPictureExt</a></td>
201</tr>
202<tr>
203<td class="datatype_keyword">struct</td>
204<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoQuantMatrixExt" title="struct GstMpegVideoQuantMatrixExt">GstMpegVideoQuantMatrixExt</a></td>
205</tr>
206</tbody>
207</table></div>
208</div>
209<div class="refsect1">
210<a name="gst-plugins-bad-libs-mpegvideoparser.includes"></a><h2>Includes</h2>
211<pre class="synopsis">#include &lt;gst/codecparsers/gstmpegvideoparser.h&gt;
212</pre>
213</div>
214<div class="refsect1">
215<a name="gst-plugins-bad-libs-mpegvideoparser.description"></a><h2>Description</h2>
216<p>Provides useful functions for mpeg videos bitstream parsing.</p>
217</div>
218<div class="refsect1">
219<a name="gst-plugins-bad-libs-mpegvideoparser.functions_details"></a><h2>Functions</h2>
220<div class="refsect2">
221<a name="gst-mpeg-video-parse"></a><h3>gst_mpeg_video_parse ()</h3>
222<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
223gst_mpeg_video_parse (<em class="parameter"><code><span class="type">GstMpegVideoPacket</span> *packet</code></em>,
224                      <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>,
225                      <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>,
226                      <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>);</pre>
227<p>Parses the MPEG 1/2 video bitstream contained in <em class="parameter"><code>data</code></em>
228, and returns the
229offset, and if known also the size, in <em class="parameter"><code>packet</code></em>
230. This function will scan
231the data to find the next packet if needed.</p>
232<div class="refsect3">
233<a name="gst-mpeg-video-parse.parameters"></a><h4>Parameters</h4>
234<div class="informaltable"><table class="informaltable" width="100%" border="0">
235<colgroup>
236<col width="150px" class="parameters_name">
237<col class="parameters_description">
238<col width="200px" class="parameters_annotations">
239</colgroup>
240<tbody>
241<tr>
242<td class="parameter_name"><p>packet</p></td>
243<td class="parameter_description"><p>a <span class="type">GstMpegVideoPacket</span> to fill with the data and offset of the
244next packet found</p></td>
245<td class="parameter_annotations"> </td>
246</tr>
247<tr>
248<td class="parameter_name"><p>data</p></td>
249<td class="parameter_description"><p>The data to parse</p></td>
250<td class="parameter_annotations"> </td>
251</tr>
252<tr>
253<td class="parameter_name"><p>size</p></td>
254<td class="parameter_description"><p>The size of <em class="parameter"><code>data</code></em>
255</p></td>
256<td class="parameter_annotations"> </td>
257</tr>
258<tr>
259<td class="parameter_name"><p>offset</p></td>
260<td class="parameter_description"><p>The offset from which to start parsing</p></td>
261<td class="parameter_annotations"> </td>
262</tr>
263</tbody>
264</table></div>
265</div>
266<div class="refsect3">
267<a name="gst-mpeg-video-parse.returns"></a><h4>Returns</h4>
268<p> TRUE if a packet start code was found, otherwise FALSE.</p>
269</div>
270</div>
271<hr>
272<div class="refsect2">
273<a name="gst-mpeg-video-packet-parse-sequence-header"></a><h3>gst_mpeg_video_packet_parse_sequence_header ()</h3>
274<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
275gst_mpeg_video_packet_parse_sequence_header
276                               (<em class="parameter"><code>const <span class="type">GstMpegVideoPacket</span> *packet</code></em>,
277                                <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceHdr" title="struct GstMpegVideoSequenceHdr"><span class="type">GstMpegVideoSequenceHdr</span></a> *seqhdr</code></em>);</pre>
278<p>Parses the <em class="parameter"><code>seqhdr</code></em>
279 MPEG Video Sequence Header structure members
280from video <em class="parameter"><code>packet</code></em>
281</p>
282<div class="refsect3">
283<a name="gst-mpeg-video-packet-parse-sequence-header.parameters"></a><h4>Parameters</h4>
284<div class="informaltable"><table class="informaltable" width="100%" border="0">
285<colgroup>
286<col width="150px" class="parameters_name">
287<col class="parameters_description">
288<col width="200px" class="parameters_annotations">
289</colgroup>
290<tbody>
291<tr>
292<td class="parameter_name"><p>packet</p></td>
293<td class="parameter_description"><p>The <span class="type">GstMpegVideoPacket</span> that carries the data</p></td>
294<td class="parameter_annotations"> </td>
295</tr>
296<tr>
297<td class="parameter_name"><p>seqhdr</p></td>
298<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceHdr" title="struct GstMpegVideoSequenceHdr"><span class="type">GstMpegVideoSequenceHdr</span></a> structure to fill. </p></td>
299<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
300</tr>
301</tbody>
302</table></div>
303</div>
304<div class="refsect3">
305<a name="gst-mpeg-video-packet-parse-sequence-header.returns"></a><h4>Returns</h4>
306<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the seqhdr could be parsed correctly, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
307</div>
308<p class="since">Since: 1.2</p>
309</div>
310<hr>
311<div class="refsect2">
312<a name="gst-mpeg-video-packet-parse-sequence-extension"></a><h3>gst_mpeg_video_packet_parse_sequence_extension ()</h3>
313<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
314gst_mpeg_video_packet_parse_sequence_extension
315                               (<em class="parameter"><code>const <span class="type">GstMpegVideoPacket</span> *packet</code></em>,
316                                <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceExt" title="struct GstMpegVideoSequenceExt"><span class="type">GstMpegVideoSequenceExt</span></a> *seqext</code></em>);</pre>
317<p>Parses the <em class="parameter"><code>seqext</code></em>
318 MPEG Video Sequence Extension structure members
319from video <em class="parameter"><code>packet</code></em>
320</p>
321<div class="refsect3">
322<a name="gst-mpeg-video-packet-parse-sequence-extension.parameters"></a><h4>Parameters</h4>
323<div class="informaltable"><table class="informaltable" width="100%" border="0">
324<colgroup>
325<col width="150px" class="parameters_name">
326<col class="parameters_description">
327<col width="200px" class="parameters_annotations">
328</colgroup>
329<tbody>
330<tr>
331<td class="parameter_name"><p>packet</p></td>
332<td class="parameter_description"><p>The <span class="type">GstMpegVideoPacket</span> that carries the data</p></td>
333<td class="parameter_annotations"> </td>
334</tr>
335<tr>
336<td class="parameter_name"><p>seqext</p></td>
337<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceExt" title="struct GstMpegVideoSequenceExt"><span class="type">GstMpegVideoSequenceExt</span></a> structure to fill. </p></td>
338<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
339</tr>
340</tbody>
341</table></div>
342</div>
343<div class="refsect3">
344<a name="gst-mpeg-video-packet-parse-sequence-extension.returns"></a><h4>Returns</h4>
345<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the seqext could be parsed correctly, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
346</div>
347<p class="since">Since: 1.2</p>
348</div>
349<hr>
350<div class="refsect2">
351<a name="gst-mpeg-video-packet-parse-sequence-display-extension"></a><h3>gst_mpeg_video_packet_parse_sequence_display_extension ()</h3>
352<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
353gst_mpeg_video_packet_parse_sequence_display_extension
354                               (<em class="parameter"><code>const <span class="type">GstMpegVideoPacket</span> *packet</code></em>,
355                                <em class="parameter"><code><span class="type">GstMpegVideoSequenceDisplayExt</span> *seqdisplayext</code></em>);</pre>
356<p>Parses the <em class="parameter"><code>seqext</code></em>
357 MPEG Video Sequence Display Extension structure
358members from video <em class="parameter"><code>packet</code></em>
359</p>
360<div class="refsect3">
361<a name="gst-mpeg-video-packet-parse-sequence-display-extension.parameters"></a><h4>Parameters</h4>
362<div class="informaltable"><table class="informaltable" width="100%" border="0">
363<colgroup>
364<col width="150px" class="parameters_name">
365<col class="parameters_description">
366<col width="200px" class="parameters_annotations">
367</colgroup>
368<tbody>
369<tr>
370<td class="parameter_name"><p>packet</p></td>
371<td class="parameter_description"><p>The <span class="type">GstMpegVideoPacket</span> that carries the data</p></td>
372<td class="parameter_annotations"> </td>
373</tr>
374<tr>
375<td class="parameter_name"><p>seqdisplayext</p></td>
376<td class="parameter_description"><p>The <span class="type">GstMpegVideoSequenceDisplayExt</span>
377structure to fill. </p></td>
378<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
379</tr>
380</tbody>
381</table></div>
382</div>
383<div class="refsect3">
384<a name="gst-mpeg-video-packet-parse-sequence-display-extension.returns"></a><h4>Returns</h4>
385<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the seqext could be parsed correctly, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
386</div>
387<p class="since">Since: 1.2</p>
388</div>
389<hr>
390<div class="refsect2">
391<a name="gst-mpeg-video-packet-parse-sequence-scalable-extension"></a><h3>gst_mpeg_video_packet_parse_sequence_scalable_extension ()</h3>
392<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
393gst_mpeg_video_packet_parse_sequence_scalable_extension
394                               (<em class="parameter"><code>const <span class="type">GstMpegVideoPacket</span> *packet</code></em>,
395                                <em class="parameter"><code><span class="type">GstMpegVideoSequenceScalableExt</span> *seqscaleext</code></em>);</pre>
396<p>Parses the <em class="parameter"><code>seqscaleext</code></em>
397 MPEG Video Sequence Scalable Extension structure
398members from video <em class="parameter"><code>packet</code></em>
399</p>
400<div class="refsect3">
401<a name="gst-mpeg-video-packet-parse-sequence-scalable-extension.parameters"></a><h4>Parameters</h4>
402<div class="informaltable"><table class="informaltable" width="100%" border="0">
403<colgroup>
404<col width="150px" class="parameters_name">
405<col class="parameters_description">
406<col width="200px" class="parameters_annotations">
407</colgroup>
408<tbody>
409<tr>
410<td class="parameter_name"><p>packet</p></td>
411<td class="parameter_description"><p>The <span class="type">GstMpegVideoPacket</span> that carries the data</p></td>
412<td class="parameter_annotations"> </td>
413</tr>
414<tr>
415<td class="parameter_name"><p>seqscaleext</p></td>
416<td class="parameter_description"><p>The <span class="type">GstMpegVideoSequenceScalableExt</span> structure to fill. </p></td>
417<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
418</tr>
419</tbody>
420</table></div>
421</div>
422<div class="refsect3">
423<a name="gst-mpeg-video-packet-parse-sequence-scalable-extension.returns"></a><h4>Returns</h4>
424<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the seqext could be parsed correctly, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
425</div>
426<p class="since">Since: 1.2</p>
427</div>
428<hr>
429<div class="refsect2">
430<a name="gst-mpeg-video-packet-parse-picture-header"></a><h3>gst_mpeg_video_packet_parse_picture_header ()</h3>
431<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
432gst_mpeg_video_packet_parse_picture_header
433                               (<em class="parameter"><code>const <span class="type">GstMpegVideoPacket</span> *packet</code></em>,
434                                <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureHdr" title="struct GstMpegVideoPictureHdr"><span class="type">GstMpegVideoPictureHdr</span></a> *pichdr</code></em>);</pre>
435<p>Parsers the <em class="parameter"><code>pichdr</code></em>
436 MPEG Video Picture Header structure members
437from video <em class="parameter"><code>packet</code></em>
438</p>
439<div class="refsect3">
440<a name="gst-mpeg-video-packet-parse-picture-header.parameters"></a><h4>Parameters</h4>
441<div class="informaltable"><table class="informaltable" width="100%" border="0">
442<colgroup>
443<col width="150px" class="parameters_name">
444<col class="parameters_description">
445<col width="200px" class="parameters_annotations">
446</colgroup>
447<tbody>
448<tr>
449<td class="parameter_name"><p>packet</p></td>
450<td class="parameter_description"><p>The <span class="type">GstMpegVideoPacket</span> that carries the data</p></td>
451<td class="parameter_annotations"> </td>
452</tr>
453<tr>
454<td class="parameter_name"><p>pichdr</p></td>
455<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureHdr" title="struct GstMpegVideoPictureHdr"><span class="type">GstMpegVideoPictureHdr</span></a> structure to fill. </p></td>
456<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
457</tr>
458</tbody>
459</table></div>
460</div>
461<div class="refsect3">
462<a name="gst-mpeg-video-packet-parse-picture-header.returns"></a><h4>Returns</h4>
463<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the picture sequence could be parsed correctly, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
464otherwise.</p>
465</div>
466<p class="since">Since: 1.2</p>
467</div>
468<hr>
469<div class="refsect2">
470<a name="gst-mpeg-video-packet-parse-picture-extension"></a><h3>gst_mpeg_video_packet_parse_picture_extension ()</h3>
471<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
472gst_mpeg_video_packet_parse_picture_extension
473                               (<em class="parameter"><code>const <span class="type">GstMpegVideoPacket</span> *packet</code></em>,
474                                <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureExt" title="struct GstMpegVideoPictureExt"><span class="type">GstMpegVideoPictureExt</span></a> *picext</code></em>);</pre>
475<p>Parse the <em class="parameter"><code>ext</code></em>
476 MPEG Video Picture Extension structure members from
477video <em class="parameter"><code>packet</code></em>
478</p>
479<div class="refsect3">
480<a name="gst-mpeg-video-packet-parse-picture-extension.parameters"></a><h4>Parameters</h4>
481<div class="informaltable"><table class="informaltable" width="100%" border="0">
482<colgroup>
483<col width="150px" class="parameters_name">
484<col class="parameters_description">
485<col width="200px" class="parameters_annotations">
486</colgroup>
487<tbody>
488<tr>
489<td class="parameter_name"><p>packet</p></td>
490<td class="parameter_description"><p>The <span class="type">GstMpegVideoPacket</span> that carries the data</p></td>
491<td class="parameter_annotations"> </td>
492</tr>
493<tr>
494<td class="parameter_name"><p>ext</p></td>
495<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureExt" title="struct GstMpegVideoPictureExt"><span class="type">GstMpegVideoPictureExt</span></a> structure to fill. </p></td>
496<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
497</tr>
498</tbody>
499</table></div>
500</div>
501<div class="refsect3">
502<a name="gst-mpeg-video-packet-parse-picture-extension.returns"></a><h4>Returns</h4>
503<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the picture extension could be parsed correctly,
504<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
505</div>
506<p class="since">Since: 1.2</p>
507</div>
508<hr>
509<div class="refsect2">
510<a name="gst-mpeg-video-packet-parse-gop"></a><h3>gst_mpeg_video_packet_parse_gop ()</h3>
511<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
512gst_mpeg_video_packet_parse_gop (<em class="parameter"><code>const <span class="type">GstMpegVideoPacket</span> *packet</code></em>,
513                                 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoGop" title="struct GstMpegVideoGop"><span class="type">GstMpegVideoGop</span></a> *gop</code></em>);</pre>
514<p>Parses the <em class="parameter"><code>gop</code></em>
515 MPEG Video Group of Picture structure members from
516video <em class="parameter"><code>packet</code></em>
517</p>
518<div class="refsect3">
519<a name="gst-mpeg-video-packet-parse-gop.parameters"></a><h4>Parameters</h4>
520<div class="informaltable"><table class="informaltable" width="100%" border="0">
521<colgroup>
522<col width="150px" class="parameters_name">
523<col class="parameters_description">
524<col width="200px" class="parameters_annotations">
525</colgroup>
526<tbody>
527<tr>
528<td class="parameter_name"><p>packet</p></td>
529<td class="parameter_description"><p>The <span class="type">GstMpegVideoPacket</span> that carries the data</p></td>
530<td class="parameter_annotations"> </td>
531</tr>
532<tr>
533<td class="parameter_name"><p>gop</p></td>
534<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoGop" title="struct GstMpegVideoGop"><span class="type">GstMpegVideoGop</span></a> structure to fill. </p></td>
535<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
536</tr>
537</tbody>
538</table></div>
539</div>
540<div class="refsect3">
541<a name="gst-mpeg-video-packet-parse-gop.returns"></a><h4>Returns</h4>
542<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the gop could be parsed correctly, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
543</div>
544<p class="since">Since: 1.2</p>
545</div>
546<hr>
547<div class="refsect2">
548<a name="gst-mpeg-video-packet-parse-slice-header"></a><h3>gst_mpeg_video_packet_parse_slice_header ()</h3>
549<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
550gst_mpeg_video_packet_parse_slice_header
551                               (<em class="parameter"><code>const <span class="type">GstMpegVideoPacket</span> *packet</code></em>,
552                                <em class="parameter"><code><span class="type">GstMpegVideoSliceHdr</span> *slice_hdr</code></em>,
553                                <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceHdr" title="struct GstMpegVideoSequenceHdr"><span class="type">GstMpegVideoSequenceHdr</span></a> *seq_hdr</code></em>,
554                                <em class="parameter"><code><span class="type">GstMpegVideoSequenceScalableExt</span> *seqscaleext</code></em>);</pre>
555<p>Parses the <em class="parameter"><code>GstMpegVideoSliceHdr</code></em>
556  structure members from <em class="parameter"><code>data</code></em>
557</p>
558<div class="refsect3">
559<a name="gst-mpeg-video-packet-parse-slice-header.parameters"></a><h4>Parameters</h4>
560<div class="informaltable"><table class="informaltable" width="100%" border="0">
561<colgroup>
562<col width="150px" class="parameters_name">
563<col class="parameters_description">
564<col width="200px" class="parameters_annotations">
565</colgroup>
566<tbody>
567<tr>
568<td class="parameter_name"><p>packet</p></td>
569<td class="parameter_description"><p>The <span class="type">GstMpegVideoPacket</span> that carries the data</p></td>
570<td class="parameter_annotations"> </td>
571</tr>
572<tr>
573<td class="parameter_name"><p>slice_hdr</p></td>
574<td class="parameter_description"><p>The <span class="type">GstMpegVideoSliceHdr</span> structure to fill. </p></td>
575<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
576</tr>
577<tr>
578<td class="parameter_name"><p>seqhdr</p></td>
579<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceHdr" title="struct GstMpegVideoSequenceHdr"><span class="type">GstMpegVideoSequenceHdr</span></a> header</p></td>
580<td class="parameter_annotations"> </td>
581</tr>
582<tr>
583<td class="parameter_name"><p>seqscaleext</p></td>
584<td class="parameter_description"><p>The <span class="type">GstMpegVideoSequenceScalableExt</span> header</p></td>
585<td class="parameter_annotations"> </td>
586</tr>
587</tbody>
588</table></div>
589</div>
590<div class="refsect3">
591<a name="gst-mpeg-video-packet-parse-slice-header.returns"></a><h4>Returns</h4>
592<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the slice could be parsed correctly, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
593</div>
594<p class="since">Since: 1.2</p>
595</div>
596<hr>
597<div class="refsect2">
598<a name="gst-mpeg-video-packet-parse-quant-matrix-extension"></a><h3>gst_mpeg_video_packet_parse_quant_matrix_extension ()</h3>
599<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
600gst_mpeg_video_packet_parse_quant_matrix_extension
601                               (<em class="parameter"><code>const <span class="type">GstMpegVideoPacket</span> *packet</code></em>,
602                                <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoQuantMatrixExt" title="struct GstMpegVideoQuantMatrixExt"><span class="type">GstMpegVideoQuantMatrixExt</span></a> *quant</code></em>);</pre>
603<p>Parses the <em class="parameter"><code>quant</code></em>
604 MPEG Video Quantization Matrix Extension
605structure members from video <em class="parameter"><code>packet</code></em>
606</p>
607<div class="refsect3">
608<a name="gst-mpeg-video-packet-parse-quant-matrix-extension.parameters"></a><h4>Parameters</h4>
609<div class="informaltable"><table class="informaltable" width="100%" border="0">
610<colgroup>
611<col width="150px" class="parameters_name">
612<col class="parameters_description">
613<col width="200px" class="parameters_annotations">
614</colgroup>
615<tbody>
616<tr>
617<td class="parameter_name"><p>packet</p></td>
618<td class="parameter_description"><p>The <span class="type">GstMpegVideoPacket</span> that carries the data</p></td>
619<td class="parameter_annotations"> </td>
620</tr>
621<tr>
622<td class="parameter_name"><p>quant</p></td>
623<td class="parameter_description"><p>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoQuantMatrixExt" title="struct GstMpegVideoQuantMatrixExt"><span class="type">GstMpegVideoQuantMatrixExt</span></a> structure to fill. </p></td>
624<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
625</tr>
626</tbody>
627</table></div>
628</div>
629<div class="refsect3">
630<a name="gst-mpeg-video-packet-parse-quant-matrix-extension.returns"></a><h4>Returns</h4>
631<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the quant matrix extension could be parsed correctly,
632<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
633</div>
634<p class="since">Since: 1.2</p>
635</div>
636<hr>
637<div class="refsect2">
638<a name="gst-mpeg-video-finalise-mpeg2-sequence-header"></a><h3>gst_mpeg_video_finalise_mpeg2_sequence_header ()</h3>
639<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
640gst_mpeg_video_finalise_mpeg2_sequence_header
641                               (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceHdr" title="struct GstMpegVideoSequenceHdr"><span class="type">GstMpegVideoSequenceHdr</span></a> *hdr</code></em>,
642                                <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceExt" title="struct GstMpegVideoSequenceExt"><span class="type">GstMpegVideoSequenceExt</span></a> *seqext</code></em>,
643                                <em class="parameter"><code><span class="type">GstMpegVideoSequenceDisplayExt</span> *displayext</code></em>);</pre>
644</div>
645<hr>
646<div class="refsect2">
647<a name="gst-mpeg-video-quant-matrix-get-raster-from-zigzag"></a><h3>gst_mpeg_video_quant_matrix_get_raster_from_zigzag ()</h3>
648<pre class="programlisting"><span class="returnvalue">void</span>
649gst_mpeg_video_quant_matrix_get_raster_from_zigzag
650                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> out_quant[64]</code></em>,
651                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> quant[64]</code></em>);</pre>
652<p>Converts quantization matrix <em class="parameter"><code>quant</code></em>
653 from zigzag scan order to
654raster scan order and store the resulting factors into <em class="parameter"><code>out_quant</code></em>
655.</p>
656<p>Note: it is an error to pass the same table in both <em class="parameter"><code>quant</code></em>
657 and
658<em class="parameter"><code>out_quant</code></em>
659 arguments.</p>
660<div class="refsect3">
661<a name="gst-mpeg-video-quant-matrix-get-raster-from-zigzag.parameters"></a><h4>Parameters</h4>
662<div class="informaltable"><table class="informaltable" width="100%" border="0">
663<colgroup>
664<col width="150px" class="parameters_name">
665<col class="parameters_description">
666<col width="200px" class="parameters_annotations">
667</colgroup>
668<tbody>
669<tr>
670<td class="parameter_name"><p>out_quant</p></td>
671<td class="parameter_description"><p>The resulting quantization matrix. </p></td>
672<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
673</tr>
674<tr>
675<td class="parameter_name"><p>quant</p></td>
676<td class="parameter_description"><p>The source quantization matrix</p></td>
677<td class="parameter_annotations"> </td>
678</tr>
679</tbody>
680</table></div>
681</div>
682<p class="since">Since: 1.2</p>
683</div>
684<hr>
685<div class="refsect2">
686<a name="gst-mpeg-video-quant-matrix-get-zigzag-from-raster"></a><h3>gst_mpeg_video_quant_matrix_get_zigzag_from_raster ()</h3>
687<pre class="programlisting"><span class="returnvalue">void</span>
688gst_mpeg_video_quant_matrix_get_zigzag_from_raster
689                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> out_quant[64]</code></em>,
690                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> quant[64]</code></em>);</pre>
691<p>Converts quantization matrix <em class="parameter"><code>quant</code></em>
692 from raster scan order to
693zigzag scan order and store the resulting factors into <em class="parameter"><code>out_quant</code></em>
694.</p>
695<p>Note: it is an error to pass the same table in both <em class="parameter"><code>quant</code></em>
696 and
697<em class="parameter"><code>out_quant</code></em>
698 arguments.</p>
699<div class="refsect3">
700<a name="gst-mpeg-video-quant-matrix-get-zigzag-from-raster.parameters"></a><h4>Parameters</h4>
701<div class="informaltable"><table class="informaltable" width="100%" border="0">
702<colgroup>
703<col width="150px" class="parameters_name">
704<col class="parameters_description">
705<col width="200px" class="parameters_annotations">
706</colgroup>
707<tbody>
708<tr>
709<td class="parameter_name"><p>out_quant</p></td>
710<td class="parameter_description"><p>The resulting quantization matrix. </p></td>
711<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
712</tr>
713<tr>
714<td class="parameter_name"><p>quant</p></td>
715<td class="parameter_description"><p>The source quantization matrix</p></td>
716<td class="parameter_annotations"> </td>
717</tr>
718</tbody>
719</table></div>
720</div>
721<p class="since">Since: 1.2</p>
722</div>
723</div>
724<div class="refsect1">
725<a name="gst-plugins-bad-libs-mpegvideoparser.other_details"></a><h2>Types and Values</h2>
726<div class="refsect2">
727<a name="GstMpegVideoPacketTypeCode"></a><h3>enum GstMpegVideoPacketTypeCode</h3>
728<p>Indicates the type of MPEG packet</p>
729<div class="refsect3">
730<a name="GstMpegVideoPacketTypeCode.members"></a><h4>Members</h4>
731<div class="informaltable"><table class="informaltable" width="100%" border="0">
732<colgroup>
733<col width="300px" class="enum_members_name">
734<col class="enum_members_description">
735<col width="200px" class="enum_members_annotations">
736</colgroup>
737<tbody>
738<tr>
739<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-PICTURE:CAPS"></a>GST_MPEG_VIDEO_PACKET_PICTURE</p></td>
740<td class="enum_member_description">
741<p>Picture packet starting code</p>
742</td>
743<td class="enum_member_annotations"> </td>
744</tr>
745<tr>
746<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-SLICE-MIN:CAPS"></a>GST_MPEG_VIDEO_PACKET_SLICE_MIN</p></td>
747<td class="enum_member_description">
748<p>Slice min packet starting code</p>
749</td>
750<td class="enum_member_annotations"> </td>
751</tr>
752<tr>
753<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-SLICE-MAX:CAPS"></a>GST_MPEG_VIDEO_PACKET_SLICE_MAX</p></td>
754<td class="enum_member_description">
755<p>Slice max packet starting code</p>
756</td>
757<td class="enum_member_annotations"> </td>
758</tr>
759<tr>
760<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-USER-DATA:CAPS"></a>GST_MPEG_VIDEO_PACKET_USER_DATA</p></td>
761<td class="enum_member_description">
762<p>User data packet starting code</p>
763</td>
764<td class="enum_member_annotations"> </td>
765</tr>
766<tr>
767<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-SEQUENCE:CAPS"></a>GST_MPEG_VIDEO_PACKET_SEQUENCE</p></td>
768<td class="enum_member_description">
769<p>Sequence packet starting code</p>
770</td>
771<td class="enum_member_annotations"> </td>
772</tr>
773<tr>
774<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-EXTENSION:CAPS"></a>GST_MPEG_VIDEO_PACKET_EXTENSION</p></td>
775<td class="enum_member_description">
776<p>Extension packet starting code</p>
777</td>
778<td class="enum_member_annotations"> </td>
779</tr>
780<tr>
781<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-SEQUENCE-END:CAPS"></a>GST_MPEG_VIDEO_PACKET_SEQUENCE_END</p></td>
782<td class="enum_member_description">
783<p>Sequence end packet code</p>
784</td>
785<td class="enum_member_annotations"> </td>
786</tr>
787<tr>
788<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-GOP:CAPS"></a>GST_MPEG_VIDEO_PACKET_GOP</p></td>
789<td class="enum_member_description">
790<p>Group of Picture packet starting code</p>
791</td>
792<td class="enum_member_annotations"> </td>
793</tr>
794<tr>
795<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-NONE:CAPS"></a>GST_MPEG_VIDEO_PACKET_NONE</p></td>
796<td class="enum_member_description">
797<p>None packet code</p>
798</td>
799<td class="enum_member_annotations"> </td>
800</tr>
801</tbody>
802</table></div>
803</div>
804</div>
805<hr>
806<div class="refsect2">
807<a name="GstMpegVideoPacketExtensionCode"></a><h3>enum GstMpegVideoPacketExtensionCode</h3>
808<p>Indicates what type of packets are in this block, some are mutually
809exclusive though - ie, sequence packs are accumulated separately. GOP &amp;
810Picture may occur together or separately.</p>
811<div class="refsect3">
812<a name="GstMpegVideoPacketExtensionCode.members"></a><h4>Members</h4>
813<div class="informaltable"><table class="informaltable" width="100%" border="0">
814<colgroup>
815<col width="300px" class="enum_members_name">
816<col class="enum_members_description">
817<col width="200px" class="enum_members_annotations">
818</colgroup>
819<tbody>
820<tr>
821<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-EXT-SEQUENCE:CAPS"></a>GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE</p></td>
822<td class="enum_member_description">
823<p>Sequence extension code</p>
824</td>
825<td class="enum_member_annotations"> </td>
826</tr>
827<tr>
828<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-EXT-SEQUENCE-DISPLAY:CAPS"></a>GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE_DISPLAY</p></td>
829<td class="enum_member_description">
830<p>Sequence Display extension code</p>
831</td>
832<td class="enum_member_annotations"> </td>
833</tr>
834<tr>
835<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-EXT-QUANT-MATRIX:CAPS"></a>GST_MPEG_VIDEO_PACKET_EXT_QUANT_MATRIX</p></td>
836<td class="enum_member_description">
837<p>Quantization Matrix extension code</p>
838</td>
839<td class="enum_member_annotations"> </td>
840</tr>
841<tr>
842<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-EXT-SEQUENCE-SCALABLE:CAPS"></a>GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE_SCALABLE</p></td>
843<td class="enum_member_description">
844<p>Sequence Scalable extension code</p>
845</td>
846<td class="enum_member_annotations"> </td>
847</tr>
848<tr>
849<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-EXT-PICTURE:CAPS"></a>GST_MPEG_VIDEO_PACKET_EXT_PICTURE</p></td>
850<td class="enum_member_description">
851<p>Picture coding extension</p>
852</td>
853<td class="enum_member_annotations"> </td>
854</tr>
855</tbody>
856</table></div>
857</div>
858</div>
859<hr>
860<div class="refsect2">
861<a name="GstMpegVideoLevel"></a><h3>enum GstMpegVideoLevel</h3>
862<p>Mpeg-2 Levels.</p>
863<div class="refsect3">
864<a name="GstMpegVideoLevel.members"></a><h4>Members</h4>
865<div class="informaltable"><table class="informaltable" width="100%" border="0">
866<colgroup>
867<col width="300px" class="enum_members_name">
868<col class="enum_members_description">
869<col width="200px" class="enum_members_annotations">
870</colgroup>
871<tbody>
872<tr>
873<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-LEVEL-HIGH:CAPS"></a>GST_MPEG_VIDEO_LEVEL_HIGH</p></td>
874<td class="enum_member_description">
875<p>High level (HL)</p>
876</td>
877<td class="enum_member_annotations"> </td>
878</tr>
879<tr>
880<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-LEVEL-HIGH-1440:CAPS"></a>GST_MPEG_VIDEO_LEVEL_HIGH_1440</p></td>
881<td class="enum_member_description">
882<p>High 1440 level (H-14)</p>
883</td>
884<td class="enum_member_annotations"> </td>
885</tr>
886<tr>
887<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-LEVEL-MAIN:CAPS"></a>GST_MPEG_VIDEO_LEVEL_MAIN</p></td>
888<td class="enum_member_description">
889<p>Main level (ML)</p>
890</td>
891<td class="enum_member_annotations"> </td>
892</tr>
893<tr>
894<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-LEVEL-LOW:CAPS"></a>GST_MPEG_VIDEO_LEVEL_LOW</p></td>
895<td class="enum_member_description">
896<p>Low level (LL)</p>
897</td>
898<td class="enum_member_annotations"> </td>
899</tr>
900</tbody>
901</table></div>
902</div>
903</div>
904<hr>
905<div class="refsect2">
906<a name="GstMpegVideoProfile"></a><h3>enum GstMpegVideoProfile</h3>
907<p>Mpeg-2 Profiles.</p>
908<div class="refsect3">
909<a name="GstMpegVideoProfile.members"></a><h4>Members</h4>
910<div class="informaltable"><table class="informaltable" width="100%" border="0">
911<colgroup>
912<col width="300px" class="enum_members_name">
913<col class="enum_members_description">
914<col width="200px" class="enum_members_annotations">
915</colgroup>
916<tbody>
917<tr>
918<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-422:CAPS"></a>GST_MPEG_VIDEO_PROFILE_422</p></td>
919<td class="enum_member_description">
920<p>4:2:2 profile (422)</p>
921</td>
922<td class="enum_member_annotations"> </td>
923</tr>
924<tr>
925<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-HIGH:CAPS"></a>GST_MPEG_VIDEO_PROFILE_HIGH</p></td>
926<td class="enum_member_description">
927<p>High profile (HP)</p>
928</td>
929<td class="enum_member_annotations"> </td>
930</tr>
931<tr>
932<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-SPATIALLY-SCALABLE:CAPS"></a>GST_MPEG_VIDEO_PROFILE_SPATIALLY_SCALABLE</p></td>
933<td class="enum_member_description">
934<p>Spatially Scalable profile (Spatial)</p>
935</td>
936<td class="enum_member_annotations"> </td>
937</tr>
938<tr>
939<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-SNR-SCALABLE:CAPS"></a>GST_MPEG_VIDEO_PROFILE_SNR_SCALABLE</p></td>
940<td class="enum_member_description">
941<p>SNR Scalable profile (SNR)</p>
942</td>
943<td class="enum_member_annotations"> </td>
944</tr>
945<tr>
946<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-MAIN:CAPS"></a>GST_MPEG_VIDEO_PROFILE_MAIN</p></td>
947<td class="enum_member_description">
948<p>Main profile (MP)</p>
949</td>
950<td class="enum_member_annotations"> </td>
951</tr>
952<tr>
953<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-SIMPLE:CAPS"></a>GST_MPEG_VIDEO_PROFILE_SIMPLE</p></td>
954<td class="enum_member_description">
955<p>Simple profile (SP)</p>
956</td>
957<td class="enum_member_annotations"> </td>
958</tr>
959</tbody>
960</table></div>
961</div>
962</div>
963<hr>
964<div class="refsect2">
965<a name="GstMpegVideoPictureType"></a><h3>enum GstMpegVideoPictureType</h3>
966<p>Picture type.</p>
967<div class="refsect3">
968<a name="GstMpegVideoPictureType.members"></a><h4>Members</h4>
969<div class="informaltable"><table class="informaltable" width="100%" border="0">
970<colgroup>
971<col width="300px" class="enum_members_name">
972<col class="enum_members_description">
973<col width="200px" class="enum_members_annotations">
974</colgroup>
975<tbody>
976<tr>
977<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-I:CAPS"></a>GST_MPEG_VIDEO_PICTURE_TYPE_I</p></td>
978<td class="enum_member_description">
979<p>Intra-coded (I) frame</p>
980</td>
981<td class="enum_member_annotations"> </td>
982</tr>
983<tr>
984<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-P:CAPS"></a>GST_MPEG_VIDEO_PICTURE_TYPE_P</p></td>
985<td class="enum_member_description">
986<p>Predictive-codec (P) frame</p>
987</td>
988<td class="enum_member_annotations"> </td>
989</tr>
990<tr>
991<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-B:CAPS"></a>GST_MPEG_VIDEO_PICTURE_TYPE_B</p></td>
992<td class="enum_member_description">
993<p>Bidirectionally predictive-coded (B) frame</p>
994</td>
995<td class="enum_member_annotations"> </td>
996</tr>
997<tr>
998<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-D:CAPS"></a>GST_MPEG_VIDEO_PICTURE_TYPE_D</p></td>
999<td class="enum_member_description">
1000<p>D frame</p>
1001</td>
1002<td class="enum_member_annotations"> </td>
1003</tr>
1004</tbody>
1005</table></div>
1006</div>
1007</div>
1008<hr>
1009<div class="refsect2">
1010<a name="GstMpegVideoPictureStructure"></a><h3>enum GstMpegVideoPictureStructure</h3>
1011<p>Picture structure type.</p>
1012<div class="refsect3">
1013<a name="GstMpegVideoPictureStructure.members"></a><h4>Members</h4>
1014<div class="informaltable"><table class="informaltable" width="100%" border="0">
1015<colgroup>
1016<col width="300px" class="enum_members_name">
1017<col class="enum_members_description">
1018<col width="200px" class="enum_members_annotations">
1019</colgroup>
1020<tbody>
1021<tr>
1022<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-STRUCTURE-TOP-FIELD:CAPS"></a>GST_MPEG_VIDEO_PICTURE_STRUCTURE_TOP_FIELD</p></td>
1023<td class="enum_member_description">
1024<p>Top field</p>
1025</td>
1026<td class="enum_member_annotations"> </td>
1027</tr>
1028<tr>
1029<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-STRUCTURE-BOTTOM-FIELD:CAPS"></a>GST_MPEG_VIDEO_PICTURE_STRUCTURE_BOTTOM_FIELD</p></td>
1030<td class="enum_member_description">
1031<p>Bottom field</p>
1032</td>
1033<td class="enum_member_annotations"> </td>
1034</tr>
1035<tr>
1036<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-STRUCTURE-FRAME:CAPS"></a>GST_MPEG_VIDEO_PICTURE_STRUCTURE_FRAME</p></td>
1037<td class="enum_member_description">
1038<p>Frame picture</p>
1039</td>
1040<td class="enum_member_annotations"> </td>
1041</tr>
1042</tbody>
1043</table></div>
1044</div>
1045</div>
1046<hr>
1047<div class="refsect2">
1048<a name="GstMpegVideoSequenceHdr"></a><h3>struct GstMpegVideoSequenceHdr</h3>
1049<pre class="programlisting">struct GstMpegVideoSequenceHdr {
1050  guint16 width, height;
1051  guint8  aspect_ratio_info;
1052  guint8  frame_rate_code;
1053  guint32 bitrate_value;
1054  guint16 vbv_buffer_size_value;
1055
1056  guint8  constrained_parameters_flag;
1057
1058  guint8  load_intra_quantiser_matrix;
1059  guint8  intra_quantizer_matrix[64];
1060  guint8  load_non_intra_quantiser_matrix;
1061  guint8  non_intra_quantizer_matrix[64];
1062
1063  /* Calculated values */
1064  guint   par_w, par_h;
1065  guint   fps_n, fps_d;
1066  guint   bitrate;
1067};
1068</pre>
1069<p>The Mpeg2 Video Sequence Header structure.</p>
1070<div class="refsect3">
1071<a name="GstMpegVideoSequenceHdr.members"></a><h4>Members</h4>
1072<div class="informaltable"><table class="informaltable" width="100%" border="0">
1073<colgroup>
1074<col width="300px" class="struct_members_name">
1075<col class="struct_members_description">
1076<col width="200px" class="struct_members_annotations">
1077</colgroup>
1078<tbody>
1079<tr>
1080<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="GstMpegVideoSequenceHdr.width"></a>width</code></em>;</p></td>
1081<td class="struct_member_description"><p>Width of each frame</p></td>
1082<td class="struct_member_annotations"> </td>
1083</tr>
1084<tr>
1085<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="GstMpegVideoSequenceHdr.height"></a>height</code></em>;</p></td>
1086<td class="struct_member_description"><p>Height of each frame</p></td>
1087<td class="struct_member_annotations"> </td>
1088</tr>
1089<tr>
1090<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="GstMpegVideoSequenceHdr.aspect-ratio-info"></a>aspect_ratio_info</code></em>;</p></td>
1091<td> </td>
1092<td> </td>
1093</tr>
1094<tr>
1095<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="GstMpegVideoSequenceHdr.frame-rate-code"></a>frame_rate_code</code></em>;</p></td>
1096<td> </td>
1097<td> </td>
1098</tr>
1099<tr>
1100<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.bitrate-value"></a>bitrate_value</code></em>;</p></td>
1101<td class="struct_member_description"><p>Value of the bitrate as is in the stream (400bps unit)</p></td>
1102<td class="struct_member_annotations"> </td>
1103</tr>
1104<tr>
1105<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="GstMpegVideoSequenceHdr.vbv-buffer-size-value"></a>vbv_buffer_size_value</code></em>;</p></td>
1106<td> </td>
1107<td> </td>
1108</tr>
1109<tr>
1110<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="GstMpegVideoSequenceHdr.constrained-parameters-flag"></a>constrained_parameters_flag</code></em>;</p></td>
1111<td class="struct_member_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this stream uses contrained parameters.</p></td>
1112<td class="struct_member_annotations"> </td>
1113</tr>
1114<tr>
1115<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="GstMpegVideoSequenceHdr.load-intra-quantiser-matrix"></a>load_intra_quantiser_matrix</code></em>;</p></td>
1116<td class="struct_member_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> indicates the presence of intra_quantiser_matrix</p></td>
1117<td class="struct_member_annotations"> </td>
1118</tr>
1119<tr>
1120<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="GstMpegVideoSequenceHdr.intra-quantizer-matrix"></a>intra_quantizer_matrix</code></em>[64];</p></td>
1121<td class="struct_member_description"><p>intra-quantization table, in zigzag scan order</p></td>
1122<td class="struct_member_annotations"> </td>
1123</tr>
1124<tr>
1125<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="GstMpegVideoSequenceHdr.load-non-intra-quantiser-matrix"></a>load_non_intra_quantiser_matrix</code></em>;</p></td>
1126<td class="struct_member_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> indicates the presence of non_intra_quantiser_matrix</p></td>
1127<td class="struct_member_annotations"> </td>
1128</tr>
1129<tr>
1130<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="GstMpegVideoSequenceHdr.non-intra-quantizer-matrix"></a>non_intra_quantizer_matrix</code></em>[64];</p></td>
1131<td class="struct_member_description"><p>non-intra quantization table, in zigzag scan order</p></td>
1132<td class="struct_member_annotations"> </td>
1133</tr>
1134<tr>
1135<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="GstMpegVideoSequenceHdr.par-w"></a>par_w</code></em>;</p></td>
1136<td class="struct_member_description"><p>Calculated Pixel Aspect Ratio width</p></td>
1137<td class="struct_member_annotations"> </td>
1138</tr>
1139<tr>
1140<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="GstMpegVideoSequenceHdr.par-h"></a>par_h</code></em>;</p></td>
1141<td class="struct_member_description"><p>Calculated Pixel Aspect Ratio height</p></td>
1142<td class="struct_member_annotations"> </td>
1143</tr>
1144<tr>
1145<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="GstMpegVideoSequenceHdr.fps-n"></a>fps_n</code></em>;</p></td>
1146<td class="struct_member_description"><p>Calculated Framrate nominator</p></td>
1147<td class="struct_member_annotations"> </td>
1148</tr>
1149<tr>
1150<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="GstMpegVideoSequenceHdr.fps-d"></a>fps_d</code></em>;</p></td>
1151<td class="struct_member_description"><p>Calculated Framerate denominator</p></td>
1152<td class="struct_member_annotations"> </td>
1153</tr>
1154<tr>
1155<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="GstMpegVideoSequenceHdr.bitrate"></a>bitrate</code></em>;</p></td>
1156<td class="struct_member_description"><p>the real bitrate of the Mpeg video stream in bits per second, 0 if VBR stream</p></td>
1157<td class="struct_member_annotations"> </td>
1158</tr>
1159</tbody>
1160</table></div>
1161</div>
1162</div>
1163<hr>
1164<div class="refsect2">
1165<a name="GstMpegVideoSequenceExt"></a><h3>struct GstMpegVideoSequenceExt</h3>
1166<pre class="programlisting">struct GstMpegVideoSequenceExt {
1167  /* mpeg2 decoder profile */
1168  guint8 profile;
1169  /* mpeg2 decoder level */
1170  guint8 level;
1171
1172  guint8 progressive;
1173  guint8 chroma_format;
1174
1175  guint8 horiz_size_ext, vert_size_ext;
1176
1177  guint16 bitrate_ext;
1178  guint8 vbv_buffer_size_extension;
1179  guint8 low_delay;
1180  guint8 fps_n_ext, fps_d_ext;
1181
1182  /* Additional information */
1183  guint8 profile_level_escape_bit;
1184};
1185</pre>
1186<p>The Mpeg2 Video Sequence Extension structure.</p>
1187<div class="refsect3">
1188<a name="GstMpegVideoSequenceExt.members"></a><h4>Members</h4>
1189<div class="informaltable"><table class="informaltable" width="100%" border="0">
1190<colgroup>
1191<col width="300px" class="struct_members_name">
1192<col class="struct_members_description">
1193<col width="200px" class="struct_members_annotations">
1194</colgroup>
1195<tbody>
1196<tr>
1197<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="GstMpegVideoSequenceExt.profile"></a>profile</code></em>;</p></td>
1198<td class="struct_member_description"><p>mpeg2 decoder profile</p></td>
1199<td class="struct_member_annotations"> </td>
1200</tr>
1201<tr>
1202<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="GstMpegVideoSequenceExt.level"></a>level</code></em>;</p></td>
1203<td class="struct_member_description"><p>mpeg2 decoder level</p></td>
1204<td class="struct_member_annotations"> </td>
1205</tr>
1206<tr>
1207<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="GstMpegVideoSequenceExt.progressive"></a>progressive</code></em>;</p></td>
1208<td class="struct_member_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the frames are progressive <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p></td>
1209<td class="struct_member_annotations"> </td>
1210</tr>
1211<tr>
1212<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="GstMpegVideoSequenceExt.chroma-format"></a>chroma_format</code></em>;</p></td>
1213<td class="struct_member_description"><p>indicates the chrominance format</p></td>
1214<td class="struct_member_annotations"> </td>
1215</tr>
1216<tr>
1217<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="GstMpegVideoSequenceExt.horiz-size-ext"></a>horiz_size_ext</code></em>;</p></td>
1218<td class="struct_member_description"><p>Horizontal size</p></td>
1219<td class="struct_member_annotations"> </td>
1220</tr>
1221<tr>
1222<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="GstMpegVideoSequenceExt.vert-size-ext"></a>vert_size_ext</code></em>;</p></td>
1223<td class="struct_member_description"><p>Vertical size</p></td>
1224<td class="struct_member_annotations"> </td>
1225</tr>
1226<tr>
1227<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="GstMpegVideoSequenceExt.bitrate-ext"></a>bitrate_ext</code></em>;</p></td>
1228<td class="struct_member_description"><p>The bitrate</p></td>
1229<td class="struct_member_annotations"> </td>
1230</tr>
1231<tr>
1232<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="GstMpegVideoSequenceExt.vbv-buffer-size-extension"></a>vbv_buffer_size_extension</code></em>;</p></td>
1233<td class="struct_member_description"><p>VBV vuffer size</p></td>
1234<td class="struct_member_annotations"> </td>
1235</tr>
1236<tr>
1237<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="GstMpegVideoSequenceExt.low-delay"></a>low_delay</code></em>;</p></td>
1238<td class="struct_member_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the sequence doesn't contain any B-pictures, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1239otherwise</p></td>
1240<td class="struct_member_annotations"> </td>
1241</tr>
1242<tr>
1243<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="GstMpegVideoSequenceExt.fps-n-ext"></a>fps_n_ext</code></em>;</p></td>
1244<td class="struct_member_description"><p>Framerate nominator code</p></td>
1245<td class="struct_member_annotations"> </td>
1246</tr>
1247<tr>
1248<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="GstMpegVideoSequenceExt.fps-d-ext"></a>fps_d_ext</code></em>;</p></td>
1249<td class="struct_member_description"><p>Framerate denominator code</p></td>
1250<td class="struct_member_annotations"> </td>
1251</tr>
1252<tr>
1253<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="GstMpegVideoSequenceExt.profile-level-escape-bit"></a>profile_level_escape_bit</code></em>;</p></td>
1254<td class="struct_member_description"><p>Escape bit. If set, the meaning of the
1255<em class="parameter"><code>profile</code></em>
1256and <em class="parameter"><code>level</code></em>
1257fields is different.</p></td>
1258<td class="struct_member_annotations"> </td>
1259</tr>
1260</tbody>
1261</table></div>
1262</div>
1263</div>
1264<hr>
1265<div class="refsect2">
1266<a name="GstMpegVideoPictureHdr"></a><h3>struct GstMpegVideoPictureHdr</h3>
1267<pre class="programlisting">struct GstMpegVideoPictureHdr {
1268  guint16 tsn;
1269  guint8 pic_type;
1270  guint16 vbv_delay;
1271
1272  guint8 full_pel_forward_vector, full_pel_backward_vector;
1273
1274  guint8 f_code[2][2];
1275};
1276</pre>
1277<p>The Mpeg2 Video Picture Header structure.</p>
1278<div class="refsect3">
1279<a name="GstMpegVideoPictureHdr.members"></a><h4>Members</h4>
1280<div class="informaltable"><table class="informaltable" width="100%" border="0">
1281<colgroup>
1282<col width="300px" class="struct_members_name">
1283<col class="struct_members_description">
1284<col width="200px" class="struct_members_annotations">
1285</colgroup>
1286<tbody>
1287<tr>
1288<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="GstMpegVideoPictureHdr.tsn"></a>tsn</code></em>;</p></td>
1289<td class="struct_member_description"><p>Temporal Sequence Number</p></td>
1290<td class="struct_member_annotations"> </td>
1291</tr>
1292<tr>
1293<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="GstMpegVideoPictureHdr.pic-type"></a>pic_type</code></em>;</p></td>
1294<td class="struct_member_description"><p>Type of the frame</p></td>
1295<td class="struct_member_annotations"> </td>
1296</tr>
1297<tr>
1298<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="GstMpegVideoPictureHdr.vbv-delay"></a>vbv_delay</code></em>;</p></td>
1299<td> </td>
1300<td> </td>
1301</tr>
1302<tr>
1303<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="GstMpegVideoPictureHdr.full-pel-forward-vector"></a>full_pel_forward_vector</code></em>;</p></td>
1304<td class="struct_member_description"><p>the full pel forward flag of
1305the frame: 0 or 1.</p></td>
1306<td class="struct_member_annotations"> </td>
1307</tr>
1308<tr>
1309<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="GstMpegVideoPictureHdr.full-pel-backward-vector"></a>full_pel_backward_vector</code></em>;</p></td>
1310<td class="struct_member_description"><p>the full pel backward flag
1311of the frame: 0 or 1.</p></td>
1312<td class="struct_member_annotations"> </td>
1313</tr>
1314<tr>
1315<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="GstMpegVideoPictureHdr.f-code"></a>f_code</code></em>[2][2];</p></td>
1316<td class="struct_member_description"><p>F code</p></td>
1317<td class="struct_member_annotations"> </td>
1318</tr>
1319</tbody>
1320</table></div>
1321</div>
1322</div>
1323<hr>
1324<div class="refsect2">
1325<a name="GstMpegVideoGop"></a><h3>struct GstMpegVideoGop</h3>
1326<pre class="programlisting">struct GstMpegVideoGop {
1327  guint8 drop_frame_flag;
1328
1329  guint8 hour, minute, second, frame;
1330
1331  guint8 closed_gop;
1332  guint8 broken_link;
1333};
1334</pre>
1335<p>The Mpeg Video Group of Picture structure.</p>
1336<div class="refsect3">
1337<a name="GstMpegVideoGop.members"></a><h4>Members</h4>
1338<div class="informaltable"><table class="informaltable" width="100%" border="0">
1339<colgroup>
1340<col width="300px" class="struct_members_name">
1341<col class="struct_members_description">
1342<col width="200px" class="struct_members_annotations">
1343</colgroup>
1344<tbody>
1345<tr>
1346<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="GstMpegVideoGop.drop-frame-flag"></a>drop_frame_flag</code></em>;</p></td>
1347<td class="struct_member_description"><p>Drop Frame Flag</p></td>
1348<td class="struct_member_annotations"> </td>
1349</tr>
1350<tr>
1351<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="GstMpegVideoGop.hour"></a>hour</code></em>;</p></td>
1352<td class="struct_member_description"><p>Hour (0-23)</p></td>
1353<td class="struct_member_annotations"> </td>
1354</tr>
1355<tr>
1356<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="GstMpegVideoGop.minute"></a>minute</code></em>;</p></td>
1357<td class="struct_member_description"><p>Minute (O-59)</p></td>
1358<td class="struct_member_annotations"> </td>
1359</tr>
1360<tr>
1361<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="GstMpegVideoGop.second"></a>second</code></em>;</p></td>
1362<td class="struct_member_description"><p>Second (0-59)</p></td>
1363<td class="struct_member_annotations"> </td>
1364</tr>
1365<tr>
1366<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="GstMpegVideoGop.frame"></a>frame</code></em>;</p></td>
1367<td class="struct_member_description"><p>Frame (0-59)</p></td>
1368<td class="struct_member_annotations"> </td>
1369</tr>
1370<tr>
1371<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="GstMpegVideoGop.closed-gop"></a>closed_gop</code></em>;</p></td>
1372<td class="struct_member_description"><p>Closed Gop</p></td>
1373<td class="struct_member_annotations"> </td>
1374</tr>
1375<tr>
1376<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="GstMpegVideoGop.broken-link"></a>broken_link</code></em>;</p></td>
1377<td class="struct_member_description"><p>Broken link</p></td>
1378<td class="struct_member_annotations"> </td>
1379</tr>
1380</tbody>
1381</table></div>
1382</div>
1383</div>
1384<hr>
1385<div class="refsect2">
1386<a name="GstMpegVideoPictureExt"></a><h3>struct GstMpegVideoPictureExt</h3>
1387<pre class="programlisting">struct GstMpegVideoPictureExt {
1388  guint8 f_code[2][2];
1389
1390  guint8 intra_dc_precision;
1391  guint8 picture_structure;
1392  guint8 top_field_first;
1393  guint8 frame_pred_frame_dct;
1394  guint8 concealment_motion_vectors;
1395  guint8 q_scale_type;
1396  guint8 intra_vlc_format;
1397  guint8 alternate_scan;
1398  guint8 repeat_first_field;
1399  guint8 chroma_420_type;
1400  guint8 progressive_frame;
1401  guint8 composite_display;
1402  guint8 v_axis;
1403  guint8 field_sequence;
1404  guint8 sub_carrier;
1405  guint8 burst_amplitude;
1406  guint8 sub_carrier_phase;
1407};
1408</pre>
1409<p>The Mpeg2 Video Picture Extension structure.</p>
1410<div class="refsect3">
1411<a name="GstMpegVideoPictureExt.members"></a><h4>Members</h4>
1412<div class="informaltable"><table class="informaltable" width="100%" border="0">
1413<colgroup>
1414<col width="300px" class="struct_members_name">
1415<col class="struct_members_description">
1416<col width="200px" class="struct_members_annotations">
1417</colgroup>
1418<tbody>
1419<tr>
1420<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="GstMpegVideoPictureExt.f-code"></a>f_code</code></em>[2][2];</p></td>
1421<td> </td>
1422<td> </td>
1423</tr>
1424<tr>
1425<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="GstMpegVideoPictureExt.intra-dc-precision"></a>intra_dc_precision</code></em>;</p></td>
1426<td class="struct_member_description"><p>Intra DC precision</p></td>
1427<td class="struct_member_annotations"> </td>
1428</tr>
1429<tr>
1430<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="GstMpegVideoPictureExt.picture-structure"></a>picture_structure</code></em>;</p></td>
1431<td class="struct_member_description"><p>Structure of the picture</p></td>
1432<td class="struct_member_annotations"> </td>
1433</tr>
1434<tr>
1435<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="GstMpegVideoPictureExt.top-field-first"></a>top_field_first</code></em>;</p></td>
1436<td class="struct_member_description"><p>Top field first</p></td>
1437<td class="struct_member_annotations"> </td>
1438</tr>
1439<tr>
1440<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="GstMpegVideoPictureExt.frame-pred-frame-dct"></a>frame_pred_frame_dct</code></em>;</p></td>
1441<td class="struct_member_description"><p>Frame</p></td>
1442<td class="struct_member_annotations"> </td>
1443</tr>
1444<tr>
1445<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="GstMpegVideoPictureExt.concealment-motion-vectors"></a>concealment_motion_vectors</code></em>;</p></td>
1446<td class="struct_member_description"><p>Concealment Motion Vectors</p></td>
1447<td class="struct_member_annotations"> </td>
1448</tr>
1449<tr>
1450<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="GstMpegVideoPictureExt.q-scale-type"></a>q_scale_type</code></em>;</p></td>
1451<td class="struct_member_description"><p>Q Scale Type</p></td>
1452<td class="struct_member_annotations"> </td>
1453</tr>
1454<tr>
1455<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="GstMpegVideoPictureExt.intra-vlc-format"></a>intra_vlc_format</code></em>;</p></td>
1456<td class="struct_member_description"><p>Intra Vlc Format</p></td>
1457<td class="struct_member_annotations"> </td>
1458</tr>
1459<tr>
1460<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="GstMpegVideoPictureExt.alternate-scan"></a>alternate_scan</code></em>;</p></td>
1461<td class="struct_member_description"><p>Alternate Scan</p></td>
1462<td class="struct_member_annotations"> </td>
1463</tr>
1464<tr>
1465<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="GstMpegVideoPictureExt.repeat-first-field"></a>repeat_first_field</code></em>;</p></td>
1466<td class="struct_member_description"><p>Repeat First Field</p></td>
1467<td class="struct_member_annotations"> </td>
1468</tr>
1469<tr>
1470<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="GstMpegVideoPictureExt.chroma-420-type"></a>chroma_420_type</code></em>;</p></td>
1471<td class="struct_member_description"><p>Chroma 420 Type</p></td>
1472<td class="struct_member_annotations"> </td>
1473</tr>
1474<tr>
1475<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="GstMpegVideoPictureExt.progressive-frame"></a>progressive_frame</code></em>;</p></td>
1476<td class="struct_member_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the frame is progressive <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p></td>
1477<td class="struct_member_annotations"> </td>
1478</tr>
1479<tr>
1480<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="GstMpegVideoPictureExt.composite-display"></a>composite_display</code></em>;</p></td>
1481<td> </td>
1482<td> </td>
1483</tr>
1484<tr>
1485<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="GstMpegVideoPictureExt.v-axis"></a>v_axis</code></em>;</p></td>
1486<td> </td>
1487<td> </td>
1488</tr>
1489<tr>
1490<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="GstMpegVideoPictureExt.field-sequence"></a>field_sequence</code></em>;</p></td>
1491<td> </td>
1492<td> </td>
1493</tr>
1494<tr>
1495<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="GstMpegVideoPictureExt.sub-carrier"></a>sub_carrier</code></em>;</p></td>
1496<td> </td>
1497<td> </td>
1498</tr>
1499<tr>
1500<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="GstMpegVideoPictureExt.burst-amplitude"></a>burst_amplitude</code></em>;</p></td>
1501<td> </td>
1502<td> </td>
1503</tr>
1504<tr>
1505<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="GstMpegVideoPictureExt.sub-carrier-phase"></a>sub_carrier_phase</code></em>;</p></td>
1506<td> </td>
1507<td> </td>
1508</tr>
1509</tbody>
1510</table></div>
1511</div>
1512</div>
1513<hr>
1514<div class="refsect2">
1515<a name="GstMpegVideoQuantMatrixExt"></a><h3>struct GstMpegVideoQuantMatrixExt</h3>
1516<pre class="programlisting">struct GstMpegVideoQuantMatrixExt {
1517 guint8 load_intra_quantiser_matrix;
1518 guint8 intra_quantiser_matrix[64];
1519 guint8 load_non_intra_quantiser_matrix;
1520 guint8 non_intra_quantiser_matrix[64];
1521 guint8 load_chroma_intra_quantiser_matrix;
1522 guint8 chroma_intra_quantiser_matrix[64];
1523 guint8 load_chroma_non_intra_quantiser_matrix;
1524 guint8 chroma_non_intra_quantiser_matrix[64];
1525};
1526</pre>
1527<p>The Quant Matrix Extension structure that exposes quantization
1528matrices in zigzag scan order. i.e. the original encoded scan
1529order.</p>
1530</div>
1531</div>
1532</div>
1533<div class="footer">
1534<hr>Generated by GTK-Doc V1.28</div>
1535</body>
1536</html>