/usr/share/gtk-doc/html/gst-plugins-bad-libs-0.10/gst-plugins-bad-libs-GstBaseVideoCodec.html is in gstreamer0.10-plugins-bad-doc 0.10.23-7.2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GStreamer Bad Plugins 0.10 Library Reference Manual: GstBaseVideoCodec</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GStreamer Bad Plugins 0.10 Library Reference Manual">
<link rel="up" href="video.html" title="Base video element classes">
<link rel="prev" href="video.html" title="Base video element classes">
<link rel="next" href="gst-plugins-bad-libs-GstBaseVideoDecoder.html" title="GstBaseVideoDecoder">
<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="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-GstBaseVideoCodec.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#gst-plugins-bad-libs-GstBaseVideoCodec.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="video.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="video.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gst-plugins-bad-libs-GstBaseVideoDecoder.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-GstBaseVideoCodec"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gst-plugins-bad-libs-GstBaseVideoCodec.top_of_page"></a>GstBaseVideoCodec</span></h2>
<p>GstBaseVideoCodec</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstBaseVideoCodec.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="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GST-BASE-VIDEO-CODEC-SRC-PAD:CAPS" title="GST_BASE_VIDEO_CODEC_SRC_PAD()">GST_BASE_VIDEO_CODEC_SRC_PAD</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GST-BASE-VIDEO-CODEC-SINK-PAD:CAPS" title="GST_BASE_VIDEO_CODEC_SINK_PAD()">GST_BASE_VIDEO_CODEC_SINK_PAD</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GST-BASE-VIDEO-CODEC-STREAM-LOCK:CAPS" title="GST_BASE_VIDEO_CODEC_STREAM_LOCK()">GST_BASE_VIDEO_CODEC_STREAM_LOCK</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GST-BASE-VIDEO-CODEC-STREAM-UNLOCK:CAPS" title="GST_BASE_VIDEO_CODEC_STREAM_UNLOCK()">GST_BASE_VIDEO_CODEC_STREAM_UNLOCK</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GstVideoFrame" title="struct GstVideoFrame"><span class="returnvalue">GstVideoFrame</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#gst-base-video-codec-new-frame" title="gst_base_video_codec_new_frame ()">gst_base_video_codec_new_frame</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-GstBaseVideoCodec.html#gst-base-video-codec-free-frame" title="gst_base_video_codec_free_frame ()">gst_base_video_codec_free_frame</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstBaseVideoCodec.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="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GST-BASE-VIDEO-CODEC-SINK-NAME:CAPS" title="GST_BASE_VIDEO_CODEC_SINK_NAME">GST_BASE_VIDEO_CODEC_SINK_NAME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GST-BASE-VIDEO-CODEC-SRC-NAME:CAPS" title="GST_BASE_VIDEO_CODEC_SRC_NAME">GST_BASE_VIDEO_CODEC_SRC_NAME</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GST-BASE-VIDEO-CODEC-FLOW-NEED-DATA:CAPS" title="GST_BASE_VIDEO_CODEC_FLOW_NEED_DATA">GST_BASE_VIDEO_CODEC_FLOW_NEED_DATA</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GstVideoState" title="struct GstVideoState">GstVideoState</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GstVideoFrame" title="struct GstVideoFrame">GstVideoFrame</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GstBaseVideoCodec" title="struct GstBaseVideoCodec">GstBaseVideoCodec</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GstBaseVideoCodecClass" title="struct GstBaseVideoCodecClass">GstBaseVideoCodecClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstBaseVideoCodec.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstBaseVideoCodec.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstBaseVideoCodec.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="GST-BASE-VIDEO-CODEC-SRC-PAD:CAPS"></a><h3>GST_BASE_VIDEO_CODEC_SRC_PAD()</h3>
<pre class="programlisting">#define GST_BASE_VIDEO_CODEC_SRC_PAD(obj) (((GstBaseVideoCodec *) (obj))->srcpad)
</pre>
<p>Gives the pointer to the source <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstPad.html"><span class="type">GstPad</span></a> object of the element.</p>
<div class="refsect3">
<a name="id-1.2.5.2.7.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>obj</p></td>
<td class="parameter_description"><p>base video codec instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-BASE-VIDEO-CODEC-SINK-PAD:CAPS"></a><h3>GST_BASE_VIDEO_CODEC_SINK_PAD()</h3>
<pre class="programlisting">#define GST_BASE_VIDEO_CODEC_SINK_PAD(obj) (((GstBaseVideoCodec *) (obj))->sinkpad)
</pre>
<p>Gives the pointer to the sink <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstPad.html"><span class="type">GstPad</span></a> object of the element.</p>
<div class="refsect3">
<a name="id-1.2.5.2.7.3.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>obj</p></td>
<td class="parameter_description"><p>base video codec instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-BASE-VIDEO-CODEC-STREAM-LOCK:CAPS"></a><h3>GST_BASE_VIDEO_CODEC_STREAM_LOCK()</h3>
<pre class="programlisting">#define GST_BASE_VIDEO_CODEC_STREAM_LOCK(codec) g_static_rec_mutex_lock (&GST_BASE_VIDEO_CODEC (codec)->stream_lock)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-BASE-VIDEO-CODEC-STREAM-UNLOCK:CAPS"></a><h3>GST_BASE_VIDEO_CODEC_STREAM_UNLOCK()</h3>
<pre class="programlisting">#define GST_BASE_VIDEO_CODEC_STREAM_UNLOCK(codec) g_static_rec_mutex_unlock (&GST_BASE_VIDEO_CODEC (codec)->stream_lock)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-base-video-codec-new-frame"></a><h3>gst_base_video_codec_new_frame ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GstVideoFrame" title="struct GstVideoFrame"><span class="returnvalue">GstVideoFrame</span></a> *
gst_base_video_codec_new_frame (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GstBaseVideoCodec" title="struct GstBaseVideoCodec"><span class="type">GstBaseVideoCodec</span></a> *base_video_codec</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-base-video-codec-free-frame"></a><h3>gst_base_video_codec_free_frame ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_base_video_codec_free_frame (<em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-GstBaseVideoCodec.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *frame</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-libs-GstBaseVideoCodec.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GST-BASE-VIDEO-CODEC-SINK-NAME:CAPS"></a><h3>GST_BASE_VIDEO_CODEC_SINK_NAME</h3>
<pre class="programlisting">#define GST_BASE_VIDEO_CODEC_SINK_NAME "sink"
</pre>
<p>The name of the templates for the sink pad.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-BASE-VIDEO-CODEC-SRC-NAME:CAPS"></a><h3>GST_BASE_VIDEO_CODEC_SRC_NAME</h3>
<pre class="programlisting">#define GST_BASE_VIDEO_CODEC_SRC_NAME "src"
</pre>
<p>The name of the templates for the source pad.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-BASE-VIDEO-CODEC-FLOW-NEED-DATA:CAPS"></a><h3>GST_BASE_VIDEO_CODEC_FLOW_NEED_DATA</h3>
<pre class="programlisting">#define GST_BASE_VIDEO_CODEC_FLOW_NEED_DATA GST_FLOW_CUSTOM_SUCCESS
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoState"></a><h3>struct GstVideoState</h3>
<pre class="programlisting">struct GstVideoState {
GstCaps *caps;
GstVideoFormat format;
int width, height;
int fps_n, fps_d;
int par_n, par_d;
gboolean have_interlaced;
gboolean interlaced;
gboolean top_field_first;
int clean_width, clean_height;
int clean_offset_left, clean_offset_top;
int bytes_per_picture;
GstBuffer *codec_data;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFrame"></a><h3>struct GstVideoFrame</h3>
<pre class="programlisting">struct GstVideoFrame {
GstClockTime decode_timestamp;
GstClockTime presentation_timestamp;
GstClockTime presentation_duration;
gint system_frame_number;
gint decode_frame_number;
gint presentation_frame_number;
int distance_from_sync;
gboolean is_sync_point;
gboolean is_eos;
GstBuffer *sink_buffer;
GstBuffer *src_buffer;
int field_index;
int n_fields;
void *coder_hook;
GDestroyNotify coder_hook_destroy_notify;
GstClockTime deadline;
gboolean force_keyframe;
gboolean force_keyframe_headers;
/* Events that should be pushed downstream *before*
* the next src_buffer */
GList *events;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstBaseVideoCodec"></a><h3>struct GstBaseVideoCodec</h3>
<pre class="programlisting">struct GstBaseVideoCodec {
GstElement element;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstBaseVideoCodecClass"></a><h3>struct GstBaseVideoCodecClass</h3>
<pre class="programlisting">struct GstBaseVideoCodecClass {
GstElementClass element_class;
/* FIXME before moving to base */
void *padding[GST_PADDING_LARGE];
};
</pre>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
</body>
</html>
|