Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qffmpeghwaccel.cpp File Reference
#include "libavutil/version.h"
#include "qffmpeghwaccel_p.h"
#include "qffmpeg_p.h"
#include "qffmpegvideobuffer_p.h"
#include <rhi/qrhi.h>
#include <qloggingcategory.h>
#include <set>
+ Include dependency graph for qffmpeghwaccel.cpp:

Go to the source code of this file.

Namespaces

namespace  QFFmpeg
 

Functions

static QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY (qLHWAccel, "qt.multimedia.ffmpeg.hwaccel")
 
static std::vector< AVHWDeviceType > QFFmpeg::deviceTypes (const char *envVarName)
 
static AVBufferRef * QFFmpeg::loadHWContext (const AVHWDeviceType type)
 
template<typename CodecFinder >
std::pair< const AVCodec *, std::unique_ptr< HWAccel > > QFFmpeg::findCodecWithHwAccel (AVCodecID id, const std::vector< AVHWDeviceType > &deviceTypes, CodecFinder codecFinder, const std::function< bool(const HWAccel &)> &hwAccelPredicate)
 
static bool QFFmpeg::isNoConversionFormat (AVPixelFormat f)
 
AVPixelFormat QFFmpeg::getFormat (AVCodecContext *codecContext, const AVPixelFormat *suggestedFormats)
 

Variables

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

Function Documentation

◆ Q_LOGGING_CATEGORY()

static QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY ( qLHWAccel  ,
"qt.multimedia.ffmpeg.hwaccel"   
)
static