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
QFFmpeg::Frame Struct Reference

#include <qffmpegframe_p.h>

+ Collaboration diagram for QFFmpeg::Frame:

Classes

struct  Data
 

Public Member Functions

 Frame ()=default
 
 Frame (const LoopOffset &offset, AVFrameUPtr f, const Codec &codec, qint64 pts, quint64 sourceIndex)
 
 Frame (const LoopOffset &offset, const QString &text, qint64 pts, qint64 duration, quint64 sourceIndex)
 
bool isValid () const
 
AVFrame * avFrame () const
 
AVFrameUPtr takeAVFrame ()
 
const Codeccodec () const
 
qint64 pts () const
 
qint64 duration () const
 
qint64 end () const
 
QString text () const
 
quint64 sourceId () const
 
const LoopOffsetloopOffset () const
 
qint64 absolutePts () const
 
qint64 absoluteEnd () const
 

Detailed Description

Definition at line 31 of file qffmpegframe_p.h.

Constructor & Destructor Documentation

◆ Frame() [1/3]

QFFmpeg::Frame::Frame ( )
default

◆ Frame() [2/3]

QFFmpeg::Frame::Frame ( const LoopOffset & offset,
AVFrameUPtr f,
const Codec & codec,
qint64 pts,
quint64 sourceIndex )
inline

Definition at line 68 of file qffmpegframe_p.h.

◆ Frame() [3/3]

QFFmpeg::Frame::Frame ( const LoopOffset & offset,
const QString & text,
qint64 pts,
qint64 duration,
quint64 sourceIndex )
inline

Definition at line 73 of file qffmpegframe_p.h.

Member Function Documentation

◆ absoluteEnd()

qint64 QFFmpeg::Frame::absoluteEnd ( ) const
inline

Definition at line 90 of file qffmpegframe_p.h.

References end(), loopOffset(), and QFFmpeg::LoopOffset::pos.

+ Here is the call graph for this function:

◆ absolutePts()

qint64 QFFmpeg::Frame::absolutePts ( ) const
inline

Definition at line 89 of file qffmpegframe_p.h.

References loopOffset(), QFFmpeg::LoopOffset::pos, and pts().

+ Here is the call graph for this function:

◆ avFrame()

AVFrame * QFFmpeg::Frame::avFrame ( ) const
inline

Definition at line 80 of file qffmpegframe_p.h.

◆ codec()

const Codec * QFFmpeg::Frame::codec ( ) const
inline

Definition at line 82 of file qffmpegframe_p.h.

◆ duration()

qint64 QFFmpeg::Frame::duration ( ) const
inline

Definition at line 84 of file qffmpegframe_p.h.

◆ end()

qint64 QFFmpeg::Frame::end ( ) const
inline

Definition at line 85 of file qffmpegframe_p.h.

Referenced by absoluteEnd().

+ Here is the caller graph for this function:

◆ isValid()

bool QFFmpeg::Frame::isValid ( ) const
inline

Definition at line 78 of file qffmpegframe_p.h.

◆ loopOffset()

const LoopOffset & QFFmpeg::Frame::loopOffset ( ) const
inline

Definition at line 88 of file qffmpegframe_p.h.

Referenced by absoluteEnd(), and absolutePts().

+ Here is the caller graph for this function:

◆ pts()

qint64 QFFmpeg::Frame::pts ( ) const
inline

Definition at line 83 of file qffmpegframe_p.h.

Referenced by absolutePts().

+ Here is the caller graph for this function:

◆ sourceId()

quint64 QFFmpeg::Frame::sourceId ( ) const
inline

Definition at line 87 of file qffmpegframe_p.h.

◆ takeAVFrame()

AVFrameUPtr QFFmpeg::Frame::takeAVFrame ( )
inline

Definition at line 81 of file qffmpegframe_p.h.

References frame.

◆ text()

QString QFFmpeg::Frame::text ( ) const
inline

Definition at line 86 of file qffmpegframe_p.h.


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