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

#include <GstHwTypes.h>

Public Attributes

bool gpuEnabled = false
void * dmaBufImporter = nullptr
void * ahbEglDisplay = nullptr
 EGLDisplay for the AHardwareBuffer path.

Detailed Description

Inputs the factory needs to build a GPU buffer. The layout is the same in every build: native handles are stored as void* (EGLDisplay is a void* typedef, EGL_NO_DISPLAY is null), so no EGL or Vulkan header or QGC_HAS_* define is needed here.

Definition at line 22 of file GstHwTypes.h.

Member Data Documentation

◆ ahbEglDisplay

void* HwVideoBufferContext::ahbEglDisplay = nullptr

EGLDisplay for the AHardwareBuffer path.

Definition at line 28 of file GstHwTypes.h.

◆ dmaBufImporter

void* HwVideoBufferContext::dmaBufImporter = nullptr

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

Definition at line 27 of file GstHwTypes.h.

Referenced by gst_qgc_q_video_sink_show_frame().

◆ gpuEnabled

bool HwVideoBufferContext::gpuEnabled = false

Definition at line 24 of file GstHwTypes.h.

Referenced by gst_qgc_q_video_sink_show_frame(), and HwBuffers::makeAdapterContext().


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