examples: d3d11: Add inter-device synchronization example

Adding an example to demonstrate resource sharing between
D3D11 device and GPU synchronization

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6303>
This commit is contained in:
Seungha Yang 2024-03-07 22:54:29 +09:00 committed by GStreamer Marge Bot
parent 42e24c32e5
commit 3e912a2214
2 changed files with 1135 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -62,6 +62,14 @@ if d3d11_lib.found() and dxgi_lib.found() and d3dcompiler_lib.found() and have_d
install: false,
)
executable('d3d11decoder-appsink2', ['d3d11decoder-appsink2.cpp'],
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
cpp_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
include_directories : [configinc, libsinc],
dependencies: [gst_dep, gstbase_dep, gstvideo_dep, d3d11_lib, dxgi_lib, gstd3d11_dep, gstapp_dep],
install: false,
)
executable('d3d11videosink-appsrc', ['d3d11videosink-appsrc.cpp'],
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
cpp_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],