• 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>GstGLMemoryEGL: 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-GstGLMemory.html" title="GstGLMemory">
10<link rel="next" href="gst-plugins-base-libs-GstGLMemoryPBO.html" title="GstGLMemoryPBO">
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-gstglmemoryegl.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-GstGLMemory.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23<td><a accesskey="n" href="gst-plugins-base-libs-GstGLMemoryPBO.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-gstglmemoryegl"></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-gstglmemoryegl.top_of_page"></a>GstGLMemoryEGL</span></h2>
30<p>GstGLMemoryEGL — memory subclass for EGLImage's</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-gstglmemoryegl.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<span class="returnvalue">void</span>
45</td>
46<td class="function_name">
47<a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#gst-gl-memory-egl-init-once" title="gst_gl_memory_egl_init_once ()">gst_gl_memory_egl_init_once</a> <span class="c_punctuation">()</span>
48</td>
49</tr>
50<tr>
51<td class="function_type">
52<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
53</td>
54<td class="function_name">
55<a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#gst-gl-memory-egl-get-display" title="gst_gl_memory_egl_get_display ()">gst_gl_memory_egl_get_display</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-gstglmemoryegl.html#gst-gl-memory-egl-get-image" title="gst_gl_memory_egl_get_image ()">gst_gl_memory_egl_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-gstglmemoryegl.html#gst-is-gl-memory-egl" title="gst_is_gl_memory_egl ()">gst_is_gl_memory_egl</a> <span class="c_punctuation">()</span>
72</td>
73</tr>
74</tbody>
75</table></div>
76</div>
77<div class="refsect1">
78<a name="gst-plugins-base-libs-gstglmemoryegl.other"></a><h2>Types and Values</h2>
79<div class="informaltable"><table class="informaltable" width="100%" border="0">
80<colgroup>
81<col width="150px" class="name">
82<col class="description">
83</colgroup>
84<tbody>
85<tr>
86<td class="datatype_keyword"> </td>
87<td class="function_name"><a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGLAllocator" title="GstGLMemoryEGLAllocator">GstGLMemoryEGLAllocator</a></td>
88</tr>
89<tr>
90<td class="datatype_keyword"> </td>
91<td class="function_name"><a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGLAllocatorClass" title="GstGLMemoryEGLAllocatorClass">GstGLMemoryEGLAllocatorClass</a></td>
92</tr>
93<tr>
94<td class="define_keyword">#define</td>
95<td class="function_name"><a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GST-GL-MEMORY-EGL-ALLOCATOR-NAME:CAPS" title="GST_GL_MEMORY_EGL_ALLOCATOR_NAME">GST_GL_MEMORY_EGL_ALLOCATOR_NAME</a></td>
96</tr>
97<tr>
98<td class="datatype_keyword"> </td>
99<td class="function_name"><a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGL" title="GstGLMemoryEGL">GstGLMemoryEGL</a></td>
100</tr>
101</tbody>
102</table></div>
103</div>
104<div class="refsect1">
105<a name="gst-plugins-base-libs-gstglmemoryegl.includes"></a><h2>Includes</h2>
106<pre class="synopsis">#include &lt;gst/gl/egl/gstglmemoryegl.h&gt;
107</pre>
108</div>
109<div class="refsect1">
110<a name="gst-plugins-base-libs-gstglmemoryegl.description"></a><h2>Description</h2>
111<p><a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGL" title="GstGLMemoryEGL"><span class="type">GstGLMemoryEGL</span></a> is created or wrapped through <a class="link" href="gst-plugins-base-libs-GstGLBaseMemory.html#gst-gl-base-memory-alloc" title="gst_gl_base_memory_alloc ()"><code class="function">gst_gl_base_memory_alloc()</code></a>
112with <a class="link" href="gst-plugins-base-libs-GstGLMemory.html#GstGLVideoAllocationParams"><span class="type">GstGLVideoAllocationParams</span></a>.</p>
113</div>
114<div class="refsect1">
115<a name="gst-plugins-base-libs-gstglmemoryegl.functions_details"></a><h2>Functions</h2>
116<div class="refsect2">
117<a name="gst-gl-memory-egl-init-once"></a><h3>gst_gl_memory_egl_init_once ()</h3>
118<pre class="programlisting"><span class="returnvalue">void</span>
119gst_gl_memory_egl_init_once (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
120<p>Initializes the GL Memory allocator. It is safe to call this function
121multiple times.  This must be called before any other GstGLMemoryEGL operation.</p>
122<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
123</div>
124<hr>
125<div class="refsect2">
126<a name="gst-gl-memory-egl-get-display"></a><h3>gst_gl_memory_egl_get_display ()</h3>
127<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
128gst_gl_memory_egl_get_display (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGL" title="GstGLMemoryEGL"><span class="type">GstGLMemoryEGL</span></a> *mem</code></em>);</pre>
129<div class="refsect3">
130<a name="gst-gl-memory-egl-get-display.parameters"></a><h4>Parameters</h4>
131<div class="informaltable"><table class="informaltable" width="100%" border="0">
132<colgroup>
133<col width="150px" class="parameters_name">
134<col class="parameters_description">
135<col width="200px" class="parameters_annotations">
136</colgroup>
137<tbody><tr>
138<td class="parameter_name"><p>mem</p></td>
139<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGL" title="GstGLMemoryEGL"><span class="type">GstGLMemoryEGL</span></a></p></td>
140<td class="parameter_annotations"> </td>
141</tr></tbody>
142</table></div>
143</div>
144<div class="refsect3">
145<a name="gst-gl-memory-egl-get-display.returns"></a><h4>Returns</h4>
146<p> The EGLDisplay <em class="parameter"><code>mem</code></em>
147is associated with</p>
148</div>
149<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
150</div>
151<hr>
152<div class="refsect2">
153<a name="gst-gl-memory-egl-get-image"></a><h3>gst_gl_memory_egl_get_image ()</h3>
154<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
155gst_gl_memory_egl_get_image (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGL" title="GstGLMemoryEGL"><span class="type">GstGLMemoryEGL</span></a> *mem</code></em>);</pre>
156<div class="refsect3">
157<a name="gst-gl-memory-egl-get-image.parameters"></a><h4>Parameters</h4>
158<div class="informaltable"><table class="informaltable" width="100%" border="0">
159<colgroup>
160<col width="150px" class="parameters_name">
161<col class="parameters_description">
162<col width="200px" class="parameters_annotations">
163</colgroup>
164<tbody><tr>
165<td class="parameter_name"><p>mem</p></td>
166<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGL" title="GstGLMemoryEGL"><span class="type">GstGLMemoryEGL</span></a></p></td>
167<td class="parameter_annotations"> </td>
168</tr></tbody>
169</table></div>
170</div>
171<div class="refsect3">
172<a name="gst-gl-memory-egl-get-image.returns"></a><h4>Returns</h4>
173<p> The EGLImage held by <em class="parameter"><code>mem</code></em>
174</p>
175</div>
176<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
177</div>
178<hr>
179<div class="refsect2">
180<a name="gst-is-gl-memory-egl"></a><h3>gst_is_gl_memory_egl ()</h3>
181<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
182gst_is_gl_memory_egl (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMemory-struct"><span class="type">GstMemory</span></a> *mem</code></em>);</pre>
183<div class="refsect3">
184<a name="gst-is-gl-memory-egl.parameters"></a><h4>Parameters</h4>
185<div class="informaltable"><table class="informaltable" width="100%" border="0">
186<colgroup>
187<col width="150px" class="parameters_name">
188<col class="parameters_description">
189<col width="200px" class="parameters_annotations">
190</colgroup>
191<tbody><tr>
192<td class="parameter_name"><p>mem</p></td>
193<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMemory-struct"><span class="type">GstMemory</span></a> to test</p></td>
194<td class="parameter_annotations"> </td>
195</tr></tbody>
196</table></div>
197</div>
198<div class="refsect3">
199<a name="gst-is-gl-memory-egl.returns"></a><h4>Returns</h4>
200<p> whether <em class="parameter"><code>mem</code></em>
201is a <a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGL" title="GstGLMemoryEGL"><span class="type">GstGLMemoryEGL</span></a></p>
202</div>
203<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
204</div>
205</div>
206<div class="refsect1">
207<a name="gst-plugins-base-libs-gstglmemoryegl.other_details"></a><h2>Types and Values</h2>
208<div class="refsect2">
209<a name="GstGLMemoryEGLAllocator"></a><h3>GstGLMemoryEGLAllocator</h3>
210<pre class="programlisting">typedef struct {
211} GstGLMemoryEGLAllocator;
212</pre>
213<p>Opaque <a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGLAllocator" title="GstGLMemoryEGLAllocator"><span class="type">GstGLMemoryEGLAllocator</span></a> struct</p>
214</div>
215<hr>
216<div class="refsect2">
217<a name="GstGLMemoryEGLAllocatorClass"></a><h3>GstGLMemoryEGLAllocatorClass</h3>
218<pre class="programlisting">typedef struct {
219} GstGLMemoryEGLAllocatorClass;
220</pre>
221<p>The <a class="link" href="gst-plugins-base-libs-gstglmemoryegl.html#GstGLMemoryEGLAllocatorClass" title="GstGLMemoryEGLAllocatorClass"><span class="type">GstGLMemoryEGLAllocatorClass</span></a> only contains private data</p>
222</div>
223<hr>
224<div class="refsect2">
225<a name="GST-GL-MEMORY-EGL-ALLOCATOR-NAME:CAPS"></a><h3>GST_GL_MEMORY_EGL_ALLOCATOR_NAME</h3>
226<pre class="programlisting">#define GST_GL_MEMORY_EGL_ALLOCATOR_NAME "GLMemoryEGL"
227</pre>
228<p>The name of the GL Memory EGL allocator</p>
229</div>
230<hr>
231<div class="refsect2">
232<a name="GstGLMemoryEGL"></a><h3>GstGLMemoryEGL</h3>
233<pre class="programlisting">typedef struct {
234} GstGLMemoryEGL;
235</pre>
236<p>Private instance</p>
237</div>
238</div>
239<div class="refsect1">
240<a name="gst-plugins-base-libs-gstglmemoryegl.see-also"></a><h2>See Also</h2>
241<p><a class="link" href="gst-plugins-base-libs-GstGLMemory.html#GstGLMemory" title="GstGLMemory"><span class="type">GstGLMemory</span></a>, <a class="link" href="gst-plugins-base-libs-GstGLBaseMemory.html#GstGLBaseMemoryAllocator"><span class="type">GstGLBaseMemoryAllocator</span></a>, <a class="link" href="GstGLBufferPool.html" title="GstGLBufferPool"><span class="type">GstGLBufferPool</span></a></p>
242</div>
243</div>
244<div class="footer">
245<hr>Generated by GTK-Doc V1.28</div>
246</body>
247</html>