3#include <QtCore/qglobal.h>
5#if defined(QGC_HAS_ANY_GPU_PATH)
8#include <QtMultimedia/QVideoFrameFormat>
16namespace GstHwImportPreflight {
20bool canImportTexture(QRhi* rhi, QRhiTexture::Format fmt,
const QSize& size, QRhiTexture::Flags flags = {})
noexcept;
24bool canImportPlanes(QRhi* rhi, QVideoFrameFormat::PixelFormat pixelFormat,
const QSize& size,
25 QRhiTexture::Flags flags = {})
noexcept;
30bool preflightOrRecord(QRhi* rhi,
HwVideoBufferPath path, QVideoFrameFormat::PixelFormat pixelFormat,
31 const QSize& size, QRhiTexture::Flags flags = {})
noexcept;
HwVideoBufferPath
Identifies which GPU path was chosen; used by the adapter to increment the right counter.