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.cpp File Reference

(6d2b3498b1c16962e861501a21cb56248b35d705)

#include "qffmpeg_p.h"
#include <QtCore/qdebug.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qscopeguard.h>
#include <libavutil/pixdesc.h>
#include <libavutil/samplefmt.h>
#include <libavutil/error.h>
Include dependency graph for qffmpeg.cpp:

Go to the source code of this file.

Namespaces

namespace  QFFmpeg

Functions

QT_BEGIN_NAMESPACE Q_STATIC_LOGGING_CATEGORY (qLcFFmpegUtils, "qt.multimedia.ffmpeg.utils")
bool QFFmpeg::isAVFormatSupported (const Codec &codec, const PixelOrSampleFormat &format)
bool QFFmpeg::isHwPixelFormat (AVPixelFormat format)
void QFFmpeg::applyExperimentalCodecOptions (const Codec &codec, AVDictionary **opts)
AVPixelFormat QFFmpeg::pixelFormatForHwDevice (AVHWDeviceType deviceType)
AVPacketSideData * QFFmpeg::addStreamSideData (AVStream *stream, AVPacketSideData sideData)
const AVPacketSideData * QFFmpeg::streamSideData (const AVStream *stream, AVPacketSideDataType type)
SwrContextUPtr QFFmpeg::createResampleContext (const AVAudioFormat &inputFormat, const AVAudioFormat &outputFormat)
QVideoFrameFormat::ColorTransfer QFFmpeg::fromAvColorTransfer (AVColorTransferCharacteristic colorTrc)
AVColorTransferCharacteristic QFFmpeg::toAvColorTransfer (QVideoFrameFormat::ColorTransfer colorTrc)
QVideoFrameFormat::ColorSpace QFFmpeg::fromAvColorSpace (AVColorSpace colorSpace)
AVColorSpace QFFmpeg::toAvColorSpace (QVideoFrameFormat::ColorSpace colorSpace)
QVideoFrameFormat::ColorRange QFFmpeg::fromAvColorRange (AVColorRange colorRange)
AVColorRange QFFmpeg::toAvColorRange (QVideoFrameFormat::ColorRange colorRange)
AVHWDeviceContext * QFFmpeg::avFrameDeviceContext (const AVFrame *frame)
SwsContextUPtr QFFmpeg::createSwsContext (const QSize &srcSize, AVPixelFormat srcPixFmt, const QSize &dstSize, AVPixelFormat dstPixFmt, SwsFlags conversionType)
QDebug operator<< (QDebug dbg, const AVRational &value)
QDebug operator<< (QDebug dbg, const AVDictionary &dict)
QDebug operator<< (QDebug dbg, const QFFmpeg::AVDictionaryHolder &dict)
QDebug operator<< (QDebug dbg, QFFmpeg::AVError error)
QDebug operator<< (QDebug dbg, AVPixelFormat fmt)
QDebug operator<< (QDebug dbg, AVHWDeviceType type)
QDebug operator<< (QDebug dbg, AVMediaType type)
QDebug operator<< (QDebug dbg, AVCodecID id)
QDebug operator<< (QDebug dbg, const AVOutputFormat *fmt)
QDebug operator<< (QDebug dbg, const AVInputFormat *fmt)
QDebug operator<< (QDebug dbg, QFFmpeg::AVCodecCapabilities caps)
QDebug operator<< (QDebug dbg, QFFmpeg::AVPixelFormatFlags flags)
QDebug operator<< (QDebug dbg, QFFmpeg::AVHwConfigMethods methods)

Function Documentation

◆ operator<<() [1/13]

QDebug operator<< ( QDebug dbg,
AVCodecID id )

Definition at line 431 of file qffmpeg.cpp.

◆ operator<<() [2/13]

QDebug operator<< ( QDebug dbg,
AVHWDeviceType type )

Definition at line 411 of file qffmpeg.cpp.

◆ operator<<() [3/13]

QDebug operator<< ( QDebug dbg,
AVMediaType type )

Definition at line 421 of file qffmpeg.cpp.

◆ operator<<() [4/13]

QDebug operator<< ( QDebug dbg,
AVPixelFormat fmt )

Definition at line 401 of file qffmpeg.cpp.

◆ operator<<() [5/13]

QDebug operator<< ( QDebug dbg,
const AVDictionary & dict )

Definition at line 365 of file qffmpeg.cpp.

◆ operator<<() [6/13]

QDebug operator<< ( QDebug dbg,
const AVInputFormat * fmt )

Definition at line 456 of file qffmpeg.cpp.

◆ operator<<() [7/13]

QDebug operator<< ( QDebug dbg,
const AVOutputFormat * fmt )

Definition at line 441 of file qffmpeg.cpp.

◆ operator<<() [8/13]

QDebug operator<< ( QDebug dbg,
const AVRational & value )

Definition at line 359 of file qffmpeg.cpp.

◆ operator<<() [9/13]

QDebug operator<< ( QDebug dbg,
const QFFmpeg::AVDictionaryHolder & dict )

Definition at line 380 of file qffmpeg.cpp.

◆ operator<<() [10/13]

QDebug operator<< ( QDebug dbg,
QFFmpeg::AVCodecCapabilities caps )

Definition at line 605 of file qffmpeg.cpp.

◆ operator<<() [11/13]

QDebug operator<< ( QDebug dbg,
QFFmpeg::AVError error )

Definition at line 389 of file qffmpeg.cpp.

References QFFmpeg::Success.

◆ operator<<() [12/13]

QDebug operator<< ( QDebug dbg,
QFFmpeg::AVHwConfigMethods methods )

Definition at line 615 of file qffmpeg.cpp.

◆ operator<<() [13/13]

QDebug operator<< ( QDebug dbg,
QFFmpeg::AVPixelFormatFlags flags )

Definition at line 610 of file qffmpeg.cpp.

◆ Q_STATIC_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_STATIC_LOGGING_CATEGORY ( qLcFFmpegUtils ,
"qt.multimedia.ffmpeg.utils"  )