QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
SharedVideoFrame Namespace Reference

Frames sharing another frame's picture. More...

Functions

QVideoFrame withOwnMetadata (const QVideoFrame &frame)

Detailed Description

Frames sharing another frame's picture.

Function Documentation

◆ withOwnMetadata()

QVideoFrame SharedVideoFrame::withOwnMetadata ( const QVideoFrame & frame)

A frame showing frame's picture, in memory or in GPU textures, with a copy of its metadata (times, rotation, mirroring, subtitle). It shares frame's buffer but not its metadata, which copies of a QVideoFrame share: changing it leaves frame and its copies alone. Invalid for an invalid frame.

Definition at line 83 of file SharedVideoFrame.cc.