Commit Graph

134 Commits

Author SHA1 Message Date
Nikolay Sivov 27901739f5 mfplat: Add Media Session attributes for tracing.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-24 11:34:27 +02:00
Alexandre Julliard 7f87c89227 mfplat: Fix a GUID name.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-30 20:06:52 +02:00
Jactry Zeng 4fc9ecda1c mfplat: Implement IMFDXGIDeviceManager::ResetDevice().
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-08-30 20:00:34 +02:00
Jactry Zeng 645cf84677 mfplat: Implement MFCreateDXGIDeviceManager().
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-08-30 20:00:29 +02:00
Alexandre Julliard 631f9b8d5f mfplat: Make bsearch() callback functions cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-22 09:58:35 +02:00
Zebediah Figura 748565df50 mfplat: Implement CreatePropertyStore().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-02 10:52:03 +02:00
Nikolay Sivov a07d6070d5 mfplat: Trace MF_PD_DURATION guid.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 14:41:43 +02:00
Nikolay Sivov 4c3e531242 mfplat: Add MF_LOW_LATENCY attribute GUID.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-25 17:44:03 +02:00
Nikolay Sivov 1cc06fb257 mfplat: Give priority to local bytestream handlers.
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 5f4cf13630 mfplat: Give priority to local scheme handlers.
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 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
Alexandre Julliard 7844b363d9 mfplat: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 08:25:47 +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 67bd377af2 mfplat: Make sure async event delivery is triggered with EndGetEvent().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:17:17 +02:00
Nikolay Sivov 1778775f47 mfplat: Add sample grabber attributes to debug tracing helper.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 21:53:27 +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 40fef0fb71 mfplat: Print the debug strings and not the pointers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 23:04:31 +02:00
Nikolay Sivov ea96db6557 mfplat: Write flags when registering MFT.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 08:47:28 -05:00
Nikolay Sivov b0bd57f953 mfplat: Write attribute store when registering MFT.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 08:47:25 -05:00
Nikolay Sivov 52f374ad50 mfplat: Implement IsEndOfStream() for file stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:54 -05:00
Nikolay Sivov 6da78ff6dd mfplat: Implement Read() for file-based stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:54 -05:00
Nikolay Sivov 59599486c8 mfplat: Improve SetGUID() traces.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:54 -05:00
Nikolay Sivov 9092f1f3da mfplat: Add topology attributes guids.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:54 -05: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 ec991fbf29 mfplat: Add more attribute guids.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:08:38 +02:00
Nikolay Sivov 4837234e84 mfplat: Improve method traces.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Nikolay Sivov 60f610660d mfplat: Improve thread safety for IStream-based stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Nikolay Sivov 53f0a25e6d mfplat: Fix early return from GetString() (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 bf8d536c22 mfplat: Use attributes helpers for events.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:28:00 +02:00
Nikolay Sivov fee85530dc mfplat: Trace known format ids in MFCalculateImageSize().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:27:58 +02:00
Nikolay Sivov 7a13f42786 mfplat: Add per-method helpers for attributes, use them for media type.
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 86656f8604 mfplat: Add symbolic names for event id tracing.
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 6e34275f84 mfplat: Add traces for attributes methods of IMFMediaType.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 21:13:43 +01:00
Nikolay Sivov 9c146f2856 mfplat: Use correct callback for CreateObjectFromURL().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 21:13:43 +01:00
Nikolay Sivov 663af65eb9 mfplat: Fix EndCreateObject*() when events are used.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 21:13:43 +01:00
Nikolay Sivov 17613e0a03 mfplat: Use current stream position when async request is made.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 09:24:28 +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 493b375f00 mfplat: Use existing helper for BeginWrite() too.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:21:39 +01:00
Nikolay Sivov 10338fc7e8 mfplat: Implement MFCreateMFByteStreamWrapper().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:21:39 +01:00
Nikolay Sivov 65e369444d mfplat: Add tracing for media formats guids.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:21:39 +01:00
Nikolay Sivov 1d6634b2b2 mfplat: Add more attributes guids.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:13:55 +01:00
Nikolay Sivov fe66e0f766 mfplat: Create dummy descriptor using public API.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:13:53 +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