Francois Gouget
a909baeb4e
tests: Report all errors when failing to wait for a child process.
...
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Nikolay Sivov
c1e5c71467
mfplat: Implement locking methods for 2D memory buffers.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-16 21:30:48 +01:00
Nikolay Sivov
2e3baaed2c
mfplat: Forward MFCreateAsyncResult() to rtworkq.dll.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-16 21:30:45 +01:00
Nikolay Sivov
b43929367c
mfplat: Use underlying work queue API.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-16 21:30:42 +01:00
Nikolay Sivov
2c1c5cc292
mfplat: Add some more YUV formats data.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-16 21:30:40 +01:00
Nikolay Sivov
ba014235ec
mfplat: Implement MFCreateMediaBufferFromMediaType() for audio types.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-16 21:30:37 +01:00
Nikolay Sivov
1fb20f67d8
mfplat: Add a stub for 2D system memory buffer object.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-12 21:18:19 +01:00
Nikolay Sivov
d62f8f645a
mfplat: Add MFGetStrideForBitmapInfoHeader().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-12 21:18:19 +01:00
Nikolay Sivov
3e1cfb3dd8
mfplat: Implement IsMediaTypeSupported() for stream descriptor.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 20:05:37 +01:00
Nikolay Sivov
b50c7c7999
mfplat: Implement CopyToBuffer().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-10 20:05:37 +01:00
Nikolay Sivov
673d984934
mfplat: Add MFGetPlaneSize().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Nikolay Sivov
2f4ba6e88b
mfplat: Remove extra critical section from stream descriptor.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-06 17:55:40 +01:00
Nikolay Sivov
ca2e20906e
mfplat: Remove extra critical section from presentation descriptor.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-06 17:55:38 +01:00
Nikolay Sivov
7f114274c0
mfplat: Remove extra critical section used in sample implementation.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-06 17:55:36 +01:00
Nikolay Sivov
246382e8aa
mfplat: Implement transform activation object.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 14:20:25 +01:00
Nikolay Sivov
7d8640a714
mfplat: Default to synchronous model for locally registered MFTs.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 14:20:25 +01:00
Nikolay Sivov
089da73865
mfplat: Set activation object attributes for enumeration results.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 14:20:25 +01:00
Nikolay Sivov
063e58fbab
mfplat: Add some MFT-related attributes GUIDs.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 14:20:25 +01:00
Nikolay Sivov
c0b1d7b593
mfplat: Implement MFTEnumEx().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 14:20:25 +01:00
Nikolay Sivov
bd3ae4a0c4
mfplat: Use underlying work queue calls more to get rid of duplicated traces.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-02 13:06:20 +01:00
Nikolay Sivov
ad4c734c37
mfplat: Fix media type compare logic regarding user data.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 20:30:06 +01:00
Nikolay Sivov
ed79ce484a
mfplat/tests: Use wide string literals.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 09:39:12 +01:00
Nikolay Sivov
dcae1afa05
mfplat/tests: Add some tests for COM initialization in work queues threads.
...
Based on patch by Derek Lesho.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 20:46:32 +01:00
Derek Lesho
b7047b5ae9
mfplat/tests: Add more comprehensive media source tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-13 16:44:24 +01:00
Derek Lesho
37d977da22
mfplat: Implement IMFByteStream::SetCurrentPosition() for file streams.
...
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-12 16:54:02 +01:00
Derek Lesho
e756c28b0b
mfplat: Implement IMFByteStream::GetLength() for file streams.
...
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 19:49:06 +01:00
Nikolay Sivov
19519f025e
mfplat: Add MFAllocateSerialWorkQueue() export.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 19:49:03 +01:00
Derek Lesho
7929583bb6
mfplat: Make functionality of GetMediaTypeHandler more clear.
...
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 08:55:02 +01:00
Nikolay Sivov
7b87278dcf
mfplat: Forward async queue functionality to rtworkq.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 08:48:07 +01:00
Nikolay Sivov
97f646edab
mfplat: Add support for local MFT registration.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:39:06 +01:00
Nikolay Sivov
be45be2de7
mfplat: Add MFCreateTransformActivate().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-29 20:38:58 +01:00
Zebediah Figura
fe6ad8f88f
mfplat/tests: Link dynamically to d3d11.
...
Apparently the wxppro testbot has mfplat, but not d3d11.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47894
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-02 19:16:02 +01:00
Nikolay Sivov
d03cf6ceaa
mfplat: Set origin name attribute for stream based bytestreams too.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Nikolay Sivov
4bfd42baff
mfplat: Use underlying stream access mode for bytestream capabilities.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 21:27:14 +01:00
Nikolay Sivov
fd3fb2efdb
mfplat/tests: Fix buffer object leak (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 15:38:33 +01:00
Nikolay Sivov
3c32b3c16e
mfplat: Do not make a copy when setting GUID attribute (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 15:38:33 +01:00
Nikolay Sivov
c091f9b7f6
mfplat: Do not make a copy when returning GUID attributes (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 15:38:33 +01:00
Nikolay Sivov
7dcc9ff458
mfplat: Add MFTRegisterLocalByCLSID() stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-07 23:39:09 +02:00
Nikolay Sivov
b04959961d
mfplat: Remove unnecessary typedef.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 12:17:19 +02:00
Nikolay Sivov
5ebf0b0b78
mfplat: Unify event method traces format.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 12:17:16 +02:00
Francois Gouget
5d95fe767b
mfplat/tests: Fix the spelling of a comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 11:48:03 +02:00
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
Zebediah Figura
926e94f466
mfplat/tests: Link to uuid.
...
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