Commit Graph

176 Commits

Author SHA1 Message Date
Fabian Maurer d8b37d6628 msvfw32/tests: Avoid "misleading indentation" warnings.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 22:04:05 +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
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
Michael Stefaniuc ae59a6a92a msvfw32/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-07 11:08:13 +01:00
Zebediah Figura b5a19fd1b6 msvfw32: Fix a debug trace.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 17:22:20 +02:00
Sven Baars e1049b671d msvfw32/tests: Add MCIWndCreate tests.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 20:27:23 +02:00
Alexandre Julliard 85faa43113 msvfw32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 09:28:14 +02:00
Sven Baars eb69fa7e73 msvfw32: Fix copying of a BITMAPINFO structure (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 22:33:30 +02:00
Piotr Caban 1278355715 msvfw32: Don't use strncasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:23:30 +02:00
Michael Müller fb7f937305 msvidc32: Fix calculation of stride and size.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=23175
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=25180
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 19:08:15 +01:00
Michael Müller e287917a3a msvidc32: Add support for converting 16 bit depth to 24 bit.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=14695
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 19:08:00 +01:00
Michael Müller bc389cff39 iccvid: Fix calculation of stride and size.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 19:06:21 +01:00
Zebediah Figura 7e9559231f msvfw32: Get rid of the 'reg_driver' typedef.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:56:52 +01:00
Zebediah Figura da4331584c msvfw32: Enumerate installed functions in ICInfo().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:56:47 +01:00
Zebediah Figura 830fe63093 msvfw32: Correctly implement ICINSTALL_DRIVER.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:56:43 +01:00
Zebediah Figura 3ff496b989 msvfw32: Get rid of enum_drivers().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:56:38 +01:00
Zebediah Figura 07a1f8d9fe msvfw32: Reimplement ICLocate() on top of ICInfo().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:56:31 +01:00
Zebediah Figura 1f6fcc9849 msvfw32/tests: Add more tests for ICInfo().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:56:27 +01:00
Zebediah Figura 71a109f3ff msvfw32/tests: Set requestedExecutionLevel to asInvoker to prevent registry virtualization.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:56:21 +01:00
Zebediah Figura ae71dd9e0e msvfw32: Use the standard linked list implementation.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:56:00 +01:00
Zebediah Figura 0969a250e9 msvfw32: Use the global HeapAlloc() wrappers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:55:53 +01:00
Francois Gouget 6480387cc6 msvfw32/tests: Make gdf_driver_proc() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-23 20:01:56 +02:00
Michael Stefaniuc 84cec28928 msvfw32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Zebediah Figura 37326f2111 msvfw32: Reimplement ICGetDisplayFormat().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44490
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=23175
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:47:48 +02:00
Michael Stefaniuc 44bd013ef3 msvfw32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 11:11:23 +02:00
Zebediah Figura 2068b95aba msvfw32: Set fccType in ICInfo().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-14 09:07:27 +01:00
Zebediah Figura 3396ca87ae msvfw32: Fix driver enumeration.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-14 09:07:24 +01:00
Zebediah Figura f4ebb7d57d msvfw32/tests: Simplify swapped-case test.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 11:11:28 +01:00
André Hentschel 8b566b5e32 msvfw32: Fix some spec file entries.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:42 +01:00
Bruno Jesus 15840d9683 msvfw32: Remove duplicated debug.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-08 13:50:58 +01:00
Michael Müller 02fa1d4cc2 msvfw32: Use case insensitive compare in ICInfo for fourcc codes.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 14:59:04 +01:00
Bruno Jesus ca2420c0ea msvfw32: Allow ICInfo to enumerate codecs when fccType is zero.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 14:59:03 +01:00
Bruno Jesus 90e4ad3b14 msvfw32/tests: Add tests for ICInfo().
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 14:59:03 +01:00
Andrey Gusev 01e722a4fc msvfw32: Fix a typo in TRACE() message.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 21:17:11 +09:00
Bruno Jesus 30136b322e msrle32: Add support to decompress uncompressed frames.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 01:13:57 +09:00
Bruno Jesus e75f2282ba iccvid: Implement inverted frame decompressing.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:21 +09:00
Bruno Jesus 560b13c273 msvfw32: Make it clear why a DrawDibBegin call is required.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:21 +09:00
Bruno Jesus 2ccba1cf14 msvfw32: Derive frame dimension from bitmap info when not available.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:21 +09:00
Bruno Jesus a90ed505a7 msvfw32: When no fccHandler is specified return the first valid codec.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 13:18:03 +09:00
Bruno Jesus acd79650fe msvfw32/tests: Check if requesting the default codec works.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 23:04:25 +09:00
Bruno Jesus 060db73ab6 msvfw32: Better tracing of ICERR codes and general trace improvements.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 19:25:55 +09:00
Bruno Jesus 8b054fb307 msvfw32/tests: Add ICSeqFrameCompress tests.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:53 +09:00
Bruno Jesus bd4ead0fec msvfw32: Ask the driver about how much data is required for lpbiOut.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:23 +09:00
Bruno Jesus f12a970c09 msvfw32: Fix a copy & paste issue.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:13 +09:00
Bruno Jesus 970692c081 msvfw32: Make wine_dbgstr_fcc handle non-ASCII values better.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:33 +09:00
Bruno Jesus 3a7dfcd28f msvfw32: Only update output parameters when the compress operation works.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:33 +09:00
Bruno Jesus cc9e70a80a msvfw32: Ask the codec to fill the lpbiOutput info when it is not available.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:33 +09:00
Bruno Jesus 4a9d238c14 msvfw32: Improve tracing from ICSeqCompressFrameStart.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:32 +09:00
Bruno Jesus 4cb36b9aaf msvfw32: Lpckid and lpdwFlags must be valid memory addresses.
Otherwise codecs will crash while trying to write to it. Even though
MSDN states that NULL is allowed for lpckid that is not true.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:32 +09:00
Bruno Jesus d733e0d243 msvfw32: Fix the size of previous compressed buffer.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:32 +09:00