2 * Copyright (C) 2019 Seungha Yang <seungha.yang@navercorp.com>
3 * Copyright (C) 2020 Seungha Yang <seungha@centricular.com>
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.
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.
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.
21 #ifndef __GST_D3D11_FWD_H__
22 #define __GST_D3D11_FWD_H__
25 #include <gst/d3d11/gstd3d11config.h>
26 #include <gst/d3d11/d3d11-prelude.h>
32 #if (GST_D3D11_HEADER_VERSION >= 4)
34 #elif (GST_D3D11_HEADER_VERSION >= 3)
36 #elif (GST_D3D11_HEADER_VERSION >= 2)
38 #elif (GST_D3D11_HEADER_VERSION >= 1)
44 #if (GST_D3D11_DXGI_HEADER_VERSION >= 6)
46 #elif (GST_D3D11_DXGI_HEADER_VERSION >= 5)
48 #elif (GST_D3D11_DXGI_HEADER_VERSION >= 4)
50 #elif (GST_D3D11_DXGI_HEADER_VERSION >= 3)
52 #elif (GST_D3D11_DXGI_HEADER_VERSION >= 2)
60 typedef struct _GstD3D11Device GstD3D11Device;
61 typedef struct _GstD3D11DeviceClass GstD3D11DeviceClass;
62 typedef struct _GstD3D11DevicePrivate GstD3D11DevicePrivate;
64 typedef struct _GstD3D11AllocationParams GstD3D11AllocationParams;
65 typedef struct _GstD3D11Memory GstD3D11Memory;
66 typedef struct _GstD3D11MemoryPrivate GstD3D11MemoryPrivate;
68 typedef struct _GstD3D11Allocator GstD3D11Allocator;
69 typedef struct _GstD3D11AllocatorClass GstD3D11AllocatorClass;
70 typedef struct _GstD3D11AllocatorPrivate GstD3D11AllocatorPrivate;
72 typedef struct _GstD3D11PoolAllocator GstD3D11PoolAllocator;
73 typedef struct _GstD3D11PoolAllocatorClass GstD3D11PoolAllocatorClass;
74 typedef struct _GstD3D11PoolAllocatorPrivate GstD3D11PoolAllocatorPrivate;
76 typedef struct _GstD3D11BufferPool GstD3D11BufferPool;
77 typedef struct _GstD3D11BufferPoolClass GstD3D11BufferPoolClass;
78 typedef struct _GstD3D11BufferPoolPrivate GstD3D11BufferPoolPrivate;
80 typedef struct _GstD3D11StagingBufferPool GstD3D11StagingBufferPool;
81 typedef struct _GstD3D11StagingBufferPoolClass GstD3D11StagingBufferPoolClass;
82 typedef struct _GstD3D11StagingBufferPoolPrivate GstD3D11StagingBufferPoolPrivate;
84 typedef struct _GstD3D11Format GstD3D11Format;
88 #endif /* __GST_D3D11_FWD_H__ */