|
QGroundControl
Ground Control Station for MAVLink Drones
|
Functions | |
| void | setDebugLevel (int level) |
| void | prepareEnvironment () |
| bool | completeInit () |
| bool | initialize () |
| void * | createVideoSink (QQuickItem *, QObject *) |
| void | releaseVideoSink (void *sink) |
| VideoReceiver * | createVideoReceiver (QObject *parent) |
| bool | setupAppSinkAdapter (void *sinkBin, QVideoSink *videoSink, QObject *adapterParent) |
Connect the appsink inside sinkBin to videoSink. Returns true on success. | |
| void | setAppSinkAdaptersActive (QObject *adapterParent, bool active) |
| gboolean | isValidRtspUri (const gchar *uri_str) |
| bool | isHardwareDecoderFactory (GstElementFactory *factory) |
| void | setCodecPriorities (VideoDecoderOptions option) |
| void | resetExternalPluginLoaderFailure () |
| bool | didExternalPluginLoaderFail () |
| void | redirectGLibLogging () |
| void | qtGstLog (GstDebugCategory *category, GstDebugLevel level, const gchar *file, const gchar *function, gint line, GObject *object, GstDebugMessage *message, gpointer data) |
Definition at line 10 of file GStreamer.h.
| bool GStreamer::completeInit | ( | ) |
Definition at line 789 of file GStreamer.cc.
References didExternalPluginLoaderFail().
Referenced by initialize().
| VideoReceiver * GStreamer::createVideoReceiver | ( | QObject * | parent | ) |
Definition at line 904 of file GStreamer.cc.
Referenced by QGCCorePlugin::createVideoReceiver().
| void * GStreamer::createVideoSink | ( | QQuickItem * | , |
| QObject * | |||
| ) |
Definition at line 858 of file GStreamer.cc.
References ForceVideoDecoderSoftware, SettingsManager::instance(), and SettingsManager::videoSettings().
Referenced by QGCCorePlugin::createVideoSink().
| bool GStreamer::didExternalPluginLoaderFail | ( | ) |
Definition at line 72 of file GStreamerLogging.cc.
Referenced by completeInit().
| bool GStreamer::initialize | ( | ) |
Definition at line 836 of file GStreamer.cc.
References completeInit(), redirectGLibLogging(), and resetExternalPluginLoaderFailure().
Referenced by VideoManager::startGStreamerInit().
| bool GStreamer::isHardwareDecoderFactory | ( | GstElementFactory * | factory | ) |
Definition at line 40 of file GStreamerHelpers.cc.
References isHardwareDecoderFactory().
Referenced by isHardwareDecoderFactory().
| gboolean GStreamer::isValidRtspUri | ( | const gchar * | uri_str | ) |
Definition at line 14 of file GStreamerHelpers.cc.
References isValidRtspUri().
Referenced by isValidRtspUri().
| void GStreamer::prepareEnvironment | ( | ) |
Definition at line 736 of file GStreamer.cc.
Referenced by VideoManager::startGStreamerInit().
| void GStreamer::qtGstLog | ( | GstDebugCategory * | category, |
| GstDebugLevel | level, | ||
| const gchar * | file, | ||
| const gchar * | function, | ||
| gint | line, | ||
| GObject * | object, | ||
| GstDebugMessage * | message, | ||
| gpointer | data | ||
| ) |
Definition at line 84 of file GStreamerLogging.cc.
| void GStreamer::redirectGLibLogging | ( | ) |
Definition at line 77 of file GStreamerLogging.cc.
Referenced by initialize().
| void GStreamer::releaseVideoSink | ( | void * | sink | ) |
Definition at line 897 of file GStreamer.cc.
Referenced by QGCCorePlugin::releaseVideoSink().
| void GStreamer::resetExternalPluginLoaderFailure | ( | ) |
Definition at line 67 of file GStreamerLogging.cc.
Referenced by initialize().
| void GStreamer::setAppSinkAdaptersActive | ( | QObject * | adapterParent, |
| bool | active | ||
| ) |
Toggle every appsink adapter parented under adapterParent. Used to drop frames at the appsink while the host window is hidden/minimized — saves CPU vs. running the full decode→render path against a non-visible sink. Safe to call repeatedly; no-op when no adapters exist.
Definition at line 971 of file GStreamer.cc.
References GstAppSinkAdapter::setActive().
| void GStreamer::setCodecPriorities | ( | VideoDecoderOptions | option | ) |
Definition at line 203 of file GStreamerHelpers.cc.
References ForceVideoDecoderDefault, ForceVideoDecoderDirectX3D, ForceVideoDecoderHardware, ForceVideoDecoderIntel, ForceVideoDecoderNVIDIA, ForceVideoDecoderSoftware, ForceVideoDecoderVAAPI, ForceVideoDecoderVideoToolbox, ForceVideoDecoderVulkan, and setCodecPriorities().
Referenced by setCodecPriorities().
| void GStreamer::setDebugLevel | ( | int | level | ) |
Definition at line 726 of file GStreamer.cc.
Referenced by VideoManager::init().
| bool GStreamer::setupAppSinkAdapter | ( | void * | sinkBin, |
| QVideoSink * | videoSink, | ||
| QObject * | adapterParent | ||
| ) |
Connect the appsink inside sinkBin to videoSink. Returns true on success.
Definition at line 909 of file GStreamer.cc.
References SettingsManager::instance(), GstVideoReceiver::latencyChanged(), GstAppSinkAdapter::requestLatencyRefresh(), and GstAppSinkAdapter::setActive().