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::EncodingFormatContext Class Reference

#include <qffmpegencodingformatcontext_p.h>

+ Collaboration diagram for QFFmpeg::EncodingFormatContext:

Public Member Functions

 EncodingFormatContext (QMediaFormat::FileFormat fileFormat)
 
 ~EncodingFormatContext ()
 
void openAVIO (const QString &filePath)
 
void openAVIO (QIODevice *device)
 
bool isAVIOOpen () const
 
void closeAVIO ()
 
AVFormatContext * avFormatContext ()
 
const AVFormatContext * avFormatContext () const
 

Detailed Description

Definition at line 28 of file qffmpegencodingformatcontext_p.h.

Constructor & Destructor Documentation

◆ EncodingFormatContext()

QFFmpeg::EncodingFormatContext::EncodingFormatContext ( QMediaFormat::FileFormat fileFormat)
explicit

Definition at line 22 of file qffmpegencodingformatcontext.cpp.

References fileFormat, and QFFmpegMediaFormatInfo::outputFormatForFileFormat().

+ Here is the call graph for this function:

◆ ~EncodingFormatContext()

QFFmpeg::EncodingFormatContext::~EncodingFormatContext ( )

Definition at line 29 of file qffmpegencodingformatcontext.cpp.

References closeAVIO().

+ Here is the call graph for this function:

Member Function Documentation

◆ avFormatContext() [1/2]

AVFormatContext * QFFmpeg::EncodingFormatContext::avFormatContext ( )
inline

Definition at line 42 of file qffmpegencodingformatcontext_p.h.

◆ avFormatContext() [2/2]

const AVFormatContext * QFFmpeg::EncodingFormatContext::avFormatContext ( ) const
inline

Definition at line 44 of file qffmpegencodingformatcontext_p.h.

◆ closeAVIO()

void QFFmpeg::EncodingFormatContext::closeAVIO ( )

Definition at line 93 of file qffmpegencodingformatcontext.cpp.

References isAVIOOpen(), and Q_ASSERT.

Referenced by ~EncodingFormatContext().

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

◆ isAVIOOpen()

bool QFFmpeg::EncodingFormatContext::isAVIOOpen ( ) const
inline

Definition at line 38 of file qffmpegencodingformatcontext_p.h.

Referenced by closeAVIO(), openAVIO(), and openAVIO().

+ Here is the caller graph for this function:

◆ openAVIO() [1/2]

void QFFmpeg::EncodingFormatContext::openAVIO ( const QString & filePath)

Definition at line 36 of file qffmpegencodingformatcontext.cpp.

References isAVIOOpen(), QString::isEmpty(), Q_ASSERT, qCDebug, QString::toUtf8(), and url.

+ Here is the call graph for this function:

◆ openAVIO() [2/2]

void QFFmpeg::EncodingFormatContext::openAVIO ( QIODevice * device)

Definition at line 80 of file qffmpegencodingformatcontext.cpp.

References device, isAVIOOpen(), Q_ASSERT, QFFmpeg::seekQIODevice(), and QFFmpeg::writeQIODevice().

+ Here is the call graph for this function:

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