Commit graph

168 commits

Author SHA1 Message Date
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
Bruno Jesus
8701f92e8d msvfw32: Use a helper to free memory.
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
982fb2fd69 msvfw32: Simplify error handling in ICSeqCompressFrameStart.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:38 +09:00
Bruno Jesus
19d73d2847 msvfw32: Trace only what matters in MCIWNDM_GETDEVICE. 2015-09-10 17:20:28 +09:00
Bruno Jesus
79c37ac88b msvfw32: Make it easier to recognize missing media codecs. 2015-08-12 22:57:51 +09:00
Michael Stefaniuc
036670810c msvfw32: Remove always false if subexpression (PVS-Studio). 2014-12-22 13:33:29 +01:00
Michael Stefaniuc
6b4bec8af5 msvfw32: IDC_ARROW is already an int resource (PVS-Studio). 2014-10-29 20:31:05 +09:00
Frédéric Delanoy
95ae71f3ab Assorted spelling/grammar fixes. 2014-07-01 13:09:13 +02:00
Akihiro Sagawa
af089289b3 msvfw32: Fix uncompressed bitmap size handling in DrawDibDraw. 2014-05-02 16:29:26 +02:00