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

(64b605f1464d80ff4f9eb29c9b6880e58807a099)

#include <QtFFmpegMediaPluginImpl/private/qffmpegdefs_p.h>
#include <QtFFmpegMediaPluginImpl/private/qffmpeghwaccel_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.

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 sourceFormat, 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 requestedRate)
 adjustFrameRate get a rational frame rate be requested qreal rate. If the codec supports fixed frame rate (non-null supportedRates), the function selects the most suitable one, otherwise just makes AVRational from qreal.
AVRational QFFmpeg::adjustFrameTimeBase (QSpan< const AVRational > supportedRates, AVRational frameRate)
 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)