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
qffmpeghwaccel.cpp File Reference

(b13c4b5492ab6160070593e1111ead017293eeec)

#include "libavutil/version.h"
#include "qffmpeghwaccel_p.h"
#include "qffmpeg_p.h"
#include "qffmpegcodecstorage_p.h"
#include "qffmpegmediaintegration_p.h"
#include "qffmpegvideobuffer_p.h"
#include "qscopedvaluerollback.h"
#include <QtCore/QElapsedTimer>
#include <rhi/qrhi.h>
#include <qloggingcategory.h>
#include <unordered_set>
Include dependency graph for qffmpeghwaccel.cpp:

Go to the source code of this file.

Namespaces

namespace  QFFmpeg

Functions

 Q_STATIC_LOGGING_CATEGORY (qLHWAccel, "qt.multimedia.ffmpeg.hwaccel")
static AVBufferUPtr QFFmpeg::loadHWContext (AVHWDeviceType type)
static bool QFFmpeg::precheckDriver (AVHWDeviceType type)
static bool QFFmpeg::checkHwType (AVHWDeviceType type)
static const std::vector< AVHWDeviceType > & QFFmpeg::deviceTypes ()
static std::vector< AVHWDeviceType > QFFmpeg::deviceTypes (const char *envVarName)
static bool QFFmpeg::isNoConversionFormat (AVPixelFormat f)
AVPixelFormat QFFmpeg::getFormat (AVCodecContext *s, const AVPixelFormat *fmt)
static void QFFmpeg::deleteHwFrameContextData (AVHWFramesContext *context)
AVFrameUPtr QFFmpeg::copyFromHwPool (AVFrameUPtr frame)

Variables

static const std::initializer_list< AVHWDeviceType > QFFmpeg::preferredHardwareAccelerators

Function Documentation

◆ Q_STATIC_LOGGING_CATEGORY()

Q_STATIC_LOGGING_CATEGORY ( qLHWAccel ,
"qt.multimedia.ffmpeg.hwaccel"  )