![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtFFmpegMediaPluginImpl/private/qffmpegdefs_p.h>#include <QtFFmpegMediaPluginImpl/private/qffmpegcodec_p.h>#include <QtFFmpegMediaPluginImpl/private/qffmpegavaudioformat_p.h>#include <QtMultimedia/qvideoframeformat.h>#include <QtMultimedia/private/qmultimedia_ranges_p.h>#include <qstring.h>#include <optional>Go to the source code of this file.
Classes | |
| struct | QFFmpeg::AVDictionaryHolder |
| struct | QFFmpeg::AVDeleter< F > |
| struct | QFFmpeg::ValueAndScore< ValueT, ScoreT > |
Namespaces | |
| namespace | QFFmpeg |
Typedefs | |
| using | QFFmpeg::AVFrameUPtr = std::unique_ptr<AVFrame, AVDeleter<av_frame_free>> |
| using | QFFmpeg::AVPacketUPtr = std::unique_ptr<AVPacket, AVDeleter<av_packet_free>> |
| using | QFFmpeg::AVCodecContextUPtr = std::unique_ptr<AVCodecContext, AVDeleter<avcodec_free_context>> |
| using | QFFmpeg::AVBufferUPtr = std::unique_ptr<AVBufferRef, AVDeleter<av_buffer_unref>> |
| using | QFFmpeg::AVHWFramesConstraintsUPtr |
| using | QFFmpeg::SwrContextUPtr = std::unique_ptr<SwrContext, AVDeleter<swr_free>> |
| using | QFFmpeg::SwsContextUPtr = std::unique_ptr<SwsContext, AVDeleter<sws_freeContext>> |
Enumerations | |
| enum class | QFFmpeg::AVError : int { QFFmpeg::Success = 0 } |
Functions | |
| static bool | operator== (const AVRational &lhs, const AVRational &rhs) |
| static bool | operator!= (const AVRational &lhs, const AVRational &rhs) |
| std::optional< qint64 > | QFFmpeg::mul (qint64 a, AVRational b) |
| std::optional< qreal > | QFFmpeg::mul (qreal a, AVRational b) |
| std::optional< qint64 > | QFFmpeg::timeStampMs (qint64 ts, AVRational base) |
| std::optional< qint64 > | QFFmpeg::timeStampUs (qint64 ts, AVRational base) |
| std::optional< float > | QFFmpeg::toFloat (AVRational r) |
| QString | QFFmpeg::err2str (int errnum) |
| void | QFFmpeg::setAVFrameTime (AVFrame &frame, int64_t pts, const AVRational &timeBase) |
| void | QFFmpeg::getAVFrameTime (const AVFrame &frame, int64_t &pts, AVRational &timeBase) |
| int64_t | QFFmpeg::getAVFrameDuration (const AVFrame &frame) |
| AVFrameUPtr | QFFmpeg::makeAVFrame () |
| bool | QFFmpeg::isAVFormatSupported (const Codec &codec, PixelOrSampleFormat format) |
| template<typename Value, typename Predicate> | |
| std::optional< Value > | QFFmpeg::findIf (QSpan< const Value > range, const Predicate &predicate) |
| template<typename Predicate> | |
| std::optional< AVPixelFormat > | QFFmpeg::findAVPixelFormat (const Codec &codec, const Predicate &predicate) |
| template<typename Function> | |
| void | QFFmpeg::forEachAVPixelFormat (const Codec &codec, const Function &function) |
| template<typename Value, typename CalculateScore, typename ScoreType = std::invoke_result_t<CalculateScore, Value>> | |
| ValueAndScore< Value, ScoreType > | QFFmpeg::findBestAVValueWithScore (QSpan< const Value > values, const CalculateScore &calculateScore) |
| template<typename Value, typename CalculateScore> | |
| std::optional< Value > | QFFmpeg::findBestAVValue (QSpan< const Value > values, const CalculateScore &calculateScore) |
| bool | QFFmpeg::isHwPixelFormat (AVPixelFormat format) |
| bool | QFFmpeg::isSwPixelFormat (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, const AVRational &) |
| QDebug | operator<< (QDebug, const AVDictionary &) |
| QDebug | operator<< (QDebug, const QFFmpeg::AVDictionaryHolder &) |
| QDebug | operator<< (QDebug, QFFmpeg::AVError) |
| QDebug | operator<< (QDebug, AVPixelFormat) |
| QDebug | operator<< (QDebug, AVHWDeviceType) |
| QDebug | operator<< (QDebug, AVCodecID) |
| QDebug | operator<< (QDebug, const AVOutputFormat *) |
| QDebug | operator<< (QDebug, const AVInputFormat *) |
|
inlinestatic |
Definition at line 31 of file qffmpeg_p.h.
Definition at line 409 of file qffmpeg.cpp.
Definition at line 399 of file qffmpeg.cpp.
Definition at line 389 of file qffmpeg.cpp.
Definition at line 353 of file qffmpeg.cpp.
Definition at line 434 of file qffmpeg.cpp.
Definition at line 419 of file qffmpeg.cpp.
Definition at line 347 of file qffmpeg.cpp.
| QDebug operator<< | ( | QDebug | dbg, |
| const QFFmpeg::AVDictionaryHolder & | dict ) |
Definition at line 368 of file qffmpeg.cpp.
| QDebug operator<< | ( | QDebug | dbg, |
| QFFmpeg::AVError | error ) |
Definition at line 377 of file qffmpeg.cpp.
References QFFmpeg::Success.
|
inlinestatic |
Definition at line 26 of file qffmpeg_p.h.