![]() |
Qt 6.x
The Qt SDK
|
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) |
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 QWindowsMediaDeviceSession::startRecording().
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 codecForFormat(), and metaDataValue().
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 codecForFormat(), and metaDataValue().
GUID QWindowsMultimediaUtils::containerForAudioFileFormat | ( | QMediaFormat::FileFormat | format | ) |
Definition at line 188 of file qwindowsmultimediautils.cpp.
References QMediaFormat::AAC, QMediaFormat::FLAC, QMediaFormat::MP3, QMediaFormat::Mpeg4Audio, QMM_MFTranscodeContainerType_ADTS, QMM_MFTranscodeContainerType_ASF, QMM_MFTranscodeContainerType_FLAC, QMM_MFTranscodeContainerType_MP3, QMM_MFTranscodeContainerType_MPEG4, QMM_MFTranscodeContainerType_WAVE, QMediaFormat::Wave, and QMediaFormat::WMA.
Referenced by QWindowsMediaDeviceSession::startRecording().
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().
Definition at line 208 of file qwindowsmultimediautils.cpp.
References QString::fromStdString(), and QStringLiteral.
Referenced by calculateVideoFrameStride(), createCaptureFramePool(), createScreenCaptureItem(), createWindowCaptureItem(), findScreen(), findScreenForWindow(), QUwpTextureVideoBuffer::map(), setCameraReaderFormat(), and QUwpTextureVideoBuffer::unmap().
QT_BEGIN_NAMESPACE QVideoFrameFormat::PixelFormat QWindowsMultimediaUtils::pixelFormatFromMediaSubtype | ( | const GUID & | subtype | ) |
Definition at line 21 of file qwindowsmultimediautils.cpp.
References QVideoFrameFormat::Format_ARGB8888, QVideoFrameFormat::Format_AYUV, QVideoFrameFormat::Format_BGRA8888, QVideoFrameFormat::Format_BGRX8888, QVideoFrameFormat::Format_Invalid, QVideoFrameFormat::Format_Jpeg, QVideoFrameFormat::Format_NV12, QVideoFrameFormat::Format_P010, QVideoFrameFormat::Format_P016, QVideoFrameFormat::Format_UYVY, QVideoFrameFormat::Format_XRGB8888, QVideoFrameFormat::Format_Y16, QVideoFrameFormat::Format_Y8, QVideoFrameFormat::Format_YUV420P, QVideoFrameFormat::Format_YUYV, and QVideoFrameFormat::Format_YV12.
Referenced by createCameraFormat(), findVideoType(), and pixelFormatFromMediaType().
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 QWindowsMediaDeviceSession::startRecording().