QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstQgc::VideoFormatEntry Struct Reference

#include <GstQgcVideoFormats.h>

Public Attributes

GstVideoFormat gst
 
QVideoFrameFormat::PixelFormat qt
 
const char * capsToken
 non-null: advertised in negotiation caps; null: accepted-only (defensive map).
 

Detailed Description

Single source of truth linking a GStreamer video format to its Qt pixel format and (optionally) its negotiation caps token. Both the advertised caps string (GstQgcCaps) and toQtPixelFormat() (GStreamerFrameMap) derive from this table, so a format can never be advertised without a Qt mapping, nor mapped-and-renderable without being offered.

Definition at line 13 of file GstQgcVideoFormats.h.

Member Data Documentation

◆ capsToken

const char* GstQgc::VideoFormatEntry::capsToken

non-null: advertised in negotiation caps; null: accepted-only (defensive map).

Definition at line 17 of file GstQgcVideoFormats.h.

Referenced by GstQgc::advertisedFormatList().

◆ gst

GstVideoFormat GstQgc::VideoFormatEntry::gst

Definition at line 15 of file GstQgcVideoFormats.h.

◆ qt

QVideoFrameFormat::PixelFormat GstQgc::VideoFormatEntry::qt

Definition at line 16 of file GstQgcVideoFormats.h.


The documentation for this struct was generated from the following file: