Commit Graph

58 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
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 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
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
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
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
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 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 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 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 79c37ac88b msvfw32: Make it easier to recognize missing media codecs. 2015-08-12 22:57:51 +09:00
Frédéric Delanoy 95ae71f3ab Assorted spelling/grammar fixes. 2014-07-01 13:09:13 +02:00
Marcus Meissner cf2c506b1a msvf32: Fixed incorrect sizeof (Coverity). 2013-06-24 11:47:10 +02:00
Frédéric Delanoy 86544ce98f msvfw32: Fix a leak (coverity). 2012-11-05 11:30:35 +01:00
Jörg Höhle 0e566c5b64 msvfw32: Force lower-case 'vidc/vids/audc' etc. when opening new driver. 2011-05-24 18:28:30 +02:00
Paul Vriens ec90fcd9c1 msvfw32: Only call MSVIDEO_GetHicPtr() once (Coverity). 2011-03-17 17:44:47 +01:00
Eric Pouech 70d43eb047 msvfw32: Remove 16bit driver references (now that they no longer exist in winmm). 2009-10-26 11:17:06 +01:00
Alexandre Julliard 0e67f65cab include: Add support for building Wine with strict prototype checking. 2009-10-06 16:12:39 +02:00
Francois Gouget 0601902740 msvfw32: Move MSVIDEO_SendMessage() up and make it and MSVIDEO_GetHicPtr() static. 2009-06-22 13:30:46 +02:00
Eric Pouech 33a04dc69c msvfw32: Clearly separate the 16-bit code out of the rest by wrapping 16-bit message functions in thunks. 2009-05-15 11:35:16 +02:00
Dmitry Timoshkov c3dce7dcce msvfw32: Remove useless and harmful traces from ICDecompress. 2009-05-04 12:52:55 +02:00
Michael Stefaniuc ca8d5a7922 msvfw32: Remove superfluous pointer casts. 2009-01-12 13:06:42 +01:00
Andrew Talbot 6e59407e1c msvfw32: Remove superfluous semicolon. 2008-12-23 12:51:33 +01:00
Alexandre Julliard 7f327237bf Convert remaining source files to utf-8. 2008-10-18 19:23:08 +02:00
Andrew Talbot f5c87f8ec5 msvfw32: Sign-compare warning fix. 2008-09-02 11:54:36 +02:00
Andrew Talbot 0d80791371 msvfw32: Assign to structs instead of using memcpy. 2008-03-07 11:01:07 +01:00
Andrew Talbot 0f806dfd6b msvfw32: Remove unneeded casts. 2008-01-14 13:10:07 +01:00
Andrew Talbot 8402f7a437 msvfw32: Remove unneeded casts. 2007-12-31 16:44:46 +01:00
Julien Muchembled 79e19b91a8 msvfw32: Fix enumeration of VFW video codecs that are registered in the registry. 2007-06-01 12:50:56 +02:00
Michael Stefaniuc 5f62da109e janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call. 2007-04-25 12:26:07 +02:00
Francois Gouget 1ccf944900 Assorted spelling fixes. 2006-11-13 13:01:53 +01:00
Francois Gouget 9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00