~sipe-collab/sipe-collab/gstreamer-plugins-base

« back to all changes in this revision

Viewing changes to docs/libs/html/gst-plugins-base-libs-gstvideoutils.html

  • Committer: Sebastian Dröge
  • Date: 2014-04-19 13:47:47 UTC
  • mfrom: (1.1.23)
  • Revision ID: git-v1:d06393f82dba0d5f13ec2e66275d75cf8178fe5c
Merge tag 'upstream/1.2.4'

Upstream version 1.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html>
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>gstvideoutils</title>
 
5
<title>GStreamer Base Plugins 1.0 Library Reference Manual: gstvideoutils</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
8
8
<link rel="up" href="gstreamer-video.html" title="Video Library">
9
9
<link rel="prev" href="gst-plugins-base-libs-GstVideoEncoder.html" title="GstVideoEncoder">
10
10
<link rel="next" href="gstreamer-libs-hierarchy.html" title="Part II. Object Hierarchy">
11
 
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
 
<tr valign="middle">
17
 
<td><a accesskey="p" href="gst-plugins-base-libs-GstVideoEncoder.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
 
<td><a accesskey="u" href="gstreamer-video.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
 
<th width="100%" align="center">GStreamer Base Plugins 1.0 Library Reference Manual</th>
21
 
<td><a accesskey="n" href="gstreamer-libs-hierarchy.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
 
</tr>
23
 
<tr><td colspan="5" class="shortcuts">
24
 
<a href="#gst-plugins-base-libs-gstvideoutils.synopsis" class="shortcut">Top</a>
25
 
                   | 
26
 
                  <a href="#gst-plugins-base-libs-gstvideoutils.description" class="shortcut">Description</a>
27
 
</td></tr>
28
 
</table>
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
 
16
<td width="100%" align="left" class="shortcuts">
 
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
 
18
                  <a href="#gst-plugins-base-libs-gstvideoutils.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
 
19
                  <a href="#gst-plugins-base-libs-gstvideoutils.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
 
20
</td>
 
21
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
 
22
<td><a accesskey="u" href="gstreamer-video.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
 
23
<td><a accesskey="p" href="gst-plugins-base-libs-GstVideoEncoder.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
 
24
<td><a accesskey="n" href="gstreamer-libs-hierarchy.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
 
25
</tr></table>
29
26
<div class="refentry">
30
27
<a name="gst-plugins-base-libs-gstvideoutils"></a><div class="titlepage"></div>
31
28
<div class="refnamediv"><table width="100%"><tr>
33
30
<h2><span class="refentrytitle"><a name="gst-plugins-base-libs-gstvideoutils.top_of_page"></a>gstvideoutils</span></h2>
34
31
<p>gstvideoutils</p>
35
32
</td>
36
 
<td valign="top" align="right"></td>
 
33
<td class="gallery_image" valign="top" align="right"></td>
37
34
</tr></table></div>
38
 
<div class="refsynopsisdiv">
39
 
<a name="gst-plugins-base-libs-gstvideoutils.synopsis"></a><h2>Synopsis</h2>
40
 
<pre class="synopsis">struct              <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame">GstVideoCodecFrame</a>;
41
 
enum                <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrameFlags" title="enum GstVideoCodecFrameFlags">GstVideoCodecFrameFlags</a>;
42
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-FLAGS:CAPS" title="GST_VIDEO_CODEC_FRAME_FLAGS()">GST_VIDEO_CODEC_FRAME_FLAGS</a>         (frame)
43
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-FLAG-IS-SET:CAPS" title="GST_VIDEO_CODEC_FRAME_FLAG_IS_SET()">GST_VIDEO_CODEC_FRAME_FLAG_IS_SET</a>   (frame,
44
 
                                                         flag)
45
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-FLAG-SET:CAPS" title="GST_VIDEO_CODEC_FRAME_FLAG_SET()">GST_VIDEO_CODEC_FRAME_FLAG_SET</a>      (frame,
46
 
                                                         flag)
47
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-FLAG-UNSET:CAPS" title="GST_VIDEO_CODEC_FRAME_FLAG_UNSET()">GST_VIDEO_CODEC_FRAME_FLAG_UNSET</a>    (frame,
48
 
                                                         flag)
49
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-IS-DECODE-ONLY:CAPS" title="GST_VIDEO_CODEC_FRAME_IS_DECODE_ONLY()">GST_VIDEO_CODEC_FRAME_IS_DECODE_ONLY</a>(frame)
50
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-IS-FORCE-KEYFRAME:CAPS" title="GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME()">GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME</a>(frame)
51
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-IS-FORCE-KEYFRAME-HEADERS:CAPS" title="GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME_HEADERS()">GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME_HEADERS</a>(frame)
52
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-IS-SYNC-POINT:CAPS" title="GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT()">GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT</a> (frame)
53
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-SET-DECODE-ONLY:CAPS" title="GST_VIDEO_CODEC_FRAME_SET_DECODE_ONLY()">GST_VIDEO_CODEC_FRAME_SET_DECODE_ONLY</a>(frame)
54
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-SET-FORCE-KEYFRAME:CAPS" title="GST_VIDEO_CODEC_FRAME_SET_FORCE_KEYFRAME()">GST_VIDEO_CODEC_FRAME_SET_FORCE_KEYFRAME</a>(frame)
55
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-SET-FORCE-KEYFRAME-HEADERS:CAPS" title="GST_VIDEO_CODEC_FRAME_SET_FORCE_KEYFRAME_HEADERS()">GST_VIDEO_CODEC_FRAME_SET_FORCE_KEYFRAME_HEADERS</a>(frame)
56
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-SET-SYNC-POINT:CAPS" title="GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT()">GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT</a>(frame)
57
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-UNSET-FORCE-KEYFRAME:CAPS" title="GST_VIDEO_CODEC_FRAME_UNSET_FORCE_KEYFRAME()">GST_VIDEO_CODEC_FRAME_UNSET_FORCE_KEYFRAME</a>(frame)
58
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-UNSET-FORCE-KEYFRAME-HEADERS:CAPS" title="GST_VIDEO_CODEC_FRAME_UNSET_FORCE_KEYFRAME_HEADERS()">GST_VIDEO_CODEC_FRAME_UNSET_FORCE_KEYFRAME_HEADERS</a>(frame)
59
 
#define             <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-UNSET-SYNC-POINT:CAPS" title="GST_VIDEO_CODEC_FRAME_UNSET_SYNC_POINT()">GST_VIDEO_CODEC_FRAME_UNSET_SYNC_POINT</a>(frame)
60
 
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="returnvalue">GstVideoCodecFrame</span></a> * <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-frame-ref" title="gst_video_codec_frame_ref ()">gst_video_codec_frame_ref</a>          (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>);
61
 
<span class="returnvalue">void</span>                <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-frame-unref" title="gst_video_codec_frame_unref ()">gst_video_codec_frame_unref</a>         (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>);
62
 
<span class="returnvalue">void</span>                <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-frame-set-user-data" title="gst_video_codec_frame_set_user_data ()">gst_video_codec_frame_set_user_data</a> (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>,
63
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
64
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
65
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-frame-get-user-data" title="gst_video_codec_frame_get_user_data ()">gst_video_codec_frame_get_user_data</a> (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>);
66
 
struct              <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState">GstVideoCodecState</a>;
67
 
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="returnvalue">GstVideoCodecState</span></a> * <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-state-ref" title="gst_video_codec_state_ref ()">gst_video_codec_state_ref</a>          (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="type">GstVideoCodecState</span></a> *state</code></em>);
68
 
<span class="returnvalue">void</span>                <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-state-unref" title="gst_video_codec_state_unref ()">gst_video_codec_state_unref</a>         (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="type">GstVideoCodecState</span></a> *state</code></em>);
 
35
<div class="refsect1">
 
36
<a name="gst-plugins-base-libs-gstvideoutils.functions"></a><h2>Functions</h2>
 
37
<div class="informaltable"><table width="100%" border="0">
 
38
<colgroup>
 
39
<col width="150px" class="functions_return">
 
40
<col class="functions_name">
 
41
</colgroup>
 
42
<tbody>
 
43
<tr>
 
44
<td class="define_keyword">#define</td>
 
45
<td class="function_name">
 
46
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-FLAGS:CAPS" title="GST_VIDEO_CODEC_FRAME_FLAGS()">GST_VIDEO_CODEC_FRAME_FLAGS</a><span class="c_punctuation">()</span>
 
47
</td>
 
48
</tr>
 
49
<tr>
 
50
<td class="define_keyword">#define</td>
 
51
<td class="function_name">
 
