4#ifndef QCVIMAGEVIDEOBUFFER_P_H
5#define QCVIMAGEVIDEOBUFFER_P_H
18#include <QtCore/qtconfigmacros.h>
20#include <QtMultimedia/private/qavfhelpers_p.h>
21#include <QtMultimedia/qabstractvideobuffer.h>
23#include <CoreVideo/CoreVideo.h>
43 QAVFHelpers::QSharedCVPixelBuffer m_buffer;
QVideoFrameFormat format() const override
Gets \l QVideoFrameFormat of the underlying video buffer.
CVImageVideoBuffer::MapData map(QVideoFrame::MapMode mode) override
Maps the planes of a video buffer to memory.
CVImageVideoBuffer(QAVFHelpers::QSharedCVPixelBuffer &&)
void unmap() override
Releases the memory mapped by the map() function.
std::conditional_t< QT_FFMPEG_AVIO_WRITE_CONST, const uint8_t *, uint8_t * > AvioWriteBufferType