Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 (const QVideoFrameFormat &format)
 
 QVideoFramePrivate (QVideoFrameFormat format, std::unique_ptr< QAbstractVideoBuffer > buffer)
 
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

static QVideoFramePrivatehandle (QVideoFrame &frame)
 

Public Attributes

qint64 startTime = -1
 
qint64 endTime = -1
 
QAbstractVideoBuffer::MapData mapData
 
QVideoFrameFormat format
 
std::unique_ptr< QAbstractVideoBufferbuffer
 
int mappedCount = 0
 
QMutex mapMutex
 
QString subtitleText
 
QtVideo::Rotation rotation = QtVideo::Rotation::None
 
bool mirrored = false
 
QImage image
 
QMutex imageMutex
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 25 of file qvideoframe_p.h.

Constructor & Destructor Documentation

◆ QVideoFramePrivate() [1/3]

QVideoFramePrivate::QVideoFramePrivate ( )
default

◆ QVideoFramePrivate() [2/3]

QVideoFramePrivate::QVideoFramePrivate ( const QVideoFrameFormat & format)
inline

Definition at line 29 of file qvideoframe_p.h.

◆ QVideoFramePrivate() [3/3]

QVideoFramePrivate::QVideoFramePrivate ( QVideoFrameFormat format,
std::unique_ptr< QAbstractVideoBuffer > buffer )
inline

Definition at line 30 of file qvideoframe_p.h.

Member Function Documentation

◆ adoptThisByVideoFrame()

QVideoFrame QVideoFramePrivate::adoptThisByVideoFrame ( )
inline

Definition at line 37 of file qvideoframe_p.h.

References frame.

◆ handle()

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

Definition at line 35 of file qvideoframe_p.h.

References frame.

Referenced by videoFramePlaneAsImage().

+ Here is the caller graph for this function:

Member Data Documentation

◆ buffer

◆ endTime

qint64 QVideoFramePrivate::endTime = -1

Definition at line 45 of file qvideoframe_p.h.

Referenced by QVideoFrame::endTime(), and QVideoFrame::setEndTime().

◆ format

◆ image

QImage QVideoFramePrivate::image

Definition at line 54 of file qvideoframe_p.h.

Referenced by QVideoFrame::map(), and QVideoFrame::toImage().

◆ imageMutex

QMutex QVideoFramePrivate::imageMutex

Definition at line 55 of file qvideoframe_p.h.

Referenced by QVideoFrame::map(), and QVideoFrame::toImage().

◆ mapData

◆ mapMutex

QMutex QVideoFramePrivate::mapMutex

Definition at line 50 of file qvideoframe_p.h.

Referenced by QVideoFrame::map(), and QVideoFrame::unmap().

◆ mappedCount

int QVideoFramePrivate::mappedCount = 0

Definition at line 49 of file qvideoframe_p.h.

Referenced by QVideoFrame::map(), and QVideoFrame::unmap().

◆ mirrored

bool QVideoFramePrivate::mirrored = false

Definition at line 53 of file qvideoframe_p.h.

Referenced by QVideoFrame::mirrored(), and QVideoFrame::setMirrored().

◆ rotation

QtVideo::Rotation QVideoFramePrivate::rotation = QtVideo::Rotation::None

Definition at line 52 of file qvideoframe_p.h.

Referenced by QVideoFrame::rotation(), and QVideoFrame::setRotation().

◆ startTime

qint64 QVideoFramePrivate::startTime = -1

Definition at line 44 of file qvideoframe_p.h.

Referenced by QVideoFrame::setStartTime(), and QVideoFrame::startTime().

◆ subtitleText

QString QVideoFramePrivate::subtitleText

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