Commit Graph

88 Commits

Author SHA1 Message Date
Nikolay Sivov c7b956f8fc mfplat: Add MFRegisterLocalByteStreamHandler().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 18:30:25 +02:00
Nikolay Sivov a52c7aff73 mfplat: Add MFRegisterLocalSchemeHandler().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:17:23 +02:00
Nikolay Sivov 7b014ff049 mfplat: Add timestamp support for system time source.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 21:56:04 +02:00
Nikolay Sivov 5904eb8419 mfplat: Create system clock instance per system time source.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:31:39 +02:00
Nikolay Sivov ac2038ef30 mfplat: Return properties for system time source.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:31:38 +02:00
Nikolay Sivov e1d23a336e mfplat: Handle null destination for GetItem().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:02:30 +02:00
Michael Stefaniuc de74a92eab mfplat/tests: Remove a duplicated ok() check.
Also fix the text of the first ok() call.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 21:14:59 +02:00
Nikolay Sivov 8c69a77032 mf: Implement file scheme handler.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 16:31:24 +02:00
Nikolay Sivov 0ece679210 mfplat/tests: Add some tests for calling scheme handler directly.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 23:38:21 +02:00
Nikolay Sivov 75def3a11e mfplat: Use file url scheme as a fallback.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 23:38:07 +02:00
Nikolay Sivov 1cf021f45e mfplat: Implement async file stream creation API.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 23:37:30 +02:00
Nikolay Sivov dda9037c37 mfplat: Copy attributes when cloning presentation descriptor.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:08:09 +02:00
Nikolay Sivov 2e9a036f9a mfplat: Add partial implementation of ConvertToContiguousBuffer().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-26 13:38:36 +02:00
Nikolay Sivov 4c9517ee0d mfplat/tests: Add a test for stream descriptor major type behavior.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:18 +02:00
Nikolay Sivov 622a84c637 mfplat/tests: Add some return value checks (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 09:55:22 +02:00
Nikolay Sivov 261995d166 mfplat: Partially implement MFCreateWaveFormatExFromMFMediaType() for PCM format.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 21:54:31 +02:00
Nikolay Sivov c46bdc9473 mfplat: Fix return value for IsCompressedFormat().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:46:58 +01:00
Nikolay Sivov b00be28968 mfplat: Return capabilities for file stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:46:54 +01:00
Nikolay Sivov b74b59915d mfplat: Keep file handle open for file stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:46:50 +01:00
Nikolay Sivov e079edf8a8 mfplat: Add IMFGetService stub for file-based bytestream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 09:20:57 +01:00
Nikolay Sivov 12812772a0 mfplat: Set default attributes for file-based bytestream object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 09:20:55 +01:00
Nikolay Sivov e3c76d773b mfplat: Set capabilities flags for IStream-based bytestream object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 09:20:53 +01:00
Nikolay Sivov e8c4c1db0c mfplat: Implement IStream-based bytestream object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 09:20:47 +01:00
Nikolay Sivov 16477a0922 mfplat: Implement media type wrapping.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 09:20:40 +01:00
Nikolay Sivov 6dc7503b23 mfplat: Implement attributes deserialization.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:32:17 +01:00
Nikolay Sivov 7dfc5db155 mfplat: Implement attributes serialization.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:32:17 +01:00
Nikolay Sivov f3a72d4e91 mfplat: Implement MFCompareFullToPartialMediaType().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:32:17 +01:00
Nikolay Sivov abcea9a35a mfplat: Implement MFCalculateImageSize().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:32:16 +01:00
Nikolay Sivov 762a9ae4c7 mfplat: Implement GetMajorType() for stream descriptor.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:32:16 +01:00
Nikolay Sivov d3e819a5a7 mfplat/tests: Add stream descriptor tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:32:16 +01:00
Nikolay Sivov dd67345ea4 mfplat/tests: Skip more tests on older systems.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 16:52:56 +01:00
Nikolay Sivov 23237173b9 mfplat: Add sample timestamp and duration methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 16:52:45 +01:00
Nikolay Sivov ced0a1de7e mfplat: Get rid of variant coercion calls.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 16:52:37 +01:00
Nikolay Sivov 780378b203 mfplat: Implement Compare() for attributes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 16:52:35 +01:00
Francois Gouget 82060ae8df mfplat/tests: A wording tweak in a win_skip() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:11:59 +01:00
Jactry Zeng c9027a8d03 mfplat: Implement CompareItem() for attributes.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:02:58 +01:00
Jactry Zeng 706d4d8eb4 mfplat: Add support for blob attribute values.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:02:55 +01:00
Jactry Zeng 2035055a5a mfplat: Add support for GUID attributes.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:02:53 +01:00
Jactry Zeng 462d7ed1b6 mfplat: Implement IMFAttributes::CopyAllItems().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:02:50 +01:00
Jactry Zeng 20ab5230f6 mfplat: Implement IMFAttributes::DeleteAllItems().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:02 +01:00
Jactry Zeng 57ac2649f8 mfplat: Implement IMFAttributes::{SetUnknown, GetUnknown}.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:02 +01:00
Jactry Zeng e00bfc4c91 mfplat: Add support for string attributes.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:02 +01:00
Jactry Zeng 535ec306a4 mfplat: Implement IMFAttributes::{SetDouble, GetDouble}.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:02 +01:00
Jactry Zeng e8a9cd2e06 mfplat: Implement IMFAttributes::GetCount().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:02 +01:00
Jactry Zeng c127fab80e mfplat: Add support for integer attribute values.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:02 +01:00
Jactry Zeng a80b603c03 mfplat: Implement IMFAttributes::GetItemByIndex().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:02 +01:00
Jactry Zeng 50a57f8613 mfplat: Implement IMFAttributes::DeleteItem().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:01 +01:00
Jactry Zeng 7edec69cd7 mfplat: Implement IMFAttributes::{SetItem,GetItem}.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:01 +01:00
Francois Gouget 1b9573c84e mfplat/tests: Fix the trailing '\n's in ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:32:47 +01:00
Nikolay Sivov 61f76829f4 mfplat: Implement equality test for media types.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00