![]() |
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/qffmpeghwaccel_p.h>#include <QtCore/qspan.h>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) |