QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstQgc::SinkCapsPolicy Struct Reference

Everything qgcqvideosink's caps depend on. More...

#include <GstQgcCaps.h>

Collaboration diagram for GstQgc::SinkCapsPolicy:

Public Attributes

bool gpuZeroCopy = false
GpuBinMode gpuBin {}
 qgcvideosinkbin's GPU variant in front of the sink; value-initialized, Passthrough (a standalone sink).
RenderTarget target
void * dmaBufDisplay = nullptr
bool d3d11OpensD3D12 = false
 Qt's Direct3D 11 device opens a Direct3D 12 device's resources (HwBuffers::d3d11OpensD3D12()).
bool squarePixels = true
 Ask for square pixels, in every kind of memory. The bin's converter scales system memory to them.

Friends

bool operator== (const SinkCapsPolicy &, const SinkCapsPolicy &)=default

Detailed Description

Everything qgcqvideosink's caps depend on.

Definition at line 14 of file GstQgcCaps.h.

◆ operator==

bool operator== ( const SinkCapsPolicy & ,
const SinkCapsPolicy &  )
friend

Member Data Documentation

◆ d3d11OpensD3D12

bool GstQgc::SinkCapsPolicy::d3d11OpensD3D12 = false

Qt's Direct3D 11 device opens a Direct3D 12 device's resources (HwBuffers::d3d11OpensD3D12()).

Definition at line 24 of file GstQgcCaps.h.

◆ dmaBufDisplay

void* GstQgc::SinkCapsPolicy::dmaBufDisplay = nullptr

What the DMABuf path imports with now (HwBuffers::dmaBufImportDisplay()): Qt's EGLDisplay, or its Vulkan device. Null while it can't import.

Definition at line 22 of file GstQgcCaps.h.

Referenced by gst_qgc_q_video_sink_show_frame().

◆ gpuBin

GpuBinMode GstQgc::SinkCapsPolicy::gpuBin {}

qgcvideosinkbin's GPU variant in front of the sink; value-initialized, Passthrough (a standalone sink).

Definition at line 18 of file GstQgcCaps.h.

◆ gpuZeroCopy

bool GstQgc::SinkCapsPolicy::gpuZeroCopy = false

Definition at line 16 of file GstQgcCaps.h.

◆ squarePixels

bool GstQgc::SinkCapsPolicy::squarePixels = true

Ask for square pixels, in every kind of memory. The bin's converter scales system memory to them.

Definition at line 26 of file GstQgcCaps.h.

Referenced by GstQgc::buildSinkCaps().

◆ target

RenderTarget GstQgc::SinkCapsPolicy::target

Definition at line 19 of file GstQgcCaps.h.


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