• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>GstGLViewConvert: GStreamer Base Plugins 1.0 Library Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
8<link rel="up" href="gl.html" title="OpenGL Integration Library">
9<link rel="prev" href="GstGLUpload.html" title="GstGLUpload">
10<link rel="next" href="GstGLWindow.html" title="GstGLWindow">
11<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
12<link rel="stylesheet" href="style.css" type="text/css">
13</head>
14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#GstGLViewConvert.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#GstGLViewConvert.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span20                  <a href="#GstGLViewConvert.properties" class="shortcut">Properties</a></span>
21</td>
22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23<td><a accesskey="u" href="gl.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24<td><a accesskey="p" href="GstGLUpload.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25<td><a accesskey="n" href="GstGLWindow.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26</tr></table>
27<div class="refentry">
28<a name="GstGLViewConvert"></a><div class="titlepage"></div>
29<div class="refnamediv"><table width="100%"><tr>
30<td valign="top">
31<h2><span class="refentrytitle"><a name="GstGLViewConvert.top_of_page"></a>GstGLViewConvert</span></h2>
32<p>GstGLViewConvert — convert between steroscopic/multiview video formats</p>
33</td>
34<td class="gallery_image" valign="top" align="right"></td>
35</tr></table></div>
36<div class="refsect1">
37<a name="GstGLViewConvert.functions"></a><h2>Functions</h2>
38<div class="informaltable"><table class="informaltable" width="100%" border="0">
39<colgroup>
40<col width="150px" class="functions_return">
41<col class="functions_name">
42</colgroup>
43<tbody>
44<tr>
45<td class="function_type">
46<a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="returnvalue">GstGLViewConvert</span></a> *
47</td>
48<td class="function_name">
49<a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-new" title="gst_gl_view_convert_new ()">gst_gl_view_convert_new</a> <span class="c_punctuation">()</span>
50</td>
51</tr>
52<tr>
53<td class="function_type">
54<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
55</td>
56<td class="function_name">
57<a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-set-caps" title="gst_gl_view_convert_set_caps ()">gst_gl_view_convert_set_caps</a> <span class="c_punctuation">()</span>
58</td>
59</tr>
60<tr>
61<td class="function_type">
62<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> *
63</td>
64<td class="function_name">
65<a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-transform-caps" title="gst_gl_view_convert_transform_caps ()">gst_gl_view_convert_transform_caps</a> <span class="c_punctuation">()</span>
66</td>
67</tr>
68<tr>
69<td class="function_type">
70<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> *
71</td>
72<td class="function_name">
73<a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-fixate-caps" title="gst_gl_view_convert_fixate_caps ()">gst_gl_view_convert_fixate_caps</a> <span class="c_punctuation">()</span>
74</td>
75</tr>
76<tr>
77<td class="function_type">
78<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="returnvalue">GstFlowReturn</span></a>
79</td>
80<td class="function_name">
81<a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-submit-input-buffer" title="gst_gl_view_convert_submit_input_buffer ()">gst_gl_view_convert_submit_input_buffer</a> <span class="c_punctuation">()</span>
82</td>
83</tr>
84<tr>
85<td class="function_type">
86<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="returnvalue">GstFlowReturn</span></a>
87</td>
88<td class="function_name">
89<a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-get-output" title="gst_gl_view_convert_get_output ()">gst_gl_view_convert_get_output</a> <span class="c_punctuation">()</span>
90</td>
91</tr>
92<tr>
93<td class="function_type">
94<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="returnvalue">GstBuffer</span></a> *
95</td>
96<td class="function_name">
97<a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-perform" title="gst_gl_view_convert_perform ()">gst_gl_view_convert_perform</a> <span class="c_punctuation">()</span>
98</td>
99</tr>
100<tr>
101<td class="function_type">
102<span class="returnvalue">void</span>
103</td>
104<td class="function_name">
105<a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-reset" title="gst_gl_view_convert_reset ()">gst_gl_view_convert_reset</a> <span class="c_punctuation">()</span>
106</td>
107</tr>
108<tr>
109<td class="function_type">
110<span class="returnvalue">void</span>
111</td>
112<td class="function_name">
113<a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-set-context" title="gst_gl_view_convert_set_context ()">gst_gl_view_convert_set_context</a> <span class="c_punctuation">()</span>
114</td>
115</tr>
116</tbody>
117</table></div>
118</div>
119<div class="refsect1">
120<a name="GstGLViewConvert.properties"></a><h2>Properties</h2>
121<div class="informaltable"><table class="informaltable" border="0">
122<colgroup>
123<col width="150px" class="properties_type">
124<col width="300px" class="properties_name">
125<col width="200px" class="properties_flags">
126</colgroup>
127<tbody>
128<tr>
129<td class="property_type"><a class="link" href="GstGLViewConvert.html#GstGLStereoDownmix" title="enum GstGLStereoDownmix"><span class="type">GstGLStereoDownmix</span></a></td>
130<td class="property_name"><a class="link" href="GstGLViewConvert.html#GstGLViewConvert--downmix-mode" title="The “downmix-mode” property">downmix-mode</a></td>
131<td class="property_flags">Read / Write</td>
132</tr>
133<tr>
134<td class="property_type"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a></td>
135<td class="property_name"><a class="link" href="GstGLViewConvert.html#GstGLViewConvert--input-flags-override" title="The “input-flags-override” property">input-flags-override</a></td>
136<td class="property_flags">Read / Write</td>
137</tr>
138<tr>
139<td class="property_type"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a></td>
140<td class="property_name"><a class="link" href="GstGLViewConvert.html#GstGLViewConvert--input-mode-override" title="The “input-mode-override” property">input-mode-override</a></td>
141<td class="property_flags">Read / Write</td>
142</tr>
143<tr>
144<td class="property_type"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a></td>
145<td class="property_name"><a class="link" href="GstGLViewConvert.html#GstGLViewConvert--output-flags-override" title="The “output-flags-override” property">output-flags-override</a></td>
146<td class="property_flags">Read / Write</td>
147</tr>
148<tr>
149<td class="property_type"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a></td>
150<td class="property_name"><a class="link" href="GstGLViewConvert.html#GstGLViewConvert--output-mode-override" title="The “output-mode-override” property">output-mode-override</a></td>
151<td class="property_flags">Read / Write</td>
152</tr>
153</tbody>
154</table></div>
155</div>
156<div class="refsect1">
157<a name="GstGLViewConvert.other"></a><h2>Types and Values</h2>
158<div class="informaltable"><table class="informaltable" width="100%" border="0">
159<colgroup>
160<col width="150px" class="name">
161<col class="description">
162</colgroup>
163<tbody>
164<tr>
165<td class="datatype_keyword">enum</td>
166<td class="function_name"><a class="link" href="GstGLViewConvert.html#GstGLStereoDownmix" title="enum GstGLStereoDownmix">GstGLStereoDownmix</a></td>
167</tr>
168<tr>
169<td class="datatype_keyword"> </td>
170<td class="function_name"><a class="link" href="GstGLViewConvert.html#GstGLViewConvert-struct" title="GstGLViewConvert">GstGLViewConvert</a></td>
171</tr>
172<tr>
173<td class="datatype_keyword"> </td>
174<td class="function_name"><a class="link" href="GstGLViewConvert.html#GstGLViewConvertClass" title="GstGLViewConvertClass">GstGLViewConvertClass</a></td>
175</tr>
176</tbody>
177</table></div>
178</div>
179<div class="refsect1">
180<a name="GstGLViewConvert.object-hierarchy"></a><h2>Object Hierarchy</h2>
181<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
182    <span class="lineart">╰──</span> GstGLStereoDownmix
183    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
184    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
185        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a>
186            <span class="lineart">╰──</span> GstGLViewConvert
187</pre>
188</div>
189<div class="refsect1">
190<a name="GstGLViewConvert.includes"></a><h2>Includes</h2>
191<pre class="synopsis">#include &lt;gst/gl/gl.h&gt;
192</pre>
193</div>
194<div class="refsect1">
195<a name="GstGLViewConvert.description"></a><h2>Description</h2>
196<p>Convert stereoscopic/multiview video using fragment shaders.</p>
197</div>
198<div class="refsect1">
199<a name="GstGLViewConvert.functions_details"></a><h2>Functions</h2>
200<div class="refsect2">
201<a name="gst-gl-view-convert-new"></a><h3>gst_gl_view_convert_new ()</h3>
202<pre class="programlisting"><a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="returnvalue">GstGLViewConvert</span></a> *
203gst_gl_view_convert_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
204<div class="refsect3">
205<a name="gst-gl-view-convert-new.returns"></a><h4>Returns</h4>
206<p>a new <a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a>. </p>
207<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
208</div>
209<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
210</div>
211<hr>
212<div class="refsect2">
213<a name="gst-gl-view-convert-set-caps"></a><h3>gst_gl_view_convert_set_caps ()</h3>
214<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
215gst_gl_view_convert_set_caps (<em class="parameter"><code><a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a> *viewconvert</code></em>,
216                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *in_caps</code></em>,
217                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *out_caps</code></em>);</pre>
218<p>Initializes <em class="parameter"><code>viewconvert</code></em>
219 with the information required for conversion.</p>
220<div class="refsect3">
221<a name="gst-gl-view-convert-set-caps.parameters"></a><h4>Parameters</h4>
222<div class="informaltable"><table class="informaltable" width="100%" border="0">
223<colgroup>
224<col width="150px" class="parameters_name">
225<col class="parameters_description">
226<col width="200px" class="parameters_annotations">
227</colgroup>
228<tbody>
229<tr>
230<td class="parameter_name"><p>viewconvert</p></td>
231<td class="parameter_description"><p>a <a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a></p></td>
232<td class="parameter_annotations"> </td>
233</tr>
234<tr>
235<td class="parameter_name"><p>in_caps</p></td>
236<td class="parameter_description"><p>input <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a></p></td>
237<td class="parameter_annotations"> </td>
238</tr>
239<tr>
240<td class="parameter_name"><p>out_caps</p></td>
241<td class="parameter_description"><p>output <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a></p></td>
242<td class="parameter_annotations"> </td>
243</tr>
244</tbody>
245</table></div>
246</div>
247<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
248</div>
249<hr>
250<div class="refsect2">
251<a name="gst-gl-view-convert-transform-caps"></a><h3>gst_gl_view_convert_transform_caps ()</h3>
252<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> *
253gst_gl_view_convert_transform_caps (<em class="parameter"><code><a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a> *viewconvert</code></em>,
254                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstPadDirection"><span class="type">GstPadDirection</span></a> direction</code></em>,
255                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps</code></em>,
256                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *filter</code></em>);</pre>
257<p>Provides an implementation of <a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstBaseTransform.html#GstBaseTransformClass.transform-caps"><code class="function">GstBaseTransformClass.transform_caps()</code></a></p>
258<div class="refsect3">
259<a name="gst-gl-view-convert-transform-caps.parameters"></a><h4>Parameters</h4>
260<div class="informaltable"><table class="informaltable" width="100%" border="0">
261<colgroup>
262<col width="150px" class="parameters_name">
263<col class="parameters_description">
264<col width="200px" class="parameters_annotations">
265</colgroup>
266<tbody>
267<tr>
268<td class="parameter_name"><p>viewconvert</p></td>
269<td class="parameter_description"><p>a <a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a></p></td>
270<td class="parameter_annotations"> </td>
271</tr>
272<tr>
273<td class="parameter_name"><p>direction</p></td>
274<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstPadDirection"><span class="type">GstPadDirection</span></a></p></td>
275<td class="parameter_annotations"> </td>
276</tr>
277<tr>
278<td class="parameter_name"><p>caps</p></td>
279<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> to transform. </p></td>
280<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
281</tr>
282<tr>
283<td class="parameter_name"><p>filter</p></td>
284<td class="parameter_description"><p>a set of filter <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a>. </p></td>
285<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
286</tr>
287</tbody>
288</table></div>
289</div>
290<div class="refsect3">
291<a name="gst-gl-view-convert-transform-caps.returns"></a><h4>Returns</h4>
292<p>the converted <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a>. </p>
293<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
294</div>
295<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
296</div>
297<hr>
298<div class="refsect2">
299<a name="gst-gl-view-convert-fixate-caps"></a><h3>gst_gl_view_convert_fixate_caps ()</h3>
300<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> *
301gst_gl_view_convert_fixate_caps (<em class="parameter"><code><a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a> *viewconvert</code></em>,
302                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstPadDirection"><span class="type">GstPadDirection</span></a> direction</code></em>,
303                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps</code></em>,
304                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *othercaps</code></em>);</pre>
305<p>Provides an implementation of <a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstBaseTransform.html#GstBaseTransformClass.fixate-caps"><code class="function">GstBaseTransformClass.fixate_caps()</code></a></p>
306<div class="refsect3">
307<a name="gst-gl-view-convert-fixate-caps.parameters"></a><h4>Parameters</h4>
308<div class="informaltable"><table class="informaltable" width="100%" border="0">
309<colgroup>
310<col width="150px" class="parameters_name">
311<col class="parameters_description">
312<col width="200px" class="parameters_annotations">
313</colgroup>
314<tbody>
315<tr>
316<td class="parameter_name"><p>viewconvert</p></td>
317<td class="parameter_description"><p>a <a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a></p></td>
318<td class="parameter_annotations"> </td>
319</tr>
320<tr>
321<td class="parameter_name"><p>direction</p></td>
322<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstPadDirection"><span class="type">GstPadDirection</span></a></p></td>
323<td class="parameter_annotations"> </td>
324</tr>
325<tr>
326<td class="parameter_name"><p>caps</p></td>
327<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> of <em class="parameter"><code>direction</code></em>
328. </p></td>
329<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
330</tr>
331<tr>
332<td class="parameter_name"><p>othercaps</p></td>
333<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> to fixate. </p></td>
334<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
335</tr>
336</tbody>
337</table></div>
338</div>
339<div class="refsect3">
340<a name="gst-gl-view-convert-fixate-caps.returns"></a><h4>Returns</h4>
341<p>the fixated <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a>. </p>
342<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
343</div>
344<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
345</div>
346<hr>
347<div class="refsect2">
348<a name="gst-gl-view-convert-submit-input-buffer"></a><h3>gst_gl_view_convert_submit_input_buffer ()</h3>
349<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="returnvalue">GstFlowReturn</span></a>
350gst_gl_view_convert_submit_input_buffer
351                               (<em class="parameter"><code><a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a> *viewconvert</code></em>,
352                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_discont</code></em>,
353                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *input</code></em>);</pre>
354<p>Submit <em class="parameter"><code>input</code></em>
355 to be processed by <em class="parameter"><code>viewconvert</code></em>
356</p>
357<div class="refsect3">
358<a name="gst-gl-view-convert-submit-input-buffer.parameters"></a><h4>Parameters</h4>
359<div class="informaltable"><table class="informaltable" width="100%" border="0">
360<colgroup>
361<col width="150px" class="parameters_name">
362<col class="parameters_description">
363<col width="200px" class="parameters_annotations">
364</colgroup>
365<tbody>
366<tr>
367<td class="parameter_name"><p>viewconvert</p></td>
368<td class="parameter_description"><p>a <a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a></p></td>
369<td class="parameter_annotations"> </td>
370</tr>
371<tr>
372<td class="parameter_name"><p>is_discont</p></td>
373<td class="parameter_description"><p>true if we have a discontinuity</p></td>
374<td class="parameter_annotations"> </td>
375</tr>
376<tr>
377<td class="parameter_name"><p>input</p></td>
378<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a>. </p></td>
379<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
380</tr>
381</tbody>
382</table></div>
383</div>
384<div class="refsect3">
385<a name="gst-gl-view-convert-submit-input-buffer.returns"></a><h4>Returns</h4>
386<p> a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="type">GstFlowReturn</span></a></p>
387</div>
388<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
389</div>
390<hr>
391<div class="refsect2">
392<a name="gst-gl-view-convert-get-output"></a><h3>gst_gl_view_convert_get_output ()</h3>
393<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="returnvalue">GstFlowReturn</span></a>
394gst_gl_view_convert_get_output (<em class="parameter"><code><a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a> *viewconvert</code></em>,
395                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> **outbuf_ptr</code></em>);</pre>
396<p>Retrieve the processed output buffer placing the output in <em class="parameter"><code>outbuf_ptr</code></em>
397.</p>
398<div class="refsect3">
399<a name="gst-gl-view-convert-get-output.parameters"></a><h4>Parameters</h4>
400<div class="informaltable"><table class="informaltable" width="100%" border="0">
401<colgroup>
402<col width="150px" class="parameters_name">
403<col class="parameters_description">
404<col width="200px" class="parameters_annotations">
405</colgroup>
406<tbody>
407<tr>
408<td class="parameter_name"><p>viewconvert</p></td>
409<td class="parameter_description"><p>a <a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a></p></td>
410<td class="parameter_annotations"> </td>
411</tr>
412<tr>
413<td class="parameter_name"><p>outbuf_ptr</p></td>
414<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a>. </p></td>
415<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
416</tr>
417</tbody>
418</table></div>
419</div>
420<div class="refsect3">
421<a name="gst-gl-view-convert-get-output.returns"></a><h4>Returns</h4>
422<p> a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstPad.html#GstFlowReturn"><span class="type">GstFlowReturn</span></a></p>
423</div>
424<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
425</div>
426<hr>
427<div class="refsect2">
428<a name="gst-gl-view-convert-perform"></a><h3>gst_gl_view_convert_perform ()</h3>
429<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="returnvalue">GstBuffer</span></a> *
430gst_gl_view_convert_perform (<em class="parameter"><code><a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a> *viewconvert</code></em>,
431                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *inbuf</code></em>);</pre>
432<p>Converts the data contained by <em class="parameter"><code>inbuf</code></em>
433 using the formats specified by the
434<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> passed to <a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-set-caps" title="gst_gl_view_convert_set_caps ()"><code class="function">gst_gl_view_convert_set_caps()</code></a></p>
435<div class="refsect3">
436<a name="gst-gl-view-convert-perform.parameters"></a><h4>Parameters</h4>
437<div class="informaltable"><table class="informaltable" width="100%" border="0">
438<colgroup>
439<col width="150px" class="parameters_name">
440<col class="parameters_description">
441<col width="200px" class="parameters_annotations">
442</colgroup>
443<tbody>
444<tr>
445<td class="parameter_name"><p>viewconvert</p></td>
446<td class="parameter_description"><p>a <a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a></p></td>
447<td class="parameter_annotations"> </td>
448</tr>
449<tr>
450<td class="parameter_name"><p>inbuf</p></td>
451<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-GstGLMemory.html#GstGLMemory" title="GstGLMemory"><span class="type">GstGLMemory</span></a> filled <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> to convert. </p></td>
452<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
453</tr>
454</tbody>
455</table></div>
456</div>
457<div class="refsect3">
458<a name="gst-gl-view-convert-perform.returns"></a><h4>Returns</h4>
459<p>a converted <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
460<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
461</div>
462<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
463</div>
464<hr>
465<div class="refsect2">
466<a name="gst-gl-view-convert-reset"></a><h3>gst_gl_view_convert_reset ()</h3>
467<pre class="programlisting"><span class="returnvalue">void</span>
468gst_gl_view_convert_reset (<em class="parameter"><code><a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a> *viewconvert</code></em>);</pre>
469<p>Reset <em class="parameter"><code>viewconvert</code></em>
470 to the default state.  Further operation will require
471setting the caps with <a class="link" href="GstGLViewConvert.html#gst-gl-view-convert-set-caps" title="gst_gl_view_convert_set_caps ()"><code class="function">gst_gl_view_convert_set_caps()</code></a>.</p>
472<div class="refsect3">
473<a name="gst-gl-view-convert-reset.parameters"></a><h4>Parameters</h4>
474<div class="informaltable"><table class="informaltable" width="100%" border="0">
475<colgroup>
476<col width="150px" class="parameters_name">
477<col class="parameters_description">
478<col width="200px" class="parameters_annotations">
479</colgroup>
480<tbody><tr>
481<td class="parameter_name"><p>viewconvert</p></td>
482<td class="parameter_description"><p>a <a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a></p></td>
483<td class="parameter_annotations"> </td>
484</tr></tbody>
485</table></div>
486</div>
487<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
488</div>
489<hr>
490<div class="refsect2">
491<a name="gst-gl-view-convert-set-context"></a><h3>gst_gl_view_convert_set_context ()</h3>
492<pre class="programlisting"><span class="returnvalue">void</span>
493gst_gl_view_convert_set_context (<em class="parameter"><code><a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a> *viewconvert</code></em>,
494                                 <em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>);</pre>
495<p>Set <em class="parameter"><code>context</code></em>
496 on <em class="parameter"><code>viewconvert</code></em>
497</p>
498<div class="refsect3">
499<a name="gst-gl-view-convert-set-context.parameters"></a><h4>Parameters</h4>
500<div class="informaltable"><table class="informaltable" width="100%" border="0">
501<colgroup>
502<col width="150px" class="parameters_name">
503<col class="parameters_description">
504<col width="200px" class="parameters_annotations">
505</colgroup>
506<tbody>
507<tr>
508<td class="parameter_name"><p>viewconvert</p></td>
509<td class="parameter_description"><p>a <a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a></p></td>
510<td class="parameter_annotations"> </td>
511</tr>
512<tr>
513<td class="parameter_name"><p>context</p></td>
514<td class="parameter_description"><p>the <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> to set</p></td>
515<td class="parameter_annotations"> </td>
516</tr>
517</tbody>
518</table></div>
519</div>
520<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
521</div>
522</div>
523<div class="refsect1">
524<a name="GstGLViewConvert.other_details"></a><h2>Types and Values</h2>
525<div class="refsect2">
526<a name="GstGLStereoDownmix"></a><h3>enum GstGLStereoDownmix</h3>
527<p>Output anaglyph type to generate when downmixing to mono</p>
528<div class="refsect3">
529<a name="GstGLStereoDownmix.members"></a><h4>Members</h4>
530<div class="informaltable"><table class="informaltable" width="100%" border="0">
531<colgroup>
532<col width="300px" class="enum_members_name">
533<col class="enum_members_description">
534<col width="200px" class="enum_members_annotations">
535</colgroup>
536<tbody>
537<tr>
538<td class="enum_member_name"><p><a name="GST-GL-STEREO-DOWNMIX-ANAGLYPH-GREEN-MAGENTA-DUBOIS:CAPS"></a>GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS</p></td>
539<td class="enum_member_description">
540<p>Dubois optimised Green-Magenta anaglyph</p>
541</td>
542<td class="enum_member_annotations"> </td>
543</tr>
544<tr>
545<td class="enum_member_name"><p><a name="GST-GL-STEREO-DOWNMIX-ANAGLYPH-RED-CYAN-DUBOIS:CAPS"></a>GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS</p></td>
546<td class="enum_member_description">
547<p>Dubois optimised Red-Cyan anaglyph</p>
548</td>
549<td class="enum_member_annotations"> </td>
550</tr>
551<tr>
552<td class="enum_member_name"><p><a name="GST-GL-STEREO-DOWNMIX-ANAGLYPH-AMBER-BLUE-DUBOIS:CAPS"></a>GST_GL_STEREO_DOWNMIX_ANAGLYPH_AMBER_BLUE_DUBOIS</p></td>
553<td class="enum_member_description">
554<p>Dubois optimised Amber-Blue anaglyph</p>
555</td>
556<td class="enum_member_annotations"> </td>
557</tr>
558</tbody>
559</table></div>
560</div>
561</div>
562<hr>
563<div class="refsect2">
564<a name="GstGLViewConvert-struct"></a><h3>GstGLViewConvert</h3>
565<pre class="programlisting">typedef struct _GstGLViewConvert GstGLViewConvert;</pre>
566<p><a class="link" href="GstGLViewConvert.html" title="GstGLViewConvert"><span class="type">GstGLViewConvert</span></a> is an opaque struct and should only be accessed through the
567provided api.</p>
568</div>
569<hr>
570<div class="refsect2">
571<a name="GstGLViewConvertClass"></a><h3>GstGLViewConvertClass</h3>
572<pre class="programlisting">typedef struct {
573} GstGLViewConvertClass;
574</pre>
575<p>Opaque <a class="link" href="GstGLViewConvert.html#GstGLViewConvertClass" title="GstGLViewConvertClass"><span class="type">GstGLViewConvertClass</span></a> struct</p>
576</div>
577</div>
578<div class="refsect1">
579<a name="GstGLViewConvert.property-details"></a><h2>Property Details</h2>
580<div class="refsect2">
581<a name="GstGLViewConvert--downmix-mode"></a><h3>The <code class="literal">“downmix-mode”</code> property</h3>
582<pre class="programlisting">  “downmix-mode”             <a class="link" href="GstGLViewConvert.html#GstGLStereoDownmix" title="enum GstGLStereoDownmix"><span class="type">GstGLStereoDownmix</span></a></pre>
583<p>Output anaglyph type to generate when downmixing to mono.</p>
584<p>Flags: Read / Write</p>
585<p>Default value: GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS</p>
586</div>
587<hr>
588<div class="refsect2">
589<a name="GstGLViewConvert--input-flags-override"></a><h3>The <code class="literal">“input-flags-override”</code> property</h3>
590<pre class="programlisting">  “input-flags-override”     <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a></pre>
591<p>Override any input information about multiview layout flags.</p>
592<p>Flags: Read / Write</p>
593</div>
594<hr>
595<div class="refsect2">
596<a name="GstGLViewConvert--input-mode-override"></a><h3>The <code class="literal">“input-mode-override”</code> property</h3>
597<pre class="programlisting">  “input-mode-override”      <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a></pre>
598<p>Override any input information about multiview layout.</p>
599<p>Flags: Read / Write</p>
600<p>Default value: GST_VIDEO_MULTIVIEW_MODE_NONE</p>
601</div>
602<hr>
603<div class="refsect2">
604<a name="GstGLViewConvert--output-flags-override"></a><h3>The <code class="literal">“output-flags-override”</code> property</h3>
605<pre class="programlisting">  “output-flags-override”    <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a></pre>
606<p>Override automatic negotiation for output multiview layout flags.</p>
607<p>Flags: Read / Write</p>
608</div>
609<hr>
610<div class="refsect2">
611<a name="GstGLViewConvert--output-mode-override"></a><h3>The <code class="literal">“output-mode-override”</code> property</h3>
612<pre class="programlisting">  “output-mode-override”     <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a></pre>
613<p>Override automatic output mode selection for multiview layout.</p>
614<p>Flags: Read / Write</p>
615<p>Default value: GST_VIDEO_MULTIVIEW_MODE_NONE</p>
616</div>
617</div>
618<div class="refsect1">
619<a name="GstGLViewConvert.see-also"></a><h2>See Also</h2>
620<p><a class="link" href="GstGLColorConvert.html" title="GstGLColorConvert"><span class="type">GstGLColorConvert</span></a>, <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p>
621</div>
622</div>
623<div class="footer">
624<hr>Generated by GTK-Doc V1.28</div>
625</body>
626</html>