Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwindowsasfpicture_p.h
Go to the documentation of this file.
1
// Copyright (C) 2026 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
QWINDOWSASFPICTURE_P_H
5
#
define
QWINDOWSASFPICTURE_P_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
<
QtGui
/
qimage
.
h
>
19
20
#
include
<
wtypes
.
h
>
21
22
#
include
<
mfapi
.
h
>
23
#
include
<
mfidl
.
h
>
24
25
QT_BEGIN_NAMESPACE
26
27
// MinGW's mfidl.h declares ASF_FLAT_PICTURE without the #pragma pack(1) that the
28
// Windows SDK applies, making sizeof() 8 there instead of 5. Use our own packed
29
// definition on both toolchains, so there is a single code path guarded by the
30
// static_assert below.
31
#
pragma
pack
(
push
,
1
)
32
struct
QMM_ASF_FLAT_PICTURE
33
{
34
BYTE bPictureType;
35
DWORD dwDataLen;
36
};
37
#
pragma
pack
(
pop
)
38
static_assert
(
sizeof
(QMM_ASF_FLAT_PICTURE) == 5);
39
static_assert
(
alignof
(QMM_ASF_FLAT_PICTURE) == 1);
40
41
QImage
imageFromAsfFlatPicture
(
const
BLOB &blob);
42
43
QT_END_NAMESPACE
44
45
#
endif
MFMetaData
Definition
mfmetadata_p.h:26
MFMetaData::fromNative
static QMediaMetaData fromNative(IMFMediaSource *mediaSource)
Definition
mfmetadata.cpp:136
MFMetaData::toNative
static void toNative(const QMediaMetaData &metaData, IPropertyStore *content)
Definition
mfmetadata.cpp:425
MFMetaData::fromNative
static QMediaMetaData fromNative(IMFMetadata *metadata)
Definition
mfmetadata.cpp:168
metaDataValue
static QVariant metaDataValue(IPropertyStore *content, const PROPERTYKEY &key)
Definition
mfmetadata.cpp:87
PROP_KEY_NULL
static const PROPERTYKEY PROP_KEY_NULL
Definition
mfmetadata.cpp:32
setUInt32Property
static void setUInt32Property(IPropertyStore *content, REFPROPERTYKEY key, quint32 value)
Definition
mfmetadata.cpp:398
setUInt64Property
static void setUInt64Property(IPropertyStore *content, REFPROPERTYKEY key, quint64 value)
Definition
mfmetadata.cpp:407
convertValue
static QVariant convertValue(const PROPVARIANT &var)
Definition
mfmetadata.cpp:34
setFileTimeProperty
static void setFileTimeProperty(IPropertyStore *content, REFPROPERTYKEY key, const FILETIME *ft)
Definition
mfmetadata.cpp:416
propertyKeyForMetaDataKey
static REFPROPERTYKEY propertyKeyForMetaDataKey(QMediaMetaData::Key key)
Definition
mfmetadata.cpp:334
setStringProperty
static void setStringProperty(IPropertyStore *content, REFPROPERTYKEY key, const QString &value)
Definition
mfmetadata.cpp:389
imageFromAsfFlatPicture
QImage imageFromAsfFlatPicture(const BLOB &blob)
Definition
qwindowsasfpicture.cpp:9
qtmultimedia
src
plugins
multimedia
windows
common
qwindowsasfpicture_p.h
Generated on
for Qt by
1.18.0