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
QDarwinFormatInfo Class Reference

#include <qdarwinformatsinfo_p.h>

+ Inheritance diagram for QDarwinFormatInfo:
+ Collaboration diagram for QDarwinFormatInfo:

Public Member Functions

 QDarwinFormatInfo ()
 
 ~QDarwinFormatInfo ()
 
- Public Member Functions inherited from QPlatformMediaFormatInfo
 QPlatformMediaFormatInfo ()
 
virtual ~QPlatformMediaFormatInfo ()
 
QList< QMediaFormat::FileFormatsupportedFileFormats (const QMediaFormat &constraints, QMediaFormat::ConversionMode m) const
 
QList< QMediaFormat::AudioCodecsupportedAudioCodecs (const QMediaFormat &constraints, QMediaFormat::ConversionMode m) const
 
QList< QMediaFormat::VideoCodecsupportedVideoCodecs (const QMediaFormat &constraints, QMediaFormat::ConversionMode m) const
 
bool isSupported (const QMediaFormat &format, QMediaFormat::ConversionMode m) const
 

Static Public Member Functions

static int audioFormatForCodec (QMediaFormat::AudioCodec codec)
 
static NSString * videoFormatForCodec (QMediaFormat::VideoCodec codec)
 
static NSString * avFileTypeForContainerFormat (QMediaFormat::FileFormat fileType)
 

Additional Inherited Members

- Public Attributes inherited from QPlatformMediaFormatInfo
QList< CodecMapencoders
 
QList< CodecMapdecoders
 
QList< QImageCapture::FileFormatimageFormats
 

Detailed Description

Definition at line 25 of file qdarwinformatsinfo_p.h.

Constructor & Destructor Documentation

◆ QDarwinFormatInfo()

◆ ~QDarwinFormatInfo()

QDarwinFormatInfo::~QDarwinFormatInfo ( )

Definition at line 120 of file qdarwinformatsinfo.mm.

Member Function Documentation

◆ audioFormatForCodec()

int QDarwinFormatInfo::audioFormatForCodec ( QMediaFormat::AudioCodec codec)
static

Definition at line 124 of file qdarwinformatsinfo.mm.

References QMediaFormat::AAC, QMediaFormat::AC3, QMediaFormat::ALAC, codec, codecId(), QMediaFormat::DolbyTrueHD, QMediaFormat::EAC3, QMediaFormat::FLAC, QMediaFormat::MP3, QMediaFormat::Opus, QMediaFormat::Unspecified, QMediaFormat::Vorbis, QMediaFormat::Wave, and QMediaFormat::WMA.

Referenced by avfAudioSettings().

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

◆ avFileTypeForContainerFormat()

NSString * QDarwinFormatInfo::avFileTypeForContainerFormat ( QMediaFormat::FileFormat fileType)
static

Definition at line 193 of file qdarwinformatsinfo.mm.

References QMediaFormat::MP3, QMediaFormat::MPEG4, QMediaFormat::Mpeg4Audio, QMediaFormat::QuickTime, and QMediaFormat::Wave.

Referenced by setAVMetadataItemForKey().

+ Here is the caller graph for this function:

◆ videoFormatForCodec()

NSString * QDarwinFormatInfo::videoFormatForCodec ( QMediaFormat::VideoCodec codec)
static

Definition at line 160 of file qdarwinformatsinfo.mm.

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

Referenced by avfVideoSettings().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: