2019-01-30 11:07:29 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) 2019 Seungha Yang <seungha.yang@navercorp.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_D3D11_FWD_H__
|
|
|
|
#define __GST_D3D11_FWD_H__
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
2019-12-30 09:58:59 +00:00
|
|
|
#include "gstd3d11config.h"
|
2019-01-30 11:07:29 +00:00
|
|
|
|
|
|
|
#ifndef INITGUID
|
|
|
|
#include <initguid.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <d3d11.h>
|
2019-12-18 04:21:31 +00:00
|
|
|
|
|
|
|
#if (DXGI_HEADER_VERSION >= 6)
|
|
|
|
#include <dxgi1_6.h>
|
|
|
|
#elif (DXGI_HEADER_VERSION >= 5)
|
2019-01-30 11:07:29 +00:00
|
|
|
#include <dxgi1_5.h>
|
2019-12-18 04:21:31 +00:00
|
|
|
#elif (DXGI_HEADER_VERSION >= 4)
|
|
|
|
#include <dxgi1_4.h>
|
|
|
|
#elif (DXGI_HEADER_VERSION >= 3)
|
|
|
|
#include <dxgi1_3.h>
|
|
|
|
#elif (DXGI_HEADER_VERSION >= 2)
|
|
|
|
#include <dxgi1_2.h>
|
2019-01-30 11:07:29 +00:00
|
|
|
#else
|
|
|
|
#include <dxgi.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
typedef struct _GstD3D11Device GstD3D11Device;
|
|
|
|
typedef struct _GstD3D11DeviceClass GstD3D11DeviceClass;
|
|
|
|
typedef struct _GstD3D11DevicePrivate GstD3D11DevicePrivate;
|
|
|
|
|
|
|
|
typedef struct _GstD3D11AllocationParams GstD3D11AllocationParams;
|
|
|
|
typedef struct _GstD3D11Memory GstD3D11Memory;
|
|
|
|
typedef struct _GstD3D11Allocator GstD3D11Allocator;
|
|
|
|
typedef struct _GstD3D11AllocatorClass GstD3D11AllocatorClass;
|
|
|
|
|
|
|
|
typedef struct _GstD3D11BufferPool GstD3D11BufferPool;
|
|
|
|
typedef struct _GstD3D11BufferPoolClass GstD3D11BufferPoolClass;
|
|
|
|
typedef struct _GstD3D11BufferPoolPrivate GstD3D11BufferPoolPrivate;
|
|
|
|
|
2019-11-06 10:37:33 +00:00
|
|
|
typedef struct _GstD3D11Format GstD3D11Format;
|
|
|
|
|
2019-11-06 10:38:31 +00:00
|
|
|
typedef struct _GstD3D11BaseFilter GstD3D11BaseFilter;
|
|
|
|
typedef struct _GstD3D11BaseFilterClass GstD3D11BaseFilterClass;
|
|
|
|
|
|
|
|
typedef struct _GstD3D11Upload GstD3D11Upload;
|
|
|
|
typedef struct _GstD3D11UploadClass GstD3D11UploadClass;
|
|
|
|
|
|
|
|
typedef struct _GstD3D11Download GstD3D11Download;
|
|
|
|
typedef struct _GstD3D11DownloadClass GstD3D11DownloadClass;
|
|
|
|
|
2019-08-18 12:01:55 +00:00
|
|
|
typedef struct _GstD3D11ColorConvert GstD3D11ColorConvert;
|
|
|
|
typedef struct _GstD3D11ColorConvertClass GstD3D11ColorConvertClass;
|
|
|
|
|
2019-12-26 05:24:46 +00:00
|
|
|
typedef struct _GstD3D11Decoder GstD3D11Decoder;
|
|
|
|
typedef struct _GstD3D11DecoderClass GstD3D11DecoderClass;
|
|
|
|
typedef struct _GstD3D11DecoderPrivate GstD3D11DecoderPrivate;
|
|
|
|
|
|
|
|
typedef struct _GstD3D11H264Dec GstD3D11H264Dec;
|
|
|
|
typedef struct _GstD3D11H264DecClass GstD3D11H264DecClass;
|
|
|
|
|
2019-12-20 14:05:52 +00:00
|
|
|
typedef struct _GstD3D11Vp9Dec GstD3D11Vp9Dec;
|
|
|
|
typedef struct _GstD3D11Vp9DecClass GstD3D11Vp9DecClass;
|
|
|
|
|
2019-12-26 05:28:03 +00:00
|
|
|
typedef struct _GstD3D11H265Dec GstD3D11H265Dec;
|
|
|
|
typedef struct _GstD3D11H265DecClass GstD3D11H265DecClass;
|
|
|
|
|
2019-01-30 11:07:29 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GST_D3D11_FWD_H__ */
|