Common base for per-platform FrameTextures : QVideoFrameTextures from *VideoBuffer::mapTextures().
static FT * reusableBundle(QVideoFrameTexturesUPtr &old, HwVideoBufferPath p)
virtual HwVideoBufferPath sourcePath() const
GPU path that produced this bundle; used after a type-safe downcast to decide path-local reuse.
QRhiTexture * texture(uint plane) const override
void setSourceSample(GstSample *s) noexcept
Transfers a ref into the bundle. Caller must have a fresh ref.
~GstHwFrameTexturesBase() override
std::unique_ptr< QRhiTexture > _textures[GstHw::kMaxPlanes]
void onFrameEndInvoked() override