Commit 2e64af01 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mfplat: Add a few MF_SA_* attributes for tracing.

parent 08088da4
...@@ -1615,6 +1615,7 @@ const char *debugstr_attr(const GUID *guid) ...@@ -1615,6 +1615,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_MT_PALETTE), X(MF_MT_PALETTE),
X(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_PROVIDER_DEVICE_ID), X(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_PROVIDER_DEVICE_ID),
X(MF_TOPOLOGY_STATIC_PLAYBACK_OPTIMIZATIONS), X(MF_TOPOLOGY_STATIC_PLAYBACK_OPTIMIZATIONS),
X(MF_SA_D3D11_USAGE),
X(MF_MEDIA_ENGINE_NEEDKEY_CALLBACK), X(MF_MEDIA_ENGINE_NEEDKEY_CALLBACK),
X(MF_MT_GEOMETRIC_APERTURE), X(MF_MT_GEOMETRIC_APERTURE),
X(MF_MT_ORIGINAL_WAVE_FORMAT_TAG), X(MF_MT_ORIGINAL_WAVE_FORMAT_TAG),
...@@ -1630,6 +1631,7 @@ const char *debugstr_attr(const GUID *guid) ...@@ -1630,6 +1631,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_MT_SPATIAL_AUDIO_MAX_DYNAMIC_OBJECTS), X(MF_MT_SPATIAL_AUDIO_MAX_DYNAMIC_OBJECTS),
X(MF_MT_DECODER_MAX_DPB_COUNT), X(MF_MT_DECODER_MAX_DPB_COUNT),
X(MFSampleExtension_ForwardedDecodeUnits), X(MFSampleExtension_ForwardedDecodeUnits),
X(MF_SA_D3D11_SHARED_WITHOUT_MUTEX),
X(MF_MT_DV_AAUX_CTRL_PACK_0), X(MF_MT_DV_AAUX_CTRL_PACK_0),
X(MF_MT_YUV_MATRIX), X(MF_MT_YUV_MATRIX),
X(MF_EVENT_SOURCE_TOPOLOGY_CANCELED), X(MF_EVENT_SOURCE_TOPOLOGY_CANCELED),
...@@ -1664,6 +1666,7 @@ const char *debugstr_attr(const GUID *guid) ...@@ -1664,6 +1666,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_MEDIA_ENGINE_PLAYBACK_VISUAL), X(MF_MEDIA_ENGINE_PLAYBACK_VISUAL),
X(MF_MT_VIDEO_CHROMA_SITING), X(MF_MT_VIDEO_CHROMA_SITING),
X(MF_AUDIO_RENDERER_ATTRIBUTE_STREAM_CATEGORY), X(MF_AUDIO_RENDERER_ATTRIBUTE_STREAM_CATEGORY),
X(MF_SA_BUFFERS_PER_SAMPLE),
X(MFSampleExtension_3DVideo_SampleFormat), X(MFSampleExtension_3DVideo_SampleFormat),
X(MF_MT_H264_RESOLUTION_SCALING), X(MF_MT_H264_RESOLUTION_SCALING),
X(MF_MT_VIDEO_LEVEL), X(MF_MT_VIDEO_LEVEL),
...@@ -1736,6 +1739,7 @@ const char *debugstr_attr(const GUID *guid) ...@@ -1736,6 +1739,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_TOPONODE_RATELESS), X(MF_TOPONODE_RATELESS),
X(MF_EVENT_STREAM_METADATA_CONTENT_KEYIDS), X(MF_EVENT_STREAM_METADATA_CONTENT_KEYIDS),
X(MF_TOPONODE_DISABLE_PREROLL), X(MF_TOPONODE_DISABLE_PREROLL),
X(MF_SA_D3D11_ALLOW_DYNAMIC_YUV_TEXTURE),
X(MF_MT_VIDEO_3D_FORMAT), X(MF_MT_VIDEO_3D_FORMAT),
X(MF_EVENT_STREAM_METADATA_KEYDATA), X(MF_EVENT_STREAM_METADATA_KEYDATA),
X(MF_SINK_WRITER_D3D_MANAGER), X(MF_SINK_WRITER_D3D_MANAGER),
...@@ -1751,6 +1755,7 @@ const char *debugstr_attr(const GUID *guid) ...@@ -1751,6 +1755,7 @@ const char *debugstr_attr(const GUID *guid)
X(MFT_ENUM_HARDWARE_URL_Attribute), X(MFT_ENUM_HARDWARE_URL_Attribute),
X(MF_SOURCE_READER_ASYNC_CALLBACK), X(MF_SOURCE_READER_ASYNC_CALLBACK),
X(MF_MT_OUTPUT_BUFFER_NUM), X(MF_MT_OUTPUT_BUFFER_NUM),
X(MF_SA_D3D11_BINDFLAGS),
X(MFT_ENCODER_SUPPORTS_CONFIG_EVENT), X(MFT_ENCODER_SUPPORTS_CONFIG_EVENT),
X(MF_MT_AUDIO_FLAC_MAX_BLOCK_SIZE), X(MF_MT_AUDIO_FLAC_MAX_BLOCK_SIZE),
X(MFT_FRIENDLY_NAME_Attribute), X(MFT_FRIENDLY_NAME_Attribute),
...@@ -1772,10 +1777,12 @@ const char *debugstr_attr(const GUID *guid) ...@@ -1772,10 +1777,12 @@ const char *debugstr_attr(const GUID *guid)
X(MF_MT_SPATIAL_AUDIO_OBJECT_METADATA_LENGTH), X(MF_MT_SPATIAL_AUDIO_OBJECT_METADATA_LENGTH),
X(MF_MT_SPATIAL_AUDIO_OBJECT_METADATA_FORMAT_ID), X(MF_MT_SPATIAL_AUDIO_OBJECT_METADATA_FORMAT_ID),
X(MF_SAMPLEGRABBERSINK_IGNORE_CLOCK), X(MF_SAMPLEGRABBERSINK_IGNORE_CLOCK),
X(MF_SA_D3D11_SHARED),
X(MF_MT_PAN_SCAN_ENABLED), X(MF_MT_PAN_SCAN_ENABLED),
X(MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ID), X(MF_AUDIO_RENDERER_ATTRIBUTE_ENDPOINT_ID),
X(MF_MT_DV_VAUX_CTRL_PACK), X(MF_MT_DV_VAUX_CTRL_PACK),
X(MFSampleExtension_ForwardedDecodeUnitType), X(MFSampleExtension_ForwardedDecodeUnitType),
X(MF_SA_D3D11_AWARE),
X(MF_MT_AUDIO_AVG_BYTES_PER_SECOND), X(MF_MT_AUDIO_AVG_BYTES_PER_SECOND),
X(MF_SOURCE_READER_MEDIASOURCE_CHARACTERISTICS), X(MF_SOURCE_READER_MEDIASOURCE_CHARACTERISTICS),
X(MF_MT_SPATIAL_AUDIO_MIN_METADATA_ITEM_OFFSET_SPACING), X(MF_MT_SPATIAL_AUDIO_MIN_METADATA_ITEM_OFFSET_SPACING),
...@@ -1802,6 +1809,7 @@ const char *debugstr_attr(const GUID *guid) ...@@ -1802,6 +1809,7 @@ const char *debugstr_attr(const GUID *guid)
X(MF_MT_H264_RATE_CONTROL_MODES), X(MF_MT_H264_RATE_CONTROL_MODES),
X(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_SYMBOLIC_LINK), X(MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_SYMBOLIC_LINK),
X(MF_READWRITE_D3D_OPTIONAL), X(MF_READWRITE_D3D_OPTIONAL),
X(MF_SA_D3D11_HW_PROTECTED),
X(MF_MEDIA_ENGINE_DXGI_MANAGER), X(MF_MEDIA_ENGINE_DXGI_MANAGER),
X(MF_READWRITE_MMCSS_CLASS_AUDIO), X(MF_READWRITE_MMCSS_CLASS_AUDIO),
X(MF_MEDIA_ENGINE_COREWINDOW), X(MF_MEDIA_ENGINE_COREWINDOW),
......
...@@ -198,7 +198,15 @@ interface IMFTransform : IUnknown ...@@ -198,7 +198,15 @@ interface IMFTransform : IUnknown
cpp_quote("HRESULT WINAPI MFCreateTransformActivate(IMFActivate **activate);") cpp_quote("HRESULT WINAPI MFCreateTransformActivate(IMFActivate **activate);")
cpp_quote("EXTERN_GUID(MF_SA_D3D_AWARE, 0xeaa35c29, 0x775e, 0x488e, 0x9b, 0x61, 0xb3, 0x28, 0x3e, 0x49, 0x58, 0x3b);") cpp_quote("EXTERN_GUID(MF_SA_BUFFERS_PER_SAMPLE, 0x873c5171, 0x1e3d, 0x4e25, 0x98, 0x8d, 0xb4, 0x33, 0xce, 0x04, 0x19, 0x83);")
cpp_quote("EXTERN_GUID(MF_SA_D3D_AWARE, 0xeaa35c29, 0x775e, 0x488e, 0x9b, 0x61, 0xb3, 0x28, 0x3e, 0x49, 0x58, 0x3b);")
cpp_quote("EXTERN_GUID(MF_SA_D3D11_ALLOW_DYNAMIC_YUV_TEXTURE, 0xce06d49f, 0x0613, 0x4b9d, 0x86, 0xa6, 0xd8, 0xc4, 0xf9, 0xc1, 0x00, 0x75);")
cpp_quote("EXTERN_GUID(MF_SA_D3D11_AWARE, 0x206b4fc8, 0xfcf9, 0x4c51, 0xaf, 0xe3, 0x97, 0x64, 0x36, 0x9e, 0x33, 0xa0);")
cpp_quote("EXTERN_GUID(MF_SA_D3D11_BINDFLAGS, 0xeacf97ad, 0x065c, 0x4408, 0xbe, 0xe3, 0xfd, 0xcb, 0xfd, 0x12, 0x8b, 0xe2);")
cpp_quote("EXTERN_GUID(MF_SA_D3D11_HW_PROTECTED, 0x3a8ba9d9, 0x92ca, 0x4307, 0xa3, 0x91, 0x69, 0x99, 0xdb, 0xf3, 0xb6, 0xce);")
cpp_quote("EXTERN_GUID(MF_SA_D3D11_SHARED, 0x7b8f32c3, 0x6d96, 0x4b89, 0x92, 0x03, 0xdd, 0x38, 0xb6, 0x14, 0x14, 0xf3);")
cpp_quote("EXTERN_GUID(MF_SA_D3D11_SHARED_WITHOUT_MUTEX, 0x39dbd44d, 0x2e44, 0x4931, 0xa4, 0xc8, 0x35, 0x2d, 0x3d, 0xc4, 0x21, 0x15);")
cpp_quote("EXTERN_GUID(MF_SA_D3D11_USAGE, 0xe85fe442, 0x2ca3, 0x486e, 0xa9, 0xc7, 0x10, 0x9d, 0xda, 0x60, 0x98, 0x80);")
cpp_quote("EXTERN_GUID(MF_SA_REQUIRED_SAMPLE_COUNT, 0x18802c61, 0x324b, 0x4952, 0xab, 0xd0, 0x17, 0x6f, 0xf5, 0xc6, 0x96, 0xff);") cpp_quote("EXTERN_GUID(MF_SA_REQUIRED_SAMPLE_COUNT, 0x18802c61, 0x324b, 0x4952, 0xab, 0xd0, 0x17, 0x6f, 0xf5, 0xc6, 0x96, 0xff);")
cpp_quote("EXTERN_GUID(MF_TRANSFORM_ASYNC, 0xf81a699a, 0x649a, 0x497d, 0x8c, 0x73, 0x29, 0xf8, 0xfe, 0xd6, 0xad, 0x7a);") cpp_quote("EXTERN_GUID(MF_TRANSFORM_ASYNC, 0xf81a699a, 0x649a, 0x497d, 0x8c, 0x73, 0x29, 0xf8, 0xfe, 0xd6, 0xad, 0x7a);")
cpp_quote("EXTERN_GUID(MF_TRANSFORM_ASYNC_UNLOCK, 0xe5666d6b, 0x3422, 0x4eb6, 0xa4, 0x21, 0xda, 0x7d, 0xb1, 0xf8, 0xe2, 0x07);") cpp_quote("EXTERN_GUID(MF_TRANSFORM_ASYNC_UNLOCK, 0xe5666d6b, 0x3422, 0x4eb6, 0xa4, 0x21, 0xda, 0x7d, 0xb1, 0xf8, 0xe2, 0x07);")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment