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>.
|
#include <qffmpeghwaccel_p.h>
Public Member Functions | |
~HWAccel () | |
AVHWDeviceType | deviceType () const |
AVBufferRef * | hwDeviceContextAsBuffer () const |
AVHWDeviceContext * | hwDeviceContext () const |
AVPixelFormat | hwFormat () const |
const AVHWFramesConstraints * | constraints () const |
void | createFramesContext (AVPixelFormat swFormat, const QSize &size) |
AVBufferRef * | hwFramesContextAsBuffer () const |
AVHWFramesContext * | hwFramesContext () const |
Static Public Member Functions | |
static std::unique_ptr< HWAccel > | create (AVHWDeviceType deviceType) |
static std::pair< const AVCodec *, std::unique_ptr< HWAccel > > | findEncoderWithHwAccel (AVCodecID id, const std::function< bool(const HWAccel &)> &hwAccelPredicate=nullptr) |
static std::pair< const AVCodec *, std::unique_ptr< HWAccel > > | findDecoderWithHwAccel (AVCodecID id, const std::function< bool(const HWAccel &)> &hwAccelPredicate=nullptr) |
static AVPixelFormat | format (AVFrame *frame) |
static const std::vector< AVHWDeviceType > & | encodingDeviceTypes () |
static const std::vector< AVHWDeviceType > & | decodingDeviceTypes () |
Definition at line 84 of file qffmpeghwaccel_p.h.
|
default |
const AVHWFramesConstraints * QFFmpeg::HWAccel::constraints | ( | ) | const |
Definition at line 388 of file qffmpeghwaccel.cpp.
References context, and hwDeviceContextAsBuffer().
Referenced by QFFmpeg::findTargetFormat(), and QFFmpeg::findTargetSWFormat().
|
static |
Definition at line 348 of file qffmpeghwaccel.cpp.
References deviceType(), and QFFmpeg::loadHWContext().
Referenced by QFFmpeg::findCodecWithHwAccel().
Definition at line 418 of file qffmpeghwaccel.cpp.
References QFFmpeg::err2str(), hwFormat(), qCDebug, and qWarning.
|
static |
Definition at line 372 of file qffmpeghwaccel.cpp.
References QFFmpeg::deviceTypes().
Referenced by QFFmpegMediaIntegration::QFFmpegMediaIntegration(), and findDecoderWithHwAccel().
AVHWDeviceType QFFmpeg::HWAccel::deviceType | ( | ) | const |
Definition at line 413 of file qffmpeghwaccel.cpp.
References hwDeviceContext().
Referenced by create(), and hwFormat().
|
static |
Definition at line 366 of file qffmpeghwaccel.cpp.
References QFFmpeg::deviceTypes().
Referenced by QFFmpegMediaIntegration::QFFmpegMediaIntegration(), and findEncoderWithHwAccel().
|
static |
Definition at line 407 of file qffmpeghwaccel.cpp.
References decodingDeviceTypes(), QFFmpeg::findAVDecoder(), and QFFmpeg::findCodecWithHwAccel().
|
static |
Definition at line 399 of file qffmpeghwaccel.cpp.
References encodingDeviceTypes(), QFFmpeg::findAVEncoder(), and QFFmpeg::findCodecWithHwAccel().
Referenced by QFFmpeg::findHwEncoder().
|
static |
Definition at line 356 of file qffmpeghwaccel.cpp.
References frame, hwFramesContext(), and Q_ASSERT.
AVHWDeviceContext * QFFmpeg::HWAccel::hwDeviceContext | ( | ) | const |
Definition at line 378 of file qffmpeghwaccel.cpp.
Referenced by deviceType().
|
inline |
Definition at line 107 of file qffmpeghwaccel_p.h.
Referenced by constraints().
AVPixelFormat QFFmpeg::HWAccel::hwFormat | ( | ) | const |
Definition at line 383 of file qffmpeghwaccel.cpp.
References deviceType(), and QFFmpeg::pixelFormatForHwDevice().
Referenced by createFramesContext(), and QFFmpeg::findTargetFormat().
AVHWFramesContext * QFFmpeg::HWAccel::hwFramesContext | ( | ) | const |
Definition at line 442 of file qffmpeghwaccel.cpp.
Referenced by format().
|
inline |
Definition at line 113 of file qffmpeghwaccel_p.h.