qgcqvideosink's frame accounting: what its frames-input, frames-dropped and frames-delivered properties report, and the "frame-stats" structure GstQgcSinkStats.h reads. Thread-safe. More...
#include <GstQgcSinkCounters.h>
Public Member Functions | |
| void | noteInput () |
| void | noteDropped () |
| quint64 | noteDelivered (HwVideoBufferPath path, bool superseded) |
| void | noteGpuFallback (bool firstOfEpoch) |
A GPU path was tried for a frame the CPU delivered; firstOfEpoch: the caps epoch's first, a stream demotion. | |
| void | noteTiledDrop () |
| A frame in a tiled DMA_DRM layout no GPU path imported and the CPU can't read. | |
| quint64 | input () const |
| quint64 | dropped () const |
| quint64 | delivered () const |
| quint64 | pathFrames (HwVideoBufferPath path) const |
| GstStructure * | frameStats () const |
| The "frame-stats" property value (transfer-full). | |
qgcqvideosink's frame accounting: what its frames-input, frames-dropped and frames-delivered properties report, and the "frame-stats" structure GstQgcSinkStats.h reads. Thread-safe.
Definition at line 15 of file GstQgcSinkCounters.h.
|
inline |
Definition at line 35 of file GstQgcSinkCounters.h.
|
inline |
Definition at line 33 of file GstQgcSinkCounters.h.
Referenced by gst_qgc_q_video_sink_show_frame().
| GstStructure * GstQgc::SinkCounters::frameStats | ( | ) | const |
The "frame-stats" property value (transfer-full).
Definition at line 29 of file GstQgcSinkCounters.cc.
References GstQgc::kGpuFallbacksField, GstHw::kPathCount, GstQgc::kStreamDemotionsField, GstQgc::kSupersededFramesField, GstQgc::kTiledDropsField, and GstQgc::sinkFramesField().
|
inline |
Definition at line 31 of file GstQgcSinkCounters.h.
Referenced by gst_qgc_q_video_sink_show_frame().
| quint64 GstQgc::SinkCounters::noteDelivered | ( | HwVideoBufferPath | path, |
| bool | superseded ) |
A frame reached the QVideoSink through path (None for the CPU), replacing one it hadn't taken yet when superseded. Returns the frames delivered so far.
Definition at line 9 of file GstQgcSinkCounters.cc.
Referenced by gst_qgc_q_video_sink_show_frame().
|
inline |
Definition at line 20 of file GstQgcSinkCounters.h.
Referenced by gst_qgc_q_video_sink_show_frame().
| void GstQgc::SinkCounters::noteGpuFallback | ( | bool | firstOfEpoch | ) |
A GPU path was tried for a frame the CPU delivered; firstOfEpoch: the caps epoch's first, a stream demotion.
Definition at line 21 of file GstQgcSinkCounters.cc.
Referenced by GstQgc::PathSession::onDelivered().
|
inline |
Definition at line 18 of file GstQgcSinkCounters.h.
Referenced by gst_qgc_q_video_sink_show_frame().
|
inline |
A frame in a tiled DMA_DRM layout no GPU path imported and the CPU can't read.
Definition at line 29 of file GstQgcSinkCounters.h.
Referenced by GstQgc::PathSession::onMapFailed().
|
inline |
Definition at line 37 of file GstQgcSinkCounters.h.
Referenced by gst_qgc_q_video_sink_show_frame().