|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <QtCore/QString>#include <QtCore/qglobal.h>#include <gst/gst.h>#include "GstHwPathTelemetry.h"#include "GstHwVideoBufferFactory.h"
Include dependency graph for HwBuffers.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | HwBuffers::HwBufferEnvConfig |
| struct | HwBuffers::PathStats |
| Formatted per-path counters + delivered total; reset=true reads-and-clears (teardown), false peeks. More... | |
Namespaces | |
| namespace | HwBuffers |
Functions | |
| void | HwBuffers::initializeOnce () noexcept |
| One-time process init; single call site for future lazy bridge registration. | |
| const HwBufferEnvConfig & | HwBuffers::hwBufferEnvConfig () noexcept |
| Lazily parses + logs the toggle config on first call; thread-safe via static-init guarantees. | |
| GstBusSyncReply | HwBuffers::onBusSyncMessage (GstBus *bus, GstMessage *msg, gpointer userData) noexcept |
| Bus sync handler (GstBusSyncHandler) installed on every pipeline; no-op when no GPU path compiled. | |
| void | HwBuffers::dispatchBusMessage (GstMessage *msg) noexcept |
| Receiver-side bus hook; drops cached GPU devices on GST_MESSAGE_ERROR. No-op when no GPU paths compiled. | |
| void | HwBuffers::onPipelineRestart () noexcept |
| Pipeline-restart hook; re-arms one-shot priming latches so a restart can prime on the next NEED_CONTEXT. | |
| void | HwBuffers::resetCachedGpuResources () noexcept |
| Drop process-wide native GPU handles tied to the current Qt scene-graph device/context. | |
| void | HwBuffers::connectMainWindow (QQuickWindow *window) noexcept |
| Wire the main QQuickWindow into the RHI-capture path so snapshots follow its QRhi; no-op without GPU. | |
| bool | HwBuffers::answerSinkBinContextQuery (GstQuery *query) noexcept |
| Synchronously answer GST_QUERY_CONTEXT (gst.gl.GLDisplay/app_context); false -> let bus NEED_CONTEXT run. | |
| PathStats | HwBuffers::formatPathStats (bool reset) noexcept |
| QString | HwBuffers::takeExtraPathStats () noexcept |
| Path-specific extras after formatPathStats (GL reuse/sync waits); reads-and-clears, teardown only. | |