Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1d6634b2
Commit
1d6634b2
authored
Mar 25, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat: Add more attributes guids.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fe66e0f7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
0 deletions
+82
-0
main.c
dlls/mfplat/main.c
+41
-0
mfapi.h
include/mfapi.h
+41
-0
No files found.
dlls/mfplat/main.c
View file @
1d6634b2
...
...
@@ -557,16 +557,19 @@ static const char *debugstr_attr(const GUID *guid)
X
(
MF_READWRITE_MMCSS_CLASS
),
X
(
MF_SINK_WRITER_ENCODER_CONFIG
),
X
(
MF_SOURCE_READER_ENABLE_TRANSCODE_ONLY_TRANSFORMS
),
X
(
MF_MT_ALPHA_MODE
),
X
(
MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS
),
X
(
MF_MT_PIXEL_ASPECT_RATIO
),
X
(
MF_MT_WRAPPED_TYPE
),
X
(
MF_MT_AVG_BITRATE
),
X
(
MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING
),
X
(
MF_MT_AUDIO_BLOCK_ALIGNMENT
),
X
(
MF_PD_PMPHOST_CONTEXT
),
X
(
MF_PD_APP_CONTEXT
),
X
(
MF_PD_TOTAL_FILE_SIZE
),
X
(
MF_PD_AUDIO_ENCODING_BITRATE
),
X
(
MF_PD_VIDEO_ENCODING_BITRATE
),
X
(
MFSampleExtension_TargetGlobalLuminance
),
X
(
MF_PD_MIME_TYPE
),
X
(
MF_PD_LAST_MODIFIED_TIME
),
X
(
MF_PD_PLAYBACK_ELEMENT_ID
),
...
...
@@ -577,19 +580,36 @@ static const char *debugstr_attr(const GUID *guid)
X
(
MF_MT_FRAME_SIZE
),
X
(
MF_SINK_WRITER_ASYNC_CALLBACK
),
X
(
MF_MT_FRAME_RATE_RANGE_MAX
),
X
(
MF_MT_AUDIO_FLOAT_SAMPLES_PER_SECOND
),
X
(
MFSampleExtension_ForwardedDecodeUnits
),
X
(
MF_EVENT_SOURCE_TOPOLOGY_CANCELED
),
X
(
MF_MT_VIDEO_ROTATION
),
X
(
MF_MT_USER_DATA
),
X
(
MF_EVENT_STREAM_METADATA_SYSTEMID
),
X
(
MF_MT_AUDIO_CHANNEL_MASK
),
X
(
MF_SOURCE_READER_DISCONNECT_MEDIASOURCE_ON_SHUTDOWN
),
X
(
MF_READWRITE_DISABLE_CONVERTERS
),
X
(
MFSampleExtension_Token
),
X
(
MF_MT_AUDIO_VALID_BITS_PER_SAMPLE
),
X
(
MF_MT_VIDEO_NO_FRAME_ORDERING
),
X
(
MFSampleExtension_3DVideo_SampleFormat
),
X
(
MF_MT_SAMPLE_SIZE
),
X
(
MF_MT_AAC_PAYLOAD_TIME
),
X
(
MF_SOURCE_READER_D3D11_BIND_FLAGS
),
X
(
MF_MT_AUDIO_FOLDDOWN_MATRIX
),
X
(
MF_MT_AUDIO_WMADRC_PEAKREF
),
X
(
MF_MT_AUDIO_WMADRC_PEAKTARGET
),
X
(
MF_PD_SAMI_STYLELIST
),
X
(
MF_MT_AUDIO_WMADRC_AVGREF
),
X
(
MF_MT_AUDIO_BITS_PER_SAMPLE
),
X
(
MF_SD_LANGUAGE
),
X
(
MF_MT_AUDIO_WMADRC_AVGTARGET
),
X
(
MF_SD_PROTECTED
),
X
(
MF_READWRITE_MMCSS_PRIORITY_AUDIO
),
X
(
MF_BYTESTREAM_ORIGIN_NAME
),
X
(
MF_BYTESTREAM_CONTENT_TYPE
),
X
(
MF_MT_DEPTH_MEASUREMENT
),
X
(
MF_MT_VIDEO_3D_NUM_VIEWS
),
X
(
MF_BYTESTREAM_DURATION
),
X
(
MF_SD_SAMI_LANGUAGE
),
X
(
MF_EVENT_OUTPUT_NODE
),
...
...
@@ -601,40 +621,61 @@ static const char *debugstr_attr(const GUID *guid)
X
(
MF_MT_MAJOR_TYPE
),
X
(
MF_EVENT_SOURCE_CHARACTERISTICS
),
X
(
MF_EVENT_SOURCE_CHARACTERISTICS_OLD
),
X
(
MF_MT_VIDEO_3D_FIRST_IS_LEFT
),
X
(
MF_PD_ADAPTIVE_STREAMING
),
X
(
MFSampleExtension_Timestamp
),
X
(
MF_MT_SUBTYPE
),
X
(
MF_SD_MUTUALLY_EXCLUSIVE
),
X
(
MF_SD_STREAM_NAME
),
X
(
MF_EVENT_STREAM_METADATA_CONTENT_KEYIDS
),
X
(
MF_MT_VIDEO_3D_FORMAT
),
X
(
MF_EVENT_STREAM_METADATA_KEYDATA
),
X
(
MF_SINK_WRITER_D3D_MANAGER
),
X
(
MF_SOURCE_READER_D3D_MANAGER
),
X
(
MFSampleExtension_3DVideo
),
X
(
MF_EVENT_SOURCE_FAKE_START
),
X
(
MF_EVENT_SOURCE_PROJECTSTART
),
X
(
MF_EVENT_SOURCE_ACTUAL_START
),
X
(
MF_MT_AUDIO_SAMPLES_PER_BLOCK
),
X
(
MF_SOURCE_READER_ASYNC_CALLBACK
),
X
(
MF_MT_AUDIO_FLAC_MAX_BLOCK_SIZE
),
X
(
MF_MT_FIXED_SIZE_SAMPLES
),
X
(
MF_EVENT_SCRUBSAMPLE_TIME
),
X
(
MF_MT_INTERLACE_MODE
),
X
(
MF_MT_VIDEO_RENDERER_EXTENSION_PROFILE
),
X
(
MF_MT_AUDIO_PREFER_WAVEFORMATEX
),
X
(
MFSampleExtension_ForwardedDecodeUnitType
),
X
(
MF_MT_AUDIO_AVG_BYTES_PER_SECOND
),
X
(
MF_SOURCE_READER_MEDIASOURCE_CHARACTERISTICS
),
X
(
MF_EVENT_MFT_INPUT_STREAM_ID
),
X
(
MF_READWRITE_MMCSS_PRIORITY
),
X
(
MF_MT_VIDEO_3D
),
X
(
MF_EVENT_START_PRESENTATION_TIME
),
X
(
MF_EVENT_SESSIONCAPS
),
X
(
MF_EVENT_PRESENTATION_TIME_OFFSET
),
X
(
MF_EVENT_SESSIONCAPS_DELTA
),
X
(
MF_EVENT_START_PRESENTATION_TIME_AT_OUTPUT
),
X
(
MFSampleExtension_DecodeTimestamp
),
X
(
MF_MT_VIDEO_H264_NO_FMOASO
),
X
(
MF_SINK_WRITER_DISABLE_THROTTLING
),
X
(
MF_READWRITE_D3D_OPTIONAL
),
X
(
MF_READWRITE_MMCSS_CLASS_AUDIO
),
X
(
MF_SOURCE_READER_DISABLE_CAMERA_PLUGINS
),
X
(
MF_PD_AUDIO_ISVARIABLEBITRATE
),
X
(
MF_MT_AAC_AUDIO_PROFILE_LEVEL_INDICATION
),
X
(
MF_MT_AUDIO_SAMPLES_PER_SECOND
),
X
(
MF_MT_FRAME_RATE
),
X
(
MF_SOURCE_READER_MEDIASOURCE_CONFIG
),
X
(
MF_MT_COMPRESSED
),
X
(
MF_EVENT_MFT_CONTEXT
),
X
(
MF_MT_FORWARD_CUSTOM_SEI
),
X
(
MF_MT_DEPTH_VALUE_UNIT
),
X
(
MF_MT_AUDIO_NUM_CHANNELS
),
X
(
MF_EVENT_DO_THINNING
),
X
(
MF_SOURCE_READER_DISABLE_DXVA
),
X
(
MF_MT_FORWARD_CUSTOM_NALU
),
X
(
MF_MT_SECURE
),
X
(
MF_MT_VIDEO_3D_LEFT_IS_BASE
),
#undef X
};
struct
guid_def
*
ret
=
NULL
;
...
...
include/mfapi.h
View file @
1d6634b2
...
...
@@ -106,6 +106,42 @@ DEFINE_GUID(MF_MT_USER_DATA, 0xb6bc765f, 0x4c3b, 0x40a4, 0xbd, 0x5
DEFINE_GUID
(
MF_MT_FRAME_RATE_RANGE_MIN
,
0xd2e7558c
,
0xdc1f
,
0x403f
,
0x9a
,
0x72
,
0xd2
,
0x8b
,
0xb1
,
0xeb
,
0x3b
,
0x5e
);
DEFINE_GUID
(
MF_MT_FRAME_RATE_RANGE_MAX
,
0xe3371d41
,
0xb4cf
,
0x4a05
,
0xbd
,
0x4e
,
0x20
,
0xb8
,
0x8b
,
0xb2
,
0xc4
,
0xd6
);
DEFINE_GUID
(
MF_MT_WRAPPED_TYPE
,
0x4d3f7b23
,
0xd02f
,
0x4e6c
,
0x9b
,
0xee
,
0xe4
,
0xbf
,
0x2c
,
0x6c
,
0x69
,
0x5d
);
DEFINE_GUID
(
MF_MT_FIXED_SIZE_SAMPLES
,
0xb8ebefaf
,
0xb718
,
0x4e04
,
0xb0
,
0xa9
,
0x11
,
0x67
,
0x75
,
0xe3
,
0x32
,
0x1b
);
DEFINE_GUID
(
MF_MT_COMPRESSED
,
0x3afd0cee
,
0x18f2
,
0x4ba5
,
0xa1
,
0x10
,
0x8b
,
0xea
,
0x50
,
0x2e
,
0x1f
,
0x92
);
DEFINE_GUID
(
MF_MT_SAMPLE_SIZE
,
0xdad3ab78
,
0x1990
,
0x408b
,
0xbc
,
0xe2
,
0xeb
,
0xa6
,
0x73
,
0xda
,
0xcc
,
0x10
);
DEFINE_GUID
(
MF_MT_VIDEO_3D
,
0xcb5e88cf
,
0x7b5b
,
0x47b6
,
0x85
,
0xaa
,
0x1c
,
0xa5
,
0xae
,
0x18
,
0x75
,
0x55
);
DEFINE_GUID
(
MF_MT_VIDEO_3D_FORMAT
,
0x5315d8a0
,
0x87c5
,
0x4697
,
0xb7
,
0x93
,
0x66
,
0x06
,
0xc6
,
0x7c
,
0x04
,
0x9b
);
DEFINE_GUID
(
MF_MT_VIDEO_3D_NUM_VIEWS
,
0xbb077e8a
,
0xdcbf
,
0x42eb
,
0xaf
,
0x60
,
0x41
,
0x8d
,
0xf9
,
0x8a
,
0xa4
,
0x95
);
DEFINE_GUID
(
MF_MT_VIDEO_3D_LEFT_IS_BASE
,
0x6d4b7bff
,
0x5629
,
0x4404
,
0x94
,
0x8c
,
0xc6
,
0x34
,
0xf4
,
0xce
,
0x26
,
0xd4
);
DEFINE_GUID
(
MF_MT_VIDEO_3D_FIRST_IS_LEFT
,
0xec298493
,
0x0ada
,
0x4ea1
,
0xa4
,
0xfe
,
0xcb
,
0xbd
,
0x36
,
0xce
,
0x93
,
0x31
);
DEFINE_GUID
(
MF_MT_VIDEO_ROTATION
,
0xc380465d
,
0x2271
,
0x428c
,
0x9b
,
0x83
,
0xec
,
0xea
,
0x3b
,
0x4a
,
0x85
,
0xc1
);
DEFINE_GUID
(
MF_MT_VIDEO_RENDERER_EXTENSION_PROFILE
,
0x8437d4b9
,
0xd448
,
0x4fcd
,
0x9b
,
0x6b
,
0x83
,
0x9b
,
0xf9
,
0x6c
,
0x77
,
0x98
);
DEFINE_GUID
(
MF_MT_VIDEO_NO_FRAME_ORDERING
,
0x3f5b106f
,
0x6bc2
,
0x4ee3
,
0xb7
,
0xed
,
0x89
,
0x02
,
0xc1
,
0x8f
,
0x53
,
0x51
);
DEFINE_GUID
(
MF_MT_VIDEO_H264_NO_FMOASO
,
0xed461cd6
,
0xec9f
,
0x416a
,
0xa8
,
0xa3
,
0x26
,
0xd7
,
0xd3
,
0x10
,
0x18
,
0xd7
);
DEFINE_GUID
(
MF_MT_SECURE
,
0xc5acc4fd
,
0x0304
,
0x4ecf
,
0x80
,
0x9f
,
0x47
,
0xbc
,
0x97
,
0xff
,
0x63
,
0xbd
);
DEFINE_GUID
(
MF_MT_ALPHA_MODE
,
0x5d959b0d
,
0x4cbf
,
0x4d04
,
0x91
,
0x9f
,
0x3f
,
0x5f
,
0x7f
,
0x28
,
0x42
,
0x11
);
DEFINE_GUID
(
MF_MT_DEPTH_MEASUREMENT
,
0xfd5ac489
,
0x0917
,
0x4bb6
,
0x9d
,
0x54
,
0x31
,
0x22
,
0xbf
,
0x70
,
0x14
,
0x4b
);
DEFINE_GUID
(
MF_MT_DEPTH_VALUE_UNIT
,
0x21a800f5
,
0x3189
,
0x4797
,
0xbe
,
0xba
,
0xf1
,
0x3c
,
0xd9
,
0xa3
,
0x1a
,
0x5e
);
DEFINE_GUID
(
MF_MT_FORWARD_CUSTOM_NALU
,
0xed336efd
,
0x244f
,
0x428d
,
0x91
,
0x53
,
0x28
,
0xf3
,
0x99
,
0x45
,
0x88
,
0x90
);
DEFINE_GUID
(
MF_MT_FORWARD_CUSTOM_SEI
,
0xe27362f1
,
0xb136
,
0x41d1
,
0x95
,
0x94
,
0x3a
,
0x7e
,
0x4f
,
0xeb
,
0xf2
,
0xd1
);
DEFINE_GUID
(
MF_MT_AUDIO_NUM_CHANNELS
,
0x37e48bf5
,
0x645e
,
0x4c5b
,
0x89
,
0xde
,
0xad
,
0xa9
,
0xe2
,
0x9b
,
0x69
,
0x6a
);
DEFINE_GUID
(
MF_MT_AUDIO_SAMPLES_PER_SECOND
,
0x5faeeae7
,
0x0290
,
0x4c31
,
0x9e
,
0x8a
,
0xc5
,
0x34
,
0xf6
,
0x8d
,
0x9d
,
0xba
);
DEFINE_GUID
(
MF_MT_AUDIO_FLOAT_SAMPLES_PER_SECOND
,
0xfb3b724a
,
0xcfb5
,
0x4319
,
0xae
,
0xfe
,
0x6e
,
0x42
,
0xb2
,
0x40
,
0x61
,
0x32
);
DEFINE_GUID
(
MF_MT_AUDIO_AVG_BYTES_PER_SECOND
,
0x1aab75c8
,
0xcfef
,
0x451c
,
0xab
,
0x95
,
0xac
,
0x03
,
0x4b
,
0x8e
,
0x17
,
0x31
);
DEFINE_GUID
(
MF_MT_AUDIO_BLOCK_ALIGNMENT
,
0x322de230
,
0x9eeb
,
0x43bd
,
0xab
,
0x7a
,
0xff
,
0x41
,
0x22
,
0x51
,
0x54
,
0x1d
);
DEFINE_GUID
(
MF_MT_AUDIO_BITS_PER_SAMPLE
,
0xf2deb57f
,
0x40fa
,
0x4764
,
0xaa
,
0x33
,
0xed
,
0x4f
,
0x2d
,
0x1f
,
0xf6
,
0x69
);
DEFINE_GUID
(
MF_MT_AUDIO_VALID_BITS_PER_SAMPLE
,
0xd9bf8d6a
,
0x9530
,
0x4b7c
,
0x9d
,
0xdf
,
0xff
,
0x6f
,
0xd5
,
0x8b
,
0xbd
,
0x06
);
DEFINE_GUID
(
MF_MT_AUDIO_SAMPLES_PER_BLOCK
,
0xaab15aac
,
0xe13a
,
0x4995
,
0x92
,
0x22
,
0x50
,
0x1e
,
0xa1
,
0x5c
,
0x68
,
0x77
);
DEFINE_GUID
(
MF_MT_AUDIO_CHANNEL_MASK
,
0x55fb5765
,
0x644a
,
0x4caf
,
0x84
,
0x79
,
0x93
,
0x89
,
0x83
,
0xbb
,
0x15
,
0x88
);
DEFINE_GUID
(
MF_MT_AUDIO_FOLDDOWN_MATRIX
,
0x9d62927c
,
0x36be
,
0x4cf1
,
0xb5
,
0xc4
,
0xa3
,
0x92
,
0x6e
,
0x3e
,
0x87
,
0x11
);
DEFINE_GUID
(
MF_MT_AUDIO_WMADRC_PEAKREF
,
0x9d62927d
,
0x36be
,
0x4cf2
,
0xb5
,
0xc4
,
0xa3
,
0x92
,
0x6e
,
0x3e
,
0x87
,
0x11
);
DEFINE_GUID
(
MF_MT_AUDIO_WMADRC_PEAKTARGET
,
0x9d62927e
,
0x36be
,
0x4cf2
,
0xb5
,
0xc4
,
0xa3
,
0x92
,
0x6e
,
0x3e
,
0x87
,
0x11
);
DEFINE_GUID
(
MF_MT_AUDIO_WMADRC_AVGREF
,
0x9d62927f
,
0x36be
,
0x4cf2
,
0xb5
,
0xc4
,
0xa3
,
0x92
,
0x6e
,
0x3e
,
0x87
,
0x11
);
DEFINE_GUID
(
MF_MT_AUDIO_WMADRC_AVGTARGET
,
0x9d629280
,
0x36be
,
0x4cf2
,
0xb5
,
0xc4
,
0xa3
,
0x92
,
0x6e
,
0x3e
,
0x87
,
0x11
);
DEFINE_GUID
(
MF_MT_AUDIO_PREFER_WAVEFORMATEX
,
0xa901aaba
,
0xe037
,
0x458a
,
0xbd
,
0xf6
,
0x54
,
0x5b
,
0xe2
,
0x07
,
0x40
,
0x42
);
DEFINE_GUID
(
MF_MT_AUDIO_FLAC_MAX_BLOCK_SIZE
,
0x8b81adae
,
0x4b5a
,
0x4d40
,
0x80
,
0x22
,
0xf3
,
0x8d
,
0x09
,
0xca
,
0x3c
,
0x5c
);
DEFINE_GUID
(
MF_MT_AAC_PAYLOAD_TIME
,
0xbfbabe79
,
0x7434
,
0x4d1c
,
0x94
,
0xf0
,
0x72
,
0xa3
,
0xb9
,
0xe1
,
0x71
,
0x88
);
DEFINE_GUID
(
MF_MT_AAC_AUDIO_PROFILE_LEVEL_INDICATION
,
0x7632f0e6
,
0x9538
,
0x4d61
,
0xac
,
0xda
,
0xea
,
0x29
,
0xc8
,
0xc1
,
0x44
,
0x56
);
DEFINE_GUID
(
MFT_CATEGORY_VIDEO_DECODER
,
0xd6c02d4b
,
0x6833
,
0x45b4
,
0x97
,
0x1a
,
0x05
,
0xa4
,
0xb0
,
0x4b
,
0xab
,
0x91
);
DEFINE_GUID
(
MFT_CATEGORY_VIDEO_ENCODER
,
0xf79eac7d
,
0xe545
,
0x4387
,
0xbd
,
0xee
,
0xd6
,
0x47
,
0xd7
,
0xbd
,
0xe4
,
0x2a
);
...
...
@@ -136,6 +172,11 @@ DEFINE_GUID(MFMediaType_Video, 0x73646976, 0x0000, 0x0010, 0x80, 0x0
DEFINE_GUID
(
MFSampleExtension_DecodeTimestamp
,
0x73a954d4
,
0x09e2
,
0x4861
,
0xbe
,
0xfc
,
0x94
,
0xbd
,
0x97
,
0xc0
,
0x8e
,
0x6e
);
DEFINE_GUID
(
MFSampleExtension_Timestamp
,
0x1e436999
,
0x69be
,
0x4c7a
,
0x93
,
0x69
,
0x70
,
0x06
,
0x8c
,
0x02
,
0x60
,
0xcb
);
DEFINE_GUID
(
MFSampleExtension_Token
,
0x8294da66
,
0xf328
,
0x4805
,
0xb5
,
0x51
,
0x00
,
0xde
,
0xb4
,
0xc5
,
0x7a
,
0x61
);
DEFINE_GUID
(
MFSampleExtension_3DVideo
,
0xf86f97a4
,
0xdd54
,
0x4e2e
,
0x9a
,
0x5e
,
0x55
,
0xfc
,
0x2d
,
0x74
,
0xa0
,
0x05
);
DEFINE_GUID
(
MFSampleExtension_3DVideo_SampleFormat
,
0x08671772
,
0xe36f
,
0x4cff
,
0x97
,
0xb3
,
0xd7
,
0x2e
,
0x20
,
0x98
,
0x7a
,
0x48
);
DEFINE_GUID
(
MFSampleExtension_TargetGlobalLuminance
,
0x3f60ef36
,
0x31ef
,
0x4daf
,
0x83
,
0x60
,
0x94
,
0x03
,
0x97
,
0xe4
,
0x1e
,
0xf3
);
DEFINE_GUID
(
MFSampleExtension_ForwardedDecodeUnits
,
0x424c754c
,
0x97c8
,
0x48d6
,
0x87
,
0x77
,
0xfc
,
0x41
,
0xf7
,
0xb6
,
0x08
,
0x79
);
DEFINE_GUID
(
MFSampleExtension_ForwardedDecodeUnitType
,
0x089e57c7
,
0x47d3
,
0x4a26
,
0xbf
,
0x9c
,
0x4b
,
0x64
,
0xfa
,
0xfb
,
0x5d
,
0x1e
);
DEFINE_GUID
(
MF_EVENT_DO_THINNING
,
0x321ea6fb
,
0xdad9
,
0x46e4
,
0xb3
,
0x1d
,
0xd2
,
0xea
,
0xe7
,
0x09
,
0x0e
,
0x30
);
DEFINE_GUID
(
MF_EVENT_MFT_CONTEXT
,
0xb7cd31f1
,
0x899e
,
0x4b41
,
0x80
,
0xc9
,
0x26
,
0xa8
,
0x96
,
0xd3
,
0x29
,
0x77
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment