1/*
2 * GStreamer
3 * Copyright (C) 2013 Julien Isorce <julien.isorce@gmail.com>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#ifndef __GST_GL_FWD_H__
22#define __GST_GL_FWD_H__
23
24#include <gst/gst.h>
25
26#include <gst/gl/gstglapi.h>
27
28G_BEGIN_DECLS
29
30typedef struct _GstGLDisplay GstGLDisplay;
31typedef struct _GstGLDisplayClass GstGLDisplayClass;
32typedef struct _GstGLDisplayPrivate GstGLDisplayPrivate;
33
34typedef struct _GstGLContext GstGLContext;
35typedef struct _GstGLContextClass GstGLContextClass;
36typedef struct _GstGLContextPrivate GstGLContextPrivate;
37
38typedef struct _GstGLWindow GstGLWindow;
39typedef struct _GstGLWindowPrivate GstGLWindowPrivate;
40typedef struct _GstGLWindowClass GstGLWindowClass;
41
42typedef struct _GstGLBaseMemory GstGLBaseMemory;
43typedef struct _GstGLBaseMemoryAllocator GstGLBaseMemoryAllocator;
44typedef struct _GstGLBaseMemoryAllocatorClass GstGLBaseMemoryAllocatorClass;
45
46typedef struct _GstGLBuffer GstGLBuffer;
47typedef struct _GstGLBufferAllocator GstGLBufferAllocator;
48typedef struct _GstGLBufferAllocatorClass GstGLBufferAllocatorClass;
49
50typedef struct _GstGLMemory GstGLMemory;
51typedef struct _GstGLMemoryAllocator GstGLMemoryAllocator;
52typedef struct _GstGLMemoryAllocatorClass GstGLMemoryAllocatorClass;
53
54typedef struct _GstGLMemoryPBO GstGLMemoryPBO;
55typedef struct _GstGLMemoryPBOAllocator GstGLMemoryPBOAllocator;
56typedef struct _GstGLMemoryPBOAllocatorClass GstGLMemoryPBOAllocatorClass;
57
58typedef struct _GstGLRenderbuffer GstGLRenderbuffer;
59typedef struct _GstGLRenderbufferAllocator GstGLRenderbufferAllocator;
60typedef struct _GstGLRenderbufferAllocatorClass GstGLRenderbufferAllocatorClass;
61
62typedef struct _GstGLFramebuffer GstGLFramebuffer;
63typedef struct _GstGLFramebufferClass GstGLFramebufferClass;
64
65typedef struct _GstGLSLStage GstGLSLStage;
66typedef struct _GstGLSLStagePrivate GstGLSLStagePrivate;
67typedef struct _GstGLSLStageClass GstGLSLStageClass;
68
69typedef struct _GstGLShader GstGLShader;
70typedef struct _GstGLShaderPrivate GstGLShaderPrivate;
71typedef struct _GstGLShaderClass GstGLShaderClass;
72
73typedef struct _GstGLUpload GstGLUpload;
74typedef struct _GstGLUploadClass GstGLUploadClass;
75typedef struct _GstGLUploadPrivate GstGLUploadPrivate;
76
77typedef struct _GstGLBufferPool GstGLBufferPool;
78typedef struct _GstGLBufferPoolClass GstGLBufferPoolClass;
79typedef struct _GstGLBufferPoolPrivate GstGLBufferPoolPrivate;
80
81typedef struct _GstGLColorConvert GstGLColorConvert;
82typedef struct _GstGLColorConvertClass GstGLColorConvertClass;
83typedef struct _GstGLColorConvertPrivate GstGLColorConvertPrivate;
84
85typedef struct _GstGLBaseFilter GstGLBaseFilter;
86typedef struct _GstGLBaseFilterClass GstGLBaseFilterClass;
87typedef struct _GstGLBaseFilterPrivate GstGLBaseFilterPrivate;
88
89typedef struct _GstGLBaseSrc GstGLBaseSrc;
90typedef struct _GstGLBaseSrcClass GstGLBaseSrcClass;
91typedef struct _GstGLBaseSrcPrivate GstGLBaseSrcPrivate;
92
93typedef struct _GstGLFilter GstGLFilter;
94typedef struct _GstGLFilterClass GstGLFilterClass;
95
96typedef struct _GstGLViewConvert GstGLViewConvert;
97typedef struct _GstGLViewConvertClass GstGLViewConvertClass;
98typedef struct _GstGLViewConvertPrivate GstGLViewConvertPrivate;
99
100typedef struct _GstGLOverlayCompositor GstGLOverlayCompositor;
101typedef struct _GstGLOverlayCompositorClass GstGLOverlayCompositorClass;
102
103typedef struct _GstGLQuery GstGLQuery;
104
105typedef struct _GstGLFuncs GstGLFuncs;
106
107typedef struct _GstGLAsyncDebug GstGLAsyncDebug;
108
109#include <gst/gl/gstgl_enums.h>
110
111G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLBaseFilter, gst_object_unref)
112
113G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLBaseMemoryAllocator, gst_object_unref)
114
115G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLBaseSrc, gst_object_unref)
116
117G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLBufferAllocator, gst_object_unref)
118
119G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLBufferPool, gst_object_unref)
120
121G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLColorConvert, gst_object_unref)
122
123G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLContext, gst_object_unref)
124
125G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLDisplay, gst_object_unref)
126
127G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLFilter, gst_object_unref)
128
129G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLMemoryAllocator, gst_object_unref)
130
131G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLMemoryPBOAllocator, gst_object_unref)
132
133G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLOverlayCompositor, gst_object_unref)
134
135G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLSLStage, gst_object_unref)
136
137G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLShader, gst_object_unref)
138
139G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLUpload, gst_object_unref)
140
141G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLViewConvert, gst_object_unref)
142
143G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLWindow, gst_object_unref)
144
145G_END_DECLS
146
147#endif /* __GST_GL_FWD_H__ */
148

source code of include/gstreamer-1.0/gst/gl/gstgl_fwd.h