#include <GstQgcFrameMap.h>
Public Attributes | |
| QVideoFrame | frame |
| HwVideoBufferPath | gpuPath = HwVideoBufferPath::None |
| None for a CPU frame, and for one that failed to map. | |
| bool | demoted = false |
| A GPU path was requested for this stream but this frame fell back to CPU. | |
| bool | noCpuLayout = false |
| Dropped instead of read as linear rows, which would show it scrambled. | |
Sample-to-frame result (GPU wins when it can, CPU fallback). mapSampleToFrame() does NOT take the caller's refs on buffer/ GPU frame holds its own GstSample, a zero-copy CPU frame its own buffer ref. A frame no GPU path takes whose layout the CPU can't read (a tiled DMA_DRM modifier) comes back invalid, with noCpuLayout set. caps: a
Definition at line 63 of file GstQgcFrameMap.h.
| bool MappedFrame::demoted = false |
A GPU path was requested for this stream but this frame fell back to CPU.
Definition at line 67 of file GstQgcFrameMap.h.
Referenced by mapSampleToFrame(), and GstQgc::PathSession::onDelivered().
| QVideoFrame MappedFrame::frame |
Definition at line 65 of file GstQgcFrameMap.h.
Referenced by gst_qgc_q_video_sink_show_frame(), and mapSampleToFrame().
| HwVideoBufferPath MappedFrame::gpuPath = HwVideoBufferPath::None |
None for a CPU frame, and for one that failed to map.
Definition at line 66 of file GstQgcFrameMap.h.
Referenced by gst_qgc_q_video_sink_show_frame(), and mapSampleToFrame().
| bool MappedFrame::noCpuLayout = false |
Dropped instead of read as linear rows, which would show it scrambled.
Definition at line 68 of file GstQgcFrameMap.h.
Referenced by mapSampleToFrame(), and GstQgc::PathSession::onMapFailed().