mfplat: Add Media Session attributes for tracing.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2019-09-24 12:01:57 +03:00 committed by Alexandre Julliard
parent c8dbb0c4c1
commit 27901739f5
2 changed files with 17 additions and 0 deletions

View File

@ -630,6 +630,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_SOURCE_READER_ENABLE_TRANSCODE_ONLY_TRANSFORMS), X(MF_SOURCE_READER_ENABLE_TRANSCODE_ONLY_TRANSFORMS),
X(MF_TOPOLOGY_DYNAMIC_CHANGE_NOT_ALLOWED), X(MF_TOPOLOGY_DYNAMIC_CHANGE_NOT_ALLOWED),
X(MF_MT_ALPHA_MODE), X(MF_MT_ALPHA_MODE),
X(MF_PMP_SERVER_CONTEXT),
X(MF_TOPOLOGY_PLAYBACK_MAX_DIMS), X(MF_TOPOLOGY_PLAYBACK_MAX_DIMS),
X(MF_LOW_LATENCY), X(MF_LOW_LATENCY),
X(MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS), X(MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS),
@ -638,6 +639,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_MT_WRAPPED_TYPE), X(MF_MT_WRAPPED_TYPE),
X(MF_MT_AVG_BITRATE), X(MF_MT_AVG_BITRATE),
X(MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING), X(MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING),
X(MF_SESSION_APPROX_EVENT_OCCURRENCE_TIME),
X(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_MAX_BUFFERS), X(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_MAX_BUFFERS),
X(MF_MT_AUDIO_BLOCK_ALIGNMENT), X(MF_MT_AUDIO_BLOCK_ALIGNMENT),
X(MF_PD_PMPHOST_CONTEXT), X(MF_PD_PMPHOST_CONTEXT),
@ -693,6 +695,10 @@ const char *debugstr_attr(const GUID *guid)
X(MF_SD_LANGUAGE), X(MF_SD_LANGUAGE),
X(MF_MT_AUDIO_WMADRC_AVGTARGET), X(MF_MT_AUDIO_WMADRC_AVGTARGET),
X(MF_SD_PROTECTED), X(MF_SD_PROTECTED),
X(MF_SESSION_TOPOLOADER),
X(MF_SESSION_GLOBAL_TIME),
X(MF_SESSION_QUALITY_MANAGER),
X(MF_SESSION_CONTENT_PROTECTION_MANAGER),
X(MF_READWRITE_MMCSS_PRIORITY_AUDIO), X(MF_READWRITE_MMCSS_PRIORITY_AUDIO),
X(MF_BYTESTREAM_ORIGIN_NAME), X(MF_BYTESTREAM_ORIGIN_NAME),
X(MF_BYTESTREAM_CONTENT_TYPE), X(MF_BYTESTREAM_CONTENT_TYPE),
@ -710,6 +716,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_MT_MAJOR_TYPE), X(MF_MT_MAJOR_TYPE),
X(MF_EVENT_SOURCE_CHARACTERISTICS), X(MF_EVENT_SOURCE_CHARACTERISTICS),
X(MF_EVENT_SOURCE_CHARACTERISTICS_OLD), X(MF_EVENT_SOURCE_CHARACTERISTICS_OLD),
X(MF_SESSION_SERVER_CONTEXT),
X(MF_MT_VIDEO_3D_FIRST_IS_LEFT), X(MF_MT_VIDEO_3D_FIRST_IS_LEFT),
X(MF_PD_ADAPTIVE_STREAMING), X(MF_PD_ADAPTIVE_STREAMING),
X(MFSampleExtension_Timestamp), X(MFSampleExtension_Timestamp),
@ -781,6 +788,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_EVENT_MFT_CONTEXT), X(MF_EVENT_MFT_CONTEXT),
X(MF_MT_FORWARD_CUSTOM_SEI), X(MF_MT_FORWARD_CUSTOM_SEI),
X(MF_TOPONODE_CONNECT_METHOD), X(MF_TOPONODE_CONNECT_METHOD),
X(MF_SESSION_REMOTE_SOURCE_MODE),
X(MF_MT_DEPTH_VALUE_UNIT), X(MF_MT_DEPTH_VALUE_UNIT),
X(MF_MT_AUDIO_NUM_CHANNELS), X(MF_MT_AUDIO_NUM_CHANNELS),
X(MF_TOPOLOGY_DXVA_MODE), X(MF_TOPOLOGY_DXVA_MODE),