52
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-FLAG-IS-SET:CAPS" title="GST_VIDEO_CODEC_FRAME_FLAG_IS_SET()">GST_VIDEO_CODEC_FRAME_FLAG_IS_SET</a><span class="c_punctuation">()</span>
 
53
</td>
 
54
</tr>
 
55
<tr>
 
56
<td class="define_keyword">#define</td>
 
57
<td class="function_name">
 
58
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-FLAG-SET:CAPS" title="GST_VIDEO_CODEC_FRAME_FLAG_SET()">GST_VIDEO_CODEC_FRAME_FLAG_SET</a><span class="c_punctuation">()</span>
 
59
</td>
 
60
</tr>
 
61
<tr>
 
62
<td class="define_keyword">#define</td>
 
63
<td class="function_name">
 
64
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-FLAG-UNSET:CAPS" title="GST_VIDEO_CODEC_FRAME_FLAG_UNSET()">GST_VIDEO_CODEC_FRAME_FLAG_UNSET</a><span class="c_punctuation">()</span>
 
65
</td>
 
66
</tr>
 
67
<tr>
 
68
<td class="define_keyword">#define</td>
 
69
<td class="function_name">
 
70
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-IS-DECODE-ONLY:CAPS" title="GST_VIDEO_CODEC_FRAME_IS_DECODE_ONLY()">GST_VIDEO_CODEC_FRAME_IS_DECODE_ONLY</a><span class="c_punctuation">()</span>
 
71
</td>
 
72
</tr>
 
73
<tr>
 
74
<td class="define_keyword">#define</td>
 
75
<td class="function_name">
 
76
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-IS-FORCE-KEYFRAME:CAPS" title="GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME()">GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME</a><span class="c_punctuation">()</span>
 
77
</td>
 
78
</tr>
 
79
<tr>
 
80
<td class="define_keyword">#define</td>
 
81
<td class="function_name">
 
82
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-IS-FORCE-KEYFRAME-HEADERS:CAPS" title="GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME_HEADERS()">GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME_HEADERS</a><span class="c_punctuation">()</span>
 
83
</td>
 
84
</tr>
 
85
<tr>
 
86
<td class="define_keyword">#define</td>
 
87
<td class="function_name">
 
88
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-IS-SYNC-POINT:CAPS" title="GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT()">GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT</a><span class="c_punctuation">()</span>
 
89
</td>
 
90
</tr>
 
91
<tr>
 
92
<td class="define_keyword">#define</td>
 
93
<td class="function_name">
 
94
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-SET-DECODE-ONLY:CAPS" title="GST_VIDEO_CODEC_FRAME_SET_DECODE_ONLY()">GST_VIDEO_CODEC_FRAME_SET_DECODE_ONLY</a><span class="c_punctuation">()</span>
 
95
</td>
 
96
</tr>
 
97
<tr>
 
98
<td class="define_keyword">#define</td>
 
99
<td class="function_name">
 
100
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-SET-FORCE-KEYFRAME:CAPS" title="GST_VIDEO_CODEC_FRAME_SET_FORCE_KEYFRAME()">GST_VIDEO_CODEC_FRAME_SET_FORCE_KEYFRAME</a><span class="c_punctuation">()</span>
 
101
</td>
 
102
</tr>
 
103
<tr>
 
104
<td class="define_keyword">#define</td>
 
105
<td class="function_name">
 
106
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-SET-FORCE-KEYFRAME-HEADERS:CAPS" title="GST_VIDEO_CODEC_FRAME_SET_FORCE_KEYFRAME_HEADERS()">GST_VIDEO_CODEC_FRAME_SET_FORCE_KEYFRAME_HEADERS</a><span class="c_punctuation">()</span>
 
107
</td>
 
108
</tr>
 
109
<tr>
 
110
<td class="define_keyword">#define</td>
 
111
<td class="function_name">
 
112
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-SET-SYNC-POINT:CAPS" title="GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT()">GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT</a><span class="c_punctuation">()</span>
 
113
</td>
 
114
</tr>
 
115
<tr>
 
116
<td class="define_keyword">#define</td>
 
117
<td class="function_name">
 
118
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-UNSET-FORCE-KEYFRAME:CAPS" title="GST_VIDEO_CODEC_FRAME_UNSET_FORCE_KEYFRAME()">GST_VIDEO_CODEC_FRAME_UNSET_FORCE_KEYFRAME</a><span class="c_punctuation">()</span>
 
119
</td>
 
120
</tr>
 
121
<tr>
 
122
<td class="define_keyword">#define</td>
 
123
<td class="function_name">
 
124
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-UNSET-FORCE-KEYFRAME-HEADERS:CAPS" title="GST_VIDEO_CODEC_FRAME_UNSET_FORCE_KEYFRAME_HEADERS()">GST_VIDEO_CODEC_FRAME_UNSET_FORCE_KEYFRAME_HEADERS</a><span class="c_punctuation">()</span>
 
125
</td>
 
126
</tr>
 
127
<tr>
 
128
<td class="define_keyword">#define</td>
 
129
<td class="function_name">
 
130
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GST-VIDEO-CODEC-FRAME-UNSET-SYNC-POINT:CAPS" title="GST_VIDEO_CODEC_FRAME_UNSET_SYNC_POINT()">GST_VIDEO_CODEC_FRAME_UNSET_SYNC_POINT</a><span class="c_punctuation">()</span>
 
131
</td>
 
132
</tr>
 
133
<tr>
 
134
<td class="function_type">
 
135
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="returnvalue">GstVideoCodecFrame</span></a> *
 
136
</td>
 
137
<td class="function_name">
 
138
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-frame-ref" title="gst_video_codec_frame_ref ()">gst_video_codec_frame_ref</a> <span class="c_punctuation">()</span>
 
139
</td>
 
140
</tr>
 
141
<tr>
 
142
<td class="function_type">
 
143
<span class="returnvalue">void</span>
 
144
</td>
 
145
<td class="function_name">
 
146
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-frame-unref" title="gst_video_codec_frame_unref ()">gst_video_codec_frame_unref</a> <span class="c_punctuation">()</span>
 
147
</td>
 
148
</tr>
 
149
<tr>
 
150
<td class="function_type">
 
151
<span class="returnvalue">void</span>
 
152
</td>
 
153
<td class="function_name">
 
154
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-frame-set-user-data" title="gst_video_codec_frame_set_user_data ()">gst_video_codec_frame_set_user_data</a> <span class="c_punctuation">()</span>
 
155
</td>
 
156
</tr>
 
157
<tr>
 
158
<td class="function_type">
 
159
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
 
160
</td>
 
161
<td class="function_name">
 
162
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-frame-get-user-data" title="gst_video_codec_frame_get_user_data ()">gst_video_codec_frame_get_user_data</a> <span class="c_punctuation">()</span>
 
163
</td>
 
164
</tr>
 
165
<tr>
 
166
<td class="function_type">
 
167
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="returnvalue">GstVideoCodecState</span></a> *
 
168
</td>
 
169
<td class="function_name">
 
170
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-state-ref" title="gst_video_codec_state_ref ()">gst_video_codec_state_ref</a> <span class="c_punctuation">()</span>
 
171
</td>
 
172
</tr>
 
173
<tr>
 
174
<td class="function_type">
 
175
<span class="returnvalue">void</span>
 
176
</td>
 
177
<td class="function_name">
 
178
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-state-unref" title="gst_video_codec_state_unref ()">gst_video_codec_state_unref</a> <span class="c_punctuation">()</span>
 
179
</td>
 
180
</tr>
 
181
</tbody>
 
182
</table></div>
 
183
</div>
 
184
<div class="refsect1">
 
185
<a name="gst-plugins-base-libs-gstvideoutils.other"></a><h2>Types and Values</h2>
 
186
<div class="informaltable"><table width="100%" border="0">
 
187
<colgroup>
 
188
<col width="150px" class="name">
 
189
<col class="description">
 
190
</colgroup>
 
191
<tbody>
 
192
<tr>
 
193
<td class="datatype_keyword">struct</td>
 
194
<td class="function_name"><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame">GstVideoCodecFrame</a></td>
 
195
</tr>
 
196
<tr>
 
197
<td class="datatype_keyword">enum</td>
 
198
<td class="function_name"><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrameFlags" title="enum GstVideoCodecFrameFlags">GstVideoCodecFrameFlags</a></td>
 
199
</tr>
 
200
<tr>
 
201
<td class="datatype_keyword">struct</td>
 
202
<td class="function_name"><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState">GstVideoCodecState</a></td>
 
203
</tr>
 
204
</tbody>
 
205
</table></div>
 
206
</div>
 
207
<div class="refsect1">
 
208
<a name="gst-plugins-base-libs-gstvideoutils.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
209
<pre class="screen">
69
210
</pre>
70
211
</div>
71
212
<div class="refsect1">
72
213
<a name="gst-plugins-base-libs-gstvideoutils.description"></a><h2>Description</h2>
73
214
</div>
74
215
<div class="refsect1">
75
 
<a name="gst-plugins-base-libs-gstvideoutils.details"></a><h2>Details</h2>
76
 
<div class="refsect2">
77
 
<a name="GstVideoCodecFrame"></a><h3>struct GstVideoCodecFrame</h3>
78
 
<pre class="programlisting">struct GstVideoCodecFrame {
79
 
  guint32 system_frame_number; /* ED */
80
 
  guint32 decode_frame_number; /* ED */
81
 
  guint32 presentation_frame_number; /* ED */
82
 
 
83
 
  GstClockTime dts;       /* ED */
84
 
  GstClockTime pts;       /* ED */
85
 
  GstClockTime duration;  /* ED */
86
 
 
87
 
  int distance_from_sync; /* ED */
88
 
 
89
 
  GstBuffer *input_buffer; /* ED */
90
 
  GstBuffer *output_buffer; /* ED */
91
 
 
92
 
  GstClockTime deadline; /* D */
93
 
};
94
 
</pre>
95
 
<p>
96
 
A <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> represents a video frame both in raw and
97
 
encoded form.
98
 
</p>
99
 
<div class="variablelist"><table border="0" class="variablelist">
100
 
<colgroup>
101
 
<col align="left" valign="top">
102
 
<col>
103
 
</colgroup>
104
 
<tbody>
105
 
<tr>
106
 
<td><p><span class="term"><span class="type">guint32</span> <em class="structfield"><code><a name="GstVideoCodecFrame.system-frame-number"></a>system_frame_number</code></em>;</span></p></td>
107
 
<td>Unique identifier for the frame. Use this if you need
108
 
to get hold of the frame later (like when data is being decoded).
109
 
Typical usage in decoders is to set this on the opaque value provided
110
 
to the library and get back the frame using <a class="link" href="gst-plugins-base-libs-GstVideoDecoder.html#gst-video-decoder-get-frame" title="gst_video_decoder_get_frame ()"><code class="function">gst_video_decoder_get_frame()</code></a>
111
 
</td>
112
 
</tr>
113
 
<tr>
114
 
<td><p><span class="term"><span class="type">guint32</span> <em class="structfield"><code><a name="GstVideoCodecFrame.decode-frame-number"></a>decode_frame_number</code></em>;</span></p></td>
115
 
<td></td>
116
 
</tr>
117
 
<tr>
118
 
<td><p><span class="term"><span class="type">guint32</span> <em class="structfield"><code><a name="GstVideoCodecFrame.presentation-frame-number"></a>presentation_frame_number</code></em>;</span></p></td>
119
 
<td></td>
120
 
</tr>
121
 
<tr>
122
 
<td><p><span class="term"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> <em class="structfield"><code><a name="GstVideoCodecFrame.dts"></a>dts</code></em>;</span></p></td>
123
 
<td>Decoding timestamp</td>
124
 
</tr>
125
 
<tr>
126
 
<td><p><span class="term"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> <em class="structfield"><code><a name="GstVideoCodecFrame.pts"></a>pts</code></em>;</span></p></td>
127
 
<td>Presentation timestamp</td>
128
 
</tr>
129
 
<tr>
130
 
<td><p><span class="term"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> <em class="structfield"><code><a name="GstVideoCodecFrame.duration"></a>duration</code></em>;</span></p></td>
131
 
<td>Duration of the frame</td>
132
 
</tr>
133
 
<tr>
134
 
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="GstVideoCodecFrame.distance-from-sync"></a>distance_from_sync</code></em>;</span></p></td>
135
 
<td>Distance in frames from the last synchronization point.</td>
136
 
</tr>
137
 
<tr>
138
 
<td><p><span class="term"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *<em class="structfield"><code><a name="GstVideoCodecFrame.input-buffer"></a>input_buffer</code></em>;</span></p></td>
139
 
<td>the input <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> that created this frame. The buffer is owned
140
 
by the frame and references to the frame instead of the buffer should</td>
141
 
</tr>
142
 
<tr>
143
 
<td><p><span class="term"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *<em class="structfield"><code><a name="GstVideoCodecFrame.output-buffer"></a>output_buffer</code></em>;</span></p></td>
144
 
<td>the output <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a>. Implementations should set this either
145
 
directly, or by using the <em class="parameter"><code><code class="function">gst_video_decoder_alloc_output_frame()</code></code></em> or
146
 
<em class="parameter"><code><code class="function">gst_video_decoder_alloc_output_buffer()</code></code></em> methods. The buffer is owned
147
 
by the frame and references to the frame instead of the buffer should
148
 
be kept.</td>
149
 
</tr>
150
 
<tr>
151
 
<td><p><span class="term"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> <em class="structfield"><code><a name="GstVideoCodecFrame.deadline"></a>deadline</code></em>;</span></p></td>
152
 
<td>Running time when the frame will be used.</td>
153
 
</tr>
154
 
</tbody>
155
 
</table></div>
156
 
</div>
157
 
<hr>
158
 
<div class="refsect2">
159
 
<a name="GstVideoCodecFrameFlags"></a><h3>enum GstVideoCodecFrameFlags</h3>
160
 
<pre class="programlisting">typedef enum {
161
 
  GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY            = (1&lt;&lt;0),
162
 
  GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT             = (1&lt;&lt;1),
163
 
  GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME         = (1&lt;&lt;2),
164
 
  GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS = (1&lt;&lt;3)
165
 
} GstVideoCodecFrameFlags;
166
 
</pre>
167
 
<p>
168
 
Flags for <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
169
 
</p>
170
 
<div class="variablelist"><table border="0" class="variablelist">
171
 
<colgroup>
172
 
<col align="left" valign="top">
173
 
<col>
174
 
</colgroup>
175
 
<tbody>
176
 
<tr>
177
 
<td><p><a name="GST-VIDEO-CODEC-FRAME-FLAG-DECODE-ONLY:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY</code></span></p></td>
178
 
<td>is the frame only meant to be decoded
179
 
</td>
180
 
</tr>
181
 
<tr>
182
 
<td><p><a name="GST-VIDEO-CODEC-FRAME-FLAG-SYNC-POINT:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT</code></span></p></td>
183
 
<td>is the frame a synchronization point (keyframe)
184
 
</td>
185
 
</tr>
186
 
<tr>
187
 
<td><p><a name="GST-VIDEO-CODEC-FRAME-FLAG-FORCE-KEYFRAME:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME</code></span></p></td>
188
 
<td>should the output frame be made a keyframe
189
 
</td>
190
 
</tr>
191
 
<tr>
192
 
<td><p><a name="GST-VIDEO-CODEC-FRAME-FLAG-FORCE-KEYFRAME-HEADERS:CAPS"></a><span class="term"><code class="literal">GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS</code></span></p></td>
193
 
<td>should the encoder output stream headers
194
 
</td>
195
 
</tr>
196
 
</tbody>
197
 
</table></div>
198
 
</div>
199
 
<hr>
 
216
<a name="gst-plugins-base-libs-gstvideoutils.functions_details"></a><h2>Functions</h2>
200
217
<div class="refsect2">
201
218
<a name="GST-VIDEO-CODEC-FRAME-FLAGS:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_FLAGS()</h3>
202
219
<pre class="programlisting">#define GST_VIDEO_CODEC_FRAME_FLAGS(frame) ((frame)-&gt;flags)
203
220
</pre>
204
 
<p>
205
 
The entire set of flags for the <em class="parameter"><code>frame</code></em>
 
221
<p>The entire set of flags for the <em class="parameter"><code>frame</code></em>
206
222
</p>
207
 
<div class="variablelist"><table border="0" class="variablelist">
 
223
<div class="refsect3">
 
224
<a name="id-1.2.14.14.7.2.5"></a><h4>Parameters</h4>
 
225
<div class="informaltable"><table width="100%" border="0">
208
226
<colgroup>
209
 
<col align="left" valign="top">
210
 
<col>
 
227
<col width="150px" class="parameters_name">
 
228
<col class="parameters_description">
 
229
<col width="200px" class="parameters_annotations">
211
230
</colgroup>
212
231
<tbody><tr>
213
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
214
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
215
 
</td>
 
232
<td class="parameter_name"><p>frame</p></td>
 
233
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
234
<td class="parameter_annotations"> </td>
216
235
</tr></tbody>
217
236
</table></div>
218
237
</div>
 
238
</div>
219
239
<hr>
220
240
<div class="refsect2">
221
241
<a name="GST-VIDEO-CODEC-FRAME-FLAG-IS-SET:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_FLAG_IS_SET()</h3>
222
242
<pre class="programlisting">#define GST_VIDEO_CODEC_FRAME_FLAG_IS_SET(frame,flag)   !!(GST_VIDEO_CODEC_FRAME_FLAGS(frame) &amp; (flag))
223
243
</pre>
224
 
<p>
225
 
Checks whether the given <em class="parameter"><code>flag</code></em> is set
226
 
</p>
227
 
<div class="variablelist"><table border="0" class="variablelist">
 
244
<p>Checks whether the given <em class="parameter"><code>flag</code></em>
 
245
 is set</p>
 
246
<div class="refsect3">
 
247
<a name="id-1.2.14.14.7.3.5"></a><h4>Parameters</h4>
 
248
<div class="informaltable"><table width="100%" border="0">
228
249
<colgroup>
229
 
<col align="left" valign="top">
230
 
<col>
 
250
<col width="150px" class="parameters_name">
 
251
<col class="parameters_description">
 
252
<col width="200px" class="parameters_annotations">
231
253
</colgroup>
232
254
<tbody>
233
255
<tr>
234
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
235
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
236
 
</td>
 
256
<td class="parameter_name"><p>frame</p></td>
 
257
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
258
<td class="parameter_annotations"> </td>
237
259
</tr>
238
260
<tr>
239
 
<td><p><span class="term"><em class="parameter"><code>flag</code></em> :</span></p></td>
240
 
<td>a flag to check for</td>
 
261
<td class="parameter_name"><p>flag</p></td>
 
262
<td class="parameter_description"><p>a flag to check for</p></td>
 
263
<td class="parameter_annotations"> </td>
241
264
</tr>
242
265
</tbody>
243
266
</table></div>
244
267
</div>
 
268
</div>
245
269
<hr>
246
270
<div class="refsect2">
247
271
<a name="GST-VIDEO-CODEC-FRAME-FLAG-SET:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_FLAG_SET()</h3>
248
272
<pre class="programlisting">#define GST_VIDEO_CODEC_FRAME_FLAG_SET(frame,flag)     (GST_VIDEO_CODEC_FRAME_FLAGS(frame) |= (flag))
249
273
</pre>
250
 
<p>
251
 
This macro sets the given bits
252
 
</p>
253
 
<div class="variablelist"><table border="0" class="variablelist">
 
274
<p>This macro sets the given bits</p>
 
275
<div class="refsect3">
 
276
<a name="id-1.2.14.14.7.4.5"></a><h4>Parameters</h4>
 
277
<div class="informaltable"><table width="100%" border="0">
254
278
<colgroup>
255
 
<col align="left" valign="top">
256
 
<col>
 
279
<col width="150px" class="parameters_name">
 
280
<col class="parameters_description">
 
281
<col width="200px" class="parameters_annotations">
257
282
</colgroup>
258
283
<tbody>
259
284
<tr>
260
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
261
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
262
 
</td>
 
285
<td class="parameter_name"><p>frame</p></td>
 
286
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
287
<td class="parameter_annotations"> </td>
263
288
</tr>
264
289
<tr>
265
 
<td><p><span class="term"><em class="parameter"><code>flag</code></em> :</span></p></td>
266
 
<td>Flag to set, can be any number of bits in guint32.</td>
 
290
<td class="parameter_name"><p>flag</p></td>
 
291
<td class="parameter_description"><p>Flag to set, can be any number of bits in guint32.</p></td>
 
292
<td class="parameter_annotations"> </td>
267
293
</tr>
268
294
</tbody>
269
295
</table></div>
270
296
</div>
 
297
</div>
271
298
<hr>
272
299
<div class="refsect2">
273
300
<a name="GST-VIDEO-CODEC-FRAME-FLAG-UNSET:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_FLAG_UNSET()</h3>
274
301
<pre class="programlisting">#define GST_VIDEO_CODEC_FRAME_FLAG_UNSET(frame,flag)   (GST_VIDEO_CODEC_FRAME_FLAGS(frame) &amp;= ~(flag))
275
302
</pre>
276
 
<p>
277
 
This macro usets the given bits.
278
 
</p>
279
 
<div class="variablelist"><table border="0" class="variablelist">
 
303
<p>This macro usets the given bits.</p>
 
304
<div class="refsect3">
 
305
<a name="id-1.2.14.14.7.5.5"></a><h4>Parameters</h4>
 
306
<div class="informaltable"><table width="100%" border="0">
280
307
<colgroup>
281
 
<col align="left" valign="top">
282
 
<col>
 
308
<col width="150px" class="parameters_name">
 
309
<col class="parameters_description">
 
310
<col width="200px" class="parameters_annotations">
283
311
</colgroup>
284
312
<tbody>
285
313
<tr>
286
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
287
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
288
 
</td>
 
314
<td class="parameter_name"><p>frame</p></td>
 
315
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
316
<td class="parameter_annotations"> </td>
289
317
</tr>
290
318
<tr>
291
 
<td><p><span class="term"><em class="parameter"><code>flag</code></em> :</span></p></td>
292
 
<td>Flag to unset</td>
 
319
<td class="parameter_name"><p>flag</p></td>
 
320
<td class="parameter_description"><p>Flag to unset</p></td>
 
321
<td class="parameter_annotations"> </td>
293
322
</tr>
294
323
</tbody>
295
324
</table></div>
296
325
</div>
 
326
</div>
297
327
<hr>
298
328
<div class="refsect2">
299
329
<a name="GST-VIDEO-CODEC-FRAME-IS-DECODE-ONLY:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_IS_DECODE_ONLY()</h3>
300
330
<pre class="programlisting">#define GST_VIDEO_CODEC_FRAME_IS_DECODE_ONLY(frame)     (GST_VIDEO_CODEC_FRAME_FLAG_IS_SET(frame, GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY))
301
331
</pre>
302
 
<p>
303
 
Tests if the buffer should only be decoded but not sent downstream.
304
 
</p>
305
 
<div class="variablelist"><table border="0" class="variablelist">
 
332
<p>Tests if the buffer should only be decoded but not sent downstream.</p>
 
333
<div class="refsect3">
 
334
<a name="id-1.2.14.14.7.6.5"></a><h4>Parameters</h4>
 
335
<div class="informaltable"><table width="100%" border="0">
306
336
<colgroup>
307
 
<col align="left" valign="top">
308
 
<col>
 
337
<col width="150px" class="parameters_name">
 
338
<col class="parameters_description">
 
339
<col width="200px" class="parameters_annotations">
309
340
</colgroup>
310
341
<tbody><tr>
311
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
312
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
313
 
</td>
 
342
<td class="parameter_name"><p>frame</p></td>
 
343
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
344
<td class="parameter_annotations"> </td>
314
345
</tr></tbody>
315
346
</table></div>
316
347
</div>
 
348
</div>
317
349
<hr>
318
350
<div class="refsect2">
319
351
<a name="GST-VIDEO-CODEC-FRAME-IS-FORCE-KEYFRAME:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME()</h3>
320
352
<pre class="programlisting">#define GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME(frame)      (GST_VIDEO_CODEC_FRAME_FLAG_IS_SET(frame, GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME))
321
353
</pre>
322
 
<p>
323
 
Tests if the frame must be encoded as a keyframe. Applies only to
324
 
frames provided to encoders. Decoders can safely ignore this field.
325
 
</p>
326
 
<div class="variablelist"><table border="0" class="variablelist">
 
354
<p>Tests if the frame must be encoded as a keyframe. Applies only to
 
355
frames provided to encoders. Decoders can safely ignore this field.</p>
 
356
<div class="refsect3">
 
357
<a name="id-1.2.14.14.7.7.5"></a><h4>Parameters</h4>
 
358
<div class="informaltable"><table width="100%" border="0">
327
359
<colgroup>
328
 
<col align="left" valign="top">
329
 
<col>
 
360
<col width="150px" class="parameters_name">
 
361
<col class="parameters_description">
 
362
<col width="200px" class="parameters_annotations">
330
363
</colgroup>
331
364
<tbody><tr>
332
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
333
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
334
 
</td>
 
365
<td class="parameter_name"><p>frame</p></td>
 
366
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
367
<td class="parameter_annotations"> </td>
335
368
</tr></tbody>
336
369
</table></div>
337
370
</div>
 
371
</div>
338
372
<hr>
339
373
<div class="refsect2">
340
374
<a name="GST-VIDEO-CODEC-FRAME-IS-FORCE-KEYFRAME-HEADERS:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME_HEADERS()</h3>
341
375
<pre class="programlisting">#define GST_VIDEO_CODEC_FRAME_IS_FORCE_KEYFRAME_HEADERS(frame)      (GST_VIDEO_CODEC_FRAME_FLAG_IS_SET(frame, GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS))
342
376
</pre>
343
 
<p>
344
 
Tests if encoder should output stream headers before outputting the
345
 
resulting encoded buffer for the given frame.
346
 
</p>
347
 
<p>
348
 
Applies only to frames provided to encoders. Decoders can safely
349
 
ignore this field.
350
 
</p>
351
 
<div class="variablelist"><table border="0" class="variablelist">
 
377
<p>Tests if encoder should output stream headers before outputting the
 
378
resulting encoded buffer for the given frame.</p>
 
379
<p>Applies only to frames provided to encoders. Decoders can safely
 
380
ignore this field.</p>
 
381
<div class="refsect3">
 
382
<a name="id-1.2.14.14.7.8.6"></a><h4>Parameters</h4>
 
383
<div class="informaltable"><table width="100%" border="0">
352
384
<colgroup>
353
 
<col align="left" valign="top">
354
 
<col>
 
385
<col width="150px" class="parameters_name">
 
386
<col class="parameters_description">
 
387
<col width="200px" class="parameters_annotations">
355
388
</colgroup>
356
389
<tbody><tr>
357
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
358
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
359
 
</td>
 
390
<td class="parameter_name"><p>frame</p></td>
 
391
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
392
<td class="parameter_annotations"> </td>
360
393
</tr></tbody>
361
394
</table></div>
362
395
</div>
 
396
</div>
363
397
<hr>
364
398
<div class="refsect2">
365
399
<a name="GST-VIDEO-CODEC-FRAME-IS-SYNC-POINT:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT()</h3>
366
400
<pre class="programlisting">#define GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT(frame)      (GST_VIDEO_CODEC_FRAME_FLAG_IS_SET(frame, GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT))
367
401
</pre>
368
 
<p>
369
 
Tests if the frame is a synchronization point (like a keyframe).
370
 
</p>
371
 
<p>
372
 
Decoder implementations can use this to detect keyframes.
373
 
</p>
374
 
<div class="variablelist"><table border="0" class="variablelist">
 
402
<p>Tests if the frame is a synchronization point (like a keyframe).</p>
 
403
<p>Decoder implementations can use this to detect keyframes.</p>
 
404
<div class="refsect3">
 
405
<a name="id-1.2.14.14.7.9.6"></a><h4>Parameters</h4>
 
406
<div class="informaltable"><table width="100%" border="0">
375
407
<colgroup>
376
 
<col align="left" valign="top">
377
 
<col>
 
408
<col width="150px" class="parameters_name">
 
409
<col class="parameters_description">
 
410
<col width="200px" class="parameters_annotations">
378
411
</colgroup>
379
412
<tbody><tr>
380
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
381
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
382
 
</td>
 
413
<td class="parameter_name"><p>frame</p></td>
 
414
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
415
<td class="parameter_annotations"> </td>
383
416
</tr></tbody>
384
417
</table></div>
385
418
</div>
 
419
</div>
386
420
<hr>
387
421
<div class="refsect2">
388
422
<a name="GST-VIDEO-CODEC-FRAME-SET-DECODE-ONLY:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_SET_DECODE_ONLY()</h3>
389
423
<pre class="programlisting">#define GST_VIDEO_CODEC_FRAME_SET_DECODE_ONLY(frame)    (GST_VIDEO_CODEC_FRAME_FLAG_SET(frame, GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY))
390
424
</pre>
391
 
<p>
392
 
Sets the buffer to not be sent downstream.
393
 
</p>
394
 
<p>
395
 
Decoder implementation can use this if they have frames that
396
 
are not meant to be displayed.
397
 
</p>
398
 
<p>
399
 
Encoder implementation can safely ignore this field.
400
 
</p>
401
 
<div class="variablelist"><table border="0" class="variablelist">
 
425
<p>Sets the buffer to not be sent downstream.</p>
 
426
<p>Decoder implementation can use this if they have frames that
 
427
are not meant to be displayed.</p>
 
428
<p>Encoder implementation can safely ignore this field.</p>
 
429
<div class="refsect3">
 
430
<a name="id-1.2.14.14.7.10.7"></a><h4>Parameters</h4>
 
431
<div class="informaltable"><table width="100%" border="0">
402
432
<colgroup>
403
 
<col align="left" valign="top">
404
 
<col>
 
433
<col width="150px" class="parameters_name">
 
434
<col class="parameters_description">
 
435
<col width="200px" class="parameters_annotations">
405
436
</colgroup>
406
437
<tbody><tr>
407
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
408
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
409
 
</td>
 
438
<td class="parameter_name"><p>frame</p></td>
 
439
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
440
<td class="parameter_annotations"> </td>
410
441
</tr></tbody>
411
442
</table></div>
412
443
</div>
 
444
</div>
413
445
<hr>
414
446
<div class="refsect2">
415
447
<a name="GST-VIDEO-CODEC-FRAME-SET-FORCE-KEYFRAME:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_SET_FORCE_KEYFRAME()</h3>
427
459
<a name="GST-VIDEO-CODEC-FRAME-SET-SYNC-POINT:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT()</h3>
428
460
<pre class="programlisting">#define GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT(frame)     (GST_VIDEO_CODEC_FRAME_FLAG_SET(frame, GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT))
429
461
</pre>
430
 
<p>
431
 
Sets the frame to be a synchronization point (like a keyframe).
432
 
</p>
433
 
<p>
434
 
Encoder implementations should set this accordingly.
435
 
</p>
436
 
<p>
437
 
Decoder implementing parsing features should set this when they
438
 
detect such a synchronization point.
439
 
</p>
440
 
<div class="variablelist"><table border="0" class="variablelist">
 
462
<p>Sets the frame to be a synchronization point (like a keyframe).</p>
 
463
<p>Encoder implementations should set this accordingly.</p>
 
464
<p>Decoder implementing parsing features should set this when they
 
465
detect such a synchronization point.</p>
 
466
<div class="refsect3">
 
467
<a name="id-1.2.14.14.7.13.7"></a><h4>Parameters</h4>
 
468
<div class="informaltable"><table width="100%" border="0">
441
469
<colgroup>
442
 
<col align="left" valign="top">
443
 
<col>
 
470
<col width="150px" class="parameters_name">
 
471
<col class="parameters_description">
 
472
<col width="200px" class="parameters_annotations">
444
473
</colgroup>
445
474
<tbody><tr>
446
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
447
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
448
 
</td>
 
475
<td class="parameter_name"><p>frame</p></td>
 
476
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
477
<td class="parameter_annotations"> </td>
449
478
</tr></tbody>
450
479
</table></div>
451
480
</div>
 
481
</div>
452
482
<hr>
453
483
<div class="refsect2">
454
484
<a name="GST-VIDEO-CODEC-FRAME-UNSET-FORCE-KEYFRAME:CAPS"></a><h3>GST_VIDEO_CODEC_FRAME_UNSET_FORCE_KEYFRAME()</h3>
469
499
</div>
470
500
<hr>
471
501
<div class="refsect2">
472
 
<a name="gst-video-codec-frame-ref"></a><h3>gst_video_codec_frame_ref ()</h3>
473
 
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="returnvalue">GstVideoCodecFrame</span></a> * gst_video_codec_frame_ref          (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>);</pre>
474
 
<p>
475
 
Increases the refcount of the given frame by one.
476
 
</p>
477
 
<div class="variablelist"><table border="0" class="variablelist">
478
 
<colgroup>
479
 
<col align="left" valign="top">
480
 
<col>
481
 
</colgroup>
482
 
<tbody>
483
 
<tr>
484
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
485
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
486
 
</td>
487
 
</tr>
488
 
<tr>
489
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
490
 
<td><em class="parameter"><code>buf</code></em></td>
491
 
</tr>
492
 
</tbody>
493
 
</table></div>
494
 
</div>
495
 
<hr>
496
 
<div class="refsect2">
497
 
<a name="gst-video-codec-frame-unref"></a><h3>gst_video_codec_frame_unref ()</h3>
498
 
<pre class="programlisting"><span class="returnvalue">void</span>                gst_video_codec_frame_unref         (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>);</pre>
499
 
<p>
500
 
Decreases the refcount of the frame. If the refcount reaches 0, the frame
501
 
will be freed.
502
 
</p>
503
 
<div class="variablelist"><table border="0" class="variablelist">
504
 
<colgroup>
505
 
<col align="left" valign="top">
506
 
<col>
507
 
</colgroup>
508
 
