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
QFFmpeg::CodecContext Class Reference

#include <qffmpegcodeccontext_p.h>

Collaboration diagram for QFFmpeg::CodecContext:

Public Member Functions

AVRational pixelAspectRatio (AVFrame *frame) const
AVCodecContext * context () const
AVStream * stream () const
uint streamIndex () const
HWAccelhwAccel () const
TrackDuration toTrackDuration (AVStreamDuration duration) const
TrackPosition toTrackPosition (AVStreamPosition streamPosition) const

Static Public Member Functions

static q23::expected< CodecContext, QStringcreate (AVStream *stream, AVFormatContext *formatContext, const QPlaybackOptions &options)

Detailed Description

Definition at line 31 of file qffmpegcodeccontext_p.h.

Member Function Documentation

◆ context()

AVCodecContext * QFFmpeg::CodecContext::context ( ) const
inline

Definition at line 50 of file qffmpegcodeccontext_p.h.

◆ create()

q23::expected< CodecContext, QString > QFFmpeg::CodecContext::create ( AVStream * stream,
AVFormatContext * formatContext,
const QPlaybackOptions & options )
static

Definition at line 30 of file qffmpegcodeccontext.cpp.

◆ hwAccel()

HWAccel * QFFmpeg::CodecContext::hwAccel ( ) const
inline

Definition at line 53 of file qffmpegcodeccontext_p.h.

◆ pixelAspectRatio()

AVRational QFFmpeg::CodecContext::pixelAspectRatio ( AVFrame * frame) const

Definition at line 52 of file qffmpegcodeccontext.cpp.

◆ stream()

AVStream * QFFmpeg::CodecContext::stream ( ) const
inline

Definition at line 51 of file qffmpegcodeccontext_p.h.

◆ streamIndex()

uint QFFmpeg::CodecContext::streamIndex ( ) const
inline

Definition at line 52 of file qffmpegcodeccontext_p.h.

◆ toTrackDuration()

TrackDuration QFFmpeg::CodecContext::toTrackDuration ( AVStreamDuration duration) const
inline

Definition at line 54 of file qffmpegcodeccontext_p.h.

◆ toTrackPosition()

TrackPosition QFFmpeg::CodecContext::toTrackPosition ( AVStreamPosition streamPosition) const
inline

Definition at line 59 of file qffmpegcodeccontext_p.h.


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