diff options
Diffstat (limited to 'docs/libs/html/gst-plugins-bad-libs-mpegvideoparser.html')
-rw-r--r-- | docs/libs/html/gst-plugins-bad-libs-mpegvideoparser.html | 1853 |
1 files changed, 1051 insertions, 802 deletions
diff --git a/docs/libs/html/gst-plugins-bad-libs-mpegvideoparser.html b/docs/libs/html/gst-plugins-bad-libs-mpegvideoparser.html index 1a605bbb..d5eae6a1 100644 --- a/docs/libs/html/gst-plugins-bad-libs-mpegvideoparser.html +++ b/docs/libs/html/gst-plugins-bad-libs-mpegvideoparser.html @@ -2,30 +2,27 @@ <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>mpegvideoparser</title> +<title>GStreamer Bad Plugins 1.0 Library Reference Manual: mpegvideoparser</title> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Library Reference Manual"> <link rel="up" href="codecparsers.html" title="Bitstream parsing Library"> <link rel="prev" href="gst-plugins-bad-libs-h264parser.html" title="h264parser"> <link rel="next" href="gst-plugins-bad-libs-mpeg4parser.html" title="mpeg4parser"> -<meta name="generator" content="GTK-Doc V1.19 (XML mode)"> +<meta name="generator" content="GTK-Doc V1.20 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gst-plugins-bad-libs-h264parser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="codecparsers.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">GStreamer Bad Plugins 1.0 Library Reference Manual</th> -<td><a accesskey="n" href="gst-plugins-bad-libs-mpeg4parser.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gst-plugins-bad-libs-mpegvideoparser.synopsis" class="shortcut">Top</a> - | - <a href="#gst-plugins-bad-libs-mpegvideoparser.description" class="shortcut">Description</a> -</td></tr> -</table> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#gst-plugins-bad-libs-mpegvideoparser.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> + <a href="#gst-plugins-bad-libs-mpegvideoparser.object-hierarchy" class="shortcut">Object Hierarchy</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="codecparsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="gst-plugins-bad-libs-h264parser.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<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> +</tr></table> <div class="refentry"> <a name="gst-plugins-bad-libs-mpegvideoparser"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> @@ -34,383 +31,992 @@ <p>mpegvideoparser — Convenience library for mpeg1 and 2 video bitstream parsing.</p> </td> -<td valign="top" align="right"></td> +<td class="gallery_image" valign="top" align="right"></td> </tr></table></div> -<div class="refsynopsisdiv"> -<a name="gst-plugins-bad-libs-mpegvideoparser.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <gst/codecparsers/gstmpegvideoparser.h> - -enum <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPacketTypeCode" title="enum GstMpegVideoPacketTypeCode">GstMpegVideoPacketTypeCode</a>; -enum <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPacketExtensionCode" title="enum GstMpegVideoPacketExtensionCode">GstMpegVideoPacketExtensionCode</a>; -enum <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoLevel" title="enum GstMpegVideoLevel">GstMpegVideoLevel</a>; -enum <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoProfile" title="enum GstMpegVideoProfile">GstMpegVideoProfile</a>; -enum <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureType" title="enum GstMpegVideoPictureType">GstMpegVideoPictureType</a>; -enum <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureStructure" title="enum GstMpegVideoPictureStructure">GstMpegVideoPictureStructure</a>; -struct <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceHdr" title="struct GstMpegVideoSequenceHdr">GstMpegVideoSequenceHdr</a>; -struct <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceExt" title="struct GstMpegVideoSequenceExt">GstMpegVideoSequenceExt</a>; -struct <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureHdr" title="struct GstMpegVideoPictureHdr">GstMpegVideoPictureHdr</a>; -struct <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoGop" title="struct GstMpegVideoGop">GstMpegVideoGop</a>; -struct <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureExt" title="struct GstMpegVideoPictureExt">GstMpegVideoPictureExt</a>; -struct <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoQuantMatrixExt" title="struct GstMpegVideoQuantMatrixExt">GstMpegVideoQuantMatrixExt</a>; -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse" title="gst_mpeg_video_parse ()">gst_mpeg_video_parse</a> (<em class="parameter"><code><span class="type">GstMpegVideoPacket</span> *packet</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-sequence-header" title="gst_mpeg_video_parse_sequence_header ()">gst_mpeg_video_parse_sequence_header</a> - (<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>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-picture-header" title="gst_mpeg_video_parse_picture_header ()">gst_mpeg_video_parse_picture_header</a> (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureHdr" title="struct GstMpegVideoPictureHdr"><span class="type">GstMpegVideoPictureHdr</span></a> *hdr</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-picture-extension" title="gst_mpeg_video_parse_picture_extension ()">gst_mpeg_video_parse_picture_extension</a> - (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureExt" title="struct GstMpegVideoPictureExt"><span class="type">GstMpegVideoPictureExt</span></a> *ext</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-gop" title="gst_mpeg_video_parse_gop ()">gst_mpeg_video_parse_gop</a> (<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>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-sequence-extension" title="gst_mpeg_video_parse_sequence_extension ()">gst_mpeg_video_parse_sequence_extension</a> - (<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>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-sequence-display-extension" title="gst_mpeg_video_parse_sequence_display_extension ()">gst_mpeg_video_parse_sequence_display_extension</a> - (<em class="parameter"><code><span class="type">GstMpegVideoSequenceDisplayExt</span> *seqdisplayext</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-quant-matrix-extension" title="gst_mpeg_video_parse_quant_matrix_extension ()">gst_mpeg_video_parse_quant_matrix_extension</a> - (<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>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <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> - (<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>, - <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>, - <em class="parameter"><code><span class="type">GstMpegVideoSequenceDisplayExt</span> *displayext</code></em>); -<span class="returnvalue">void</span> <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> - (<em class="parameter"><code><span class="type">guint8</span> out_quant[64]</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> quant[64]</code></em>); -<span class="returnvalue">void</span> <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> - (<em class="parameter"><code><span class="type">guint8</span> out_quant[64]</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> quant[64]</code></em>); +<div class="refsect1"> +<a name="gst-plugins-bad-libs-mpegvideoparser.functions"></a><h2>Functions</h2> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_return"> +<col class="functions_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<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> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-sequence-header" title="gst_mpeg_video_parse_sequence_header ()">gst_mpeg_video_parse_sequence_header</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-picture-header" title="gst_mpeg_video_parse_picture_header ()">gst_mpeg_video_parse_picture_header</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-picture-extension" title="gst_mpeg_video_parse_picture_extension ()">gst_mpeg_video_parse_picture_extension</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-gop" title="gst_mpeg_video_parse_gop ()">gst_mpeg_video_parse_gop</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-sequence-extension" title="gst_mpeg_video_parse_sequence_extension ()">gst_mpeg_video_parse_sequence_extension</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-sequence-display-extension" title="gst_mpeg_video_parse_sequence_display_extension ()">gst_mpeg_video_parse_sequence_display_extension</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#gst-mpeg-video-parse-quant-matrix-extension" title="gst_mpeg_video_parse_quant_matrix_extension ()">gst_mpeg_video_parse_quant_matrix_extension</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +</td> +<td class="function_name"> +<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> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<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> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<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> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="gst-plugins-bad-libs-mpegvideoparser.other"></a><h2>Types and Values</h2> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="name"> +<col class="description"> +</colgroup> +<tbody> +<tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPacketTypeCode" title="enum GstMpegVideoPacketTypeCode">GstMpegVideoPacketTypeCode</a></td> +</tr> +<tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPacketExtensionCode" title="enum GstMpegVideoPacketExtensionCode">GstMpegVideoPacketExtensionCode</a></td> +</tr> +<tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoLevel" title="enum GstMpegVideoLevel">GstMpegVideoLevel</a></td> +</tr> +<tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoProfile" title="enum GstMpegVideoProfile">GstMpegVideoProfile</a></td> +</tr> +<tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureType" title="enum GstMpegVideoPictureType">GstMpegVideoPictureType</a></td> +</tr> +<tr> +<td class="datatype_keyword">enum</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureStructure" title="enum GstMpegVideoPictureStructure">GstMpegVideoPictureStructure</a></td> +</tr> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceHdr" title="struct GstMpegVideoSequenceHdr">GstMpegVideoSequenceHdr</a></td> +</tr> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceExt" title="struct GstMpegVideoSequenceExt">GstMpegVideoSequenceExt</a></td> +</tr> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureHdr" title="struct GstMpegVideoPictureHdr">GstMpegVideoPictureHdr</a></td> +</tr> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoGop" title="struct GstMpegVideoGop">GstMpegVideoGop</a></td> +</tr> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureExt" title="struct GstMpegVideoPictureExt">GstMpegVideoPictureExt</a></td> +</tr> +<tr> +<td class="datatype_keyword">struct</td> +<td class="function_name"><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoQuantMatrixExt" title="struct GstMpegVideoQuantMatrixExt">GstMpegVideoQuantMatrixExt</a></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="gst-plugins-bad-libs-mpegvideoparser.object-hierarchy"></a><h2>Object Hierarchy</h2> +<pre class="screen"> +</pre> +</div> +<div class="refsect1"> +<a name="gst-plugins-bad-libs-mpegvideoparser.includes"></a><h2>Includes</h2> +<pre class="synopsis">#include <gst/codecparsers/gstmpegvideoparser.h> </pre> </div> <div class="refsect1"> <a name="gst-plugins-bad-libs-mpegvideoparser.description"></a><h2>Description</h2> -<p> -</p> <div class="refsect2"> -<a name="id-1.2.4.4.4.2.1"></a><p> +<a name="id-1.2.4.4.7.2"></a><p> Provides useful functions for mpeg videos bitstream parsing. </p> </div> -<p> +</div> +<div class="refsect1"> +<a name="gst-plugins-bad-libs-mpegvideoparser.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gst-mpeg-video-parse"></a><h3>gst_mpeg_video_parse ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +gst_mpeg_video_parse (<em class="parameter"><code><span class="type">GstMpegVideoPacket</span> *packet</code></em>, + <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, + <em class="parameter"><code><span class="type">gsize</span> size</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> +<p>Parses the MPEG 1/2 video bitstream contained in <em class="parameter"><code>data</code></em> +, and returns the +offset, and if known also the size, in <em class="parameter"><code>packet</code></em> +. This function will scan +the data to find the next packet if needed.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.8.2.5"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>packet</p></td> +<td class="parameter_description"><p>a <span class="type">GstMpegVideoPacket</span> to fill with the data and offset of the +next packet found</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The data to parse</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>size</p></td> +<td class="parameter_description"><p>The size of <em class="parameter"><code>data</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>offset</p></td> +<td class="parameter_description"><p>The offset from which to start parsing</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.4.4.8.2.6"></a><h4>Returns</h4> +<p> TRUE if a packet start code was found, otherwise FALSE.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gst-mpeg-video-parse-sequence-header"></a><h3>gst_mpeg_video_parse_sequence_header ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +gst_mpeg_video_parse_sequence_header (<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>, + <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, + <em class="parameter"><code><span class="type">gsize</span> size</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> +<div class="warning"> +<p><code class="literal">gst_mpeg_video_parse_sequence_header</code> is deprecated and should not be used in newly-written code.</p> +<p>Use <code class="function">gst_mpeg_video_packet_parse_sequence_header()</code> instead.</p> +</div> +<p>Parses the <em class="parameter"><code>seqhdr</code></em> + Mpeg Video Sequence Header structure members from <em class="parameter"><code>data</code></em> +</p> +<div class="refsect3"> +<a name="id-1.2.4.4.8.3.6"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>seqhdr</p></td> +<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> +<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> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The data from which to parse the sequence header</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>size</p></td> +<td class="parameter_description"><p>The size of <em class="parameter"><code>data</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>offset</p></td> +<td class="parameter_description"><p>The offset in byte from which to start parsing <em class="parameter"><code>data</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.4.4.8.3.7"></a><h4>Returns</h4> +<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the seqhdr could be parsed correctly, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gst-mpeg-video-parse-picture-header"></a><h3>gst_mpeg_video_parse_picture_header ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +gst_mpeg_video_parse_picture_header (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureHdr" title="struct GstMpegVideoPictureHdr"><span class="type">GstMpegVideoPictureHdr</span></a> *hdr</code></em>, + <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, + <em class="parameter"><code><span class="type">gsize</span> size</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> +<div class="warning"> +<p><code class="literal">gst_mpeg_video_parse_picture_header</code> is deprecated and should not be used in newly-written code.</p> +<p>Use <code class="function">gst_mpeg_video_packet_parse_picture_header()</code> instead.</p> +</div> +<p>Parsers the <em class="parameter"><code>hdr</code></em> + Mpeg Video Picture Header structure members from <em class="parameter"><code>data</code></em> +</p> +<div class="refsect3"> +<a name="id-1.2.4.4.8.4.6"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>hdr</p></td> +<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> +<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> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The data from which to parse the picture header</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>size</p></td> +<td class="parameter_description"><p>The size of <em class="parameter"><code>data</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>offset</p></td> +<td class="parameter_description"><p>The offset in byte from which to start the parsing</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.4.4.8.4.7"></a><h4>Returns</h4> +<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the picture sequence could be parsed correctly, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> +otherwize.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gst-mpeg-video-parse-picture-extension"></a><h3>gst_mpeg_video_parse_picture_extension ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +gst_mpeg_video_parse_picture_extension + (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureExt" title="struct GstMpegVideoPictureExt"><span class="type">GstMpegVideoPictureExt</span></a> *ext</code></em>, + <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, + <em class="parameter"><code><span class="type">gsize</span> size</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> +<div class="warning"> +<p><code class="literal">gst_mpeg_video_parse_picture_extension</code> is deprecated and should not be used in newly-written code.</p> +<p>Use <code class="function">gst_mpeg_video_packet_parse_picture_extension()</code> instead.</p> +</div> +<p>Parse the <em class="parameter"><code>ext</code></em> + Mpeg Video Picture Extension structure members from <em class="parameter"><code>data</code></em> +</p> +<div class="refsect3"> +<a name="id-1.2.4.4.8.5.6"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>ext</p></td> +<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> +<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> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The data from which to parse the picture extension</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>size</p></td> +<td class="parameter_description"><p>The size of <em class="parameter"><code>data</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>offset</p></td> +<td class="parameter_description"><p>The offset in byte from which to start the parsing</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.4.4.8.5.7"></a><h4>Returns</h4> +<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the picture extension could be parsed correctly, +<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gst-mpeg-video-parse-gop"></a><h3>gst_mpeg_video_parse_gop ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +gst_mpeg_video_parse_gop (<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>, + <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, + <em class="parameter"><code><span class="type">gsize</span> size</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> +<div class="warning"> +<p><code class="literal">gst_mpeg_video_parse_gop</code> is deprecated and should not be used in newly-written code.</p> +<p>Use <code class="function">gst_mpeg_video_packet_parse_gop()</code> instead.</p> +</div> +<p>Parses the <em class="parameter"><code>gop</code></em> + Mpeg Video Group of Picture structure members from <em class="parameter"><code>data</code></em> +</p> +<div class="refsect3"> +<a name="id-1.2.4.4.8.6.6"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>gop</p></td> +<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> +<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> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The data from which to parse the gop</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>size</p></td> +<td class="parameter_description"><p>The size of <em class="parameter"><code>data</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>offset</p></td> +<td class="parameter_description"><p>The offset in byte from which to start the parsing</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.4.4.8.6.7"></a><h4>Returns</h4> +<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the gop could be parsed correctly, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gst-mpeg-video-parse-sequence-extension"></a><h3>gst_mpeg_video_parse_sequence_extension ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +gst_mpeg_video_parse_sequence_extension + (<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>, + <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, + <em class="parameter"><code><span class="type">gsize</span> size</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> +<div class="warning"> +<p><code class="literal">gst_mpeg_video_parse_sequence_extension</code> is deprecated and should not be used in newly-written code.</p> +<p>Use <code class="function">gst_mpeg_video_packet_parse_sequence_extension()</code> instead.</p> +</div> +<p>Parses the <em class="parameter"><code>seqext</code></em> + Mpeg Video Sequence Extension structure members from <em class="parameter"><code>data</code></em> +</p> +<div class="refsect3"> +<a name="id-1.2.4.4.8.7.6"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>seqext</p></td> +<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> +<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> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The data from which to parse the sequence extension</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>size</p></td> +<td class="parameter_description"><p>The size of <em class="parameter"><code>data</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>offset</p></td> +<td class="parameter_description"><p>The offset in byte from which to start parsing <em class="parameter"><code>data</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.4.4.8.7.7"></a><h4>Returns</h4> +<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the seqext could be parsed correctly, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gst-mpeg-video-parse-sequence-display-extension"></a><h3>gst_mpeg_video_parse_sequence_display_extension ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +gst_mpeg_video_parse_sequence_display_extension + (<em class="parameter"><code><span class="type">GstMpegVideoSequenceDisplayExt</span> *seqdisplayext</code></em>, + <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, + <em class="parameter"><code><span class="type">gsize</span> size</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> +<div class="warning"><p><code class="literal">gst_mpeg_video_parse_sequence_display_extension</code> is deprecated and should not be used in newly-written code.</p></div> +</div> +<hr> +<div class="refsect2"> +<a name="gst-mpeg-video-parse-quant-matrix-extension"></a><h3>gst_mpeg_video_parse_quant_matrix_extension ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +gst_mpeg_video_parse_quant_matrix_extension + (<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>, + <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, + <em class="parameter"><code><span class="type">gsize</span> size</code></em>, + <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> +<div class="warning"> +<p><code class="literal">gst_mpeg_video_parse_quant_matrix_extension</code> is deprecated and should not be used in newly-written code.</p> +<p>Use <code class="function">gst_mpeg_video_packet_parse_quant_matrix_extension()</code> instead.</p> +</div> +<p>Parses the <em class="parameter"><code>quant</code></em> + Mpeg Video Quant Matrix Extension structure members from +<em class="parameter"><code>data</code></em> </p> +<div class="refsect3"> +<a name="id-1.2.4.4.8.9.6"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>quant</p></td> +<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> +<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> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The data from which to parse the Quantization Matrix extension</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>size</p></td> +<td class="parameter_description"><p>The size of <em class="parameter"><code>data</code></em> +</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>offset</p></td> +<td class="parameter_description"><p>The offset in byte from which to start the parsing</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.4.4.8.9.7"></a><h4>Returns</h4> +<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the quant matrix extension could be parsed correctly, +<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="gst-mpeg-video-finalise-mpeg2-sequence-header"></a><h3>gst_mpeg_video_finalise_mpeg2_sequence_header ()</h3> +<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +gst_mpeg_video_finalise_mpeg2_sequence_header + (<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>, + <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>, + <em class="parameter"><code><span class="type">GstMpegVideoSequenceDisplayExt</span> *displayext</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gst-mpeg-video-quant-matrix-get-raster-from-zigzag"></a><h3>gst_mpeg_video_quant_matrix_get_raster_from_zigzag ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gst_mpeg_video_quant_matrix_get_raster_from_zigzag + (<em class="parameter"><code><span class="type">guint8</span> out_quant[64]</code></em>, + <em class="parameter"><code>const <span class="type">guint8</span> quant[64]</code></em>);</pre> +<p>Converts quantization matrix <em class="parameter"><code>quant</code></em> + from zigzag scan order to +raster scan order and store the resulting factors into <em class="parameter"><code>out_quant</code></em> +.</p> +<p>Note: it is an error to pass the same table in both <em class="parameter"><code>quant</code></em> + and +<em class="parameter"><code>out_quant</code></em> + arguments.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.8.11.6"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>out_quant</p></td> +<td class="parameter_description"><p> The resulting quantization matrix. </p></td> +<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> +</tr> +<tr> +<td class="parameter_name"><p>quant</p></td> +<td class="parameter_description"><p>The source quantization matrix</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since 1.2</p> +</div> +<hr> +<div class="refsect2"> +<a name="gst-mpeg-video-quant-matrix-get-zigzag-from-raster"></a><h3>gst_mpeg_video_quant_matrix_get_zigzag_from_raster ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gst_mpeg_video_quant_matrix_get_zigzag_from_raster + (<em class="parameter"><code><span class="type">guint8</span> out_quant[64]</code></em>, + <em class="parameter"><code>const <span class="type">guint8</span> quant[64]</code></em>);</pre> +<p>Converts quantization matrix <em class="parameter"><code>quant</code></em> + from raster scan order to +zigzag scan order and store the resulting factors into <em class="parameter"><code>out_quant</code></em> +.</p> +<p>Note: it is an error to pass the same table in both <em class="parameter"><code>quant</code></em> + and +<em class="parameter"><code>out_quant</code></em> + arguments.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.8.12.6"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>out_quant</p></td> +<td class="parameter_description"><p> The resulting quantization matrix. </p></td> +<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> +</tr> +<tr> +<td class="parameter_name"><p>quant</p></td> +<td class="parameter_description"><p>The source quantization matrix</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<p class="since">Since 1.2</p> +</div> </div> <div class="refsect1"> -<a name="gst-plugins-bad-libs-mpegvideoparser.details"></a><h2>Details</h2> +<a name="gst-plugins-bad-libs-mpegvideoparser.other_details"></a><h2>Types and Values</h2> <div class="refsect2"> <a name="GstMpegVideoPacketTypeCode"></a><h3>enum GstMpegVideoPacketTypeCode</h3> -<pre class="programlisting">typedef enum { - GST_MPEG_VIDEO_PACKET_PICTURE = 0x00, - GST_MPEG_VIDEO_PACKET_SLICE_MIN = 0x01, - GST_MPEG_VIDEO_PACKET_SLICE_MAX = 0xaf, - GST_MPEG_VIDEO_PACKET_USER_DATA = 0xb2, - GST_MPEG_VIDEO_PACKET_SEQUENCE = 0xb3, - GST_MPEG_VIDEO_PACKET_EXTENSION = 0xb5, - GST_MPEG_VIDEO_PACKET_SEQUENCE_END = 0xb7, - GST_MPEG_VIDEO_PACKET_GOP = 0xb8, - GST_MPEG_VIDEO_PACKET_NONE = 0xff -} GstMpegVideoPacketTypeCode; -</pre> -<p> -Indicates the type of MPEG packet -</p> -<div class="variablelist"><table border="0" class="variablelist"> +<p>Indicates the type of MPEG packet</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.2.4"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="enum_members_name"> +<col class="enum_members_description"> +<col width="200px" class="enum_members_annotations"> </colgroup> <tbody> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-PICTURE:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_PICTURE</code></span></p></td> -<td>Picture packet starting code +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-PICTURE:CAPS"></a>GST_MPEG_VIDEO_PACKET_PICTURE</p></td> +<td class="enum_member_description"> +<p>Picture packet starting code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-SLICE-MIN:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_SLICE_MIN</code></span></p></td> -<td>Slice min packet starting code +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-SLICE-MIN:CAPS"></a>GST_MPEG_VIDEO_PACKET_SLICE_MIN</p></td> +<td class="enum_member_description"> +<p>Slice min packet starting code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-SLICE-MAX:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_SLICE_MAX</code></span></p></td> -<td>Slice max packet starting code +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-SLICE-MAX:CAPS"></a>GST_MPEG_VIDEO_PACKET_SLICE_MAX</p></td> +<td class="enum_member_description"> +<p>Slice max packet starting code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-USER-DATA:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_USER_DATA</code></span></p></td> -<td>User data packet starting code +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-USER-DATA:CAPS"></a>GST_MPEG_VIDEO_PACKET_USER_DATA</p></td> +<td class="enum_member_description"> +<p>User data packet starting code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-SEQUENCE:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_SEQUENCE</code></span></p></td> -<td>Sequence packet starting code +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-SEQUENCE:CAPS"></a>GST_MPEG_VIDEO_PACKET_SEQUENCE</p></td> +<td class="enum_member_description"> +<p>Sequence packet starting code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-EXTENSION:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_EXTENSION</code></span></p></td> -<td>Extension packet starting code +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-EXTENSION:CAPS"></a>GST_MPEG_VIDEO_PACKET_EXTENSION</p></td> +<td class="enum_member_description"> +<p>Extension packet starting code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-SEQUENCE-END:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_SEQUENCE_END</code></span></p></td> -<td>Sequence end packet code +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-SEQUENCE-END:CAPS"></a>GST_MPEG_VIDEO_PACKET_SEQUENCE_END</p></td> +<td class="enum_member_description"> +<p>Sequence end packet code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-GOP:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_GOP</code></span></p></td> -<td>Group of Picture packet starting code +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-GOP:CAPS"></a>GST_MPEG_VIDEO_PACKET_GOP</p></td> +<td class="enum_member_description"> +<p>Group of Picture packet starting code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-NONE:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_NONE</code></span></p></td> -<td>None packet code +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-NONE:CAPS"></a>GST_MPEG_VIDEO_PACKET_NONE</p></td> +<td class="enum_member_description"> +<p>None packet code</p> </td> +<td class="enum_member_annotations"> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoPacketExtensionCode"></a><h3>enum GstMpegVideoPacketExtensionCode</h3> -<pre class="programlisting">typedef enum { - GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE = 0x01, - GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE_DISPLAY = 0x02, - GST_MPEG_VIDEO_PACKET_EXT_QUANT_MATRIX = 0x03, - GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE_SCALABLE = 0x05, - GST_MPEG_VIDEO_PACKET_EXT_PICTURE = 0x08 -} GstMpegVideoPacketExtensionCode; -</pre> -<p> -Indicates what type of packets are in this block, some are mutually +<p>Indicates what type of packets are in this block, some are mutually exclusive though - ie, sequence packs are accumulated separately. GOP & -Picture may occur together or separately. -</p> -<div class="variablelist"><table border="0" class="variablelist"> +Picture may occur together or separately.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.3.4"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="enum_members_name"> +<col class="enum_members_description"> +<col width="200px" class="enum_members_annotations"> </colgroup> <tbody> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-EXT-SEQUENCE:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE</code></span></p></td> -<td>Sequence extension code +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-EXT-SEQUENCE:CAPS"></a>GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE</p></td> +<td class="enum_member_description"> +<p>Sequence extension code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-EXT-SEQUENCE-DISPLAY:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE_DISPLAY</code></span></p></td> -<td>Sequence Display extension code +<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> +<td class="enum_member_description"> +<p>Sequence Display extension code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-EXT-QUANT-MATRIX:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_EXT_QUANT_MATRIX</code></span></p></td> -<td>Quantization Matrix extension code +<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> +<td class="enum_member_description"> +<p>Quantization Matrix extension code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-EXT-SEQUENCE-SCALABLE:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_EXT_SEQUENCE_SCALABLE</code></span></p></td> -<td>Sequence Scalable extension code +<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> +<td class="enum_member_description"> +<p>Sequence Scalable extension code</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PACKET-EXT-PICTURE:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PACKET_EXT_PICTURE</code></span></p></td> -<td>Picture coding extension +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PACKET-EXT-PICTURE:CAPS"></a>GST_MPEG_VIDEO_PACKET_EXT_PICTURE</p></td> +<td class="enum_member_description"> +<p>Picture coding extension</p> </td> +<td class="enum_member_annotations"> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoLevel"></a><h3>enum GstMpegVideoLevel</h3> -<pre class="programlisting">typedef enum { - GST_MPEG_VIDEO_LEVEL_HIGH = 0x04, - GST_MPEG_VIDEO_LEVEL_HIGH_1440 = 0x06, - GST_MPEG_VIDEO_LEVEL_MAIN = 0x08, - GST_MPEG_VIDEO_LEVEL_LOW = 0x0a -} GstMpegVideoLevel; -</pre> -<p> -Mpeg-2 Levels. -</p> -<div class="variablelist"><table border="0" class="variablelist"> +<p>Mpeg-2 Levels.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.4.4"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="enum_members_name"> +<col class="enum_members_description"> +<col width="200px" class="enum_members_annotations"> </colgroup> <tbody> <tr> -<td><p><a name="GST-MPEG-VIDEO-LEVEL-HIGH:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_LEVEL_HIGH</code></span></p></td> -<td>High level (HL) +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-LEVEL-HIGH:CAPS"></a>GST_MPEG_VIDEO_LEVEL_HIGH</p></td> +<td class="enum_member_description"> +<p>High level (HL)</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-LEVEL-HIGH-1440:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_LEVEL_HIGH_1440</code></span></p></td> -<td>High 1440 level (H-14) +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-LEVEL-HIGH-1440:CAPS"></a>GST_MPEG_VIDEO_LEVEL_HIGH_1440</p></td> +<td class="enum_member_description"> +<p>High 1440 level (H-14)</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-LEVEL-MAIN:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_LEVEL_MAIN</code></span></p></td> -<td>Main level (ML) +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-LEVEL-MAIN:CAPS"></a>GST_MPEG_VIDEO_LEVEL_MAIN</p></td> +<td class="enum_member_description"> +<p>Main level (ML)</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-LEVEL-LOW:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_LEVEL_LOW</code></span></p></td> -<td>Low level (LL) +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-LEVEL-LOW:CAPS"></a>GST_MPEG_VIDEO_LEVEL_LOW</p></td> +<td class="enum_member_description"> +<p>Low level (LL)</p> </td> +<td class="enum_member_annotations"> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoProfile"></a><h3>enum GstMpegVideoProfile</h3> -<pre class="programlisting">typedef enum { - GST_MPEG_VIDEO_PROFILE_422 = 0x00, - GST_MPEG_VIDEO_PROFILE_HIGH = 0x01, - GST_MPEG_VIDEO_PROFILE_SPATIALLY_SCALABLE = 0x02, - GST_MPEG_VIDEO_PROFILE_SNR_SCALABLE = 0x03, - GST_MPEG_VIDEO_PROFILE_MAIN = 0x04, - GST_MPEG_VIDEO_PROFILE_SIMPLE = 0x05 -} GstMpegVideoProfile; -</pre> -<p> -Mpeg-2 Profiles. -</p> -<div class="variablelist"><table border="0" class="variablelist"> +<p>Mpeg-2 Profiles.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.5.4"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="enum_members_name"> +<col class="enum_members_description"> +<col width="200px" class="enum_members_annotations"> </colgroup> <tbody> <tr> -<td><p><a name="GST-MPEG-VIDEO-PROFILE-422:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PROFILE_422</code></span></p></td> -<td>4:2:2 profile (422) +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-422:CAPS"></a>GST_MPEG_VIDEO_PROFILE_422</p></td> +<td class="enum_member_description"> +<p>4:2:2 profile (422)</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PROFILE-HIGH:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PROFILE_HIGH</code></span></p></td> -<td>High profile (HP) +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-HIGH:CAPS"></a>GST_MPEG_VIDEO_PROFILE_HIGH</p></td> +<td class="enum_member_description"> +<p>High profile (HP)</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PROFILE-SPATIALLY-SCALABLE:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PROFILE_SPATIALLY_SCALABLE</code></span></p></td> -<td>Spatially Scalable profile (Spatial) +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-SPATIALLY-SCALABLE:CAPS"></a>GST_MPEG_VIDEO_PROFILE_SPATIALLY_SCALABLE</p></td> +<td class="enum_member_description"> +<p>Spatially Scalable profile (Spatial)</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PROFILE-SNR-SCALABLE:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PROFILE_SNR_SCALABLE</code></span></p></td> -<td>SNR Scalable profile (SNR) +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-SNR-SCALABLE:CAPS"></a>GST_MPEG_VIDEO_PROFILE_SNR_SCALABLE</p></td> +<td class="enum_member_description"> +<p>SNR Scalable profile (SNR)</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PROFILE-MAIN:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PROFILE_MAIN</code></span></p></td> -<td>Main profile (MP) +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-MAIN:CAPS"></a>GST_MPEG_VIDEO_PROFILE_MAIN</p></td> +<td class="enum_member_description"> +<p>Main profile (MP)</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PROFILE-SIMPLE:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PROFILE_SIMPLE</code></span></p></td> -<td>Simple profile (SP) +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PROFILE-SIMPLE:CAPS"></a>GST_MPEG_VIDEO_PROFILE_SIMPLE</p></td> +<td class="enum_member_description"> +<p>Simple profile (SP)</p> </td> +<td class="enum_member_annotations"> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoPictureType"></a><h3>enum GstMpegVideoPictureType</h3> -<pre class="programlisting">typedef enum { - GST_MPEG_VIDEO_PICTURE_TYPE_I = 0x01, - GST_MPEG_VIDEO_PICTURE_TYPE_P = 0x02, - GST_MPEG_VIDEO_PICTURE_TYPE_B = 0x03, - GST_MPEG_VIDEO_PICTURE_TYPE_D = 0x04 -} GstMpegVideoPictureType; -</pre> -<p> -Picture type. -</p> -<div class="variablelist"><table border="0" class="variablelist"> +<p>Picture type.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.6.4"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="enum_members_name"> +<col class="enum_members_description"> +<col width="200px" class="enum_members_annotations"> </colgroup> <tbody> <tr> -<td><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-I:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PICTURE_TYPE_I</code></span></p></td> -<td>Intra-coded (I) frame +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-I:CAPS"></a>GST_MPEG_VIDEO_PICTURE_TYPE_I</p></td> +<td class="enum_member_description"> +<p>Intra-coded (I) frame</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-P:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PICTURE_TYPE_P</code></span></p></td> -<td>Predictive-codec (P) frame +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-P:CAPS"></a>GST_MPEG_VIDEO_PICTURE_TYPE_P</p></td> +<td class="enum_member_description"> +<p>Predictive-codec (P) frame</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-B:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PICTURE_TYPE_B</code></span></p></td> -<td>Bidirectionally predictive-coded (B) frame +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-B:CAPS"></a>GST_MPEG_VIDEO_PICTURE_TYPE_B</p></td> +<td class="enum_member_description"> +<p>Bidirectionally predictive-coded (B) frame</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-D:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PICTURE_TYPE_D</code></span></p></td> -<td>D frame +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-TYPE-D:CAPS"></a>GST_MPEG_VIDEO_PICTURE_TYPE_D</p></td> +<td class="enum_member_description"> +<p>D frame</p> </td> +<td class="enum_member_annotations"> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoPictureStructure"></a><h3>enum GstMpegVideoPictureStructure</h3> -<pre class="programlisting">typedef enum { - GST_MPEG_VIDEO_PICTURE_STRUCTURE_TOP_FIELD = 0x01, - GST_MPEG_VIDEO_PICTURE_STRUCTURE_BOTTOM_FIELD = 0x02, - GST_MPEG_VIDEO_PICTURE_STRUCTURE_FRAME = 0x03 -} GstMpegVideoPictureStructure; -</pre> -<p> -Picture structure type. -</p> -<div class="variablelist"><table border="0" class="variablelist"> +<p>Picture structure type.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.7.4"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="enum_members_name"> +<col class="enum_members_description"> +<col width="200px" class="enum_members_annotations"> </colgroup> <tbody> <tr> -<td><p><a name="GST-MPEG-VIDEO-PICTURE-STRUCTURE-TOP-FIELD:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PICTURE_STRUCTURE_TOP_FIELD</code></span></p></td> -<td>Top field +<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> +<td class="enum_member_description"> +<p>Top field</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PICTURE-STRUCTURE-BOTTOM-FIELD:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PICTURE_STRUCTURE_BOTTOM_FIELD</code></span></p></td> -<td>Bottom field +<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> +<td class="enum_member_description"> +<p>Bottom field</p> </td> +<td class="enum_member_annotations"> </td> </tr> <tr> -<td><p><a name="GST-MPEG-VIDEO-PICTURE-STRUCTURE-FRAME:CAPS"></a><span class="term"><code class="literal">GST_MPEG_VIDEO_PICTURE_STRUCTURE_FRAME</code></span></p></td> -<td>Frame picture +<td class="enum_member_name"><p><a name="GST-MPEG-VIDEO-PICTURE-STRUCTURE-FRAME:CAPS"></a>GST_MPEG_VIDEO_PICTURE_STRUCTURE_FRAME</p></td> +<td class="enum_member_description"> +<p>Frame picture</p> </td> +<td class="enum_member_annotations"> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoSequenceHdr"></a><h3>struct GstMpegVideoSequenceHdr</h3> @@ -432,75 +1038,90 @@ Picture structure type. guint bitrate; }; </pre> -<p> -The Mpeg2 Video Sequence Header structure. -</p> -<div class="variablelist"><table border="0" class="variablelist"> +<p>The Mpeg2 Video Sequence Header structure.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.8.5"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="struct_members_name"> +<col class="struct_members_description"> +<col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> -<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.width"></a>width</code></em>;</span></p></td> -<td>Width of each frame</td> +<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.width"></a>width</code></em>;</p></td> +<td class="struct_member_description"><p>Width of each frame</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.height"></a>height</code></em>;</span></p></td> -<td>Height of each frame</td> +<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.height"></a>height</code></em>;</p></td> +<td class="struct_member_description"><p>Height of each frame</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.aspect-ratio-info"></a>aspect_ratio_info</code></em>;</span></p></td> -<td></td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.aspect-ratio-info"></a>aspect_ratio_info</code></em>;</p></td> +<td> </td> +<td> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.frame-rate-code"></a>frame_rate_code</code></em>;</span></p></td> -<td></td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.frame-rate-code"></a>frame_rate_code</code></em>;</p></td> +<td> </td> +<td> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint32</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.bitrate-value"></a>bitrate_value</code></em>;</span></p></td> -<td>Value of the bitrate as is in the stream (400bps unit)</td> +<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.bitrate-value"></a>bitrate_value</code></em>;</p></td> +<td class="struct_member_description"><p>Value of the bitrate as is in the stream (400bps unit)</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.vbv-buffer-size-value"></a>vbv_buffer_size_value</code></em>;</span></p></td> -<td></td> +<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.vbv-buffer-size-value"></a>vbv_buffer_size_value</code></em>;</p></td> +<td> </td> +<td> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.constrained-parameters-flag"></a>constrained_parameters_flag</code></em>;</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this stream uses contrained parameters.</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.constrained-parameters-flag"></a>constrained_parameters_flag</code></em>;</p></td> +<td class="struct_member_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this stream uses contrained parameters.</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.intra-quantizer-matrix"></a>intra_quantizer_matrix</code></em>[64];</span></p></td> -<td>intra-quantization table, in zigzag scan order</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.intra-quantizer-matrix"></a>intra_quantizer_matrix</code></em>[64];</p></td> +<td class="struct_member_description"><p>intra-quantization table, in zigzag scan order</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.non-intra-quantizer-matrix"></a>non_intra_quantizer_matrix</code></em>[64];</span></p></td> -<td>non-intra quantization table, in zigzag scan order</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.non-intra-quantizer-matrix"></a>non_intra_quantizer_matrix</code></em>[64];</p></td> +<td class="struct_member_description"><p>non-intra quantization table, in zigzag scan order</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/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>;</span></p></td> -<td>Calculated Pixel Aspect Ratio width</td> +<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/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> +<td class="struct_member_description"><p>Calculated Pixel Aspect Ratio width</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/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>;</span></p></td> -<td>Calculated Pixel Aspect Ratio height</td> +<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/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> +<td class="struct_member_description"><p>Calculated Pixel Aspect Ratio height</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/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>;</span></p></td> -<td>Calculated Framrate nominator</td> +<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/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> +<td class="struct_member_description"><p>Calculated Framrate nominator</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/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>;</span></p></td> -<td>Calculated Framerate denominator</td> +<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/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> +<td class="struct_member_description"><p>Calculated Framerate denominator</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstMpegVideoSequenceHdr.bitrate"></a>bitrate</code></em>;</span></p></td> -<td>the real bitrate of the Mpeg video stream in bits per second, 0 if VBR stream</td> +<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/glib/unstable/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> +<td class="struct_member_description"><p>the real bitrate of the Mpeg video stream in bits per second, 0 if VBR stream</p></td> +<td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoSequenceExt"></a><h3>struct GstMpegVideoSequenceExt</h3> @@ -521,65 +1142,76 @@ The Mpeg2 Video Sequence Header structure. guint8 fps_n_ext, fps_d_ext; }; </pre> -<p> -The Mpeg2 Video Sequence Extension structure. -</p> -<div class="variablelist"><table border="0" class="variablelist"> +<p>The Mpeg2 Video Sequence Extension structure.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.9.5"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="struct_members_name"> +<col class="struct_members_description"> +<col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.profile"></a>profile</code></em>;</span></p></td> -<td>mpeg2 decoder profile</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.profile"></a>profile</code></em>;</p></td> +<td class="struct_member_description"><p>mpeg2 decoder profile</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.level"></a>level</code></em>;</span></p></td> -<td>mpeg2 decoder level</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.level"></a>level</code></em>;</p></td> +<td class="struct_member_description"><p>mpeg2 decoder level</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.progressive"></a>progressive</code></em>;</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the frames are progressive <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.progressive"></a>progressive</code></em>;</p></td> +<td class="struct_member_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the frames are progressive <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.chroma-format"></a>chroma_format</code></em>;</span></p></td> -<td>indicates the chrominance format</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.chroma-format"></a>chroma_format</code></em>;</p></td> +<td class="struct_member_description"><p>indicates the chrominance format</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.horiz-size-ext"></a>horiz_size_ext</code></em>;</span></p></td> -<td>Horizontal size</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.horiz-size-ext"></a>horiz_size_ext</code></em>;</p></td> +<td class="struct_member_description"><p>Horizontal size</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.vert-size-ext"></a>vert_size_ext</code></em>;</span></p></td> -<td>Vertical size</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.vert-size-ext"></a>vert_size_ext</code></em>;</p></td> +<td class="struct_member_description"><p>Vertical size</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.bitrate-ext"></a>bitrate_ext</code></em>;</span></p></td> -<td>The bitrate</td> +<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.bitrate-ext"></a>bitrate_ext</code></em>;</p></td> +<td class="struct_member_description"><p>The bitrate</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.vbv-buffer-size-extension"></a>vbv_buffer_size_extension</code></em>;</span></p></td> -<td>VBV vuffer size</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.vbv-buffer-size-extension"></a>vbv_buffer_size_extension</code></em>;</p></td> +<td class="struct_member_description"><p>VBV vuffer size</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.low-delay"></a>low_delay</code></em>;</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the sequence doesn't contain any B-pictures, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> -otherwise</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.low-delay"></a>low_delay</code></em>;</p></td> +<td class="struct_member_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the sequence doesn't contain any B-pictures, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> +otherwise</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.fps-n-ext"></a>fps_n_ext</code></em>;</span></p></td> -<td>Framerate nominator code</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.fps-n-ext"></a>fps_n_ext</code></em>;</p></td> +<td class="struct_member_description"><p>Framerate nominator code</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.fps-d-ext"></a>fps_d_ext</code></em>;</span></p></td> -<td>Framerate denominator code</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoSequenceExt.fps-d-ext"></a>fps_d_ext</code></em>;</p></td> +<td class="struct_member_description"><p>Framerate denominator code</p></td> +<td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoPictureHdr"></a><h3>struct GstMpegVideoPictureHdr</h3> @@ -592,40 +1224,47 @@ otherwise</td> guint8 f_code[2][2]; }; </pre> -<p> -The Mpeg2 Video Picture Header structure. -</p> -<div class="variablelist"><table border="0" class="variablelist"> +<p>The Mpeg2 Video Picture Header structure.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.10.5"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="struct_members_name"> +<col class="struct_members_description"> +<col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> -<td><p><span class="term"><span class="type">guint16</span> <em class="structfield"><code><a name="GstMpegVideoPictureHdr.tsn"></a>tsn</code></em>;</span></p></td> -<td>Temporal Sequence Number</td> +<td class="struct_member_name"><p><span class="type">guint16</span> <em class="structfield"><code><a name="GstMpegVideoPictureHdr.tsn"></a>tsn</code></em>;</p></td> +<td class="struct_member_description"><p>Temporal Sequence Number</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureHdr.pic-type"></a>pic_type</code></em>;</span></p></td> -<td>Type of the frame</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureHdr.pic-type"></a>pic_type</code></em>;</p></td> +<td class="struct_member_description"><p>Type of the frame</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureHdr.full-pel-forward-vector"></a>full_pel_forward_vector</code></em>;</span></p></td> -<td>the full pel forward flag of -the frame: 0 or 1.</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureHdr.full-pel-forward-vector"></a>full_pel_forward_vector</code></em>;</p></td> +<td class="struct_member_description"><p>the full pel forward flag of +the frame: 0 or 1.</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureHdr.full-pel-backward-vector"></a>full_pel_backward_vector</code></em>;</span></p></td> -<td>the full pel backward flag -of the frame: 0 or 1.</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureHdr.full-pel-backward-vector"></a>full_pel_backward_vector</code></em>;</p></td> +<td class="struct_member_description"><p>the full pel backward flag +of the frame: 0 or 1.</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureHdr.f-code"></a>f_code</code></em>[2][2];</span></p></td> -<td>F code</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureHdr.f-code"></a>f_code</code></em>[2][2];</p></td> +<td class="struct_member_description"><p>F code</p></td> +<td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoGop"></a><h3>struct GstMpegVideoGop</h3> @@ -638,46 +1277,55 @@ of the frame: 0 or 1.</td> guint8 broken_link; }; </pre> -<p> -The Mpeg Video Group of Picture structure. -</p> -<div class="variablelist"><table border="0" class="variablelist"> +<p>The Mpeg Video Group of Picture structure.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.11.5"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="struct_members_name"> +<col class="struct_members_description"> +<col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.drop-frame-flag"></a>drop_frame_flag</code></em>;</span></p></td> -<td>Drop Frame Flag</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.drop-frame-flag"></a>drop_frame_flag</code></em>;</p></td> +<td class="struct_member_description"><p>Drop Frame Flag</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.hour"></a>hour</code></em>;</span></p></td> -<td>Hour (0-23)</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.hour"></a>hour</code></em>;</p></td> +<td class="struct_member_description"><p>Hour (0-23)</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.minute"></a>minute</code></em>;</span></p></td> -<td>Minute (O-59)</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.minute"></a>minute</code></em>;</p></td> +<td class="struct_member_description"><p>Minute (O-59)</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.second"></a>second</code></em>;</span></p></td> -<td>Second (0-59)</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.second"></a>second</code></em>;</p></td> +<td class="struct_member_description"><p>Second (0-59)</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.frame"></a>frame</code></em>;</span></p></td> -<td>Frame (0-59)</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.frame"></a>frame</code></em>;</p></td> +<td class="struct_member_description"><p>Frame (0-59)</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.closed-gop"></a>closed_gop</code></em>;</span></p></td> -<td>Closed Gop</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.closed-gop"></a>closed_gop</code></em>;</p></td> +<td class="struct_member_description"><p>Closed Gop</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.broken-link"></a>broken_link</code></em>;</span></p></td> -<td>Broken link</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoGop.broken-link"></a>broken_link</code></em>;</p></td> +<td class="struct_member_description"><p>Broken link</p></td> +<td class="struct_member_annotations"> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoPictureExt"></a><h3>struct GstMpegVideoPictureExt</h3> @@ -703,91 +1351,110 @@ The Mpeg Video Group of Picture structure. guint8 sub_carrier_phase; }; </pre> -<p> -The Mpeg2 Video Picture Extension structure. -</p> -<div class="variablelist"><table border="0" class="variablelist"> +<p>The Mpeg2 Video Picture Extension structure.</p> +<div class="refsect3"> +<a name="id-1.2.4.4.9.12.5"></a><h4>Members</h4> +<div class="informaltable"><table width="100%" border="0"> <colgroup> -<col align="left" valign="top"> -<col> +<col width="300px" class="struct_members_name"> +<col class="struct_members_description"> +<col width="200px" class="struct_members_annotations"> </colgroup> <tbody> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.f-code"></a>f_code</code></em>[2][2];</span></p></td> -<td></td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.f-code"></a>f_code</code></em>[2][2];</p></td> +<td> </td> +<td> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.intra-dc-precision"></a>intra_dc_precision</code></em>;</span></p></td> -<td>Intra DC precision</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.intra-dc-precision"></a>intra_dc_precision</code></em>;</p></td> +<td class="struct_member_description"><p>Intra DC precision</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.picture-structure"></a>picture_structure</code></em>;</span></p></td> -<td>Structure of the picture</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.picture-structure"></a>picture_structure</code></em>;</p></td> +<td class="struct_member_description"><p>Structure of the picture</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.top-field-first"></a>top_field_first</code></em>;</span></p></td> -<td>Top field first</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.top-field-first"></a>top_field_first</code></em>;</p></td> +<td class="struct_member_description"><p>Top field first</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.frame-pred-frame-dct"></a>frame_pred_frame_dct</code></em>;</span></p></td> -<td>Frame</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.frame-pred-frame-dct"></a>frame_pred_frame_dct</code></em>;</p></td> +<td class="struct_member_description"><p>Frame</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.concealment-motion-vectors"></a>concealment_motion_vectors</code></em>;</span></p></td> -<td>Concealment Motion Vectors</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.concealment-motion-vectors"></a>concealment_motion_vectors</code></em>;</p></td> +<td class="struct_member_description"><p>Concealment Motion Vectors</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.q-scale-type"></a>q_scale_type</code></em>;</span></p></td> -<td>Q Scale Type</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.q-scale-type"></a>q_scale_type</code></em>;</p></td> +<td class="struct_member_description"><p>Q Scale Type</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.intra-vlc-format"></a>intra_vlc_format</code></em>;</span></p></td> -<td>Intra Vlc Format</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.intra-vlc-format"></a>intra_vlc_format</code></em>;</p></td> +<td class="struct_member_description"><p>Intra Vlc Format</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.alternate-scan"></a>alternate_scan</code></em>;</span></p></td> -<td>Alternate Scan</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.alternate-scan"></a>alternate_scan</code></em>;</p></td> +<td class="struct_member_description"><p>Alternate Scan</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.repeat-first-field"></a>repeat_first_field</code></em>;</span></p></td> -<td>Repeat First Field</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.repeat-first-field"></a>repeat_first_field</code></em>;</p></td> +<td class="struct_member_description"><p>Repeat First Field</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.chroma-420-type"></a>chroma_420_type</code></em>;</span></p></td> -<td>Chroma 420 Type</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.chroma-420-type"></a>chroma_420_type</code></em>;</p></td> +<td class="struct_member_description"><p>Chroma 420 Type</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.progressive-frame"></a>progressive_frame</code></em>;</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the frame is progressive <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize</td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.progressive-frame"></a>progressive_frame</code></em>;</p></td> +<td class="struct_member_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the frame is progressive <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize</p></td> +<td class="struct_member_annotations"> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.composite-display"></a>composite_display</code></em>;</span></p></td> -<td></td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.composite-display"></a>composite_display</code></em>;</p></td> +<td> </td> +<td> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.v-axis"></a>v_axis</code></em>;</span></p></td> -<td></td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.v-axis"></a>v_axis</code></em>;</p></td> +<td> </td> +<td> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.field-sequence"></a>field_sequence</code></em>;</span></p></td> -<td></td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.field-sequence"></a>field_sequence</code></em>;</p></td> +<td> </td> +<td> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.sub-carrier"></a>sub_carrier</code></em>;</span></p></td> -<td></td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.sub-carrier"></a>sub_carrier</code></em>;</p></td> +<td> </td> +<td> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.burst-amplitude"></a>burst_amplitude</code></em>;</span></p></td> -<td></td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.burst-amplitude"></a>burst_amplitude</code></em>;</p></td> +<td> </td> +<td> </td> </tr> <tr> -<td><p><span class="term"><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.sub-carrier-phase"></a>sub_carrier_phase</code></em>;</span></p></td> -<td></td> +<td class="struct_member_name"><p><span class="type">guint8</span> <em class="structfield"><code><a name="GstMpegVideoPictureExt.sub-carrier-phase"></a>sub_carrier_phase</code></em>;</p></td> +<td> </td> +<td> </td> </tr> </tbody> </table></div> </div> +</div> <hr> <div class="refsect2"> <a name="GstMpegVideoQuantMatrixExt"></a><h3>struct GstMpegVideoQuantMatrixExt</h3> @@ -802,432 +1469,14 @@ The Mpeg2 Video Picture Extension structure. guint8 chroma_non_intra_quantiser_matrix[64]; }; </pre> -<p> -The Quant Matrix Extension structure that exposes quantization +<p>The Quant Matrix Extension structure that exposes quantization matrices in zigzag scan order. i.e. the original encoded scan -order. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-parse"></a><h3>gst_mpeg_video_parse ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_mpeg_video_parse (<em class="parameter"><code><span class="type">GstMpegVideoPacket</span> *packet</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> -<p> -Parses the MPEG 1/2 video bitstream contained in <em class="parameter"><code>data</code></em>, and returns the -offset, and if known also the size, in <em class="parameter"><code>packet</code></em>. This function will scan -the data to find the next packet if needed. -</p> -<div class="variablelist"><table border="0" class="variablelist"> -<colgroup> -<col align="left" valign="top"> -<col> -</colgroup> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>packet</code></em> :</span></p></td> -<td>a <span class="type">GstMpegVideoPacket</span> to fill with the data and offset of the -next packet found</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The data to parse</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td> -<td>The size of <em class="parameter"><code>data</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td> -<td>The offset from which to start parsing</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>TRUE if a packet start code was found, otherwise FALSE.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-parse-sequence-header"></a><h3>gst_mpeg_video_parse_sequence_header ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_mpeg_video_parse_sequence_header - (<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>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">gst_mpeg_video_parse_sequence_header</code> is deprecated and should not be used in newly-written code. Use <code class="function">gst_mpeg_video_packet_parse_sequence_header()</code> instead.</p> -</div> -<p> -Parses the <em class="parameter"><code>seqhdr</code></em> Mpeg Video Sequence Header structure members from <em class="parameter"><code>data</code></em> -</p> -<div class="variablelist"><table border="0" class="variablelist"> -<colgroup> -<col align="left" valign="top"> -<col> -</colgroup> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>seqhdr</code></em> :</span></p></td> -<td>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceHdr" title="struct GstMpegVideoSequenceHdr"><span class="type">GstMpegVideoSequenceHdr</span></a> structure to fill. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The data from which to parse the sequence header</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td> -<td>The size of <em class="parameter"><code>data</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td> -<td>The offset in byte from which to start parsing <em class="parameter"><code>data</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the seqhdr could be parsed correctly, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-parse-picture-header"></a><h3>gst_mpeg_video_parse_picture_header ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_mpeg_video_parse_picture_header (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureHdr" title="struct GstMpegVideoPictureHdr"><span class="type">GstMpegVideoPictureHdr</span></a> *hdr</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">gst_mpeg_video_parse_picture_header</code> is deprecated and should not be used in newly-written code. Use <code class="function">gst_mpeg_video_packet_parse_picture_header()</code> instead.</p> -</div> -<p> -Parsers the <em class="parameter"><code>hdr</code></em> Mpeg Video Picture Header structure members from <em class="parameter"><code>data</code></em> -</p> -<div class="variablelist"><table border="0" class="variablelist"> -<colgroup> -<col align="left" valign="top"> -<col> -</colgroup> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>hdr</code></em> :</span></p></td> -<td>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureHdr" title="struct GstMpegVideoPictureHdr"><span class="type">GstMpegVideoPictureHdr</span></a> structure to fill. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The data from which to parse the picture header</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td> -<td>The size of <em class="parameter"><code>data</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td> -<td>The offset in byte from which to start the parsing</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the picture sequence could be parsed correctly, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> -otherwize.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-parse-picture-extension"></a><h3>gst_mpeg_video_parse_picture_extension ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_mpeg_video_parse_picture_extension - (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureExt" title="struct GstMpegVideoPictureExt"><span class="type">GstMpegVideoPictureExt</span></a> *ext</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">gst_mpeg_video_parse_picture_extension</code> is deprecated and should not be used in newly-written code. Use <code class="function">gst_mpeg_video_packet_parse_picture_extension()</code> instead.</p> -</div> -<p> -Parse the <em class="parameter"><code>ext</code></em> Mpeg Video Picture Extension structure members from <em class="parameter"><code>data</code></em> -</p> -<div class="variablelist"><table border="0" class="variablelist"> -<colgroup> -<col align="left" valign="top"> -<col> -</colgroup> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>ext</code></em> :</span></p></td> -<td>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoPictureExt" title="struct GstMpegVideoPictureExt"><span class="type">GstMpegVideoPictureExt</span></a> structure to fill. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The data from which to parse the picture extension</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td> -<td>The size of <em class="parameter"><code>data</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td> -<td>The offset in byte from which to start the parsing</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the picture extension could be parsed correctly, -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-parse-gop"></a><h3>gst_mpeg_video_parse_gop ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_mpeg_video_parse_gop (<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>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">gst_mpeg_video_parse_gop</code> is deprecated and should not be used in newly-written code. Use <code class="function">gst_mpeg_video_packet_parse_gop()</code> instead.</p> -</div> -<p> -Parses the <em class="parameter"><code>gop</code></em> Mpeg Video Group of Picture structure members from <em class="parameter"><code>data</code></em> -</p> -<div class="variablelist"><table border="0" class="variablelist"> -<colgroup> -<col align="left" valign="top"> -<col> -</colgroup> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>gop</code></em> :</span></p></td> -<td>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoGop" title="struct GstMpegVideoGop"><span class="type">GstMpegVideoGop</span></a> structure to fill. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The data from which to parse the gop</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td> -<td>The size of <em class="parameter"><code>data</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td> -<td>The offset in byte from which to start the parsing</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the gop could be parsed correctly, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-parse-sequence-extension"></a><h3>gst_mpeg_video_parse_sequence_extension ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_mpeg_video_parse_sequence_extension - (<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>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">gst_mpeg_video_parse_sequence_extension</code> is deprecated and should not be used in newly-written code. Use <code class="function">gst_mpeg_video_packet_parse_sequence_extension()</code> instead.</p> -</div> -<p> -Parses the <em class="parameter"><code>seqext</code></em> Mpeg Video Sequence Extension structure members from <em class="parameter"><code>data</code></em> -</p> -<div class="variablelist"><table border="0" class="variablelist"> -<colgroup> -<col align="left" valign="top"> -<col> -</colgroup> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>seqext</code></em> :</span></p></td> -<td>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoSequenceExt" title="struct GstMpegVideoSequenceExt"><span class="type">GstMpegVideoSequenceExt</span></a> structure to fill. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The data from which to parse the sequence extension</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td> -<td>The size of <em class="parameter"><code>data</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td> -<td>The offset in byte from which to start parsing <em class="parameter"><code>data</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the seqext could be parsed correctly, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-parse-sequence-display-extension"></a><h3>gst_mpeg_video_parse_sequence_display_extension ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_mpeg_video_parse_sequence_display_extension - (<em class="parameter"><code><span class="type">GstMpegVideoSequenceDisplayExt</span> *seqdisplayext</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">gst_mpeg_video_parse_sequence_display_extension</code> is deprecated and should not be used in newly-written code.</p> -</div> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-parse-quant-matrix-extension"></a><h3>gst_mpeg_video_parse_quant_matrix_extension ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_mpeg_video_parse_quant_matrix_extension - (<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>, - <em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>, - <em class="parameter"><code><span class="type">gsize</span> size</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> offset</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">gst_mpeg_video_parse_quant_matrix_extension</code> is deprecated and should not be used in newly-written code. Use <code class="function">gst_mpeg_video_packet_parse_quant_matrix_extension()</code> instead.</p> -</div> -<p> -Parses the <em class="parameter"><code>quant</code></em> Mpeg Video Quant Matrix Extension structure members from -<em class="parameter"><code>data</code></em> -</p> -<div class="variablelist"><table border="0" class="variablelist"> -<colgroup> -<col align="left" valign="top"> -<col> -</colgroup> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>quant</code></em> :</span></p></td> -<td>The <a class="link" href="gst-plugins-bad-libs-mpegvideoparser.html#GstMpegVideoQuantMatrixExt" title="struct GstMpegVideoQuantMatrixExt"><span class="type">GstMpegVideoQuantMatrixExt</span></a> structure to fill. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The data from which to parse the Quantization Matrix extension</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td> -<td>The size of <em class="parameter"><code>data</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>offset</code></em> :</span></p></td> -<td>The offset in byte from which to start the parsing</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the quant matrix extension could be parsed correctly, -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwize.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-finalise-mpeg2-sequence-header"></a><h3>gst_mpeg_video_finalise_mpeg2_sequence_header ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_mpeg_video_finalise_mpeg2_sequence_header - (<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>, - <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>, - <em class="parameter"><code><span class="type">GstMpegVideoSequenceDisplayExt</span> *displayext</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-quant-matrix-get-raster-from-zigzag"></a><h3>gst_mpeg_video_quant_matrix_get_raster_from_zigzag ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gst_mpeg_video_quant_matrix_get_raster_from_zigzag - (<em class="parameter"><code><span class="type">guint8</span> out_quant[64]</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> quant[64]</code></em>);</pre> -<p> -Converts quantization matrix <em class="parameter"><code>quant</code></em> from zigzag scan order to -raster scan order and store the resulting factors into <em class="parameter"><code>out_quant</code></em>. -</p> -<p> -Note: it is an error to pass the same table in both <em class="parameter"><code>quant</code></em> and -<em class="parameter"><code>out_quant</code></em> arguments. -</p> -<div class="variablelist"><table border="0" class="variablelist"> -<colgroup> -<col align="left" valign="top"> -<col> -</colgroup> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>out_quant</code></em> :</span></p></td> -<td>The resulting quantization matrix. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quant</code></em> :</span></p></td> -<td>The source quantization matrix</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 1.2</p> -</div> -<hr> -<div class="refsect2"> -<a name="gst-mpeg-video-quant-matrix-get-zigzag-from-raster"></a><h3>gst_mpeg_video_quant_matrix_get_zigzag_from_raster ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gst_mpeg_video_quant_matrix_get_zigzag_from_raster - (<em class="parameter"><code><span class="type">guint8</span> out_quant[64]</code></em>, - <em class="parameter"><code>const <span class="type">guint8</span> quant[64]</code></em>);</pre> -<p> -Converts quantization matrix <em class="parameter"><code>quant</code></em> from raster scan order to -zigzag scan order and store the resulting factors into <em class="parameter"><code>out_quant</code></em>. -</p> -<p> -Note: it is an error to pass the same table in both <em class="parameter"><code>quant</code></em> and -<em class="parameter"><code>out_quant</code></em> arguments. -</p> -<div class="variablelist"><table border="0" class="variablelist"> -<colgroup> -<col align="left" valign="top"> -<col> -</colgroup> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>out_quant</code></em> :</span></p></td> -<td>The resulting quantization matrix. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quant</code></em> :</span></p></td> -<td>The source quantization matrix</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 1.2</p> +order.</p> </div> </div> </div> <div class="footer"> <hr> - Generated by GTK-Doc V1.19</div> + Generated by GTK-Doc V1.20</div> </body> </html>
\ No newline at end of file |