Commit graph

172155 commits

Author SHA1 Message Date
Brendan McGrath 94fd0561b7 winegstreamer: Set 'max_threads' to 4 for 32-bit processors.
The avdec_h264 element can use 32MB per thread when working with 4K video.

With 16 threads, this is 512MB, which is a quarter of the RAM available
to a 32-bit application. Setting 'max_threads' to 4 can save 384MB.
2024-07-03 23:20:04 +02:00
Brendan McGrath ff5a198a8b winegstreamer: Use thread_count to determine 'max-threads' value.
GStreamer uses _SC_NPROCESSORS_CONF to determine 'max-threads'. On the
Steam Deck, this is configured to be 16 (which is double its number
of logical cores).

_SC_NPROCESSORS_CONF also disregards a process's CPU affinity, thus it
can create more threads than is useful, which ultimately wastes memory
resources.

Using thread_count to set 'max-threads' addresses both these problems.
2024-07-03 23:20:04 +02:00
Brendan McGrath d4e95ede4f winegstreamer: Use process affinity to calculate thread_count. 2024-07-03 23:20:03 +02:00
Elizabeth Figura 003b338102 wined3d: Invalidate the FFP VS when diffuse presence changes.
Regardless of WINED3D_RS_COLORVERTEX.

Fixes: 95999accf6
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56895
2024-07-03 21:48:47 +02:00
Rémi Bernon 821c95aa6a win32u: Use the shared memory to read the desktop flags. 2024-07-03 21:48:47 +02:00
Rémi Bernon d0d94195a6 server: Move the desktop flags to the shared memory. 2024-07-03 21:48:47 +02:00
Piotr Caban 1e1fb212ad xcopy: Add support for parsing concatenated switches. 2024-07-03 21:48:47 +02:00
Piotr Caban c9314151d9 xcopy: Handle switch options concatenated with path. 2024-07-03 21:48:46 +02:00
Piotr Caban 28831f9df9 xcopy: Introduce get_arg helper that duplicates first argument to new string. 2024-07-03 21:48:46 +02:00
Piotr Caban eab62c31f3 xcopy: Strip quotes only from source and destination arguments. 2024-07-03 21:48:46 +02:00
Piotr Caban f544826050 xcopy: Exit on invalid command line argument. 2024-07-03 21:48:46 +02:00
Piotr Caban 89fc06a703 xcopy: Exit after displaying help message. 2024-07-03 21:48:46 +02:00
Rémi Bernon 39ad87840a winegstreamer: Respect video format padding for input buffers too. 2024-07-03 21:48:46 +02:00
Rémi Bernon c02a06fde1 winegstreamer: Normalize video processor and color converter apertures. 2024-07-03 21:48:46 +02:00
Rémi Bernon 19fc2c56a1 winegstreamer: Normalize both input and output media types stride at once. 2024-07-03 21:48:46 +02:00
Rémi Bernon b7dbd33b98 winegstreamer: Use video info stride in buffer meta rather than videoflip. 2024-07-03 21:48:46 +02:00
Rémi Bernon 8ba713d6b8 winegstreamer: Keep the input caps on the transform. 2024-07-03 21:48:46 +02:00
Rémi Bernon 644cc11653 winegstreamer: Use a new wg_video_buffer_pool class to add buffer meta. 2024-07-03 21:48:46 +02:00
Rémi Bernon 81cc44ae11 winegstreamer: Only use pool and set buffer meta for raw video frames. 2024-07-03 21:48:46 +02:00
Alex Henrie 2011a9cb4d twinapi.appcore: Initialize size argument to RegGetValueW. 2024-07-03 21:48:46 +02:00
Alex Henrie 00759195cc shell32: Pass size in bytes to RegGetValueW. 2024-07-03 19:50:14 +02:00
Alex Henrie 55525875a5 msi: Initialize size argument to RegGetValueW. 2024-07-03 19:50:03 +02:00
Eric Pouech 44e8133f4f cmd: Set success/failure return code for PUSHD command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-03 11:30:35 +02:00
Eric Pouech c88789c89b cmd: Set success/failure return code for DIR command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-03 11:30:34 +02:00
Eric Pouech 3852b24b8e cmd: Set success/failure return code for CD command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-03 11:30:33 +02:00
Eric Pouech db929054ba cmd: Add success/failure return code for MKDIR/MD commands.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-03 11:30:32 +02:00
Eric Pouech 22bb6ce6e9 cmd: Add success/failure tests for dir related commands.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-03 11:30:31 +02:00
Ziqing Hui 3a69b0914f winegstreamer/video_encoder: Implement GetOutputStreamInfo. 2024-07-03 11:30:10 +02:00
Ziqing Hui 44f1af1cf4 winegstreamer/video_encoder: Implement GetInputStreamInfo. 2024-07-03 11:30:09 +02:00
Ziqing Hui c45cf47a61 winegstreamer/video_encoder: Check more attributes in SetInputType. 2024-07-03 11:30:08 +02:00
Ziqing Hui 689824bdcf winegstreamer/video_encoder: Introduce create_input_type. 2024-07-03 11:30:06 +02:00
Ziqing Hui 6e66b66e6c mf/tests: Add more tests for h264 encoder type attributes. 2024-07-03 11:30:06 +02:00
Paul Gofman 8b3152cb5f winhttp: Skip trailing spaces in reply header names. 2024-07-03 11:30:03 +02:00
Paul Gofman 76b20aa032 winhttp: Construct raw header from the parse result in read_reply(). 2024-07-03 11:30:03 +02:00
Paul Gofman a550c11e78 winhttp/tests: Add test for trailing spaces in reply header. 2024-07-03 11:30:02 +02:00
Piotr Caban 979a40c398 ucrtbase: Store exception record in ExceptionInformation[6] during unwinding. 2024-07-02 20:08:51 +02:00
Eric Pouech 692f4384e4 cmd: Set success/failure return code for COPY command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-02 20:07:51 +02:00
Eric Pouech e65bcb688a cmd: Set success/failure return code for RENAME command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-02 20:07:50 +02:00
Eric Pouech 90d278f932 cmd: Set success/failure return code for MOVE command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-02 20:07:49 +02:00
Eric Pouech ca3b24733a cmd: Set success/failure return code DELETE command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-02 20:07:48 +02:00
Eric Pouech 0b6fc4cd1c cmd: Set success/failure return code for TYPE command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-02 20:07:47 +02:00
Eric Pouech a132d9c37e cmd: Add success/failure tests for file related commands.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-07-02 20:07:45 +02:00
Elizabeth Figura 8f4bb2e9f9 winegstreamer: Implement MPEG-1 audio to IMFMediaType conversion. 2024-07-02 20:07:21 +02:00
Elizabeth Figura 6013852094 winegstreamer: Implement WMA to IMFMediaType conversion. 2024-07-02 20:07:21 +02:00
Elizabeth Figura 1eb60c34c3 winegstreamer: Implement WMV to IMFMediaType conversion. 2024-07-02 20:07:21 +02:00
Elizabeth Figura 056b8436e0 winegstreamer: Implement AAC to IMFMediaType conversion. 2024-07-02 20:07:21 +02:00
Elizabeth Figura 2cdba592f8 winegstreamer: Implement H.264 to IMFMediaType conversion. 2024-07-02 20:07:21 +02:00
Elizabeth Figura 6c541e3837 winegstreamer: Implement H.264 to wg_format conversion. 2024-07-02 20:07:21 +02:00
Elizabeth Figura 2a0a43627b winegstreamer: Implement MPEG-4 audio to wg_format conversion. 2024-07-02 20:07:21 +02:00
Elizabeth Figura 92956ae554 winegstreamer: Check the version before calling wg_format_from_caps_video_mpeg1(). 2024-07-02 20:07:20 +02:00