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
QWindowsMultimediaUtils Namespace Reference

Functions

Q_MULTIMEDIA_EXPORT QVideoFrameFormat::PixelFormat pixelFormatFromMediaSubtype (const GUID &subtype)
 
Q_MULTIMEDIA_EXPORT GUID videoFormatForCodec (QMediaFormat::VideoCodec codec)
 
Q_MULTIMEDIA_EXPORT QMediaFormat::VideoCodec codecForVideoFormat (GUID format)
 
Q_MULTIMEDIA_EXPORT GUID audioFormatForCodec (QMediaFormat::AudioCodec codec)
 
Q_MULTIMEDIA_EXPORT QMediaFormat::AudioCodec codecForAudioFormat (GUID format)
 
Q_MULTIMEDIA_EXPORT GUID containerForVideoFileFormat (QMediaFormat::FileFormat format)
 
Q_MULTIMEDIA_EXPORT GUID containerForAudioFileFormat (QMediaFormat::FileFormat format)
 
Q_MULTIMEDIA_EXPORT QString errorString (HRESULT hr)
 

Function Documentation

◆ audioFormatForCodec()

GUID QWindowsMultimediaUtils::audioFormatForCodec ( QMediaFormat::AudioCodec codec)

Definition at line 119 of file qwindowsmultimediautils.cpp.

References QMediaFormat::AAC, QMediaFormat::AC3, QMediaFormat::ALAC, codec, QMediaFormat::EAC3, QMediaFormat::FLAC, QMediaFormat::MP3, QMediaFormat::Opus, QMediaFormat::Vorbis, QMediaFormat::Wave, and QMediaFormat::WMA.

Referenced by QT_BEGIN_NAMESPACE::isSupportedCodec(), and QWindowsMediaDeviceSession::startRecording().

+ Here is the caller graph for this function:

◆ codecForAudioFormat()

QMediaFormat::AudioCodec QWindowsMultimediaUtils::codecForAudioFormat ( GUID format)

Definition at line 147 of file qwindowsmultimediautils.cpp.

References QMediaFormat::AAC, QMediaFormat::AC3, QMediaFormat::ALAC, QMediaFormat::EAC3, QMediaFormat::FLAC, QMediaFormat::MP3, QMediaFormat::Opus, QMediaFormat::Unspecified, QMediaFormat::Vorbis, QMediaFormat::Wave, and QMediaFormat::WMA.

Referenced by metaDataValue().

+ Here is the caller graph for this function:

◆ codecForVideoFormat()

QMediaFormat::VideoCodec QWindowsMultimediaUtils::codecForVideoFormat ( GUID format)

Definition at line 89 of file qwindowsmultimediautils.cpp.

References QMediaFormat::AV1, QMediaFormat::H264, QMediaFormat::H265, QMediaFormat::MotionJPEG, QMediaFormat::MPEG1, QMediaFormat::MPEG2, QMediaFormat::MPEG4, QMediaFormat::Unspecified, QMediaFormat::VP8, QMediaFormat::VP9, and QMediaFormat::WMV.

Referenced by metaDataValue().

+ Here is the caller graph for this function:

◆ containerForAudioFileFormat()

GUID QWindowsMultimediaUtils::containerForAudioFileFormat ( QMediaFormat::FileFormat format)

◆ containerForVideoFileFormat()

GUID QWindowsMultimediaUtils::containerForVideoFileFormat ( QMediaFormat::FileFormat format)

Definition at line 174 of file qwindowsmultimediautils.cpp.

References QMediaFormat::AVI, QMediaFormat::MPEG4, QMM_MFTranscodeContainerType_ASF, QMM_MFTranscodeContainerType_AVI, QMM_MFTranscodeContainerType_MPEG4, and QMediaFormat::WMV.

Referenced by QWindowsMediaDeviceSession::startRecording().

+ Here is the caller graph for this function:

◆ errorString()

QString QWindowsMultimediaUtils::errorString ( HRESULT hr)

Definition at line 208 of file qwindowsmultimediautils.cpp.

References QString::fromStdString(), and QStringLiteral.

Referenced by calculateVideoFrameStride(), and setCameraReaderFormat().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pixelFormatFromMediaSubtype()

◆ videoFormatForCodec()

GUID QWindowsMultimediaUtils::videoFormatForCodec ( QMediaFormat::VideoCodec codec)

Definition at line 61 of file qwindowsmultimediautils.cpp.

References QMediaFormat::AV1, codec, QMediaFormat::H264, QMediaFormat::H265, QMediaFormat::MotionJPEG, QMediaFormat::MPEG1, QMediaFormat::MPEG2, QMediaFormat::MPEG4, QMediaFormat::VP8, QMediaFormat::VP9, and QMediaFormat::WMV.

Referenced by QT_BEGIN_NAMESPACE::isSupportedCodec(), and QWindowsMediaDeviceSession::startRecording().

+ Here is the caller graph for this function: