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).
unsigned offers = 0
 kOffer* flags; meaningful for advertised entries only.

Detailed Description

Single source of truth linking a GStreamer video format to its Qt pixel format and (optionally) its negotiation caps token. Every advertised caps format list (GstQgcCaps) and toQtPixelFormat() (GstQgcFrameMap) 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 22 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 26 of file GstQgcVideoFormats.h.

◆ gst

GstVideoFormat GstQgc::VideoFormatEntry::gst

Definition at line 24 of file GstQgcVideoFormats.h.

◆ offers

unsigned GstQgc::VideoFormatEntry::offers = 0

kOffer* flags; meaningful for advertised entries only.

Definition at line 27 of file GstQgcVideoFormats.h.

◆ qt

QVideoFrameFormat::PixelFormat GstQgc::VideoFormatEntry::qt

Definition at line 25 of file GstQgcVideoFormats.h.


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