4#ifndef QGSTVIDEOBUFFER_P_H
5#define QGSTVIDEOBUFFER_P_H
18#include <private/qtmultimediaglobal_p.h>
19#include <private/qabstractvideobuffer_p.h>
20#include <QtCore/qvariant.h>
23#include <gst/video/video.h>
40 void unmap()
override;
47 QRhi *m_rhi =
nullptr;
48 mutable GstVideoInfo m_videoInfo;
49 mutable GstVideoFrame m_frame{};
53 QFunctionPointer eglImageTargetTexture2D =
nullptr;
The QAbstractVideoBuffer class is an abstraction for video data. \inmodule QtMultimedia.
std::unique_ptr< QVideoFrameTextures > mapTextures(QRhi *) override
QVideoFrame::MapMode mapMode() const override
void unmap() override
Releases the memory mapped by the map() function.
QGstVideoBuffer(QGstBufferHandle buffer, const GstVideoInfo &info, QGstreamerVideoSink *sink, const QVideoFrameFormat &frameFormat, QGstCaps::MemoryFormat format)
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
MapMode
Enumerates how a video buffer's data is mapped to system memory.
QMap< QString, QString > map
[6]
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum format
GLsizei GLenum GLboolean sink