3#include <QtCore/qglobal.h>
5#if defined(QGC_HAS_GST_AHARDWAREBUFFER_GPU_PATH)
7#include <QtGui/QMatrix4x4>
21 GstAHardwareBufferVideoBuffer(GstSample* sample,
const GstVideoInfo& videoInfo,
const QVideoFrameFormat& format,
22 EGLDisplay eglDisplay);
24 QVideoFrameTexturesUPtr mapTextures(QRhi& rhi, QVideoFrameTexturesUPtr& oldTextures)
override;
28 QMatrix4x4 externalTextureMatrix()
const override;
30 static void resetImageCache();
33 EGLDisplay _eglDisplay = EGL_NO_DISPLAY;
Common base for GStreamer-backed QHwVideoBuffer subclasses.
virtual bool validatePlaneHandles() const
Streaming-thread sanity check on per-plane handles; failure routes to CPU memcpy.