mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
d3d12: Add header containing core features
... and include the single header instead of listing many ones Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5870>
This commit is contained in:
parent
41d8a12649
commit
48cfca413d
21 changed files with 45 additions and 50 deletions
32
subprojects/gst-plugins-bad/sys/d3d12/gstd3d12.h
Normal file
32
subprojects/gst-plugins-bad/sys/d3d12/gstd3d12.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
/* 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>
|
||||
#include "gstd3d12_fwd.h"
|
||||
#include "gstd3d12bufferpool.h"
|
||||
#include "gstd3d12commandallocatorpool.h"
|
||||
#include "gstd3d12commandlistpool.h"
|
||||
#include "gstd3d12commandqueue.h"
|
||||
#include "gstd3d12descriptorpool.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12format.h"
|
||||
#include "gstd3d12memory.h"
|
||||
#include "gstd3d12utils.h"
|
|
@ -22,9 +22,6 @@
|
|||
#endif
|
||||
|
||||
#include "gstd3d12basefilter.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12utils.h"
|
||||
#include "gstd3d12memory.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_d3d12_base_filter_debug);
|
||||
#define GST_CAT_DEFAULT gst_d3d12_base_filter_debug
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <gst/gst.h>
|
||||
#include <gst/video/video.h>
|
||||
#include <gst/base/gstbasetransform.h>
|
||||
#include "gstd3d12_fwd.h"
|
||||
#include "gstd3d12.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
|
@ -21,10 +21,8 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12bufferpool.h"
|
||||
#include "gstd3d12.h"
|
||||
#include "gstd3d12memory-private.h"
|
||||
#include "gstd3d12utils.h"
|
||||
#include <directx/d3dx12.h>
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_d3d12_buffer_pool_debug);
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gstd3d12commandallocatorpool.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12.h"
|
||||
#include <wrl.h>
|
||||
#include <queue>
|
||||
#include <mutex>
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gstd3d12commandlistpool.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12.h"
|
||||
#include <wrl.h>
|
||||
#include <queue>
|
||||
#include <mutex>
|
||||
|
|
|
@ -21,9 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gstd3d12commandqueue.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12utils.h"
|
||||
#include "gstd3d12.h"
|
||||
#include <wrl.h>
|
||||
#include <queue>
|
||||
#include <mutex>
|
||||
|
|
|
@ -23,11 +23,6 @@
|
|||
|
||||
#include <directx/d3dx12.h>
|
||||
#include "gstd3d12decoder.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12utils.h"
|
||||
#include "gstd3d12format.h"
|
||||
#include "gstd3d12memory.h"
|
||||
#include "gstd3d12bufferpool.h"
|
||||
#include <gst/base/gstqueuearray.h>
|
||||
#include <wrl.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <gst/video/video.h>
|
||||
#include <gst/codecs/gstcodecpicture.h>
|
||||
#include <gst/dxva/gstdxva.h>
|
||||
#include "gstd3d12_fwd.h"
|
||||
#include "gstd3d12.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gstd3d12descriptorpool.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12.h"
|
||||
#include <wrl.h>
|
||||
#include <queue>
|
||||
#include <mutex>
|
||||
|
|
|
@ -21,12 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12utils.h"
|
||||
#include "gstd3d12format.h"
|
||||
#include "gstd3d12commandlistpool.h"
|
||||
#include "gstd3d12commandallocatorpool.h"
|
||||
#include "gstd3d12commandqueue.h"
|
||||
#include "gstd3d12.h"
|
||||
#include <wrl.h>
|
||||
#include <vector>
|
||||
#include <string.h>
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#endif
|
||||
|
||||
#include "gstd3d12download.h"
|
||||
#include "gstd3d12bufferpool.h"
|
||||
#include "gstd3d12format.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_d3d12_download_debug);
|
||||
#define GST_CAT_DEFAULT gst_d3d12_download_debug
|
||||
|
|
|
@ -21,9 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gstd3d12format.h"
|
||||
#include "gstd3d12utils.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12.h"
|
||||
#include <string.h>
|
||||
|
||||
GST_DEBUG_CATEGORY_EXTERN (gst_d3d12_format_debug);
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
#endif
|
||||
|
||||
#include "gstd3d12h264dec.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12utils.h"
|
||||
#include <gst/dxva/gstdxvah264decoder.h>
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_d3d12_h264_dec_debug);
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
#endif
|
||||
|
||||
#include "gstd3d12h265dec.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12utils.h"
|
||||
#include <gst/dxva/gstdxvah265decoder.h>
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_d3d12_h265_dec_debug);
|
||||
|
|
|
@ -21,12 +21,9 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <directx/d3dx12.h>
|
||||
#include "gstd3d12memory.h"
|
||||
#include "gstd3d12.h"
|
||||
#include "gstd3d12memory-private.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12utils.h"
|
||||
#include "gstd3d12format.h"
|
||||
#include <directx/d3dx12.h>
|
||||
#include <string.h>
|
||||
#include <wrl.h>
|
||||
#include <mutex>
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#endif
|
||||
|
||||
#include "gstd3d12upload.h"
|
||||
#include "gstd3d12bufferpool.h"
|
||||
#include "gstd3d12format.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_d3d12_upload_debug);
|
||||
#define GST_CAT_DEFAULT gst_d3d12_upload_debug
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gstd3d12utils.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12.h"
|
||||
#include <mutex>
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
#include "gstd3d12_fwd.h"
|
||||
#include "gstd3d12device.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
#endif
|
||||
|
||||
#include "gstd3d12vp9dec.h"
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12utils.h"
|
||||
#include <gst/dxva/gstdxvavp9decoder.h>
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_d3d12_vp9_dec_debug);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include "gstd3d12device.h"
|
||||
#include "gstd3d12.h"
|
||||
#include "gstd3d12download.h"
|
||||
#include "gstd3d12upload.h"
|
||||
#include "gstd3d12h264dec.h"
|
||||
|
|
Loading…
Reference in a new issue