mingw-gstreamer1-plugins-ba.../gst-p-bad-directxmath.patch

94 lines
4.2 KiB
Diff
Raw Normal View History

2024-05-02 09:25:57 +00:00
diff -rupN gst-plugins-bad-1.24.3/gst-libs/gst/d3d11/gstd3d11converter.cpp gst-plugins-bad-1.24.3-new/gst-libs/gst/d3d11/gstd3d11converter.cpp
--- gst-plugins-bad-1.24.3/gst-libs/gst/d3d11/gstd3d11converter.cpp 2024-04-30 01:15:23.000000000 +0200
+++ gst-plugins-bad-1.24.3-new/gst-libs/gst/d3d11/gstd3d11converter.cpp 2024-05-02 11:19:58.008578735 +0200
@@ -43,7 +43,7 @@
#ifndef HAVE_DIRECTX_MATH_SIMD
#define _XM_NO_INTRINSICS_
#endif
-#include <DirectXMath.h>
+#include <directxmath/DirectXMath.h>
/**
* SECTION:gstd3d11converter
diff -rupN gst-plugins-bad-1.24.3/gst-libs/gst/d3d11/meson.build gst-plugins-bad-1.24.3-new/gst-libs/gst/d3d11/meson.build
--- gst-plugins-bad-1.24.3/gst-libs/gst/d3d11/meson.build 2024-04-30 01:15:23.000000000 +0200
+++ gst-plugins-bad-1.24.3-new/gst-libs/gst/d3d11/meson.build 2024-05-02 11:19:58.039578140 +0200
@@ -183,7 +183,7 @@ endif
have_dx_math = cxx.compiles('''
#include <windows.h>
- #include <DirectXMath.h>
+ #include <directxmath/DirectXMath.h>
using namespace DirectX;
int main(int argc, char ** argv) {
XMMATRIX matrix;
@@ -211,7 +211,7 @@ endif
if host_machine.cpu_family() != 'x86'
have_dx_math_simd = cxx.compiles('''
#include <windows.h>
- #include <DirectXMath.h>
+ #include <directxmath/DirectXMath.h>
using namespace DirectX;
int main(int argc, char ** argv) {
XMVerifyCPUSupport ();
diff -rupN gst-plugins-bad-1.24.3/sys/d3d11/gstd3d11dxgicapture.cpp gst-plugins-bad-1.24.3-new/sys/d3d11/gstd3d11dxgicapture.cpp
--- gst-plugins-bad-1.24.3/sys/d3d11/gstd3d11dxgicapture.cpp 2024-04-30 01:15:23.000000000 +0200
+++ gst-plugins-bad-1.24.3-new/sys/d3d11/gstd3d11dxgicapture.cpp 2024-05-02 11:20:01.751506967 +0200
@@ -54,7 +54,7 @@
#include <wrl.h>
#define _XM_NO_INTRINSICS_
-#include <DirectXMath.h>
+#include <directxmath/DirectXMath.h>
GST_DEBUG_CATEGORY_EXTERN (gst_d3d11_screen_capture_debug);
#define GST_CAT_DEFAULT gst_d3d11_screen_capture_debug
diff -rupN gst-plugins-bad-1.24.3/sys/d3d11/gstd3d11pluginutils.cpp gst-plugins-bad-1.24.3-new/sys/d3d11/gstd3d11pluginutils.cpp
--- gst-plugins-bad-1.24.3/sys/d3d11/gstd3d11pluginutils.cpp 2024-04-30 01:15:23.000000000 +0200
+++ gst-plugins-bad-1.24.3-new/sys/d3d11/gstd3d11pluginutils.cpp 2024-05-02 11:20:01.692508099 +0200
@@ -32,7 +32,7 @@
/* Disable platform-specific intrinsics */
#define _XM_NO_INTRINSICS_
-#include <DirectXMath.h>
+#include <directxmath/DirectXMath.h>
GST_DEBUG_CATEGORY_EXTERN (gst_d3d11_plugin_utils_debug);
#define GST_CAT_DEFAULT gst_d3d11_plugin_utils_debug
diff -rupN gst-plugins-bad-1.24.3/sys/d3d12/gstd3d12converter.cpp gst-plugins-bad-1.24.3-new/sys/d3d12/gstd3d12converter.cpp
--- gst-plugins-bad-1.24.3/sys/d3d12/gstd3d12converter.cpp 2024-04-30 01:15:23.000000000 +0200
+++ gst-plugins-bad-1.24.3-new/sys/d3d12/gstd3d12converter.cpp 2024-05-02 11:20:02.270497016 +0200
@@ -35,7 +35,7 @@
#ifndef HAVE_DIRECTX_MATH_SIMD
#define _XM_NO_INTRINSICS_
#endif
-#include <DirectXMath.h>
+#include <directxmath/DirectXMath.h>
GST_DEBUG_CATEGORY (gst_d3d12_converter_debug);
#define GST_CAT_DEFAULT gst_d3d12_converter_debug
diff -rupN gst-plugins-bad-1.24.3/sys/d3d12/gstd3d12dxgicapture.cpp gst-plugins-bad-1.24.3-new/sys/d3d12/gstd3d12dxgicapture.cpp
--- gst-plugins-bad-1.24.3/sys/d3d12/gstd3d12dxgicapture.cpp 2024-04-30 01:15:23.000000000 +0200
+++ gst-plugins-bad-1.24.3-new/sys/d3d12/gstd3d12dxgicapture.cpp 2024-05-02 11:20:02.140499508 +0200
@@ -59,7 +59,7 @@
#include "VSMain_coord.h"
#define _XM_NO_INTRINSICS_
-#include <DirectXMath.h>
+#include <directxmath/DirectXMath.h>
GST_DEBUG_CATEGORY_EXTERN (gst_d3d12_screen_capture_debug);
#define GST_CAT_DEFAULT gst_d3d12_screen_capture_debug
diff -rupN gst-plugins-bad-1.24.3/sys/d3d12/gstd3d12pluginutils.cpp gst-plugins-bad-1.24.3-new/sys/d3d12/gstd3d12pluginutils.cpp
--- gst-plugins-bad-1.24.3/sys/d3d12/gstd3d12pluginutils.cpp 2024-04-30 01:15:23.000000000 +0200
+++ gst-plugins-bad-1.24.3-new/sys/d3d12/gstd3d12pluginutils.cpp 2024-05-02 11:20:02.265497112 +0200
@@ -24,7 +24,7 @@
#include "gstd3d12pluginutils.h"
#define _XM_NO_INTRINSICS_
-#include <DirectXMath.h>
+#include <directxmath/DirectXMath.h>
/* *INDENT-OFF* */
using namespace DirectX;