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

(adacaf87390cf3614cb59096f478c91e97464999)

#include "qffmpegvideoencoderutils_p.h"
#include <QtMultimedia/private/qmultimediautils_p.h>
#include <QtCore/qoperatingsystemversion.h>
#include <QtCore/private/qminimalflatset_p.h>
#include <QtFFmpegMediaPluginImpl/private/qffmpegrecordingengineutils_p.h>
#include <libavutil/pixdesc.h>
Include dependency graph for qffmpegvideoencoderutils.cpp:

Go to the source code of this file.

Namespaces

namespace  QFFmpeg

Functions

std::optional< AVPixelFormat > QFFmpeg::findTargetSWFormat (AVPixelFormat sourceSWFormat, const Codec &codec, const HWAccel &accel, const AVPixelFormatSet &prohibitedFormats)
std::optional< AVPixelFormat > QFFmpeg::findTargetFormat (AVPixelFormat sourceSWFormat, const Codec &codec, const HWAccel *accel, const AVPixelFormatSet &prohibitedFormats)
AVScore QFFmpeg::findSWFormatScores (const Codec &codec, AVPixelFormat sourceSWFormat)
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)