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>.
Loading...
Searching...
No Matches
qffmpegvideoencoderutils_p.h File Reference

(262153cb3f2de501d7362adec4c019bfd7490ee5)

#include "qffmpeg_p.h"
#include "qffmpeghwaccel_p.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

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)