diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12.h b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12.h new file mode 100644 index 0000000000..3c36514638 --- /dev/null +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12.h @@ -0,0 +1,32 @@ +/* GStreamer + * Copyright (C) 2023 Seungha Yang + * + * 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 +#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" diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12basefilter.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12basefilter.cpp index ac6ca897e5..012b7a6df0 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12basefilter.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12basefilter.cpp @@ -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 diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12basefilter.h b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12basefilter.h index f7fd98f31e..6b55ee0865 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12basefilter.h +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12basefilter.h @@ -22,7 +22,7 @@ #include #include #include -#include "gstd3d12_fwd.h" +#include "gstd3d12.h" G_BEGIN_DECLS diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12bufferpool.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12bufferpool.cpp index 1695c08fec..c8875d95f2 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12bufferpool.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12bufferpool.cpp @@ -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 GST_DEBUG_CATEGORY_STATIC (gst_d3d12_buffer_pool_debug); diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandallocatorpool.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandallocatorpool.cpp index f405981161..1fc5a7eb73 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandallocatorpool.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandallocatorpool.cpp @@ -21,8 +21,7 @@ #include "config.h" #endif -#include "gstd3d12commandallocatorpool.h" -#include "gstd3d12device.h" +#include "gstd3d12.h" #include #include #include diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandlistpool.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandlistpool.cpp index ad42917179..0beee9a481 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandlistpool.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandlistpool.cpp @@ -21,8 +21,7 @@ #include "config.h" #endif -#include "gstd3d12commandlistpool.h" -#include "gstd3d12device.h" +#include "gstd3d12.h" #include #include #include diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandqueue.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandqueue.cpp index eb9f864a6f..b52a61d529 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandqueue.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12commandqueue.cpp @@ -21,9 +21,7 @@ #include "config.h" #endif -#include "gstd3d12commandqueue.h" -#include "gstd3d12device.h" -#include "gstd3d12utils.h" +#include "gstd3d12.h" #include #include #include diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12decoder.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12decoder.cpp index 719deda92c..1117d62703 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12decoder.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12decoder.cpp @@ -23,11 +23,6 @@ #include #include "gstd3d12decoder.h" -#include "gstd3d12device.h" -#include "gstd3d12utils.h" -#include "gstd3d12format.h" -#include "gstd3d12memory.h" -#include "gstd3d12bufferpool.h" #include #include #include diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12decoder.h b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12decoder.h index e9923f39fc..9abdb4f54e 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12decoder.h +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12decoder.h @@ -23,7 +23,7 @@ #include #include #include -#include "gstd3d12_fwd.h" +#include "gstd3d12.h" G_BEGIN_DECLS diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12descriptorpool.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12descriptorpool.cpp index 211cc93a1b..e2dbe9010a 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12descriptorpool.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12descriptorpool.cpp @@ -21,8 +21,7 @@ #include "config.h" #endif -#include "gstd3d12descriptorpool.h" -#include "gstd3d12device.h" +#include "gstd3d12.h" #include #include #include diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12device.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12device.cpp index a4b96f8c68..7a399d35fa 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12device.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12device.cpp @@ -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 #include #include diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12download.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12download.cpp index 50b6bfa012..a12bb6fd45 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12download.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12download.cpp @@ -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 diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12format.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12format.cpp index da97859613..0951ae8e82 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12format.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12format.cpp @@ -21,9 +21,7 @@ #include "config.h" #endif -#include "gstd3d12format.h" -#include "gstd3d12utils.h" -#include "gstd3d12device.h" +#include "gstd3d12.h" #include GST_DEBUG_CATEGORY_EXTERN (gst_d3d12_format_debug); diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12h264dec.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12h264dec.cpp index d29defd2c8..3f5a15d625 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12h264dec.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12h264dec.cpp @@ -37,8 +37,6 @@ #endif #include "gstd3d12h264dec.h" -#include "gstd3d12device.h" -#include "gstd3d12utils.h" #include GST_DEBUG_CATEGORY_STATIC (gst_d3d12_h264_dec_debug); diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12h265dec.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12h265dec.cpp index e80d0ce3fc..2074971fd9 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12h265dec.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12h265dec.cpp @@ -37,8 +37,6 @@ #endif #include "gstd3d12h265dec.h" -#include "gstd3d12device.h" -#include "gstd3d12utils.h" #include GST_DEBUG_CATEGORY_STATIC (gst_d3d12_h265_dec_debug); diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12memory.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12memory.cpp index d4a0422997..1810b7b2df 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12memory.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12memory.cpp @@ -21,12 +21,9 @@ #include "config.h" #endif -#include -#include "gstd3d12memory.h" +#include "gstd3d12.h" #include "gstd3d12memory-private.h" -#include "gstd3d12device.h" -#include "gstd3d12utils.h" -#include "gstd3d12format.h" +#include #include #include #include diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12upload.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12upload.cpp index aab60b0743..8a726319bf 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12upload.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12upload.cpp @@ -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 diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12utils.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12utils.cpp index 22ed7d85ad..f0a030c4b9 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12utils.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12utils.cpp @@ -21,8 +21,7 @@ #include "config.h" #endif -#include "gstd3d12utils.h" -#include "gstd3d12device.h" +#include "gstd3d12.h" #include /* *INDENT-OFF* */ diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12utils.h b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12utils.h index edc15e09d9..a59a82a59f 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12utils.h +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12utils.h @@ -21,7 +21,6 @@ #include #include "gstd3d12_fwd.h" -#include "gstd3d12device.h" G_BEGIN_DECLS diff --git a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12vp9dec.cpp b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12vp9dec.cpp index af8d310a35..fb1d7d866d 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12vp9dec.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/gstd3d12vp9dec.cpp @@ -37,8 +37,6 @@ #endif #include "gstd3d12vp9dec.h" -#include "gstd3d12device.h" -#include "gstd3d12utils.h" #include GST_DEBUG_CATEGORY_STATIC (gst_d3d12_vp9_dec_debug); diff --git a/subprojects/gst-plugins-bad/sys/d3d12/plugin.cpp b/subprojects/gst-plugins-bad/sys/d3d12/plugin.cpp index e27a64e981..ad144373d7 100644 --- a/subprojects/gst-plugins-bad/sys/d3d12/plugin.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d12/plugin.cpp @@ -28,7 +28,7 @@ #endif #include -#include "gstd3d12device.h" +#include "gstd3d12.h" #include "gstd3d12download.h" #include "gstd3d12upload.h" #include "gstd3d12h264dec.h"