Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwindowsformatinfo.cpp File Reference
#include "qwindowsformatinfo_p.h"
#include <mfapi.h>
#include <mftransform.h>
#include <private/qcomptr_p.h>
#include <private/qwindowsmultimediautils_p.h>
#include <private/qcomtaskresource_p.h>
#include <QtCore/qlist.h>
#include <QtCore/qset.h>
#include <QtGui/qimagewriter.h>
+ Include dependency graph for qwindowsformatinfo.cpp:

Go to the source code of this file.

Functions

template<typename T >
static QT_BEGIN_NAMESPACEcodecForFormat (GUID format)=delete
 
template<>
QMediaFormat::AudioCodec codecForFormat (GUID format)
 
template<>
QMediaFormat::VideoCodec codecForFormat (GUID format)
 
template<typename T >
static QSet< T > getCodecSet (GUID category)
 
static QList< QImageCapture::FileFormatgetImageFormatList ()
 

Function Documentation

◆ codecForFormat() [1/3]

template<>
QMediaFormat::AudioCodec codecForFormat ( GUID  format)

Definition at line 22 of file qwindowsformatinfo.cpp.

References QWindowsMultimediaUtils::codecForAudioFormat().

+ Here is the call graph for this function:

◆ codecForFormat() [2/3]

template<>
QMediaFormat::VideoCodec codecForFormat ( GUID  format)

Definition at line 28 of file qwindowsformatinfo.cpp.

References QWindowsMultimediaUtils::codecForVideoFormat().

+ Here is the call graph for this function:

◆ codecForFormat() [3/3]

template<typename T >
static QT_BEGIN_NAMESPACE T codecForFormat ( GUID  format)
staticdelete

◆ getCodecSet()

template<typename T >
static QSet< T > getCodecSet ( GUID  category)
static

Definition at line 34 of file qwindowsformatinfo.cpp.

References category(), i, and QSet< T >::insert().

+ Here is the call graph for this function:

◆ getImageFormatList()

static QList< QImageCapture::FileFormat > getImageFormatList ( )
static

Definition at line 72 of file qwindowsformatinfo.cpp.

References QList< T >::append(), Qt::CaseInsensitive, QString::fromUtf8(), QImageCapture::JPEG, list, QImageCapture::PNG, QImageWriter::supportedImageFormats(), QImageCapture::Tiff, and QImageCapture::WebP.

+ Here is the call graph for this function: