|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <GstHwVideoBuffer.h>
Inheritance diagram for GstHwVideoBuffer:
Collaboration diagram for GstHwVideoBuffer:Public Member Functions | |
| GstHwVideoBuffer (QVideoFrame::HandleType handleType, GstSample *sample, const GstVideoInfo &videoInfo, QVideoFrameFormat format) | |
| ~GstHwVideoBuffer () override | |
| QVideoFrameFormat | format () const override |
| virtual bool | validatePlaneHandles () const |
Protected Attributes | |
| GstSample * | _sample = nullptr |
| GstVideoInfo | _videoInfo {} |
| QVideoFrameFormat | _format |
Common base for GStreamer-backed QHwVideoBuffer subclasses.
Owns a ref on GstSample for its lifetime; holds a GstVideoInfo and QVideoFrameFormat so subclasses don't duplicate those three members.
Definition at line 15 of file GstHwVideoBuffer.h.
| GstHwVideoBuffer::GstHwVideoBuffer | ( | QVideoFrame::HandleType | handleType, |
| GstSample * | sample, | ||
| const GstVideoInfo & | videoInfo, | ||
| QVideoFrameFormat | format | ||
| ) |
Definition at line 3 of file GstHwVideoBuffer.cc.
|
override |
Definition at line 15 of file GstHwVideoBuffer.cc.
References _sample.
|
inlineoverride |
Definition at line 24 of file GstHwVideoBuffer.h.
References _format.
|
inlinevirtual |
Streaming-thread sanity check on per-plane handles. Failure routes to CPU memcpy. GPU texture validity is checked later in mapTextures.
Definition at line 28 of file GstHwVideoBuffer.h.
|
protected |
Definition at line 33 of file GstHwVideoBuffer.h.
Referenced by format().
|
protected |
Definition at line 31 of file GstHwVideoBuffer.h.
Referenced by ~GstHwVideoBuffer().
|
protected |
Definition at line 32 of file GstHwVideoBuffer.h.