mfplat: Add media source attribute guids.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2019-03-20 08:35:37 +03:00 committed by Alexandre Julliard
parent be25d225ad
commit 999abe0f85
2 changed files with 22 additions and 1 deletions

View File

@ -556,9 +556,11 @@ static const char *debugstr_attr(const GUID *guid)
#define X(g) { &(g), #g }
X(MF_READWRITE_MMCSS_CLASS),
X(MF_SINK_WRITER_ENCODER_CONFIG),
X(MF_SOURCE_READER_ENABLE_TRANSCODE_ONLY_TRANSFORMS),
X(MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS),
X(MF_MT_PIXEL_ASPECT_RATIO),
X(MF_MT_AVG_BITRATE),
X(MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING),
X(MF_PD_PMPHOST_CONTEXT),
X(MF_PD_APP_CONTEXT),
X(MF_PD_TOTAL_FILE_SIZE),
@ -570,12 +572,15 @@ static const char *debugstr_attr(const GUID *guid)
X(MF_MT_ALL_SAMPLES_INDEPENDENT),
X(MF_PD_PREFERRED_LANGUAGE),
X(MF_PD_PLAYBACK_BOUNDARY_TIME),
X(MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING),
X(MF_MT_FRAME_SIZE),
X(MF_SINK_WRITER_ASYNC_CALLBACK),
X(MF_MT_FRAME_RATE_RANGE_MAX),
X(MF_MT_USER_DATA),
X(MF_SOURCE_READER_DISCONNECT_MEDIASOURCE_ON_SHUTDOWN),
X(MF_READWRITE_DISABLE_CONVERTERS),
X(MFSampleExtension_Token),
X(MF_SOURCE_READER_D3D11_BIND_FLAGS),
X(MF_PD_SAMI_STYLELIST),
X(MF_SD_LANGUAGE),
X(MF_SD_PROTECTED),
@ -595,14 +600,20 @@ static const char *debugstr_attr(const GUID *guid)
X(MF_SD_MUTUALLY_EXCLUSIVE),
X(MF_SD_STREAM_NAME),
X(MF_SINK_WRITER_D3D_MANAGER),
X(MF_SOURCE_READER_D3D_MANAGER),
X(MF_SOURCE_READER_ASYNC_CALLBACK),
X(MF_MT_INTERLACE_MODE),
X(MF_SOURCE_READER_MEDIASOURCE_CHARACTERISTICS),
X(MF_READWRITE_MMCSS_PRIORITY),
X(MFSampleExtension_DecodeTimestamp),
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_FRAME_RATE),
X(MF_SOURCE_READER_MEDIASOURCE_CONFIG),
X(MF_SOURCE_READER_DISABLE_DXVA),
#undef X
};
struct guid_def *ret = NULL;

View File

@ -78,7 +78,17 @@ cpp_quote("EXTERN_GUID(MF_READWRITE_MMCSS_CLASS_AUDIO, 0x430847da, 0x08
cpp_quote("EXTERN_GUID(MF_READWRITE_MMCSS_PRIORITY_AUDIO, 0x273db885, 0x2de2, 0x4db2, 0xa6, 0xa7, 0xfd, 0xb6, 0x6f, 0xb4, 0x0b, 0x61);")
cpp_quote("EXTERN_GUID(MF_READWRITE_D3D_OPTIONAL, 0x216479d9, 0x3071, 0x42ca, 0xbb, 0x6c, 0x4c, 0x22, 0x10, 0x2e, 0x1d, 0x18);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_MEDIASOURCE_CHARACTERISTICS, 0x6d23f5c8, 0xc5d7, 0x4a9b, 0x99, 0x71, 0x5d, 0x11, 0xf8, 0xbc, 0xa8, 0x80);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_ASYNC_CALLBACK, 0x1e3dbeac, 0xbb43, 0x4c35, 0xb5, 0x07, 0xcd, 0x64, 0x44, 0x64, 0xc9, 0x65);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_D3D_MANAGER, 0xec822da2, 0xe1e9, 0x4b29, 0xa0, 0xd8, 0x56, 0x3c, 0x71, 0x9f, 0x52, 0x69);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_D3D11_BIND_FLAGS, 0x33f3197b, 0xf73a, 0x4e14, 0x8d, 0x85, 0x0e, 0x4c, 0x43, 0x68, 0x78, 0x8d);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_DISABLE_CAMERA_PLUGINS, 0x9d3365dd, 0x058f, 0x4cfb, 0x9f, 0x97, 0xb3, 0x14, 0xcc, 0x99, 0xc8, 0xad);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_DISABLE_DXVA, 0xaa456cfd, 0x3943, 0x4a1e, 0xa7, 0x7d, 0x18, 0x38, 0xc0, 0xea, 0x2e, 0x35);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_DISCONNECT_MEDIASOURCE_ON_SHUTDOWN, 0x56b67165, 0x219e, 0x456d, 0xa2, 0x2e, 0x2d, 0x30, 0x04, 0xc7, 0xfe, 0x56);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING, 0x0f81da2c, 0xb537, 0x4672, 0xa8, 0xb2, 0xa6, 0x81, 0xb1, 0x73, 0x07, 0xa3);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_ENABLE_TRANSCODE_ONLY_TRANSFORMS, 0xdfd4f008, 0xb5fd, 0x4e78, 0xae, 0x44, 0x62, 0xa1, 0xe6, 0x7b, 0xbe, 0x27);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING, 0xfb394f3d, 0xccf1, 0x42ee, 0xbb, 0xb3, 0xf9, 0xb8, 0x45, 0xd5, 0x68, 0x1d);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_MEDIASOURCE_CHARACTERISTICS, 0x6d23f5c8, 0xc5d7, 0x4a9b, 0x99, 0x71, 0x5d, 0x11, 0xf8, 0xbc, 0xa8, 0x80);")
cpp_quote("EXTERN_GUID(MF_SOURCE_READER_MEDIASOURCE_CONFIG, 0x9085abeb, 0x0354, 0x48f9, 0xab, 0xb5, 0x20, 0x0d, 0xf8, 0x38, 0xc6, 0x8e);")
interface IMFMediaSource;