<tbody><tr>
509
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
510
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
511
 
</td>
512
 
</tr></tbody>
513
 
</table></div>
514
 
</div>
515
 
<hr>
516
 
<div class="refsect2">
517
 
<a name="gst-video-codec-frame-set-user-data"></a><h3>gst_video_codec_frame_set_user_data ()</h3>
518
 
<pre class="programlisting"><span class="returnvalue">void</span>                gst_video_codec_frame_set_user_data (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>,
519
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
520
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
521
 
<p>
522
 
Sets <em class="parameter"><code>user_data</code></em> on the frame and the <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> that will be called when
523
 
the frame is freed. Allows to attach private data by the subclass to frames.
524
 
</p>
525
 
<p>
526
 
If a <em class="parameter"><code>user_data</code></em> was previously set, then the previous set <em class="parameter"><code>notify</code></em> will be called
527
 
before the <em class="parameter"><code>user_data</code></em> is replaced.
528
 
</p>
529
 
<div class="variablelist"><table border="0" class="variablelist">
530
 
<colgroup>
531
 
<col align="left" valign="top">
532
 
<col>
533
 
</colgroup>
534
 
<tbody>
535
 
<tr>
536
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
537
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
538
 
</td>
539
 
</tr>
540
 
<tr>
541
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
542
 
<td>private data</td>
543
 
</tr>
544
 
<tr>
545
 
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
546
 
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a>. <span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data]</span>
547
 
</td>
548
 
</tr>
549
 
</tbody>
550
 
</table></div>
551
 
</div>
552
 
<hr>
553
 
<div class="refsect2">
554
 
<a name="gst-video-codec-frame-get-user-data"></a><h3>gst_video_codec_frame_get_user_data ()</h3>
555
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gst_video_codec_frame_get_user_data (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>);</pre>
556
 
<p>
557
 
Gets private data set on the frame by the subclass via
558
 
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-frame-set-user-data" title="gst_video_codec_frame_set_user_data ()"><code class="function">gst_video_codec_frame_set_user_data()</code></a> previously.
559
 
</p>
560
 
<div class="variablelist"><table border="0" class="variablelist">
561
 
<colgroup>
562
 
<col align="left" valign="top">
563
 
<col>
564
 
</colgroup>
565
 
<tbody>
566
 
<tr>
567
 
<td><p><span class="term"><em class="parameter"><code>frame</code></em> :</span></p></td>
568
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a>
569
 
</td>
570
 
</tr>
571
 
<tr>
572
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
573
 
<td>The previously set user_data. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
574
 
</td>
575
 
</tr>
576
 
</tbody>
577
 
</table></div>
 
502
<a name="gst-video-codec-frame-ref"></a><h3>gst_video_codec_frame_ref ()</h3>
 
503
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="returnvalue">GstVideoCodecFrame</span></a> *
 
504
gst_video_codec_frame_ref (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>);</pre>
 
505
<p>Increases the refcount of the given frame by one.</p>
 
506
<div class="refsect3">
 
507
<a name="id-1.2.14.14.7.17.5"></a><h4>Parameters</h4>
 
508
<div class="informaltable"><table width="100%" border="0">
 
509
<colgroup>
 
510
<col width="150px" class="parameters_name">
 
511
<col class="parameters_description">
 
512
<col width="200px" class="parameters_annotations">
 
513
</colgroup>
 
514
<tbody><tr>
 
515
<td class="parameter_name"><p>frame</p></td>
 
516
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
517
<td class="parameter_annotations"> </td>
 
518
</tr></tbody>
 
519
</table></div>
 
520
</div>
 
521
<div class="refsect3">
 
522
<a name="id-1.2.14.14.7.17.6"></a><h4>Returns</h4>
 
523
<p> <em class="parameter"><code>buf</code></em>
 
524
</p>
 
525
<p></p>
 
526
</div>
 
527
</div>
 
528
<hr>
 
529
<div class="refsect2">
 
530
<a name="gst-video-codec-frame-unref"></a><h3>gst_video_codec_frame_unref ()</h3>
 
531
<pre class="programlisting"><span class="returnvalue">void</span>
 
532
gst_video_codec_frame_unref (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>);</pre>
 
533
<p>Decreases the refcount of the frame. If the refcount reaches 0, the frame
 
534
will be freed.</p>
 
535
<div class="refsect3">
 
536
<a name="id-1.2.14.14.7.18.5"></a><h4>Parameters</h4>
 
537
<div class="informaltable"><table width="100%" border="0">
 
538
<colgroup>
 
539
<col width="150px" class="parameters_name">
 
540
<col class="parameters_description">
 
541
<col width="200px" class="parameters_annotations">
 
542
</colgroup>
 
543
<tbody><tr>
 
544
<td class="parameter_name"><p>frame</p></td>
 
545
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
546
<td class="parameter_annotations"> </td>
 
547
</tr></tbody>
 
548
</table></div>
 
549
</div>
 
550
</div>
 
551
<hr>
 
552
<div class="refsect2">
 
553
<a name="gst-video-codec-frame-set-user-data"></a><h3>gst_video_codec_frame_set_user_data ()</h3>
 
554
<pre class="programlisting"><span class="returnvalue">void</span>
 
555
gst_video_codec_frame_set_user_data (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>,
 
556
                                     <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
557
                                     <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
 
558
<p>Sets <em class="parameter"><code>user_data</code></em>
 
559
 on the frame and the <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> that will be called when
 
560
the frame is freed. Allows to attach private data by the subclass to frames.</p>
 
561
<p>If a <em class="parameter"><code>user_data</code></em>
 
562
 was previously set, then the previous set <em class="parameter"><code>notify</code></em>
 
563
 will be called
 
564
before the <em class="parameter"><code>user_data</code></em>
 
565
 is replaced.</p>
 
566
<div class="refsect3">
 
567
<a name="id-1.2.14.14.7.19.6"></a><h4>Parameters</h4>
 
568
<div class="informaltable"><table width="100%" border="0">
 
569
<colgroup>
 
570
<col width="150px" class="parameters_name">
 
571
<col class="parameters_description">
 
572
<col width="200px" class="parameters_annotations">
 
573
</colgroup>
 
574
<tbody>
 
575
<tr>
 
576
<td class="parameter_name"><p>frame</p></td>
 
577
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
578
<td class="parameter_annotations"> </td>
 
579
</tr>
 
580
<tr>
 
581
<td class="parameter_name"><p>user_data</p></td>
 
582
<td class="parameter_description"><p>private data</p></td>
 
583
<td class="parameter_annotations"> </td>
 
584
</tr>
 
585
<tr>
 
586
<td class="parameter_name"><p>notify</p></td>
 
587
<td class="parameter_description"><p> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a>. </p></td>
 
588
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym> user_data]</span></td>
 
589
</tr>
 
590
</tbody>
 
591
</table></div>
 
592
</div>
 
593
</div>
 
594
<hr>
 
595
<div class="refsect2">
 
596
<a name="gst-video-codec-frame-get-user-data"></a><h3>gst_video_codec_frame_get_user_data ()</h3>
 
597
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
 
598
gst_video_codec_frame_get_user_data (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> *frame</code></em>);</pre>
 
599
<p>Gets private data set on the frame by the subclass via
 
600
<a class="link" href="gst-plugins-base-libs-gstvideoutils.html#gst-video-codec-frame-set-user-data" title="gst_video_codec_frame_set_user_data ()"><code class="function">gst_video_codec_frame_set_user_data()</code></a> previously.</p>
 
601
<div class="refsect3">
 
602
<a name="id-1.2.14.14.7.20.5"></a><h4>Parameters</h4>
 
603
<div class="informaltable"><table width="100%" border="0">
 
604
<colgroup>
 
605
<col width="150px" class="parameters_name">
 
606
<col class="parameters_description">
 
607
<col width="200px" class="parameters_annotations">
 
608
</colgroup>
 
609
<tbody><tr>
 
610
<td class="parameter_name"><p>frame</p></td>
 
611
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p></td>
 
612
<td class="parameter_annotations"> </td>
 
613
</tr></tbody>
 
614
</table></div>
 
615
</div>
 
616
<div class="refsect3">
 
617
<a name="id-1.2.14.14.7.20.6"></a><h4>Returns</h4>
 
618
<p> The previously set user_data. </p>
 
619
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
 
620
</div>
 
621
</div>
 
622
<hr>
 
623
<div class="refsect2">
 
624
<a name="gst-video-codec-state-ref"></a><h3>gst_video_codec_state_ref ()</h3>
 
625
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="returnvalue">GstVideoCodecState</span></a> *
 
626
gst_video_codec_state_ref (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="type">GstVideoCodecState</span></a> *state</code></em>);</pre>
 
627
<p>Increases the refcount of the given state by one.</p>
 
628
<div class="refsect3">
 
629
<a name="id-1.2.14.14.7.21.5"></a><h4>Parameters</h4>
 
630
<div class="informaltable"><table width="100%" border="0">
 
631
<colgroup>
 
632
<col width="150px" class="parameters_name">
 
633
<col class="parameters_description">
 
634
<col width="200px" class="parameters_annotations">
 
635
</colgroup>
 
636
<tbody><tr>
 
637
<td class="parameter_name"><p>state</p></td>
 
638
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="type">GstVideoCodecState</span></a></p></td>
 
639
<td class="parameter_annotations"> </td>
 
640
</tr></tbody>
 
641
</table></div>
 
642
</div>
 
643
<div class="refsect3">
 
644
<a name="id-1.2.14.14.7.21.6"></a><h4>Returns</h4>
 
645
<p> <em class="parameter"><code>buf</code></em>
 
646
</p>
 
647
<p></p>
 
648
</div>
 
649
</div>
 
650
<hr>
 
651
<div class="refsect2">
 
652
<a name="gst-video-codec-state-unref"></a><h3>gst_video_codec_state_unref ()</h3>
 
653
<pre class="programlisting"><span class="returnvalue">void</span>
 
654
gst_video_codec_state_unref (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="type">GstVideoCodecState</span></a> *state</code></em>);</pre>
 
655
<p>Decreases the refcount of the state. If the refcount reaches 0, the state
 
656
will be freed.</p>
 
657
<div class="refsect3">
 
658
<a name="id-1.2.14.14.7.22.5"></a><h4>Parameters</h4>
 
659
<div class="informaltable"><table width="100%" border="0">
 
660
<colgroup>
 
661
<col width="150px" class="parameters_name">
 
662
<col class="parameters_description">
 
663
<col width="200px" class="parameters_annotations">
 
664
</colgroup>
 
665
<tbody><tr>
 
666
<td class="parameter_name"><p>state</p></td>
 
667
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="type">GstVideoCodecState</span></a></p></td>
 
668
<td class="parameter_annotations"> </td>
 
669
</tr></tbody>
 
670
</table></div>
 
671
</div>
 
672
</div>
 
673
</div>
 
674
<div class="refsect1">
 
675
<a name="gst-plugins-base-libs-gstvideoutils.other_details"></a><h2>Types and Values</h2>
 
676
<div class="refsect2">
 
677
<a name="GstVideoCodecFrame"></a><h3>struct GstVideoCodecFrame</h3>
 
678
<pre class="programlisting">struct GstVideoCodecFrame {
 
679
  guint32 system_frame_number; /* ED */
 
680
  guint32 decode_frame_number; /* ED */
 
681
  guint32 presentation_frame_number; /* ED */
 
682
 
 
683
  GstClockTime dts;       /* ED */
 
684
  GstClockTime pts;       /* ED */
 
685
  GstClockTime duration;  /* ED */
 
686
 
 
687
  int distance_from_sync; /* ED */
 
688
 
 
689
  GstBuffer *input_buffer; /* ED */
 
690
  GstBuffer *output_buffer; /* ED */
 
691
 
 
692
  GstClockTime deadline; /* D */
 
693
};
 
694
</pre>
 
695
<p>A <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a> represents a video frame both in raw and
 
696
encoded form.</p>
 
697
<div class="refsect3">
 
698
<a name="id-1.2.14.14.8.2.5"></a><h4>Members</h4>
 
699
<div class="informaltable"><table width="100%" border="0">
 
700
<colgroup>
 
701
<col width="300px" class="struct_members_name">
 
702
<col class="struct_members_description">
 
703
<col width="200px" class="struct_members_annotations">
 
704
</colgroup>
 
705
<tbody>
 
706
<tr>
 
707
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GstVideoCodecFrame.system-frame-number"></a>system_frame_number</code></em>;</p></td>
 
708
<td class="struct_member_description"><p>Unique identifier for the frame. Use this if you need
 
709
to get hold of the frame later (like when data is being decoded).
 
710
Typical usage in decoders is to set this on the opaque value provided
 
711
to the library and get back the frame using <a class="link" href="gst-plugins-base-libs-GstVideoDecoder.html#gst-video-decoder-get-frame" title="gst_video_decoder_get_frame ()"><code class="function">gst_video_decoder_get_frame()</code></a></p></td>
 
712
<td class="struct_member_annotations"> </td>
 
713
</tr>
 
714
<tr>
 
715
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GstVideoCodecFrame.decode-frame-number"></a>decode_frame_number</code></em>;</p></td>
 
716
<td> </td>
 
717
<td> </td>
 
718
</tr>
 
719
<tr>
 
720
<td class="struct_member_name"><p><span class="type">guint32</span> <em class="structfield"><code><a name="GstVideoCodecFrame.presentation-frame-number"></a>presentation_frame_number</code></em>;</p></td>
 
721
<td> </td>
 
722
<td> </td>
 
723
</tr>
 
724
<tr>
 
725
<td class="struct_member_name"><p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> <em class="structfield"><code><a name="GstVideoCodecFrame.dts"></a>dts</code></em>;</p></td>
 
726
<td class="struct_member_description"><p>Decoding timestamp</p></td>
 
727
<td class="struct_member_annotations"> </td>
 
728
</tr>
 
729
<tr>
 
730
<td class="struct_member_name"><p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> <em class="structfield"><code><a name="GstVideoCodecFrame.pts"></a>pts</code></em>;</p></td>
 
731
<td class="struct_member_description"><p>Presentation timestamp</p></td>
 
732
<td class="struct_member_annotations"> </td>
 
733
</tr>
 
734
<tr>
 
735
<td class="struct_member_name"><p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> <em class="structfield"><code><a name="GstVideoCodecFrame.duration"></a>duration</code></em>;</p></td>
 
736
<td class="struct_member_description"><p>Duration of the frame</p></td>
 
737
<td class="struct_member_annotations"> </td>
 
738
</tr>
 
739
<tr>
 
740
<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="GstVideoCodecFrame.distance-from-sync"></a>distance_from_sync</code></em>;</p></td>
 
741
<td class="struct_member_description"><p>Distance in frames from the last synchronization point.</p></td>
 
742
<td class="struct_member_annotations"> </td>
 
743
</tr>
 
744
<tr>
 
745
<td class="struct_member_name"><p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *<em class="structfield"><code><a name="GstVideoCodecFrame.input-buffer"></a>input_buffer</code></em>;</p></td>
 
746
<td class="struct_member_description"><p>the input <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> that created this frame. The buffer is owned
 
747
by the frame and references to the frame instead of the buffer should</p></td>
 
748
<td class="struct_member_annotations"> </td>
 
749
</tr>
 
750
<tr>
 
751
<td class="struct_member_name"><p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *<em class="structfield"><code><a name="GstVideoCodecFrame.output-buffer"></a>output_buffer</code></em>;</p></td>
 
752
<td class="struct_member_description"><p>the output <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a>. Implementations should set this either
 
753
directly, or by using the <em class="parameter"><code><code class="function">gst_video_decoder_alloc_output_frame()</code></code></em>
 
754
or
 
755
<em class="parameter"><code><code class="function">gst_video_decoder_alloc_output_buffer()</code></code></em>
 
756
methods. The buffer is owned
 
757
by the frame and references to the frame instead of the buffer should
 
758
be kept.</p></td>
 
759
<td class="struct_member_annotations"> </td>
 
760
</tr>
 
761
<tr>
 
762
<td class="struct_member_name"><p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> <em class="structfield"><code><a name="GstVideoCodecFrame.deadline"></a>deadline</code></em>;</p></td>
 
763
<td class="struct_member_description"><p>Running time when the frame will be used.</p></td>
 
764
<td class="struct_member_annotations"> </td>
 
765
</tr>
 
766
</tbody>
 
767
</table></div>
 
768
</div>
 
769
</div>
 
770
<hr>
 
771
<div class="refsect2">
 
772
<a name="GstVideoCodecFrameFlags"></a><h3>enum GstVideoCodecFrameFlags</h3>
 
773
<p>Flags for <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecFrame" title="struct GstVideoCodecFrame"><span class="type">GstVideoCodecFrame</span></a></p>
 
774
<div class="refsect3">
 
775
<a name="id-1.2.14.14.8.3.4"></a><h4>Members</h4>
 
776
<div class="informaltable"><table width="100%" border="0">
 
777
<colgroup>
 
778
<col width="300px" class="enum_members_name">
 
779
<col class="enum_members_description">
 
780
<col width="200px" class="enum_members_annotations">
 
