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

(93706d4dec0e81c4c78a7d67ec08ded0034b1de6)

#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, 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, AVCodecID id)
QDebug operator<< (QDebug dbg, const AVOutputFormat *fmt)
QDebug operator<< (QDebug dbg, const AVInputFormat *fmt)

Function Documentation

◆ operator<<() [1/9]

QDebug operator<< ( QDebug dbg,
AVCodecID id )

Definition at line 409 of file qffmpeg.cpp.

◆ operator<<() [2/9]

QDebug operator<< ( QDebug dbg,
AVHWDeviceType type )

Definition at line 399 of file qffmpeg.cpp.

◆ operator<<() [3/9]

QDebug operator<< ( QDebug dbg,
AVPixelFormat fmt )

Definition at line 389 of file qffmpeg.cpp.

◆ operator<<() [4/9]

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

Definition at line 353 of file qffmpeg.cpp.

◆ operator<<() [5/9]

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

Definition at line 434 of file qffmpeg.cpp.

◆ operator<<() [6/9]

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

Definition at line 419 of file qffmpeg.cpp.

◆ operator<<() [7/9]

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

Definition at line 347 of file qffmpeg.cpp.

◆ operator<<() [8/9]

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

Definition at line 368 of file qffmpeg.cpp.

◆ operator<<() [9/9]

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

Definition at line 377 of file qffmpeg.cpp.

References QFFmpeg::Success.

◆ Q_STATIC_LOGGING_CATEGORY()

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