• 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>GstEGLImage: 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="gst-plugins-base-libs-GstGLDisplayX11.html" title="GstGLDisplayX11">
10<link rel="next" href="GstGLFilter.html" title="GstGLFilter">
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="#gst-plugins-base-libs-GstEGLImage.description" class="shortcut">Description</a></span>
19</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>
22<td><a accesskey="p" href="gst-plugins-base-libs-GstGLDisplayX11.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23<td><a accesskey="n" href="GstGLFilter.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-base-libs-GstEGLImage"></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-base-libs-GstEGLImage.top_of_page"></a>GstEGLImage</span></h2>
30<p>GstEGLImage — EGLImage abstraction</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-base-libs-GstEGLImage.functions"></a><h2>Functions</h2>
36<div class="informaltable"><table class="informaltable" 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<a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="returnvalue">GstEGLImage</span></a> *
45</td>
46<td class="function_name">
47<a class="link" href="gst-plugins-base-libs-GstEGLImage.html#gst-egl-image-from-dmabuf" title="gst_egl_image_from_dmabuf ()">gst_egl_image_from_dmabuf</a> <span class="c_punctuation">()</span>
48</td>
49</tr>
50<tr>
51<td class="function_type">
52<a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="returnvalue">GstEGLImage</span></a> *
53</td>
54<td class="function_name">
55<a class="link" href="gst-plugins-base-libs-GstEGLImage.html#gst-egl-image-from-texture" title="gst_egl_image_from_texture ()">gst_egl_image_from_texture</a> <span class="c_punctuation">()</span>
56</td>
57</tr>
58<tr>
59<td class="function_type">
60<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
61</td>
62<td class="function_name">
63<a class="link" href="gst-plugins-base-libs-GstEGLImage.html#gst-egl-image-get-image" title="gst_egl_image_get_image ()">gst_egl_image_get_image</a> <span class="c_punctuation">()</span>
64</td>
65</tr>
66<tr>
67<td class="function_type">
68<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
69</td>
70<td class="function_name">
71<a class="link" href="gst-plugins-base-libs-GstEGLImage.html#gst-egl-image-export-dmabuf" title="gst_egl_image_export_dmabuf ()">gst_egl_image_export_dmabuf</a> <span class="c_punctuation">()</span>
72</td>
73</tr>
74<tr>
75<td class="function_type">
76<a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="returnvalue">GstEGLImage</span></a> *
77</td>
78<td class="function_name">
79<a class="link" href="gst-plugins-base-libs-GstEGLImage.html#gst-egl-image-new-wrapped" title="gst_egl_image_new_wrapped ()">gst_egl_image_new_wrapped</a> <span class="c_punctuation">()</span>
80</td>
81</tr>
82<tr>
83<td class="function_type">
84<a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="returnvalue">GstEGLImage</span></a> *
85</td>
86<td class="function_name">
87<a class="link" href="gst-plugins-base-libs-GstEGLImage.html#gst-egl-image-ref" title="gst_egl_image_ref ()">gst_egl_image_ref</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-base-libs-GstEGLImage.html#gst-egl-image-unref" title="gst_egl_image_unref ()">gst_egl_image_unref</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<span class="c_punctuation">(</span><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImageDestroyNotify" title="GstEGLImageDestroyNotify ()">*GstEGLImageDestroyNotify</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
104</td>
105</tr>
106</tbody>
107</table></div>
108</div>
109<div class="refsect1">
110<a name="gst-plugins-base-libs-GstEGLImage.other"></a><h2>Types and Values</h2>
111<div class="informaltable"><table class="informaltable" width="100%" border="0">
112<colgroup>
113<col width="150px" class="name">
114<col class="description">
115</colgroup>
116<tbody><tr>
117<td class="datatype_keyword">struct</td>
118<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage">GstEGLImage</a></td>
119</tr></tbody>
120</table></div>
121</div>
122<div class="refsect1">
123<a name="gst-plugins-base-libs-GstEGLImage.includes"></a><h2>Includes</h2>
124<pre class="synopsis">#include &lt;gst/gl/egl/gsteglimage.h&gt;
125</pre>
126</div>
127<div class="refsect1">
128<a name="gst-plugins-base-libs-GstEGLImage.description"></a><h2>Description</h2>
129<p><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> represents and holds an <span class="type">EGLImage</span> handle.</p>
130<p>A <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> can be created from a dmabuf with <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#gst-egl-image-from-dmabuf" title="gst_egl_image_from_dmabuf ()"><code class="function">gst_egl_image_from_dmabuf()</code></a>,
131or <code class="function">gst_egl_image_from_dmabuf_direct()</code>, or <a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGL" title="GstGLMemoryEGL"><span class="type">GstGLMemoryEGL</span></a> provides a
132<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstAllocator.html#GstAllocator-struct"><span class="type">GstAllocator</span></a> to allocate <span class="type">EGLImage</span>'s bound to and OpenGL texture.</p>
133</div>
134<div class="refsect1">
135<a name="gst-plugins-base-libs-GstEGLImage.functions_details"></a><h2>Functions</h2>
136<div class="refsect2">
137<a name="gst-egl-image-from-dmabuf"></a><h3>gst_egl_image_from_dmabuf ()</h3>
138<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="returnvalue">GstEGLImage</span></a> *
139gst_egl_image_from_dmabuf (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
140                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dmabuf</code></em>,
141                           <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *in_info</code></em>,
142                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> plane</code></em>,
143                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> offset</code></em>);</pre>
144<p>Creates an EGL image that imports the dmabuf FD. The dmabuf data
145is passed as RGBA data. Shaders later take this "RGBA" data and
146convert it from its true format (described by in_info) to actual
147RGBA output. For example, with I420, three EGL images are created,
148one for each plane, each EGL image with a single-channel R format.
149With NV12, two EGL images are created, one with R format, one
150with RG format etc.</p>
151<div class="refsect3">
152<a name="gst-egl-image-from-dmabuf.parameters"></a><h4>Parameters</h4>
153<div class="informaltable"><table class="informaltable" width="100%" border="0">
154<colgroup>
155<col width="150px" class="parameters_name">
156<col class="parameters_description">
157<col width="200px" class="parameters_annotations">
158</colgroup>
159<tbody>
160<tr>
161<td class="parameter_name"><p>context</p></td>
162<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> (must be an EGL context)</p></td>
163<td class="parameter_annotations"> </td>
164</tr>
165<tr>
166<td class="parameter_name"><p>dmabuf</p></td>
167<td class="parameter_description"><p>the DMA-Buf file descriptor</p></td>
168<td class="parameter_annotations"> </td>
169</tr>
170<tr>
171<td class="parameter_name"><p>in_info</p></td>
172<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> in <em class="parameter"><code>dmabuf</code></em>
173</p></td>
174<td class="parameter_annotations"> </td>
175</tr>
176<tr>
177<td class="parameter_name"><p>plane</p></td>
178<td class="parameter_description"><p>the plane in <em class="parameter"><code>in_info</code></em>
179to create and <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> for</p></td>
180<td class="parameter_annotations"> </td>
181</tr>
182<tr>
183<td class="parameter_name"><p>offset</p></td>
184<td class="parameter_description"><p>the byte-offset in the data</p></td>
185<td class="parameter_annotations"> </td>
186</tr>
187</tbody>
188</table></div>
189</div>
190<div class="refsect3">
191<a name="gst-egl-image-from-dmabuf.returns"></a><h4>Returns</h4>
192<p> a <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> wrapping <em class="parameter"><code>dmabuf</code></em>
193or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure</p>
194</div>
195</div>
196<hr>
197<div class="refsect2">
198<a name="gst-egl-image-from-texture"></a><h3>gst_egl_image_from_texture ()</h3>
199<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="returnvalue">GstEGLImage</span></a> *
200gst_egl_image_from_texture (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
201                            <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstGLMemory.html#GstGLMemory" title="GstGLMemory"><span class="type">GstGLMemory</span></a> *gl_mem</code></em>,
202                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guintptr"><span class="type">guintptr</span></a> *attribs</code></em>);</pre>
203<div class="refsect3">
204<a name="gst-egl-image-from-texture.parameters"></a><h4>Parameters</h4>
205<div class="informaltable"><table class="informaltable" width="100%" border="0">
206<colgroup>
207<col width="150px" class="parameters_name">
208<col class="parameters_description">
209<col width="200px" class="parameters_annotations">
210</colgroup>
211<tbody>
212<tr>
213<td class="parameter_name"><p>context</p></td>
214<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> (must be an EGL context)</p></td>
215<td class="parameter_annotations"> </td>
216</tr>
217<tr>
218<td class="parameter_name"><p>gl_mem</p></td>
219<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstGLMemory.html#GstGLMemory" title="GstGLMemory"><span class="type">GstGLMemory</span></a></p></td>
220<td class="parameter_annotations"> </td>
221</tr>
222<tr>
223<td class="parameter_name"><p>attribs</p></td>
224<td class="parameter_description"><p>additional attributes to add to the <code class="function">eglCreateImage()</code> call.</p></td>
225<td class="parameter_annotations"> </td>
226</tr>
227</tbody>
228</table></div>
229</div>
230<div class="refsect3">
231<a name="gst-egl-image-from-texture.returns"></a><h4>Returns</h4>
232<p>a <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> wrapping <em class="parameter"><code>gl_mem</code></em>
233or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure. </p>
234<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
235</div>
236</div>
237<hr>
238<div class="refsect2">
239<a name="gst-egl-image-get-image"></a><h3>gst_egl_image_get_image ()</h3>
240<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
241gst_egl_image_get_image (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> *image</code></em>);</pre>
242<div class="refsect3">
243<a name="gst-egl-image-get-image.parameters"></a><h4>Parameters</h4>
244<div class="informaltable"><table class="informaltable" width="100%" border="0">
245<colgroup>
246<col width="150px" class="parameters_name">
247<col class="parameters_description">
248<col width="200px" class="parameters_annotations">
249</colgroup>
250<tbody><tr>
251<td class="parameter_name"><p>image</p></td>
252<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a></p></td>
253<td class="parameter_annotations"> </td>
254</tr></tbody>
255</table></div>
256</div>
257<div class="refsect3">
258<a name="gst-egl-image-get-image.returns"></a><h4>Returns</h4>
259<p> the <span class="type">EGLImageKHR</span> of <em class="parameter"><code>image</code></em>
260</p>
261</div>
262</div>
263<hr>
264<div class="refsect2">
265<a name="gst-egl-image-export-dmabuf"></a><h3>gst_egl_image_export_dmabuf ()</h3>
266<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
267gst_egl_image_export_dmabuf (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> *image</code></em>,
268                             <em class="parameter"><code><span class="type">int</span> *fd</code></em>,
269                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *stride</code></em>,
270                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *offset</code></em>);</pre>
271</div>
272<hr>
273<div class="refsect2">
274<a name="gst-egl-image-new-wrapped"></a><h3>gst_egl_image_new_wrapped ()</h3>
275<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="returnvalue">GstEGLImage</span></a> *
276gst_egl_image_new_wrapped (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
277                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> image</code></em>,
278                           <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-OpenGL-Formats.html#GstGLFormat" title="enum GstGLFormat"><span class="type">GstGLFormat</span></a> format</code></em>,
279                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
280                           <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImageDestroyNotify" title="GstEGLImageDestroyNotify ()"><span class="type">GstEGLImageDestroyNotify</span></a> user_data_destroy</code></em>);</pre>
281<div class="refsect3">
282<a name="gst-egl-image-new-wrapped.parameters"></a><h4>Parameters</h4>
283<div class="informaltable"><table class="informaltable" width="100%" border="0">
284<colgroup>
285<col width="150px" class="parameters_name">
286<col class="parameters_description">
287<col width="200px" class="parameters_annotations">
288</colgroup>
289<tbody>
290<tr>
291<td class="parameter_name"><p>context</p></td>
292<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> (must be an EGL context)</p></td>
293<td class="parameter_annotations"> </td>
294</tr>
295<tr>
296<td class="parameter_name"><p>image</p></td>
297<td class="parameter_description"><p>the image to wrap</p></td>
298<td class="parameter_annotations"> </td>
299</tr>
300<tr>
301<td class="parameter_name"><p>format</p></td>
302<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-OpenGL-Formats.html#GstGLFormat" title="enum GstGLFormat"><span class="type">GstGLFormat</span></a></p></td>
303<td class="parameter_annotations"> </td>
304</tr>
305<tr>
306<td class="parameter_name"><p>user_data</p></td>
307<td class="parameter_description"><p>user data</p></td>
308<td class="parameter_annotations"> </td>
309</tr>
310<tr>
311<td class="parameter_name"><p>user_data_destroy</p></td>
312<td class="parameter_description"><p>called when <em class="parameter"><code>user_data</code></em>
313is no longer needed. </p></td>
314<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'destroy_data', for callbacks."><span class="acronym">destroy</span></acronym> user_data]</span></td>
315</tr>
316</tbody>
317</table></div>
318</div>
319<div class="refsect3">
320<a name="gst-egl-image-new-wrapped.returns"></a><h4>Returns</h4>
321<p> a new <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> wrapping <em class="parameter"><code>image</code></em>
322</p>
323</div>
324</div>
325<hr>
326<div class="refsect2">
327<a name="gst-egl-image-ref"></a><h3>gst_egl_image_ref ()</h3>
328<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="returnvalue">GstEGLImage</span></a> *
329gst_egl_image_ref (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> *image</code></em>);</pre>
330<p>Increases the refcount of the given image by one.</p>
331<div class="refsect3">
332<a name="gst-egl-image-ref.parameters"></a><h4>Parameters</h4>
333<div class="informaltable"><table class="informaltable" width="100%" border="0">
334<colgroup>
335<col width="150px" class="parameters_name">
336<col class="parameters_description">
337<col width="200px" class="parameters_annotations">
338</colgroup>
339<tbody><tr>
340<td class="parameter_name"><p>image</p></td>
341<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a>.</p></td>
342<td class="parameter_annotations"> </td>
343</tr></tbody>
344</table></div>
345</div>
346<div class="refsect3">
347<a name="gst-egl-image-ref.returns"></a><h4>Returns</h4>
348<p><em class="parameter"><code>image</code></em>
349. </p>
350<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
351</div>
352</div>
353<hr>
354<div class="refsect2">
355<a name="gst-egl-image-unref"></a><h3>gst_egl_image_unref ()</h3>
356<pre class="programlisting"><span class="returnvalue">void</span>
357gst_egl_image_unref (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> *image</code></em>);</pre>
358<p>Decreases the refcount of the image. If the refcount reaches 0, the image
359with the associated metadata and memory will be freed.</p>
360<div class="refsect3">
361<a name="gst-egl-image-unref.parameters"></a><h4>Parameters</h4>
362<div class="informaltable"><table class="informaltable" width="100%" border="0">
363<colgroup>
364<col width="150px" class="parameters_name">
365<col class="parameters_description">
366<col width="200px" class="parameters_annotations">
367</colgroup>
368<tbody><tr>
369<td class="parameter_name"><p>image</p></td>
370<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a>. </p></td>
371<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>
372</tr></tbody>
373</table></div>
374</div>
375</div>
376<hr>
377<div class="refsect2">
378<a name="GstEGLImageDestroyNotify"></a><h3>GstEGLImageDestroyNotify ()</h3>
379<pre class="programlisting"><span class="returnvalue">void</span>
380<span class="c_punctuation">(</span>*GstEGLImageDestroyNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> *image</code></em>,
381                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
382<p>Function to be called when the GstEGLImage is destroyed. It should free
383the associated <span class="type">EGLImage</span> if necessary</p>
384<div class="refsect3">
385<a name="GstEGLImageDestroyNotify.parameters"></a><h4>Parameters</h4>
386<div class="informaltable"><table class="informaltable" width="100%" border="0">
387<colgroup>
388<col width="150px" class="parameters_name">
389<col class="parameters_description">
390<col width="200px" class="parameters_annotations">
391</colgroup>
392<tbody>
393<tr>
394<td class="parameter_name"><p>image</p></td>
395<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a></p></td>
396<td class="parameter_annotations"> </td>
397</tr>
398<tr>
399<td class="parameter_name"><p>data</p></td>
400<td class="parameter_description"><p>user data passed to <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#gst-egl-image-new-wrapped" title="gst_egl_image_new_wrapped ()"><code class="function">gst_egl_image_new_wrapped()</code></a></p></td>
401<td class="parameter_annotations"> </td>
402</tr>
403</tbody>
404</table></div>
405</div>
406</div>
407</div>
408<div class="refsect1">
409<a name="gst-plugins-base-libs-GstEGLImage.other_details"></a><h2>Types and Values</h2>
410<div class="refsect2">
411<a name="GstEGLImage"></a><h3>struct GstEGLImage</h3>
412<pre class="programlisting">struct GstEGLImage {
413};
414</pre>
415<p>Opaque <a class="link" href="gst-plugins-base-libs-GstEGLImage.html#GstEGLImage" title="struct GstEGLImage"><span class="type">GstEGLImage</span></a> struct.</p>
416</div>
417</div>
418<div class="refsect1">
419<a name="gst-plugins-base-libs-GstEGLImage.see-also"></a><h2>See Also</h2>
420<p><a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGL" title="GstGLMemoryEGL"><span class="type">GstGLMemoryEGL</span></a>, <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p>
421</div>
422</div>
423<div class="footer">
424<hr>Generated by GTK-Doc V1.28</div>
425</body>
426</html>