Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QVideoFramePrivate Class Reference

#include <qvideoframe_p.h>

Inheritance diagram for QVideoFramePrivate:
Collaboration diagram for QVideoFramePrivate:

Public Member Functions

 QVideoFramePrivate ()=default
 ~QVideoFramePrivate ()
template<typename Buffer = QAbstractVideoBuffer>
 QVideoFramePrivate (QVideoFrameFormat format, std::unique_ptr< Buffer > buffer=nullptr)
QVideoFrame adoptThisByVideoFrame ()
Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
QSharedDataoperator= (const QSharedData &)=delete
 ~QSharedData ()=default

Static Public Member Functions

template<typename Buffer>
static QVideoFrame createFrame (std::unique_ptr< Buffer > buffer, QVideoFrameFormat format)
static QVideoFramePrivatehandle (QVideoFrame &frame)
static QHwVideoBufferhwBuffer (const QVideoFrame &frame)
static bool hasDmaBuf (const QVideoFrame &frame)
static QAbstractVideoBufferbuffer (const QVideoFrame &frame)

Public Attributes

qint64 startTime = -1
qint64 endTime = -1
QAbstractVideoBuffer::MapData mapData
QVideoFrame::MapMode mapMode = QVideoFrame::NotMapped
QVideoFrameFormat format
std::unique_ptr< QAbstractVideoBuffervideoBuffer
QHwVideoBufferhwVideoBuffer = nullptr
int mappedCount = 0
QMutex mapMutex
QString subtitleText
QImage image
QMutex imageMutex
VideoTransformation presentationTransformation
Public Attributes inherited from QSharedData
QAtomicInt ref

Detailed Description

Definition at line 26 of file qvideoframe_p.h.

Constructor & Destructor Documentation

◆ QVideoFramePrivate() [1/2]

QVideoFramePrivate::QVideoFramePrivate ( )
default

◆ ~QVideoFramePrivate()

QVideoFramePrivate::~QVideoFramePrivate ( )
inline

Definition at line 31 of file qvideoframe_p.h.

◆ QVideoFramePrivate() [2/2]

template<typename Buffer = QAbstractVideoBuffer>
QVideoFramePrivate::QVideoFramePrivate ( QVideoFrameFormat format,
std::unique_ptr< Buffer > buffer = nullptr )
inline

Definition at line 46 of file qvideoframe_p.h.

References QVideoFramePrivate().

Referenced by QVideoFramePrivate().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ adoptThisByVideoFrame()

QVideoFrame QVideoFramePrivate::adoptThisByVideoFrame ( )
inline

Definition at line 74 of file qvideoframe_p.h.

◆ buffer()

QAbstractVideoBuffer * QVideoFramePrivate::buffer ( const QVideoFrame & frame)
inlinestatic

Definition at line 69 of file qvideoframe_p.h.

◆ createFrame()

template<typename Buffer>
QVideoFrame QVideoFramePrivate::createFrame ( std::unique_ptr< Buffer > buffer,
QVideoFrameFormat format )
inlinestatic

Definition at line 38 of file qvideoframe_p.h.

◆ handle()

QVideoFramePrivate * QVideoFramePrivate::handle ( QVideoFrame & frame)
inlinestatic

Definition at line 56 of file qvideoframe_p.h.

Referenced by videoFramePlaneAsImage().

Here is the caller graph for this function:

◆ hasDmaBuf()

bool QVideoFramePrivate::hasDmaBuf ( const QVideoFrame & frame)
inlinestatic

Definition at line 63 of file qvideoframe_p.h.

Referenced by QVideoTextureHelper::updateUniformData().

Here is the caller graph for this function:

◆ hwBuffer()

QHwVideoBuffer * QVideoFramePrivate::hwBuffer ( const QVideoFrame & frame)
inlinestatic

Definition at line 58 of file qvideoframe_p.h.

Member Data Documentation

◆ endTime

qint64 QVideoFramePrivate::endTime = -1

Definition at line 82 of file qvideoframe_p.h.

◆ format

QVideoFrameFormat QVideoFramePrivate::format

Definition at line 85 of file qvideoframe_p.h.

◆ hwVideoBuffer

QHwVideoBuffer* QVideoFramePrivate::hwVideoBuffer = nullptr

Definition at line 87 of file qvideoframe_p.h.

◆ image

QImage QVideoFramePrivate::image

Definition at line 91 of file qvideoframe_p.h.

◆ imageMutex

QMutex QVideoFramePrivate::imageMutex

Definition at line 92 of file qvideoframe_p.h.

◆ mapData

QAbstractVideoBuffer::MapData QVideoFramePrivate::mapData

Definition at line 83 of file qvideoframe_p.h.

◆ mapMode

QVideoFrame::MapMode QVideoFramePrivate::mapMode = QVideoFrame::NotMapped

Definition at line 84 of file qvideoframe_p.h.

◆ mapMutex

QMutex QVideoFramePrivate::mapMutex

Definition at line 89 of file qvideoframe_p.h.

◆ mappedCount

int QVideoFramePrivate::mappedCount = 0

Definition at line 88 of file qvideoframe_p.h.

◆ presentationTransformation

VideoTransformation QVideoFramePrivate::presentationTransformation

Definition at line 93 of file qvideoframe_p.h.

◆ startTime

qint64 QVideoFramePrivate::startTime = -1

Definition at line 81 of file qvideoframe_p.h.

◆ subtitleText

QString QVideoFramePrivate::subtitleText

Definition at line 90 of file qvideoframe_p.h.

◆ videoBuffer

std::unique_ptr<QAbstractVideoBuffer> QVideoFramePrivate::videoBuffer

Definition at line 86 of file qvideoframe_p.h.


The documentation for this class was generated from the following file: