Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Go to the source code of this file.
Namespaces | |
namespace | QFFmpeg |
Functions | |
AVPixelFormat | QFFmpeg::findTargetSWFormat (AVPixelFormat sourceSWFormat, const AVCodec *codec, const HWAccel &accel) |
AVPixelFormat | QFFmpeg::findTargetFormat (AVPixelFormat sourceFormat, AVPixelFormat sourceSWFormat, const AVCodec *codec, const HWAccel *accel) |
std::pair< const AVCodec *, std::unique_ptr< HWAccel > > | QFFmpeg::findHwEncoder (AVCodecID codecID, const QSize &resolution) |
const AVCodec * | QFFmpeg::findSwEncoder (AVCodecID codecID, AVPixelFormat sourceSWFormat) |
AVRational | QFFmpeg::adjustFrameRate (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 (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 AVCodec *codec, QSize requestedResolution) |