blob: c25fec2f71afb9901b4c857d58d166105edd1f39 [file] [log] [blame]
Sebastian Dröge12682a62014-05-03 19:58:45 +02001<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>GStreamer Bad Plugins 1.0 Library Reference Manual: Utilities</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Library Reference Manual">
8<link rel="up" href="gl.html" title="OpenGL Helper Library">
Sebastian Dröge1491e032014-06-22 19:09:53 +02009<link rel="prev" href="gst-plugins-bad-libs-GstGLUploadMeta.html" title="GstGLUploadMeta">
Sebastian Dröge12682a62014-05-03 19:58:45 +020010<link rel="next" href="GstGLWindow.html" title="GstGLWindow">
Sebastian Drögeb551a202014-08-27 14:40:57 +030011<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
Sebastian Dröge12682a62014-05-03 19:58:45 +020012<link rel="stylesheet" href="style.css" type="text/css">
13</head>
14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Sebastian Drögeb551a202014-08-27 14:40:57 +030015<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
Sebastian Dröge12682a62014-05-03 19:58:45 +020016<td width="100%" align="left" class="shortcuts">
Sebastian Drögeb551a202014-08-27 14:40:57 +030017<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18 <a href="#gst-plugins-bad-libs-Utilities.description" class="shortcut">Description</a></span>
Sebastian Dröge12682a62014-05-03 19:58:45 +020019</td>
20<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21<td><a accesskey="u" href="gl.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
Sebastian Dröge1491e032014-06-22 19:09:53 +020022<td><a accesskey="p" href="gst-plugins-bad-libs-GstGLUploadMeta.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
Sebastian Dröge12682a62014-05-03 19:58:45 +020023<td><a accesskey="n" href="GstGLWindow.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24</tr></table>
25<div class="refentry">
26<a name="gst-plugins-bad-libs-Utilities"></a><div class="titlepage"></div>
27<div class="refnamediv"><table width="100%"><tr>
28<td valign="top">
29<h2><span class="refentrytitle"><a name="gst-plugins-bad-libs-Utilities.top_of_page"></a>Utilities</span></h2>
30<p>Utilities</p>
31</td>
32<td class="gallery_image" valign="top" align="right"></td>
33</tr></table></div>
34<div class="refsect1">
35<a name="gst-plugins-bad-libs-Utilities.functions"></a><h2>Functions</h2>
36<div class="informaltable"><table width="100%" border="0">
37<colgroup>
38<col width="150px" class="functions_return">
39<col class="functions_name">
40</colgroup>
41<tbody>
42<tr>
43<td class="function_type">
44<span class="returnvalue">void</span>
45</td>
46<td class="function_name">
47<span class="c_punctuation">(</span><a class="link" href="gst-plugins-bad-libs-Utilities.html#GLCB:CAPS" title="GLCB ()">*GLCB</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
48</td>
49</tr>
50<tr>
51<td class="function_type">
52<span class="returnvalue">void</span>
53</td>
54<td class="function_name">
55<span class="c_punctuation">(</span><a class="link" href="gst-plugins-bad-libs-Utilities.html#GLCB-V2:CAPS" title="GLCB_V2 ()">*GLCB_V2</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
56</td>
57</tr>
58<tr>
59<td class="function_type">
Sebastian Dröge2f202592014-09-24 12:08:28 +030060<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +020061</td>
62<td class="function_name">
63<span class="c_punctuation">(</span><a class="link" href="gst-plugins-bad-libs-Utilities.html#CDCB:CAPS" title="CDCB ()">*CDCB</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
64</td>
65</tr>
66<tr>
67<td class="function_type">
Sebastian Dröge2f202592014-09-24 12:08:28 +030068<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +020069</td>
70<td class="function_name">
71<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-ensure-display" title="gst_gl_ensure_display ()">gst_gl_ensure_display</a> <span class="c_punctuation">()</span>
72</td>
73</tr>
74<tr>
75<td class="function_type">
Sebastian Dröge2f202592014-09-24 12:08:28 +030076<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +020077</td>
78<td class="function_name">
79<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-handle-set-context" title="gst_gl_handle_set_context ()">gst_gl_handle_set_context</a> <span class="c_punctuation">()</span>
80</td>
81</tr>
82<tr>
83<td class="function_type">
Sebastian Dröge2f202592014-09-24 12:08:28 +030084<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +020085</td>
86<td class="function_name">
87<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-handle-context-query" title="gst_gl_handle_context_query ()">gst_gl_handle_context_query</a> <span class="c_punctuation">()</span>
88</td>
89</tr>
90<tr>
91<td class="function_type">
92<span class="returnvalue">void</span>
93</td>
94<td class="function_name">
95<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-gen-texture" title="gst_gl_context_gen_texture ()">gst_gl_context_gen_texture</a> <span class="c_punctuation">()</span>
96</td>
97</tr>
98<tr>
99<td class="function_type">
100<span class="returnvalue">void</span>
101</td>
102<td class="function_name">
103<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-del-texture" title="gst_gl_context_del_texture ()">gst_gl_context_del_texture</a> <span class="c_punctuation">()</span>
104</td>
105</tr>
106<tr>
107<td class="function_type">
Sebastian Dröge2f202592014-09-24 12:08:28 +0300108<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200109</td>
110<td class="function_name">
111<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-gen-fbo" title="gst_gl_context_gen_fbo ()">gst_gl_context_gen_fbo</a> <span class="c_punctuation">()</span>
112</td>
113</tr>
114<tr>
115<td class="function_type">
116<span class="returnvalue">void</span>
117</td>
118<td class="function_name">
119<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-del-fbo" title="gst_gl_context_del_fbo ()">gst_gl_context_del_fbo</a> <span class="c_punctuation">()</span>
120</td>
121</tr>
122<tr>
123<td class="function_type">
Sebastian Dröge2f202592014-09-24 12:08:28 +0300124<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200125</td>
126<td class="function_name">
127<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-use-fbo" title="gst_gl_context_use_fbo ()">gst_gl_context_use_fbo</a> <span class="c_punctuation">()</span>
128</td>
129</tr>
130<tr>
131<td class="function_type">
Sebastian Dröge2f202592014-09-24 12:08:28 +0300132<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200133</td>
134<td class="function_name">
135<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-use-fbo-v2" title="gst_gl_context_use_fbo_v2 ()">gst_gl_context_use_fbo_v2</a> <span class="c_punctuation">()</span>
136</td>
137</tr>
138<tr>
139<td class="function_type">
Sebastian Dröge2f202592014-09-24 12:08:28 +0300140<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200141</td>
142<td class="function_name">
143<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-gen-shader" title="gst_gl_context_gen_shader ()">gst_gl_context_gen_shader</a> <span class="c_punctuation">()</span>
144</td>
145</tr>
146<tr>
147<td class="function_type">
148<span class="returnvalue">void</span>
149</td>
150<td class="function_name">
151<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-del-shader" title="gst_gl_context_del_shader ()">gst_gl_context_del_shader</a> <span class="c_punctuation">()</span>
152</td>
153</tr>
154<tr>
155<td class="function_type">
Sebastian Dröge2f202592014-09-24 12:08:28 +0300156<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200157</td>
158<td class="function_name">
159<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-check-framebuffer-status" title="gst_gl_context_check_framebuffer_status ()">gst_gl_context_check_framebuffer_status</a> <span class="c_punctuation">()</span>
160</td>
161</tr>
162<tr>
163<td class="function_type">
164<span class="returnvalue">void</span>
165</td>
166<td class="function_name">
167<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-set-error" title="gst_gl_context_set_error ()">gst_gl_context_set_error</a> <span class="c_punctuation">()</span>
168</td>
169</tr>
170<tr>
171<td class="function_type">
Sebastian Dröge2f202592014-09-24 12:08:28 +0300172<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
Sebastian Dröge12682a62014-05-03 19:58:45 +0200173</td>
174<td class="function_name">
175<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-get-error" title="gst_gl_context_get_error ()">gst_gl_context_get_error</a> <span class="c_punctuation">()</span>
176</td>
177</tr>
178<tr>
179<td class="function_type">
180<span class="returnvalue">void</span>
181</td>
182<td class="function_name">
183<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-context-clear-shader" title="gst_gl_context_clear_shader ()">gst_gl_context_clear_shader</a> <span class="c_punctuation">()</span>
184</td>
185</tr>
Sebastian Dröge1491e032014-06-22 19:09:53 +0200186<tr>
187<td class="function_type">
188<span class="returnvalue">void</span>
189</td>
190<td class="function_name">
191<a class="link" href="gst-plugins-bad-libs-Utilities.html#gst-gl-generate-texture-full" title="gst_gl_generate_texture_full ()">gst_gl_generate_texture_full</a> <span class="c_punctuation">()</span>
192</td>
193</tr>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200194</tbody>
195</table></div>
196</div>
197<div class="refsect1">
198<a name="gst-plugins-bad-libs-Utilities.other"></a><h2>Types and Values</h2>
199<div class="informaltable"><table width="100%" border="0">
200<colgroup>
201<col width="150px" class="name">
202<col class="description">
203</colgroup>
204<tbody><tr>
205<td class="datatype_keyword">enum</td>
206<td class="function_name"><a class="link" href="gst-plugins-bad-libs-Utilities.html#GstGLDisplayProjection" title="enum GstGLDisplayProjection">GstGLDisplayProjection</a></td>
207</tr></tbody>
208</table></div>
209</div>
210<div class="refsect1">
Sebastian Dröge12682a62014-05-03 19:58:45 +0200211<a name="gst-plugins-bad-libs-Utilities.description"></a><h2>Description</h2>
212</div>
213<div class="refsect1">
214<a name="gst-plugins-bad-libs-Utilities.functions_details"></a><h2>Functions</h2>
215<div class="refsect2">
216<a name="GLCB:CAPS"></a><h3>GLCB ()</h3>
217<pre class="programlisting"><span class="returnvalue">void</span>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300218<span class="c_punctuation">(</span>*GLCB<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> Param1</code></em>,
219 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> Param2</code></em>,
220 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> Param3</code></em>,
221 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> stuff</code></em>);</pre>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200222<p>callback definition for operating on textures</p>
223<div class="refsect3">
Sebastian Drögeb551a202014-08-27 14:40:57 +0300224<a name="id-1.2.9.19.6.2.5"></a><h4>Parameters</h4>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200225<div class="informaltable"><table width="100%" border="0">
226<colgroup>
227<col width="150px" class="parameters_name">
228<col class="parameters_description">
229<col width="200px" class="parameters_annotations">
230</colgroup>
231<tbody>
232<tr>
233<td class="parameter_name"><p>width</p></td>
234<td class="parameter_description"><p>the width</p></td>
235<td class="parameter_annotations"> </td>
236</tr>
237<tr>
238<td class="parameter_name"><p>height</p></td>
239<td class="parameter_description"><p>the height</p></td>
240<td class="parameter_annotations"> </td>
241</tr>
242<tr>
243<td class="parameter_name"><p>texture</p></td>
244<td class="parameter_description"><p>texture</p></td>
245<td class="parameter_annotations"> </td>
246</tr>
247<tr>
248<td class="parameter_name"><p>stuff</p></td>
249<td class="parameter_description"><p>user data</p></td>
250<td class="parameter_annotations"> </td>
251</tr>
252</tbody>
253</table></div>
254</div>
255</div>
256<hr>
257<div class="refsect2">
258<a name="GLCB-V2:CAPS"></a><h3>GLCB_V2 ()</h3>
259<pre class="programlisting"><span class="returnvalue">void</span>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300260<span class="c_punctuation">(</span>*GLCB_V2<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> stuff</code></em>);</pre>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200261<p>callback definition for operating through a Framebuffer object</p>
262<div class="refsect3">
Sebastian Drögeb551a202014-08-27 14:40:57 +0300263<a name="id-1.2.9.19.6.3.5"></a><h4>Parameters</h4>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200264<div class="informaltable"><table width="100%" border="0">
265<colgroup>
266<col width="150px" class="parameters_name">
267<col class="parameters_description">
268<col width="200px" class="parameters_annotations">
269</colgroup>
270<tbody><tr>
271<td class="parameter_name"><p>stuff</p></td>
272<td class="parameter_description"><p>user data</p></td>
273<td class="parameter_annotations"> </td>
274</tr></tbody>
275</table></div>
276</div>
277</div>
278<hr>
279<div class="refsect2">
Sebastian Dröge12682a62014-05-03 19:58:45 +0200280<a name="CDCB:CAPS"></a><h3>CDCB ()</h3>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300281<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200282<span class="c_punctuation">(</span>*CDCB<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">GLuint</span> texture</code></em>,
283 <em class="parameter"><code><span class="type">GLuint</span> width</code></em>,
284 <em class="parameter"><code><span class="type">GLuint</span> height</code></em>,
Sebastian Dröge2f202592014-09-24 12:08:28 +0300285 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200286<p>client draw callback</p>
287<div class="refsect3">
Sebastian Drögeb551a202014-08-27 14:40:57 +0300288<a name="id-1.2.9.19.6.4.5"></a><h4>Parameters</h4>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200289<div class="informaltable"><table width="100%" border="0">
290<colgroup>
291<col width="150px" class="parameters_name">
292<col class="parameters_description">
293<col width="200px" class="parameters_annotations">
294</colgroup>
295<tbody>
296<tr>
297<td class="parameter_name"><p>texture</p></td>
298<td class="parameter_description"><p>texture to draw</p></td>
299<td class="parameter_annotations"> </td>
300</tr>
301<tr>
302<td class="parameter_name"><p>width</p></td>
303<td class="parameter_description"><p>new width</p></td>
304<td class="parameter_annotations"> </td>
305</tr>
306<tr>
307<td class="parameter_name"><p>height</p></td>
308<td class="parameter_description"><p>new height:</p></td>
309<td class="parameter_annotations"> </td>
310</tr>
311<tr>
312<td class="parameter_name"><p>data</p></td>
313<td class="parameter_description"><p>user data</p></td>
314<td class="parameter_annotations"> </td>
315</tr>
316</tbody>
317</table></div>
318</div>
319</div>
320<hr>
321<div class="refsect2">
322<a name="gst-gl-ensure-display"></a><h3>gst_gl_ensure_display ()</h3>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300323<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
324gst_gl_ensure_display (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> element</code></em>,
Sebastian Dröge12682a62014-05-03 19:58:45 +0200325 <em class="parameter"><code><a class="link" href="GstGLDisplay.html" title="GstGLDisplay"><span class="type">GstGLDisplay</span></a> **display_ptr</code></em>);</pre>
326</div>
327<hr>
328<div class="refsect2">
329<a name="gst-gl-handle-set-context"></a><h3>gst_gl_handle_set_context ()</h3>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300330<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200331gst_gl_handle_set_context (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *element</code></em>,
Sebastian Dröge543e3a32014-05-21 12:50:00 +0200332 <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstContext.html"><span class="type">GstContext</span></a> *context</code></em>,
Sebastian Dröge12682a62014-05-03 19:58:45 +0200333 <em class="parameter"><code><a class="link" href="GstGLDisplay.html" title="GstGLDisplay"><span class="type">GstGLDisplay</span></a> **display</code></em>);</pre>
334</div>
335<hr>
336<div class="refsect2">
337<a name="gst-gl-handle-context-query"></a><h3>gst_gl_handle_context_query ()</h3>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300338<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200339gst_gl_handle_context_query (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> *element</code></em>,
Sebastian Drögeb551a202014-08-27 14:40:57 +0300340 <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstQuery.html"><span class="type">GstQuery</span></a> *query</code></em>,
Sebastian Dröge12682a62014-05-03 19:58:45 +0200341 <em class="parameter"><code><a class="link" href="GstGLDisplay.html" title="GstGLDisplay"><span class="type">GstGLDisplay</span></a> **display</code></em>);</pre>
342</div>
343<hr>
344<div class="refsect2">
345<a name="gst-gl-context-gen-texture"></a><h3>gst_gl_context_gen_texture ()</h3>
346<pre class="programlisting"><span class="returnvalue">void</span>
347gst_gl_context_gen_texture (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
348 <em class="parameter"><code><span class="type">GLuint</span> *pTexture</code></em>,
349 <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideo.html#GstVideoFormat"><span class="type">GstVideoFormat</span></a> v_format</code></em>,
350 <em class="parameter"><code><span class="type">GLint</span> width</code></em>,
351 <em class="parameter"><code><span class="type">GLint</span> height</code></em>);</pre>
352</div>
353<hr>
354<div class="refsect2">
355<a name="gst-gl-context-del-texture"></a><h3>gst_gl_context_del_texture ()</h3>
356<pre class="programlisting"><span class="returnvalue">void</span>
357gst_gl_context_del_texture (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
358 <em class="parameter"><code><span class="type">GLuint</span> *pTexture</code></em>);</pre>
359</div>
360<hr>
361<div class="refsect2">
362<a name="gst-gl-context-gen-fbo"></a><h3>gst_gl_context_gen_fbo ()</h3>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300363<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200364gst_gl_context_gen_fbo (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
Sebastian Dröge2f202592014-09-24 12:08:28 +0300365 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
366 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
Sebastian Dröge12682a62014-05-03 19:58:45 +0200367 <em class="parameter"><code><span class="type">GLuint</span> *fbo</code></em>,
368 <em class="parameter"><code><span class="type">GLuint</span> *depthbuffer</code></em>);</pre>
369</div>
370<hr>
371<div class="refsect2">
372<a name="gst-gl-context-del-fbo"></a><h3>gst_gl_context_del_fbo ()</h3>
373<pre class="programlisting"><span class="returnvalue">void</span>
374gst_gl_context_del_fbo (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
375 <em class="parameter"><code><span class="type">GLuint</span> fbo</code></em>,
376 <em class="parameter"><code><span class="type">GLuint</span> depth_buffer</code></em>);</pre>
377</div>
378<hr>
379<div class="refsect2">
380<a name="gst-gl-context-use-fbo"></a><h3>gst_gl_context_use_fbo ()</h3>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300381<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200382gst_gl_context_use_fbo (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
Sebastian Dröge2f202592014-09-24 12:08:28 +0300383 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> texture_fbo_width</code></em>,
384 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> texture_fbo_height</code></em>,
Sebastian Dröge12682a62014-05-03 19:58:45 +0200385 <em class="parameter"><code><span class="type">GLuint</span> fbo</code></em>,
386 <em class="parameter"><code><span class="type">GLuint</span> depth_buffer</code></em>,
387 <em class="parameter"><code><span class="type">GLuint</span> texture_fbo</code></em>,
388 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-Utilities.html#GLCB:CAPS" title="GLCB ()"><span class="type">GLCB</span></a> cb</code></em>,
Sebastian Dröge2f202592014-09-24 12:08:28 +0300389 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> input_texture_width</code></em>,
390 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> input_texture_height</code></em>,
Sebastian Dröge12682a62014-05-03 19:58:45 +0200391 <em class="parameter"><code><span class="type">GLuint</span> input_texture</code></em>,
Sebastian Dröge2f202592014-09-24 12:08:28 +0300392 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> proj_param1</code></em>,
393 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> proj_param2</code></em>,
394 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> proj_param3</code></em>,
395 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> proj_param4</code></em>,
Sebastian Dröge12682a62014-05-03 19:58:45 +0200396 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-Utilities.html#GstGLDisplayProjection" title="enum GstGLDisplayProjection"><span class="type">GstGLDisplayProjection</span></a> projection</code></em>,
Sebastian Dröge2f202592014-09-24 12:08:28 +0300397 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> stuff</code></em>);</pre>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200398</div>
399<hr>
400<div class="refsect2">
401<a name="gst-gl-context-use-fbo-v2"></a><h3>gst_gl_context_use_fbo_v2 ()</h3>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300402<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200403gst_gl_context_use_fbo_v2 (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
Sebastian Dröge2f202592014-09-24 12:08:28 +0300404 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> texture_fbo_width</code></em>,
405 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> texture_fbo_height</code></em>,
Sebastian Dröge12682a62014-05-03 19:58:45 +0200406 <em class="parameter"><code><span class="type">GLuint</span> fbo</code></em>,
407 <em class="parameter"><code><span class="type">GLuint</span> depth_buffer</code></em>,
408 <em class="parameter"><code><span class="type">GLuint</span> texture_fbo</code></em>,
409 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-Utilities.html#GLCB-V2:CAPS" title="GLCB_V2 ()"><span class="type">GLCB_V2</span></a> cb</code></em>,
Sebastian Dröge2f202592014-09-24 12:08:28 +0300410 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> stuff</code></em>);</pre>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200411</div>
412<hr>
413<div class="refsect2">
414<a name="gst-gl-context-gen-shader"></a><h3>gst_gl_context_gen_shader ()</h3>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300415<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200416gst_gl_context_gen_shader (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
Sebastian Dröge2f202592014-09-24 12:08:28 +0300417 <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *shader_vertex_source</code></em>,
418 <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *shader_fragment_source</code></em>,
Sebastian Dröge12682a62014-05-03 19:58:45 +0200419 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-gstglshader.html#GstGLShader"><span class="type">GstGLShader</span></a> **shader</code></em>);</pre>
420</div>
421<hr>
422<div class="refsect2">
423<a name="gst-gl-context-del-shader"></a><h3>gst_gl_context_del_shader ()</h3>
424<pre class="programlisting"><span class="returnvalue">void</span>
425gst_gl_context_del_shader (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
426 <em class="parameter"><code><a class="link" href="gst-plugins-bad-libs-gstglshader.html#GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>);</pre>
427</div>
428<hr>
429<div class="refsect2">
430<a name="gst-gl-context-check-framebuffer-status"></a><h3>gst_gl_context_check_framebuffer_status ()</h3>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300431<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200432gst_gl_context_check_framebuffer_status
433 (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>);</pre>
434</div>
435<hr>
436<div class="refsect2">
437<a name="gst-gl-context-set-error"></a><h3>gst_gl_context_set_error ()</h3>
438<pre class="programlisting"><span class="returnvalue">void</span>
439gst_gl_context_set_error (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
440 <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
441 <em class="parameter"><code>...</code></em>);</pre>
442</div>
443<hr>
444<div class="refsect2">
445<a name="gst-gl-context-get-error"></a><h3>gst_gl_context_get_error ()</h3>
Sebastian Dröge2f202592014-09-24 12:08:28 +0300446<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
Sebastian Dröge12682a62014-05-03 19:58:45 +0200447gst_gl_context_get_error (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
448</div>
449<hr>
450<div class="refsect2">
451<a name="gst-gl-context-clear-shader"></a><h3>gst_gl_context_clear_shader ()</h3>
452<pre class="programlisting"><span class="returnvalue">void</span>
453gst_gl_context_clear_shader (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>);</pre>
454</div>
Sebastian Dröge1491e032014-06-22 19:09:53 +0200455<hr>
456<div class="refsect2">
457<a name="gst-gl-generate-texture-full"></a><h3>gst_gl_generate_texture_full ()</h3>
458<pre class="programlisting"><span class="returnvalue">void</span>
459gst_gl_generate_texture_full (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
460 <em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideo.html#GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>,
Sebastian Dröge2f202592014-09-24 12:08:28 +0300461 <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> comp</code></em>,
462 <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> stride[]</code></em>,
Sebastian Dröge1491e032014-06-22 19:09:53 +0200463 <em class="parameter"><code><span class="type">gsize</span> offset[]</code></em>,
464 <em class="parameter"><code><span class="type">gsize</span> size[]</code></em>,
465 <em class="parameter"><code><span class="type">GLuint</span> *pTexture</code></em>);</pre>
466</div>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200467</div>
468<div class="refsect1">
469<a name="gst-plugins-bad-libs-Utilities.other_details"></a><h2>Types and Values</h2>
470<div class="refsect2">
471<a name="GstGLDisplayProjection"></a><h3>enum GstGLDisplayProjection</h3>
472<div class="refsect3">
Sebastian Drögeb551a202014-08-27 14:40:57 +0300473<a name="id-1.2.9.19.7.2.3"></a><h4>Members</h4>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200474<div class="informaltable"><table width="100%" border="0">
475<colgroup>
476<col width="300px" class="enum_members_name">
477<col class="enum_members_description">
478<col width="200px" class="enum_members_annotations">
479</colgroup>
480<tbody>
481<tr>
482<td class="enum_member_name"><p><a name="GST-GL-DISPLAY-PROJECTION-ORTHO2D:CAPS"></a>GST_GL_DISPLAY_PROJECTION_ORTHO2D</p></td>
483<td> </td>
484<td> </td>
485</tr>
486<tr>
487<td class="enum_member_name"><p><a name="GST-GL-DISPLAY-PROJECTION-PERSPECTIVE:CAPS"></a>GST_GL_DISPLAY_PROJECTION_PERSPECTIVE</p></td>
488<td> </td>
489<td> </td>
490</tr>
491</tbody>
492</table></div>
493</div>
494</div>
495</div>
496</div>
497<div class="footer">
498<hr>
Sebastian Drögeb551a202014-08-27 14:40:57 +0300499 Generated by GTK-Doc V1.21</div>
Sebastian Dröge12682a62014-05-03 19:58:45 +0200500</body>
501</html>