Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
mfmetadata_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef MFMETADATACONTROL_H
5#define MFMETADATACONTROL_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <qmediametadata.h>
19#include "mfidl.h"
20
21QT_USE_NAMESPACE
22
23struct IMFMetadata;
24
26{
27public:
28 static QMediaMetaData fromNative(IMFMediaSource* mediaSource);
29 static QMediaMetaData fromNative(IPropertyStore *content);
30 static QMediaMetaData fromNative(IMFMetadata *metadata);
31 static void toNative(const QMediaMetaData &metaData, IPropertyStore *content);
32};
33
34#endif
static QMediaMetaData fromNative(IMFMediaSource *mediaSource)
static void toNative(const QMediaMetaData &metaData, IPropertyStore *content)
\inmodule QtMultimedia
static QImage imageFromAsfFlatPicture(const BLOB &blob)
static QVariant metaDataValue(IPropertyStore *content, const PROPERTYKEY &key)
static const PROPERTYKEY PROP_KEY_NULL
static void setUInt32Property(IPropertyStore *content, REFPROPERTYKEY key, quint32 value)
static void setUInt64Property(IPropertyStore *content, REFPROPERTYKEY key, quint64 value)
static QVariant convertValue(const PROPVARIANT &var)
static void setFileTimeProperty(IPropertyStore *content, REFPROPERTYKEY key, const FILETIME *ft)
static REFPROPERTYKEY propertyKeyForMetaDataKey(QMediaMetaData::Key key)
static void setStringProperty(IPropertyStore *content, REFPROPERTYKEY key, const QString &value)