QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstContextBridgeRegistry.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/qglobal.h>
4
5#if defined(QGC_HAS_GST_GLMEMORY_GPU_PATH) || defined(QGC_HAS_GST_D3D11_GPU_PATH) || defined(QGC_HAS_GST_D3D12_GPU_PATH)
6
7#include <gst/gst.h>
8
13namespace GstContextBridgeRegistry {
14
15using BridgeHandler = GstBusSyncReply(*)(GstMessage *);
16using ResetCallback = void(*)();
17
19void registerBridgeHandler(BridgeHandler handler);
20
24void registerResetCallback(ResetCallback callback);
25
27GstBusSyncReply dispatchBridges(GstMessage *message);
28
31void resetAllBridges();
32
33#ifdef QT_TESTLIB_LIB
36void clearForTest();
37#endif
38
39} // namespace GstContextBridgeRegistry
40
41#endif // QGC_HAS_GST_GLMEMORY_GPU_PATH || QGC_HAS_GST_D3D11_GPU_PATH || QGC_HAS_GST_D3D12_GPU_PATH