cuda: Remove GST_CUDA_HAS_D3D define from header
authorSeungha Yang <seungha@centricular.com>
Mon, 12 Sep 2022 16:02:50 +0000 (01:02 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 13 Sep 2022 16:40:51 +0000 (16:40 +0000)
commit219bb769a29a595460648b1f042c5ee70d5c3bd8
tree7c11e5d19a8c5310edc7b7ec73e0065b3103442e
parentc4681ac428fa4b63a2c9ce18bb3da4cddc14e439
cuda: Remove GST_CUDA_HAS_D3D define from header

... and fix d3d11 specific enum type name

GST_CUDA_HAS_D3D is a build time define which indicates whether
GstD3D11 library is available or not, but DirectX SDK headers
must be available on the build system already.

Expose Direct3D related symbols if the build target is Windows
(i.e., if G_OS_WIN32 is defined)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3018>
subprojects/gst-plugins-bad/gst-libs/gst/cuda/cuda-gst.h
subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudacontext.c
subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudaloader.c
subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.c
subprojects/gst-plugins-bad/gst-libs/gst/cuda/gstcudautils.h
subprojects/gst-plugins-bad/gst-libs/gst/cuda/meson.build
subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cuda.h
subprojects/gst-plugins-bad/gst-libs/gst/cuda/stub/cudaD3D11.h [new file with mode: 0644]