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 GObject type so the currentDevice() accessor below parses
10// for callers that haven't pulled in <gst/d3d11/gstd3d11.h>. Bridge implementation and
11// any caller that dereferences the pointer must include the full header.
12typedef struct _GstD3D11Device GstD3D11Device;
13
24namespace GstD3D11ContextBridge {
25
30bool prime();
31
36GstBusSyncReply handleSyncMessage(GstMessage *message);
37
40void reset();
41
44GstD3D11Device *currentDevice();
45
46} // namespace GstD3D11ContextBridge
47
48#endif // Q_OS_WIN && QGC_HAS_GST_D3D11_GPU_PATH