QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstQgcSinkStats.h File Reference
#include <gst/gst.h>
#include <QtCore/QString>
#include "GstScoped.h"
#include "HwBuffers/common/GstHwTypes.h"
Include dependency graph for GstQgcSinkStats.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GstQgc::PathStats
 Formatted per-path frame counts + the total delivered through GPU paths. More...

Namespaces

namespace  GstQgc
 GstVideoSink that pushes decoded frames into a Qt QVideoSink; sole sink in qgcvideosinkbin. Streaming-thread vfuncs MUST NOT touch QObject members directly (thread-affinity asserts) — hand off via QMetaObject::invokeMethod / bus messages.

Functions

const char * GstQgc::sinkFramesField (HwVideoBufferPath path)
GStreamer::GstStructurePtr GstQgc::frameStats (GstElement *sinkOrBin)
 The "frame-stats" of sinkOrBin, a qgcqvideosink or the qgcvideosinkbin around one; null for other elements.
quint64 GstQgc::frameStatsField (const GstStructure *stats, const char *field) noexcept
 The guint64 field of stats, a "frame-stats" or any other structure; 0 without the structure or the field.
quint64 GstQgc::frameStatsGrowth (const GstStructure *stats, const GstStructure *since, const char *field) noexcept
 How far the guint64 field grew from since to stats, two "frame-stats" values of the same sink.
PathStats GstQgc::formatSinkStats (const GstStructure *stats, const GstStructure *since)

Variables

constexpr const char * GstQgc::kSupersededFramesField = "superseded-frames"
constexpr const char * GstQgc::kGpuFallbacksField = "gpu-fallbacks"
 guint64 "frame-stats" field holding the frames a GPU path was tried for but the CPU delivered.
constexpr const char * GstQgc::kStreamDemotionsField = "stream-demotions"
 guint64 "frame-stats" field holding the caps epochs that started on a GPU path and fell back to the CPU.
constexpr const char * GstQgc::kTiledDropsField = "tiled-drops"