| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
#pragma once |
| 21 |
|
| 22 |
#include <gst/gst.h> |
| 23 |
#include <gst/d3d12/d3d12-prelude.h> |
| 24 |
|
| 25 |
#ifndef INITGUID |
| 26 |
#include <initguid.h> |
| 27 |
#endif |
| 28 |
|
| 29 |
#if defined(BUILDING_GST_D3D12) || defined(GST_D3D12_USE_DIRECTX_HEADERS) |
| 30 |
#include <directx/d3d12.h> |
| 31 |
#include <directx/d3d12video.h> |
| 32 |
#ifdef __cplusplus |
| 33 |
#include <dxguids/dxguids.h> |
| 34 |
#endif |
| 35 |
#else |
| 36 |
#include <d3d12.h> |
| 37 |
#include <d3d12video.h> |
| 38 |
#endif |
| 39 |
|
| 40 |
#include <dxgi1_6.h> |
| 41 |
#include <d3d11.h> |
| 42 |
|
| 43 |
G_BEGIN_DECLS |
| 44 |
|
| 45 |
typedef struct _GstD3D12Device GstD3D12Device; |
| 46 |
typedef struct _GstD3D12DeviceClass GstD3D12DeviceClass; |
| 47 |
typedef struct _GstD3D12DevicePrivate GstD3D12DevicePrivate; |
| 48 |
|
| 49 |
typedef struct _GstD3D12Memory GstD3D12Memory; |
| 50 |
typedef struct _GstD3D12MemoryPrivate GstD3D12MemoryPrivate; |
| 51 |
|
| 52 |
typedef struct _GstD3D12StagingMemory GstD3D12StagingMemory; |
| 53 |
typedef struct _GstD3D12StagingMemoryPrivate GstD3D12StagingMemoryPrivate; |
| 54 |
|
| 55 |
typedef struct _GstD3D12Allocator GstD3D12Allocator; |
| 56 |
typedef struct _GstD3D12AllocatorClass GstD3D12AllocatorClass; |
| 57 |
typedef struct _GstD3D12AllocatorPrivate GstD3D12AllocatorPrivate; |
| 58 |
|
| 59 |
typedef struct _GstD3D12PoolAllocator GstD3D12PoolAllocator; |
| 60 |
typedef struct _GstD3D12PoolAllocatorClass GstD3D12PoolAllocatorClass; |
| 61 |
typedef struct _GstD3D12PoolAllocatorPrivate GstD3D12PoolAllocatorPrivate; |
| 62 |
|
| 63 |
typedef struct _GstD3D12StagingAllocator GstD3D12StagingAllocator; |
| 64 |
typedef struct _GstD3D12StagingAllocatorClass GstD3D12StagingAllocatorClass; |
| 65 |
typedef struct _GstD3D12StagingAllocatorPrivate GstD3D12StagingAllocatorPrivate; |
| 66 |
|
| 67 |
typedef struct _GstD3D12Format GstD3D12Format; |
| 68 |
|
| 69 |
typedef struct _GstD3D12AllocationParams GstD3D12AllocationParams; |
| 70 |
|
| 71 |
typedef struct _GstD3D12BufferPool GstD3D12BufferPool; |
| 72 |
typedef struct _GstD3D12BufferPoolClass GstD3D12BufferPoolClass; |
| 73 |
typedef struct _GstD3D12BufferPoolPrivate GstD3D12BufferPoolPrivate; |
| 74 |
|
| 75 |
typedef struct _GstD3D12StagingBufferPool GstD3D12StagingBufferPool; |
| 76 |
typedef struct _GstD3D12StagingBufferPoolClass GstD3D12StagingBufferPoolClass; |
| 77 |
typedef struct _GstD3D12StagingBufferPoolPrivate GstD3D12StagingBufferPoolPrivate; |
| 78 |
|
| 79 |
typedef struct _GstD3D12CmdAllocPool GstD3D12CmdAllocPool; |
| 80 |
typedef struct _GstD3D12CmdAllocPoolClass GstD3D12CmdAllocPoolClass; |
| 81 |
typedef struct _GstD3D12CmdAllocPoolPrivate GstD3D12CmdAllocPoolPrivate; |
| 82 |
typedef struct _GstD3D12CmdAlloc GstD3D12CmdAlloc; |
| 83 |
|
| 84 |
typedef struct _GstD3D12CmdQueue GstD3D12CmdQueue; |
| 85 |
typedef struct _GstD3D12CmdQueueClass GstD3D12CmdQueueClass; |
| 86 |
typedef struct _GstD3D12CmdQueuePrivate GstD3D12CmdQueuePrivate; |
| 87 |
|
| 88 |
typedef struct _GstD3D12Converter GstD3D12Converter; |
| 89 |
typedef struct _GstD3D12ConverterClass GstD3D12ConverterClass; |
| 90 |
typedef struct _GstD3D12ConverterPrivate GstD3D12ConverterPrivate; |
| 91 |
|
| 92 |
typedef struct _GstD3D12DescHeapPool GstD3D12DescHeapPool; |
| 93 |
typedef struct _GstD3D12DescHeapPoolClass GstD3D12DescHeapPoolClass; |
| 94 |
typedef struct _GstD3D12DescHeapPoolPrivate GstD3D12DescHeapPoolPrivate; |
| 95 |
typedef struct _GstD3D12DescHeap GstD3D12DescHeap; |
| 96 |
|
| 97 |
typedef struct _GstD3D12FenceDataPool GstD3D12FenceDataPool; |
| 98 |
typedef struct _GstD3D12FenceDataPoolClass GstD3D12FenceDataPoolClass; |
| 99 |
typedef struct _GstD3D12FenceDataPoolPrivate GstD3D12FenceDataPoolPrivate; |
| 100 |
typedef struct _GstD3D12FenceData GstD3D12FenceData; |
| 101 |
|
| 102 |
typedef struct _GstD3D12Frame GstD3D12Frame; |
| 103 |
|
| 104 |
G_END_DECLS |
| 105 |
|