|
QGroundControl
Ground Control Station for MAVLink Drones
|
Classes | |
| struct | VideoFormatEntry |
Functions | |
| void | populateAllocationQuery (GstQuery *query) |
| GstPadProbeReturn | videosinkQueryProbe (GstPad *pad, GstPadProbeInfo *info, gpointer user_data) |
| std::string | buildCpuCapsString () |
| std::string | buildGpuCapsString () |
| std::string | advertisedFormatList () |
| "{ NV12, NV21, ... }" — the advertised format list for a caps string. Built once at caps setup. | |
Variables | |
| constexpr VideoFormatEntry | kVideoFormatTable [] |
|
inline |
"{ NV12, NV21, ... }" — the advertised format list for a caps string. Built once at caps setup.
Definition at line 47 of file GstQgcVideoFormats.h.
References GstQgc::VideoFormatEntry::capsToken, and kVideoFormatTable.
Referenced by buildCpuCapsString(), and buildGpuCapsString().
| std::string GstQgc::buildCpuCapsString | ( | ) |
System-memory caps for the CPU branch's format capsfilter; shares the Qt-renderable format set with buildGpuCapsString() so the two can't drift.
Definition at line 11 of file GstQgcCaps.cc.
References advertisedFormatList().
Referenced by wireCpuPath().
| std::string GstQgc::buildGpuCapsString | ( | ) |
Builds the upstream caps string for gpu_zerocopy=TRUE, branching on enabled GPU paths and the bin variant. Pure policy: no GObject state, no allocations.
Definition at line 16 of file GstQgcCaps.cc.
References advertisedFormatList(), GstHw::buildLinearDmaDrmCaps(), GstHw::buildSupportedDmaDrmCaps(), and HwBuffers::hwBufferEnvConfig().
Referenced by wireGpuPath().
| void GstQgc::populateAllocationQuery | ( | GstQuery * | query | ) |
Populate an ALLOCATION query with qgcqvideosink's consumed metas and, when needed, a min-buffer pool hint. Called from the sink's propose_allocation vmethod.
Definition at line 164 of file GstQgcAllocation.cc.
References GstHw::dmaDrmAwareVideoInfo().
Referenced by gst_qgc_q_video_sink_propose_allocation(), and videosinkQueryProbe().
| GstPadProbeReturn GstQgc::videosinkQueryProbe | ( | GstPad * | pad, |
| GstPadProbeInfo * | info, | ||
| gpointer | user_data | ||
| ) |
Downstream query probe for qgcqvideosink's sink pad. Answers CONTEXT queries synchronously, so negotiation terminates at the sink instead of racing NEED_CONTEXT bus fallback.
Definition at line 200 of file GstQgcAllocation.cc.
References HwBuffers::answerSinkBinContextQuery(), and populateAllocationQuery().
Referenced by gst_qgc_video_sink_bin_setup().
|
inlineconstexpr |
Definition at line 20 of file GstQgcVideoFormats.h.
Referenced by advertisedFormatList(), and toQtPixelFormat().