QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstD3D11ContextBridge.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/qglobal.h>
4
5#if defined(Q_OS_WIN) && defined(QGC_HAS_GST_D3D11_GPU_PATH)
6
7#include <gst/gst.h>
8
9// Forward-declare the opaque type so currentDevice() parses without <gst/d3d11/gstd3d11.h>; dereferencing callers
10// include the full header.
11typedef struct _GstD3D11Device GstD3D11Device;
12
15namespace GstD3D11ContextBridge {
16
19bool prime();
20
23GstBusSyncReply handleSyncMessage(GstMessage* message);
24
26bool answerContextQuery(GstQuery* query);
27
29void reset();
30
32GstD3D11Device* currentDevice();
33
34} // namespace GstD3D11ContextBridge
35
36#endif // Q_OS_WIN && QGC_HAS_GST_D3D11_GPU_PATH