QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GStreamer.h
Go to the documentation of this file.
1#pragma once
2
3class QQuickItem;
4class QVideoSink;
5class VideoReceiver;
6
7namespace GStreamer
8{
9
21
23bool initialize();
24bool completeInit();
25void setDebugLevel(int level);
26void *createVideoSink(QQuickItem *widget, QObject *parent = nullptr);
27void releaseVideoSink(void *sink);
28VideoReceiver *createVideoReceiver(QObject *parent = nullptr);
29
31bool setupAppSinkAdapter(void *sinkBin, QVideoSink *videoSink, QObject *adapterParent);
32
37void setAppSinkAdaptersActive(QObject *adapterParent, bool active);
38
39}
VideoReceiver * createVideoReceiver(QObject *parent)
Definition GStreamer.cc:904
void setDebugLevel(int level)
Definition GStreamer.cc:726
void releaseVideoSink(void *sink)
Definition GStreamer.cc:897
bool completeInit()
Definition GStreamer.cc:789
VideoDecoderOptions
Definition GStreamer.h:10
@ ForceVideoDecoderDefault
Definition GStreamer.h:11
@ ForceVideoDecoderIntel
Definition GStreamer.h:17
@ ForceVideoDecoderVulkan
Definition GStreamer.h:18
@ ForceVideoDecoderSoftware
Definition GStreamer.h:12
@ ForceVideoDecoderNVIDIA
Definition GStreamer.h:13
@ ForceVideoDecoderVAAPI
Definition GStreamer.h:14
@ ForceVideoDecoderVideoToolbox
Definition GStreamer.h:16
@ ForceVideoDecoderHardware
Definition GStreamer.h:19
@ ForceVideoDecoderDirectX3D
Definition GStreamer.h:15
void setAppSinkAdaptersActive(QObject *adapterParent, bool active)
Definition GStreamer.cc:971
bool initialize()
Definition GStreamer.cc:836
void prepareEnvironment()
Definition GStreamer.cc:736
bool setupAppSinkAdapter(void *sinkBin, QVideoSink *videoSink, QObject *adapterParent)
Connect the appsink inside sinkBin to videoSink. Returns true on success.
Definition GStreamer.cc:909
void * createVideoSink(QQuickItem *, QObject *)
Definition GStreamer.cc:858