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 <qgstreamerformatinfo_p.h>
Public Member Functions | |
QGstreamerFormatInfo () | |
~QGstreamerFormatInfo () | |
QGstCaps | formatCaps (const QMediaFormat &f) const |
QGstCaps | audioCaps (const QMediaFormat &f) const |
QGstCaps | videoCaps (const QMediaFormat &f) const |
QList< CodecMap > | getMuxerList (bool demuxer, QList< QMediaFormat::AudioCodec > audioCodecs, QList< QMediaFormat::VideoCodec > videoCodecs) |
Public Member Functions inherited from QPlatformMediaFormatInfo | |
QPlatformMediaFormatInfo () | |
virtual | ~QPlatformMediaFormatInfo () |
QList< QMediaFormat::FileFormat > | supportedFileFormats (const QMediaFormat &constraints, QMediaFormat::ConversionMode m) const |
QList< QMediaFormat::AudioCodec > | supportedAudioCodecs (const QMediaFormat &constraints, QMediaFormat::ConversionMode m) const |
QList< QMediaFormat::VideoCodec > | supportedVideoCodecs (const QMediaFormat &constraints, QMediaFormat::ConversionMode m) const |
bool | isSupported (const QMediaFormat &format, QMediaFormat::ConversionMode m) const |
Static Public Member Functions | |
static QMediaFormat::AudioCodec | audioCodecForCaps (QGstStructureView structure) |
static QMediaFormat::VideoCodec | videoCodecForCaps (QGstStructureView structure) |
static QMediaFormat::FileFormat | fileFormatForCaps (QGstStructureView structure) |
static QImageCapture::FileFormat | imageFormatForCaps (QGstStructureView structure) |
Additional Inherited Members | |
Public Attributes inherited from QPlatformMediaFormatInfo | |
QList< CodecMap > | encoders |
QList< CodecMap > | decoders |
QList< QImageCapture::FileFormat > | imageFormats |
Definition at line 24 of file qgstreamerformatinfo_p.h.
QGstreamerFormatInfo::QGstreamerFormatInfo | ( | ) |
Definition at line 362 of file qgstreamerformatinfo.cpp.
References QPlatformMediaFormatInfo::decoders, QPlatformMediaFormatInfo::encoders, getCodecsList(), getImageFormatList(), getMuxerList(), and QPlatformMediaFormatInfo::imageFormats.
|
default |
QGstCaps QGstreamerFormatInfo::audioCaps | ( | const QMediaFormat & | f | ) | const |
Definition at line 401 of file qgstreamerformatinfo.cpp.
References codec, QGstPointerImpl::QGstObjectWrapper< GstCaps >::HasRef, QMediaFormat::LastAudioCodec, and QMediaFormat::Unspecified.
|
static |
Definition at line 11 of file qgstreamerformatinfo.cpp.
References QMediaFormat::AAC, QMediaFormat::AC3, QMediaFormat::ALAC, QByteArrayView::data(), QMediaFormat::DolbyTrueHD, QMediaFormat::EAC3, QMediaFormat::FLAC, QMediaFormat::MP3, QGstStructureView::name(), QMediaFormat::Opus, QMediaFormat::Unspecified, QMediaFormat::Vorbis, QMediaFormat::Wave, and QMediaFormat::WMA.
Referenced by extendMetaDataFromCaps(), getCodecsList(), and getMuxerList().
|
static |
Definition at line 108 of file qgstreamerformatinfo.cpp.
References QMediaFormat::AVI, QByteArrayView::data(), QMediaFormat::Matroska, QMediaFormat::MP3, QMediaFormat::MPEG4, QMediaFormat::Mpeg4Audio, QGstStructureView::name(), QMediaFormat::Ogg, QMediaFormat::QuickTime, QMediaFormat::UnspecifiedFormat, variant, QMediaFormat::Wave, QMediaFormat::WebM, and QMediaFormat::WMV.
Referenced by extendMetaDataFromCaps(), and getMuxerList().
QGstCaps QGstreamerFormatInfo::formatCaps | ( | const QMediaFormat & | f | ) | const |
Definition at line 378 of file qgstreamerformatinfo.cpp.
References QGstPointerImpl::QGstObjectWrapper< GstCaps >::HasRef, QMediaFormat::LastFileFormat, Q_ASSERT, and QMediaFormat::UnspecifiedFormat.
QList< QGstreamerFormatInfo::CodecMap > QGstreamerFormatInfo::getMuxerList | ( | bool | demuxer, |
QList< QMediaFormat::AudioCodec > | audioCodecs, | ||
QList< QMediaFormat::VideoCodec > | videoCodecs ) |
Definition at line 209 of file qgstreamerformatinfo.cpp.
References QMediaFormat::AAC, audioCodecForCaps(), QListSpecialMethodsBase< T >::contains(), factory, fileFormatForCaps(), QMediaFormat::FLAC, fmt, QGstPointerImpl::QGstObjectWrapper< GstCaps >::HasRef, i, QMediaFormat::MP3, QMediaFormat::MPEG4, QMediaFormat::Mpeg4Audio, QGstStructureView::name(), QPlatformMediaFormatInfo::supportedAudioCodecs(), QPlatformMediaFormatInfo::supportedVideoCodecs(), QMediaFormat::Unspecified, QMediaFormat::UnspecifiedFormat, videoCodecForCaps(), QMediaFormat::Wave, QMediaFormat::WMA, and QMediaFormat::WMV.
Referenced by QGstreamerFormatInfo().
|
static |
Definition at line 154 of file qgstreamerformatinfo.cpp.
References QByteArrayView::data(), QImageCapture::JPEG, QGstStructureView::name(), QImageCapture::PNG, QImageCapture::Tiff, QImageCapture::UnspecifiedFormat, and QImageCapture::WebP.
Referenced by getImageFormatList().
QGstCaps QGstreamerFormatInfo::videoCaps | ( | const QMediaFormat & | f | ) | const |
Definition at line 423 of file qgstreamerformatinfo.cpp.
References codec, QGstPointerImpl::QGstObjectWrapper< GstCaps >::HasRef, QMediaFormat::LastVideoCodec, and QMediaFormat::Unspecified.
|
static |
Definition at line 60 of file qgstreamerformatinfo.cpp.
References QMediaFormat::AV1, QByteArrayView::data(), QMediaFormat::H264, QMediaFormat::H265, QMediaFormat::MotionJPEG, QMediaFormat::MPEG1, QMediaFormat::MPEG2, QMediaFormat::MPEG4, QGstStructureView::name(), QMediaFormat::Theora, QMediaFormat::Unspecified, QMediaFormat::VP8, QMediaFormat::VP9, and QMediaFormat::WMV.
Referenced by extendMetaDataFromCaps(), getCodecsList(), and getMuxerList().