2023-09-10 14:34:26 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) 2023 Seungha Yang <seungha@centricular.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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
2024-03-31 12:55:51 +00:00
|
|
|
#include <gst/d3d12/d3d12-prelude.h>
|
2023-09-10 14:34:26 +00:00
|
|
|
|
|
|
|
#ifndef INITGUID
|
|
|
|
#include <initguid.h>
|
|
|
|
#endif
|
|
|
|
|
2024-03-31 12:55:51 +00:00
|
|
|
#if defined(BUILDING_GST_D3D12) || defined(GST_D3D12_USE_DIRECTX_HEADERS)
|
|
|
|
#include <directx/d3d12.h>
|
|
|
|
#include <directx/d3d12video.h>
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#include <dxguids/dxguids.h>
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
#else
|
|
|
|
#include <d3d12.h>
|
|
|
|
#include <d3d12video.h>
|
|
|
|
#endif
|
|
|
|
|
2023-09-10 14:34:26 +00:00
|
|
|
#include <dxgi1_6.h>
|
2024-04-01 15:36:45 +00:00
|
|
|
#include <d3d11.h>
|
2023-09-10 14:34:26 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
typedef struct _GstD3D12Device GstD3D12Device;
|
|
|
|
typedef struct _GstD3D12DeviceClass GstD3D12DeviceClass;
|
|
|
|
typedef struct _GstD3D12DevicePrivate GstD3D12DevicePrivate;
|
|
|
|
|
|
|
|
typedef struct _GstD3D12Memory GstD3D12Memory;
|
|
|
|
typedef struct _GstD3D12MemoryPrivate GstD3D12MemoryPrivate;
|
|
|
|
|
|
|
|
typedef struct _GstD3D12Allocator GstD3D12Allocator;
|
|
|
|
typedef struct _GstD3D12AllocatorClass GstD3D12AllocatorClass;
|
|
|
|
typedef struct _GstD3D12AllocatorPrivate GstD3D12AllocatorPrivate;
|
|
|
|
|
|
|
|
typedef struct _GstD3D12PoolAllocator GstD3D12PoolAllocator;
|
|
|
|
typedef struct _GstD3D12PoolAllocatorClass GstD3D12PoolAllocatorClass;
|
|
|
|
typedef struct _GstD3D12PoolAllocatorPrivate GstD3D12PoolAllocatorPrivate;
|
|
|
|
|
|
|
|
typedef struct _GstD3D12Format GstD3D12Format;
|
|
|
|
|
2023-09-17 15:44:10 +00:00
|
|
|
typedef struct _GstD3D12AllocationParams GstD3D12AllocationParams;
|
|
|
|
|
2023-09-17 16:31:41 +00:00
|
|
|
typedef struct _GstD3D12BufferPool GstD3D12BufferPool;
|
|
|
|
typedef struct _GstD3D12BufferPoolClass GstD3D12BufferPoolClass;
|
|
|
|
typedef struct _GstD3D12BufferPoolPrivate GstD3D12BufferPoolPrivate;
|
|
|
|
|
2024-03-31 12:55:51 +00:00
|
|
|
typedef struct _GstD3D12CommandAllocatorPool GstD3D12CommandAllocatorPool;
|
|
|
|
typedef struct _GstD3D12CommandAllocatorPoolClass GstD3D12CommandAllocatorPoolClass;
|
|
|
|
typedef struct _GstD3D12CommandAllocatorPoolPrivate GstD3D12CommandAllocatorPoolPrivate;
|
|
|
|
typedef struct _GstD3D12CommandAllocator GstD3D12CommandAllocator;
|
|
|
|
|
|
|
|
typedef struct _GstD3D12CommandQueue GstD3D12CommandQueue;
|
|
|
|
typedef struct _GstD3D12CommandQueueClass GstD3D12CommandQueueClass;
|
|
|
|
typedef struct _GstD3D12CommandQueuePrivate GstD3D12CommandQueuePrivate;
|
|
|
|
|
2023-12-29 12:22:41 +00:00
|
|
|
typedef struct _GstD3D12Converter GstD3D12Converter;
|
|
|
|
typedef struct _GstD3D12ConverterClass GstD3D12ConverterClass;
|
|
|
|
typedef struct _GstD3D12ConverterPrivate GstD3D12ConverterPrivate;
|
|
|
|
|
2024-03-31 12:55:51 +00:00
|
|
|
typedef struct _GstD3D12DescriptorPool GstD3D12DescriptorPool;
|
|
|
|
typedef struct _GstD3D12DescriptorPoolClass GstD3D12DescriptorPoolClass;
|
|
|
|
typedef struct _GstD3D12DescriptorPoolPrivate GstD3D12DescriptorPoolPrivate;
|
|
|
|
typedef struct _GstD3D12Descriptor GstD3D12Descriptor;
|
|
|
|
|
|
|
|
typedef struct _GstD3D12FenceDataPool GstD3D12FenceDataPool;
|
|
|
|
typedef struct _GstD3D12FenceDataPoolClass GstD3D12FenceDataPoolClass;
|
|
|
|
typedef struct _GstD3D12FenceDataPoolPrivate GstD3D12FenceDataPoolPrivate;
|
2024-01-09 11:18:38 +00:00
|
|
|
typedef struct _GstD3D12FenceData GstD3D12FenceData;
|
|
|
|
|
2024-04-13 12:46:32 +00:00
|
|
|
typedef struct _GstD3D12Frame GstD3D12Frame;
|
|
|
|
|
2023-09-10 14:34:26 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|