View File

@ -842,4 +842,13 @@ cpp_quote("EXTERN_GUID(MF_RATE_CONTROL_SERVICE, 0x866fa297, 0xb802, 0x4bf8, 0x9d
cpp_quote("EXTERN_GUID(MF_SAMPLEGRABBERSINK_SAMPLE_TIME_OFFSET, 0x62e3d776, 0x8100, 0x4e03, 0xa6, 0xe8, 0xbd, 0x38, 0x57, 0xac, 0x9c, 0x47);") cpp_quote("EXTERN_GUID(MF_SAMPLEGRABBERSINK_SAMPLE_TIME_OFFSET, 0x62e3d776, 0x8100, 0x4e03, 0xa6, 0xe8, 0xbd, 0x38, 0x57, 0xac, 0x9c, 0x47);")
cpp_quote("EXTERN_GUID(MF_SAMPLEGRABBERSINK_IGNORE_CLOCK, 0x0efda2c0, 0x2b69, 0x4e2e, 0xab, 0x8d, 0x46, 0xdc, 0xbf, 0xf7, 0xd2, 0x5d);") cpp_quote("EXTERN_GUID(MF_SAMPLEGRABBERSINK_IGNORE_CLOCK, 0x0efda2c0, 0x2b69, 0x4e2e, 0xab, 0x8d, 0x46, 0xdc, 0xbf, 0xf7, 0xd2, 0x5d);")
cpp_quote("EXTERN_GUID(MF_SESSION_TOPOLOADER, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x71);")
cpp_quote("EXTERN_GUID(MF_SESSION_GLOBAL_TIME, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x72);")
cpp_quote("EXTERN_GUID(MF_SESSION_QUALITY_MANAGER, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x73);")
cpp_quote("EXTERN_GUID(MF_SESSION_CONTENT_PROTECTION_MANAGER, 0x1e83d482, 0x1f1c, 0x4571, 0x84, 0x05, 0x88, 0xf4, 0xb2, 0x18, 0x1f, 0x74);")
cpp_quote("EXTERN_GUID(MF_SESSION_SERVER_CONTEXT, 0xafe5b291, 0x50fa, 0x46e8, 0xb9, 0xbe, 0x0c, 0x0c, 0x3c, 0xe4, 0xb3, 0xa5);")
cpp_quote("EXTERN_GUID(MF_SESSION_REMOTE_SOURCE_MODE, 0xf4033ef4, 0x9bb3, 0x4378, 0x94, 0x1f, 0x85, 0xa0, 0x85, 0x6b, 0xc2, 0x44);")
cpp_quote("EXTERN_GUID(MF_SESSION_APPROX_EVENT_OCCURRENCE_TIME, 0x190e852f, 0x6238, 0x42d1, 0xb5, 0xaf, 0x69, 0xea, 0x33, 0x8e, 0xf8, 0x50);")
cpp_quote("EXTERN_GUID(MF_PMP_SERVER_CONTEXT, 0x2f00c910, 0xd2cf, 0x4278, 0x8b, 0x6a, 0xd0, 0x77, 0xfa, 0xc3, 0xa2, 0x5f);")
cpp_quote("EXTERN_GUID(CLSID_VideoProcessorMFT, 0x88753b26, 0x5b24, 0x49bd, 0xb2, 0xe7, 0xc, 0x44, 0x5c, 0x78, 0xc9, 0x82);") cpp_quote("EXTERN_GUID(CLSID_VideoProcessorMFT, 0x88753b26, 0x5b24, 0x49bd, 0xb2, 0xe7, 0xc, 0x44, 0x5c, 0x78, 0xc9, 0x82);")