2013-07-10 15:03:04 +00:00
|
|
|
/*
|
|
|
|
* GStreamer
|
|
|
|
* Copyright (C) 2013 Julien Isorce <julien.isorce@gmail.com>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GST_GL_FWD_H__
|
|
|
|
#define __GST_GL_FWD_H__
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
2013-07-11 09:03:31 +00:00
|
|
|
#include <gst/gl/gstglapi.h>
|
2013-07-10 15:03:04 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
typedef struct _GstGLDisplay GstGLDisplay;
|
|
|
|
typedef struct _GstGLDisplayClass GstGLDisplayClass;
|
|
|
|
typedef struct _GstGLDisplayPrivate GstGLDisplayPrivate;
|
|
|
|
|
2013-08-14 00:44:19 +00:00
|
|
|
typedef struct _GstGLContext GstGLContext;
|
|
|
|
typedef struct _GstGLContextClass GstGLContextClass;
|
|
|
|
typedef struct _GstGLContextPrivate GstGLContextPrivate;
|
|
|
|
|
2013-07-10 15:03:04 +00:00
|
|
|
typedef struct _GstGLWindow GstGLWindow;
|
|
|
|
typedef struct _GstGLWindowPrivate GstGLWindowPrivate;
|
|
|
|
typedef struct _GstGLWindowClass GstGLWindowClass;
|
|
|
|
|
2015-12-14 01:59:02 +00:00
|
|
|
typedef struct _GstGLBaseMemory GstGLBaseMemory;
|
|
|
|
typedef struct _GstGLBaseMemoryAllocator GstGLBaseMemoryAllocator;
|
|
|
|
typedef struct _GstGLBaseMemoryAllocatorClass GstGLBaseMemoryAllocatorClass;
|
|
|
|
|
2015-12-14 02:08:10 +00:00
|
|
|
typedef struct _GstGLBuffer GstGLBuffer;
|
|
|
|
typedef struct _GstGLBufferAllocator GstGLBufferAllocator;
|
|
|
|
typedef struct _GstGLBufferAllocatorClass GstGLBufferAllocatorClass;
|
|
|
|
|
2013-07-10 15:03:04 +00:00
|
|
|
typedef struct _GstGLMemory GstGLMemory;
|
2015-12-14 02:43:59 +00:00
|
|
|
typedef struct _GstGLMemoryAllocator GstGLMemoryAllocator;
|
|
|
|
typedef struct _GstGLMemoryAllocatorClass GstGLMemoryAllocatorClass;
|
|
|
|
|
|
|
|
typedef struct _GstGLMemoryPBO GstGLMemoryPBO;
|
|
|
|
typedef struct _GstGLMemoryPBOAllocator GstGLMemoryPBOAllocator;
|
|
|
|
typedef struct _GstGLMemoryPBOAllocatorClass GstGLMemoryPBOAllocatorClass;
|
2013-07-10 15:03:04 +00:00
|
|
|
|
2016-01-21 13:18:17 +00:00
|
|
|
typedef struct _GstGLMemoryEGL GstGLMemoryEGL;
|
|
|
|
typedef struct _GstGLMemoryEGLAllocator GstGLMemoryEGLAllocator;
|
|
|
|
typedef struct _GstGLMemoryEGLAllocatorClass GstGLMemoryEGLAllocatorClass;
|
|
|
|
|
2016-07-11 12:31:04 +00:00
|
|
|
typedef struct _GstGLRenderbuffer GstGLRenderbuffer;
|
|
|
|
typedef struct _GstGLRenderbufferAllocator GstGLRenderbufferAllocator;
|
|
|
|
typedef struct _GstGLRenderbufferAllocatorClass GstGLRenderbufferAllocatorClass;
|
|
|
|
|
2016-07-12 02:59:57 +00:00
|
|
|
typedef struct _GstGLFramebuffer GstGLFramebuffer;
|
2017-01-11 05:09:03 +00:00
|
|
|
typedef struct _GstGLFramebufferClass GstGLFramebufferClass;
|
2016-07-12 02:59:57 +00:00
|
|
|
|
2015-09-04 04:36:47 +00:00
|
|
|
typedef struct _GstGLSLStage GstGLSLStage;
|
|
|
|
typedef struct _GstGLSLStagePrivate GstGLSLStagePrivate;
|
|
|
|
typedef struct _GstGLSLStageClass GstGLSLStageClass;
|
|
|
|
|
2013-07-10 15:03:04 +00:00
|
|
|
typedef struct _GstGLShader GstGLShader;
|
|
|
|
typedef struct _GstGLShaderPrivate GstGLShaderPrivate;
|
|
|
|
typedef struct _GstGLShaderClass GstGLShaderClass;
|
|
|
|
|
|
|
|
typedef struct _GstGLUpload GstGLUpload;
|
|
|
|
typedef struct _GstGLUploadClass GstGLUploadClass;
|
|
|
|
typedef struct _GstGLUploadPrivate GstGLUploadPrivate;
|
|
|
|
|
2015-10-29 14:16:02 +00:00
|
|
|
typedef struct _GstGLBufferPool GstGLBufferPool;
|
|
|
|
typedef struct _GstGLBufferPoolClass GstGLBufferPoolClass;
|
|
|
|
typedef struct _GstGLBufferPoolPrivate GstGLBufferPoolPrivate;
|
|
|
|
|
2014-04-01 02:30:51 +00:00
|
|
|
typedef struct _GstGLColorConvert GstGLColorConvert;
|
|
|
|
typedef struct _GstGLColorConvertClass GstGLColorConvertClass;
|
|
|
|
typedef struct _GstGLColorConvertPrivate GstGLColorConvertPrivate;
|
|
|
|
|
2015-02-10 14:48:11 +00:00
|
|
|
typedef struct _GstGLBaseFilter GstGLBaseFilter;
|
|
|
|
typedef struct _GstGLBaseFilterClass GstGLBaseFilterClass;
|
|
|
|
typedef struct _GstGLBaseFilterPrivate GstGLBaseFilterPrivate;
|
|
|
|
|
|
|
|
typedef struct _GstGLFilter GstGLFilter;
|
|
|
|
typedef struct _GstGLFilterClass GstGLFilterClass;
|
|
|
|
|
2015-05-29 16:21:43 +00:00
|
|
|
typedef struct _GstGLViewConvert GstGLViewConvert;
|
|
|
|
typedef struct _GstGLViewConvertClass GstGLViewConvertClass;
|
|
|
|
typedef struct _GstGLViewConvertPrivate GstGLViewConvertPrivate;
|
|
|
|
|
2015-06-30 15:59:12 +00:00
|
|
|
typedef struct _GstGLOverlayCompositor GstGLOverlayCompositor;
|
|
|
|
typedef struct _GstGLOverlayCompositorClass GstGLOverlayCompositorClass;
|
|
|
|
|
2016-01-08 07:36:54 +00:00
|
|
|
typedef struct _GstGLQuery GstGLQuery;
|
|
|
|
|
2017-07-07 15:15:12 +00:00
|
|
|
typedef struct _GstGLFuncs GstGLFuncs;
|
|
|
|
|
|
|
|
typedef struct _GstGLAsyncDebug GstGLAsyncDebug;
|
|
|
|
|
2015-12-14 01:59:02 +00:00
|
|
|
#include <gst/gl/gstgl_enums.h>
|
|
|
|
|
2015-12-14 19:44:31 +00:00
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLBaseFilter, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLBaseMemoryAllocator, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLBufferAllocator, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLBufferPool, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLColorConvert, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLContext, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLDisplay, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLFilter, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLMemoryAllocator, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLMemoryPBOAllocator, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLOverlayCompositor, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLSLStage, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLShader, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLUpload, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLViewConvert, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGLWindow, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
2013-07-10 15:03:04 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GST_GL_FWD_H__ */
|