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
qffmpegvideoencoderutils_p.h File Reference

(039c0cc58802c6ca1bfd6835bcb6fe01302714a4)

#include <QtFFmpegMediaPluginImpl/private/qffmpegdefs_p.h>
#include <QtFFmpegMediaPluginImpl/private/qffmpeghwaccel_p.h>
#include <QtMultimedia/private/qmultimedia_ranges_p.h>
#include <QtCore/qspan.h>
Include dependency graph for qffmpegvideoencoderutils_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QFFmpeg::ScoredPixelFormat

Namespaces

namespace  QFFmpeg

Functions

std::vector< AVPixelFormat > QFFmpeg::encoderPixelFormats (const Codec &codec, QSize resolution, const HWAccel *accel)
std::vector< AVPixelFormat > QFFmpeg::probePixelFormats (const Codec &codec, QSize resolution, const HWAccel *accel)
std::optional< AVPixelFormat > QFFmpeg::findTargetSWFormat (AVPixelFormat sourceSWFormat, const Codec &codec, const HWAccel &accel, QSize resolution)
AVScore QFFmpeg::scoreTargetSwFormat (AVPixelFormat source, AVPixelFormat target)
std::vector< ScoredPixelFormat > QFFmpeg::findAndScoreTargetSWFormats (AVPixelFormat sourceSWFormat, const Codec &codec, const HWAccel *accel, QSize resolution)
std::optional< AVPixelFormat > QFFmpeg::findTargetFormat (AVPixelFormat sourceSWFormat, const Codec &codec, const HWAccel *accel, QSize resolution)
AVScore QFFmpeg::findSWFormatScores (const Codec &codec, AVPixelFormat sourceSWFormat, QSize resolution)
AVRational QFFmpeg::adjustFrameRate (QSpan< const AVRational > supportedRates, qreal settingsRate, qreal sourceRate)
 adjustFrameRate resolves the effective frame rate to negotiate with a codec.
AVRational QFFmpeg::adjustFrameTimeBase (QSpan< const AVRational > supportedRates, AVRational frameRate, bool isFixedRate)
 adjustFrameTimeBase gets adjusted timebase by a list of supported frame rates and an already adjusted frame rate.
QSize QFFmpeg::adjustVideoResolution (const Codec &codec, QSize requestedResolution)
SwsFlags QFFmpeg::getScaleConversionType (const QSize &sourceSize, const QSize &targetSize)