QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstDmaDrmCaps.h
Go to the documentation of this file.
1#pragma once
2
3#include <gst/gst.h>
4#include <gst/video/video-format.h>
5#include <span>
6#include <string>
7
9namespace GstHw {
10
17std::string buildSupportedDmaDrmCaps(std::span<const GstVideoFormat> formats, void* display);
18
22std::string buildVulkanDmaDrmCaps(std::span<const GstVideoFormat> formats);
23
24#ifdef QGC_UNITTEST_BUILD
26bool dmaDrmModifierImportableForTest(guint64 modifier) noexcept;
28guint32 dmaDrmPlaneImportFourccForTest(GstVideoFormat format, guint plane) noexcept;
29#endif
30
31} // namespace GstHw
Defined only in builds with the DMABuf path (QGC_HAS_GST_DMABUF_GPU_PATH) on GStreamer 1....
std::string buildSupportedDmaDrmCaps(std::span< const GstVideoFormat > formats, void *display)
std::string buildVulkanDmaDrmCaps(std::span< const GstVideoFormat > formats)