QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstD3D12ContextBridge.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/qglobal.h>
4
5#if defined(QGC_HAS_GST_D3D12_GPU_PATH)
6
7#include <gst/gst.h>
8
10
11// Forward-declare the opaque type so currentDevice() parses without <gst/d3d12/gstd3d12.h>; dereferencing callers
12// include the full header.
13typedef struct _GstD3D12Device GstD3D12Device;
14
17namespace GstD3D12ContextBridge {
18
20GstContextBridgeBase& instance();
21
23GstD3D12Device* currentDevice();
24
25} // namespace GstD3D12ContextBridge
26
27#endif // QGC_HAS_GST_D3D12_GPU_PATH