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

(64b605f1464d80ff4f9eb29c9b6880e58807a099)

#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)

Function Documentation

◆ operator<<() [1/4]

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

Definition at line 352 of file qffmpeg.cpp.

◆ operator<<() [2/4]

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

Definition at line 346 of file qffmpeg.cpp.

◆ operator<<() [3/4]

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

Definition at line 367 of file qffmpeg.cpp.

◆ operator<<() [4/4]

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

Definition at line 376 of file qffmpeg.cpp.

References QFFmpeg::Success.

◆ Q_STATIC_LOGGING_CATEGORY()

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