Bernhard Kölbl
13106b2b38
mfmediaengine: Implement RemoveAllEffects().
...
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2023-08-08 21:11:30 +09:00
Bernhard Kölbl
ffba650a33
mfmediaengine/tests: Add tests for RemoveAllEffects().
...
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2023-08-08 21:11:30 +09:00
Bernhard Kölbl
d19af88f59
mfmediaengine/tests: Make effect tests more consistent.
...
Do this by waiting for the first available frame with a
separate ready event and removing flaky ref checks.
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2023-08-08 21:11:30 +09:00
Francois Gouget
37885b04f9
mfmediaengine: Add the trailing linefeed to a WARN() message.
...
Also add a trailing period for consistency with this module's other
messages.
2023-07-27 13:12:06 +09:00
Bernhard Kölbl
91a84cff95
mfmediaengine: Add support for inserting audio effects.
2023-07-17 09:40:01 +02:00
Bernhard Kölbl
096b46cf8d
mfmediaengine/tests: Add tests for audio effects.
2023-07-17 09:39:58 +02:00
Bernhard Kölbl
de1dd6cbf7
mfmediaengine: Add support for inserting video effects.
2023-07-06 20:54:29 +02:00
Bernhard Kölbl
621d153d45
mfmediaengine/tests: Add tests for video effects.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-07-06 20:54:29 +02:00
Nikolay Sivov
2775fe31cd
mfmediaengine/tests: Remove unnecessary broken() result.
2023-06-27 22:14:15 +02:00
Nikolay Sivov
36fcbba73e
mfmediaengine/tests: Use correct type for url argument in SetSourceFromByteStream().
2023-06-27 22:14:15 +02:00
Nikolay Sivov
6b9eb2d09f
mfmediaengine/tests: Allocate notification object on heap for frame transfer tests.
2023-06-27 22:14:15 +02:00
Nikolay Sivov
a79d27c04a
mfmediaengine: Implement GetNumberOfStreams().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-05-18 09:14:32 -05:00
Shaun Ren
5ef7a45bc9
mfmediaengine: Pause the session in media_engine_Pause.
2022-12-21 18:24:38 +01:00
Shaun Ren
adbc4b666d
mfmediaengine: Change media_engine_Shutdown FIXME to TRACE.
2022-12-21 18:24:38 +01:00
Bernhard Kölbl
12c28aa22f
mfmediaengine: Pass volume changes to media session.
2022-11-29 21:33:58 +01:00
Rémi Bernon
2f5d06af1d
mfmediaengine: Remove vertical flipping of video frames.
2022-10-14 18:03:38 +02:00
Rémi Bernon
ae4ecbe59e
mfmediaengine/tests: Check IMFMediaEngine_TransferVideoFrames output orientation.
2022-10-14 18:03:38 +02:00
Rémi Bernon
31871d713a
mfmediaengine/tests: Pass a device manager and output format to create_media_engine.
2022-10-14 18:03:37 +02:00
Nikolay Sivov
8ce0ab9739
mfmediaengine/tests: Remove unused header include.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 12:54:40 +02:00
Nikolay Sivov
7608e775ab
mfmediaengine: Implement GetStreamAttribute().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:31:42 +01:00
Nikolay Sivov
2086698e7d
mfmediaengine: Implement GetPresentationAttribute().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:31:40 +01:00
Nikolay Sivov
40c9923982
mfmediaengine: Handle realtime mode flag.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:31:37 +01:00
Nikolay Sivov
1d1eebf38a
mfmediaengine: Implement GetResourceCharacteristics().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:31:34 +01:00
Nikolay Sivov
9a7d166e6b
mfmediaengine: Shutdown media source when clearing current presentation.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:31:31 +01:00
Nikolay Sivov
29a9ba6e18
mfmediaengine/tests: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 21:20:41 +01:00
Eric Pouech
bbfb164e0a
mfmediaengine: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 10:57:17 +01:00
Nikolay Sivov
0b98026e2d
mfmediaengine: Use resolver functionality for content type resolution.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-10 10:44:10 +01:00
Eric Pouech
223d2945b5
mfmediaengine: Use correct integral type.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-02 13:47:27 +01:00
Nikolay Sivov
9b17bd1754
mfmediaengine: Improve AddRange() behavior for intersecting ranges.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Nikolay Sivov
4c61027967
mfmediaengine: Handle shutdown state in a few stubs.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Nikolay Sivov
a4890ac799
mfmediaengine: Handle shutdown state in GetBuffered().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Nikolay Sivov
318aa0f387
mfmediaengine: Handle shutdown state in Pause().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Nikolay Sivov
0f4f7ca937
mfmediaengine: Handle shutdown state in Play().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Nikolay Sivov
86c0afc797
mfmediaengine: Handle shutdown state in GetCurrentSource().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:20 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Nikolay Sivov
6938f9b903
mfmediaengine: Implement audio renderer configuration methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 17:58:33 +01:00
Nikolay Sivov
9bf8fdaa8e
mfmediaengine: Implement SetSourceFromByteStream().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 17:58:31 +01:00
Alexandre Julliard
1077a5bd99
mfmediaengine: Remove unnecessary import library.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-26 21:53:56 +01:00
Giovanni Mascellani
598325385b
mfmediaengine: Add a IMFMediaEngineEx stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-21 13:15:08 +01:00
Nikolay Sivov
9af18c48cf
mfmediaengine/tests: Do not use stack variables for async notification callbacks.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 18:15:40 +01:00
Nikolay Sivov
ef11c41d41
mfmediaengine: Add IMFGetService stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 18:15:40 +01:00
Giovanni Mascellani
792546f612
mfmediaengine: Fix a memory leak.
...
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-19 10:39:42 +01:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Nikolay Sivov
aeabe991ff
mfmediaengine: Handle B8G8R8X8 format for d3d11 texture output.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-22 21:12:34 +02:00
Nikolay Sivov
bf824dbb92
mfmediaengine: Handle Play() when called before topology is set.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-22 21:12:31 +02:00
Nikolay Sivov
f56c12c847
mfmediaengine: Update network state when loading the media source.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-20 21:51:16 +02:00
Nikolay Sivov
04547b424d
mfmediaengine: Handle shutdown state in SetSource().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-20 21:51:13 +02:00
Nikolay Sivov
86cbfafe92
mfmediaengine: Enable source type enumeration.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-02 20:16:07 +02:00
Nikolay Sivov
c7339d6281
mfmediaengine: Add missing initialization of vertex buffer components (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-31 17:53:54 +02:00
Nikolay Sivov
2d52578387
mfmediaengine: Initial implementation of TransferVideoFrame() for ID3D11Texture2D destination.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-17 18:49:10 +02:00