QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
MappedFrame Struct Reference

#include <GStreamerFrameMap.h>

Public Types

enum class  Source { Cpu , Gpu }
 

Public Attributes

QVideoFrame frame
 
enum MappedFrame::Source source = Source::Cpu
 

Detailed Description

Sample-to-frame result (GPU wins when it can, CPU fallback). mapSampleToFrame() does NOT ref buffer — GPU wraps it in a transient GstSample (own ref), CPU copies; caller keeps buffer/caps.

Definition at line 34 of file GStreamerFrameMap.h.

Member Enumeration Documentation

◆ Source

enum class MappedFrame::Source
strong
Enumerator
Cpu 
Gpu 

Definition at line 37 of file GStreamerFrameMap.h.

Member Data Documentation

◆ frame

QVideoFrame MappedFrame::frame

Definition at line 36 of file GStreamerFrameMap.h.

Referenced by gst_qgc_q_video_sink_show_frame(), and mapSampleToFrame().

◆ source


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