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 "libavutil/version.h"
#include "qffmpeghwaccel_p.h"
#include "qffmpeg_p.h"
#include "qffmpegvideobuffer_p.h"
#include "qscopedvaluerollback.h"
#include "QtCore/qfile.h"
#include <rhi/qrhi.h>
#include <qloggingcategory.h>
#include <unordered_set>
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 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) |
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 | |
bool thread_local | FFmpegLogsEnabledInThread |
static const std::initializer_list< AVHWDeviceType > | QFFmpeg::preferredHardwareAccelerators |
|
static |
|
extern |
Definition at line 87 of file qffmpegmediaintegration.cpp.
Referenced by QFFmpeg::checkHwType(), and qffmpegLogCallback().