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:
Seungha Yang 2023-12-26 17:26:55 +09:00 committed by GStreamer Marge Bot
parent 41d8a12649
commit 48cfca413d
21 changed files with 45 additions and 50 deletions

View 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"

View file

@ -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

View file

@ -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

View file

@ -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);

View file

@ -21,8 +21,7 @@
#include "config.h"
#endif
#include "gstd3d12commandallocatorpool.h"
#include "gstd3d12device.h"
#include "gstd3d12.h"
#include <wrl.h>
#include <queue>
#include <mutex>

View file

@ -21,8 +21,7 @@
#include "config.h"
#endif
#include "gstd3d12commandlistpool.h"
#include "gstd3d12device.h"
#include "gstd3d12.h"
#include <wrl.h>
#include <queue>
#include <mutex>

View file

@ -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>

View file

@ -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>

View file

@ -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

View file

@ -21,8 +21,7 @@
#include "config.h"
#endif
#include "gstd3d12descriptorpool.h"
#include "gstd3d12device.h"
#include "gstd3d12.h"
#include <wrl.h>
#include <queue>
#include <mutex>

View file

@ -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>

View file

@ -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

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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>

View file

@ -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

View file

@ -21,8 +21,7 @@
#include "config.h"
#endif
#include "gstd3d12utils.h"
#include "gstd3d12device.h"
#include "gstd3d12.h"
#include <mutex>
/* *INDENT-OFF* */

View file

@ -21,7 +21,6 @@
#include <gst/gst.h>
#include "gstd3d12_fwd.h"
#include "gstd3d12device.h"
G_BEGIN_DECLS

View file

@ -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);

View file

@ -28,7 +28,7 @@
#endif
#include <gst/gst.h>
#include "gstd3d12device.h"
#include "gstd3d12.h"
#include "gstd3d12download.h"
#include "gstd3d12upload.h"
#include "gstd3d12h264dec.h"