781
</colgroup>
 
782
<tbody>
 
783
<tr>
 
784
<td class="enum_member_name"><p><a name="GST-VIDEO-CODEC-FRAME-FLAG-DECODE-ONLY:CAPS"></a>GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY</p></td>
 
785
<td class="enum_member_description">
 
786
<p>is the frame only meant to be decoded</p>
 
787
</td>
 
788
<td class="enum_member_annotations"> </td>
 
789
</tr>
 
790
<tr>
 
791
<td class="enum_member_name"><p><a name="GST-VIDEO-CODEC-FRAME-FLAG-SYNC-POINT:CAPS"></a>GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT</p></td>
 
792
<td class="enum_member_description">
 
793
<p>is the frame a synchronization point (keyframe)</p>
 
794
</td>
 
795
<td class="enum_member_annotations"> </td>
 
796
</tr>
 
797
<tr>
 
798
<td class="enum_member_name"><p><a name="GST-VIDEO-CODEC-FRAME-FLAG-FORCE-KEYFRAME:CAPS"></a>GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME</p></td>
 
799
<td class="enum_member_description">
 
800
<p>should the output frame be made a keyframe</p>
 
801
</td>
 
802
<td class="enum_member_annotations"> </td>
 
803
</tr>
 
804
<tr>
 
805
<td class="enum_member_name"><p><a name="GST-VIDEO-CODEC-FRAME-FLAG-FORCE-KEYFRAME-HEADERS:CAPS"></a>GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS</p></td>
 
806
<td class="enum_member_description">
 
807
<p>should the encoder output stream headers</p>
 
808
</td>
 
809
<td class="enum_member_annotations"> </td>
 
810
</tr>
 
811
</tbody>
 
812
</table></div>
 
813
</div>
578
814
</div>
579
815
<hr>
580
816
<div class="refsect2">
587
823
  GstBuffer *codec_data;
588
824
};
589
825
</pre>
590
 
<p>
591
 
Structure representing the state of an incoming or outgoing video
592
 
stream for encoders and decoders.
593
 
</p>
594
 
<p>
595
 
Decoders and encoders will receive such a state through their
596
 
respective <em class="parameter"><code>set_format</code></em> vmethods.
597
 
</p>
598
 
<p>
599
 
Decoders and encoders can set the downstream state, by using the
600
 
<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideoDecoder.html#gst-video-decoder-set-output-state" title="gst_video_decoder_set_output_state ()"><code class="function">gst_video_decoder_set_output_state()</code></a></code></em> or
601
 
<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideoEncoder.html#gst-video-encoder-set-output-state" title="gst_video_encoder_set_output_state ()"><code class="function">gst_video_encoder_set_output_state()</code></a></code></em> methods.
602
 
</p>
603
 
<div class="variablelist"><table border="0" class="variablelist">
604
 
<colgroup>
605
 
<col align="left" valign="top">
606
 
<col>
607
 
</colgroup>
608
 
<tbody>
609
 
<tr>
610
 
<td><p><span class="term"><a class="link" href="gst-plugins-base-libs-gstvideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> <em class="structfield"><code><a name="GstVideoCodecState.info"></a>info</code></em>;</span></p></td>
611
 
<td>The <a class="link" href="gst-plugins-base-libs-gstvideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> describing the stream</td>
612
 
</tr>
613
 
<tr>
614
 
<td><p><span class="term"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *<em class="structfield"><code><a name="GstVideoCodecState.caps"></a>caps</code></em>;</span></p></td>
615
 
<td>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>
616
 
</td>
617
 
</tr>
618
 
<tr>
619
 
<td><p><span class="term"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *<em class="structfield"><code><a name="GstVideoCodecState.codec-data"></a>codec_data</code></em>;</span></p></td>
620
 
<td>(optional) a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> corresponding to the
621
 
'codec_data' field of a stream.</td>
622
 
</tr>
623
 
</tbody>
624
 
</table></div>
625
 
</div>
626
 
<hr>
627
 
<div class="refsect2">
628
 
<a name="gst-video-codec-state-ref"></a><h3>gst_video_codec_state_ref ()</h3>
629
 
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="returnvalue">GstVideoCodecState</span></a> * gst_video_codec_state_ref          (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="type">GstVideoCodecState</span></a> *state</code></em>);</pre>
630
 
<p>
631
 
Increases the refcount of the given state by one.
632
 
</p>
633
 
<div class="variablelist"><table border="0" class="variablelist">
634
 
<colgroup>
635
 
<col align="left" valign="top">
636
 
<col>
637
 
</colgroup>
638
 
<tbody>
639
 
<tr>
640
 
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
641
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="type">GstVideoCodecState</span></a>
642
 
</td>
643
 
</tr>
644
 
<tr>
645
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
646
 
<td><em class="parameter"><code>buf</code></em></td>
647
 
</tr>
648
 
</tbody>
649
 
</table></div>
650
 
</div>
651
 
<hr>
652
 
<div class="refsect2">
653
 
<a name="gst-video-codec-state-unref"></a><h3>gst_video_codec_state_unref ()</h3>
654
 
<pre class="programlisting"><span class="returnvalue">void</span>                gst_video_codec_state_unref         (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="type">GstVideoCodecState</span></a> *state</code></em>);</pre>
655
 
<p>
656
 
Decreases the refcount of the state. If the refcount reaches 0, the state
657
 
will be freed.
658
 
</p>
659
 
<div class="variablelist"><table border="0" class="variablelist">
660
 
<colgroup>
661
 
<col align="left" valign="top">
662
 
<col>
663
 
</colgroup>
664
 
<tbody><tr>
665
 
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
666
 
<td>a <a class="link" href="gst-plugins-base-libs-gstvideoutils.html#GstVideoCodecState" title="struct GstVideoCodecState"><span class="type">GstVideoCodecState</span></a>
667
 
</td>
668
 
</tr></tbody>
669
 
</table></div>
 
826
<p>Structure representing the state of an incoming or outgoing video
 
827
stream for encoders and decoders.</p>
 
828
<p>Decoders and encoders will receive such a state through their
 
829
respective <em class="parameter"><code>set_format</code></em>
 
830
 vmethods.</p>
 
831
<p>Decoders and encoders can set the downstream state, by using the
 
832
<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideoDecoder.html#gst-video-decoder-set-output-state" title="gst_video_decoder_set_output_state ()"><code class="function">gst_video_decoder_set_output_state()</code></a></code></em>
 
833
 or
 
834
<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideoEncoder.html#gst-video-encoder-set-output-state" title="gst_video_encoder_set_output_state ()"><code class="function">gst_video_encoder_set_output_state()</code></a></code></em>
 
835
 methods.</p>
 
836
<div class="refsect3">
 
837
<a name="id-1.2.14.14.8.4.7"></a><h4>Members</h4>
 
838
<div class="informaltable"><table width="100%" border="0">
 
839
<colgroup>
 
840
<col width="300px" class="struct_members_name">
 
841
<col class="struct_members_description">
 
842
<col width="200px" class="struct_members_annotations">
 
843
</colgroup>
 
844
<tbody>
 
845
<tr>
 
846
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-gstvideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> <em class="structfield"><code><a name="GstVideoCodecState.info"></a>info</code></em>;</p></td>
 
847
<td class="struct_member_description"><p>The <a class="link" href="gst-plugins-base-libs-gstvideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> describing the stream</p></td>
 
848
<td class="struct_member_annotations"> </td>
 
849
</tr>
 
850
<tr>
 
851
<td class="struct_member_name"><p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *<em class="structfield"><code><a name="GstVideoCodecState.caps"></a>caps</code></em>;</p></td>
 
852
<td class="struct_member_description"><p>The <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a></p></td>
 
853
<td class="struct_member_annotations"> </td>
 
854
</tr>
 
855
<tr>
 
856
<td class="struct_member_name"><p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> *<em class="structfield"><code><a name="GstVideoCodecState.codec-data"></a>codec_data</code></em>;</p></td>
 
857
<td class="struct_member_description"><p>(optional) a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstBuffer.html#GstBuffer"><span class="type">GstBuffer</span></a> corresponding to the
 
858
'codec_data' field of a stream.</p></td>
 
859
<td class="struct_member_annotations"> </td>
 
860
</tr>
 
861
</tbody>
 
862
</table></div>
 
863
</div>
670
864
</div>
671
865
</div>
672
866
</div>
673
867
<div class="footer">
674
868
<hr>
675
 
          Generated by GTK-Doc V1.19</div>
 
869
          Generated by GTK-Doc V1.20</div>
676
870
</body>
677
871
</html>
 
 
b'\\ No newline at end of file'