3#include <QtCore/qglobal.h>
5#if defined(QGC_HAS_ANY_GPU_PATH)
7#include <QtCore/QMutex>
10QT_FORWARD_DECLARE_CLASS(QLoggingCategory)
17namespace GstContextBridge {
24 const char*
const* contextTypes;
26 const QLoggingCategory& (*cat)(
void* user);
27 QMutex& (*mutex)(
void* user);
28 bool (*primeLocked)(
void* user);
29 GstObject* (*refObject)(
void* user,
const char* contextType);
31 GstContext* (*buildContext)(
void* user,
const char* contextType,
34 void (*onHandoff)(
void* user,
GstElement* element,
const char* contextType);
39const char* matchContextType(
const BridgeVTable& vt,
const char* type);
42GstBusSyncReply handleSyncMessage(
const BridgeVTable& vt,
void* user, GstMessage* message);
45bool answerContextQuery(
const BridgeVTable& vt,
void* user, GstQuery* query);
49void registerBridge(
const QLoggingCategory& cat,
const char* apiName, GstBusSyncReply (*handler)(GstMessage*),
struct _GstElement GstElement