3#include <QtCore/qglobal.h>
4#include <QtMultimedia/QVideoFrameFormat>
7#include <gst/video/video-info.h>
13#if defined(QGC_HAS_GST_DMABUF_GPU_PATH) || defined(QGC_HAS_GST_AHARDWAREBUFFER_GPU_PATH)
35 const GstVideoInfo &info,
36 QVideoFrameFormat format,
38#
if defined(QGC_HAS_GST_DMABUF_GPU_PATH)
39 EGLDisplay eglDisplay,
43#
if defined(QGC_HAS_GST_AHARDWAREBUFFER_GPU_PATH)
44 EGLDisplay ahbEglDisplay,
HwVideoBufferPath
Identifies which GPU path was chosen; used by the adapter to increment the right counter.
std::unique_ptr< QHwVideoBuffer > makeHwVideoBuffer(GstSample *sample, const GstVideoInfo &info, QVideoFrameFormat format, bool gpuEnabled, void *eglDisplay, void *ahbEglDisplay, HwVideoBufferPath &matchedPath)