mfplat: Add SAR attribute traces.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-04-08 17:21:23 +03:00 committed by Alexandre Julliard
parent 0507ba6aab
commit f553c2b14f
2 changed files with 15 additions and 0 deletions

View File

@ -1647,6 +1647,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_TOPOLOGY_ENUMERATE_SOURCE_TYPES),
X(MF_MT_VIDEO_NO_FRAME_ORDERING),
X(MF_MT_VIDEO_CHROMA_SITING),
X(MF_AUDIO_RENDERER_ATTRIBUTE_STREAM_CATEGORY),
X(MFSampleExtension_3DVideo_SampleFormat),
X(MF_MT_H264_RESOLUTION_SCALING),
X(MF_MT_MPEG2_LEVEL),
@ -1749,6 +1750,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_MT_SPATIAL_AUDIO_OBJECT_METADATA_FORMAT_ID),
X(MF_SAMPLEGRABBERSINK_IGNORE_CLOCK),
X(MF_MT_PAN_SCAN_ENABLED),
X(MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ID),
X(MF_MT_DV_VAUX_CTRL_PACK),
X(MFSampleExtension_ForwardedDecodeUnitType),
X(MF_MT_AUDIO_AVG_BYTES_PER_SECOND),
@ -1782,6 +1784,8 @@ const char *debugstr_attr(const GUID *guid)
X(MF_TOPOLOGY_RESOLUTION_STATUS),
X(MF_MT_ORIGINAL_4CC),
X(MF_PD_AUDIO_ISVARIABLEBITRATE),
X(MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS),
X(MF_AUDIO_RENDERER_ATTRIBUTE_SESSION_ID),
X(MF_MT_MPEG2_CONTENT_PACKET),
X(MFT_PROCESS_LOCAL_Attribute),
X(MFT_PROCESS_LOCAL_Attribute),
@ -1830,6 +1834,7 @@ const char *debugstr_attr(const GUID *guid)
X(MFT_FIELDOFUSE_UNLOCK_Attribute),
X(MF_TOPONODE_ERROR_SUBTYPE),
X(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE),
X(MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ROLE),
X(MF_MT_VIDEO_3D_LEFT_IS_BASE),
X(MF_TOPONODE_WORKQUEUE_MMCSS_TASKID),
#undef X

View File

@ -967,6 +967,10 @@ cpp_quote(" return attributes->SetUINT64(key, ((UINT64)numerator << 32) | den
cpp_quote("}")
cpp_quote("#endif")
cpp_quote("#define MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS_CROSSPROCESS 0x00000001")
cpp_quote("#define MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS_NOPERSIST 0x00000002")
cpp_quote("#define MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS_DONT_ALLOW_FORMAT_CHANGES 0x00000004")
cpp_quote("EXTERN_GUID(MF_ACTIVATE_MFT_LOCKED, 0xc1f6093c, 0x7f65, 0x4fbd, 0x9e, 0x39, 0x5f, 0xae, 0xc3, 0xc4, 0xfb, 0xd7);")
cpp_quote("EXTERN_GUID(MF_SD_LANGUAGE, 0x00af2180, 0xbdc2, 0x423c, 0xab, 0xca, 0xf5, 0x03, 0x59, 0x3b, 0xc1, 0x21);")
@ -1065,4 +1069,10 @@ cpp_quote("EXTERN_GUID(MF_SESSION_REMOTE_SOURCE_MODE, 0xf4033ef4, 0x9bb3, 0x4378
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(MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS, 0xede4b5e0, 0xf805, 0x4d6c, 0x99, 0xb3, 0xdb, 0x01, 0xbf, 0x95, 0xdf, 0xab);")
cpp_quote("EXTERN_GUID(MF_AUDIO_RENDERER_ATTRIBUTE_SESSION_ID, 0xede4b5e3, 0xf805, 0x4d6c, 0x99, 0xb3, 0xdb, 0x01, 0xbf, 0x95, 0xdf, 0xab);")
cpp_quote("EXTERN_GUID(MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ID, 0xb10aaec3, 0xef71, 0x4cc3, 0xb8, 0x73, 0x05, 0xa9, 0xa0, 0x8b, 0x9f, 0x8e);")
cpp_quote("EXTERN_GUID(MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ROLE, 0x6ba644ff, 0x27c5, 0x4d02, 0x98, 0x87, 0xc2, 0x86, 0x19, 0xfd, 0xb9, 0x1b);")
cpp_quote("EXTERN_GUID(MF_AUDIO_RENDERER_ATTRIBUTE_STREAM_CATEGORY, 0xa9770471, 0x92ec, 0x4df4, 0x94, 0xfe, 0x81, 0xc3, 0x6f, 0x0c, 0x3a, 0x7a);")
cpp_quote("EXTERN_GUID(CLSID_VideoProcessorMFT, 0x88753b26, 0x5b24, 0x49bd, 0xb2, 0xe7, 0xc, 0x44, 0x5c, 0x78, 0xc9, 0x82);")