Commit Graph

241 Commits

Author SHA1 Message Date
Dmitry Timoshkov 35483da628 include: Fix typos in WICPersistOptions enumeration names.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-12 16:10:45 +02:00
Viktor Semykin 2fcfe35e88 windowscodecs/tests: Test with SHCreateMemStream.
SHCreateMemStream takes less code to inialize and is preferred over
CreateStreamOnHGlobal according to documentation.

Signed-off-by: Viktor Semykin <thesame.ml@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 12:00:01 +02:00
Viktor Semykin 2d5c861f75 windowscodecs: Fixed loading png from streams.
Png decoder was making one extra seek after it met IEND chunk. This led to
crashes of some software.

Signed-off-by: Viktor Semykin <thesame.ml@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 11:59:34 +02:00
Viktor Semykin 5ada4e947e windowscodecs/tests: Test for png codec seeking too far.
Signed-off-by: Viktor Semykin <thesame.ml@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 11:59:32 +02:00
Nikolay Sivov 981b97948c windowscodecs/tests: Test to show that SetPalette() does not keep IWICPalette reference, for PNG encoder.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-29 10:16:11 +01:00
Nikolay Sivov 5107ef7566 wincodecs: Implement FilterOption property for PNG encoder.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-28 22:27:52 +01:00
Dmitry Timoshkov fa36f75c68 windowscodecs: Add support for converting 32bpp grayscale float to 24bpp BGR format.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-16 22:40:24 +09:00
Dmitry Timoshkov 1196c3a2a2 windowscodecs: Add support for converting to 8bpp grayscale format.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-16 22:40:24 +09:00
Dmitry Timoshkov 8836ed61aa windowscodecs: Add support for 32bppGrayFloat format.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-16 22:40:24 +09:00
Vincent Povirk 82f82f6917 windowscodecs/tests: Add a helper function for comparing bits.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-16 22:40:24 +09:00
Dmitry Timoshkov 7431380e38 windowscodecs: Avoid extra conversion step BGR->RGB when converting 32bpp BGRA to 24bpp RGB.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-16 22:40:24 +09:00
Vincent Povirk 2e16630a61 windowscodecs: Implement png cHRM metadata reader.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:18 +09:00
Vincent Povirk 9b27a178a9 windowscodecs: Add test for png cHRM metadata.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:18 +09:00
Francois Gouget ebaa5ac767 windowscodecs/tests: A spelling fix for a converter ok() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 13:44:25 +09:00
Andrew Eikum 1b8e123465 windowscodecs: Stub IWICMetadataQueryReader.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-16 12:12:10 +09:00
Frédéric Delanoy e8704b6b8d windowscodecs/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 13:32:13 +09:00
André Hentschel 782666be0d windowscodecs/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:22:22 +09:00
Aric Stewart af6413aaeb windowscodecs/tests: Handle failure to create TIFF decoder.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2015-10-01 16:34:26 +09:00
Aric Stewart dc3bf7d85b windowscodecs/tests: Handle failure to create PNG decoder.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2015-10-01 16:34:23 +09:00
Dmitry Timoshkov d1fde625a3 windowscodecs: Don't fail to decode GIF if an image has been already loaded. 2015-07-14 14:42:37 +09:00
Dmitry Timoshkov 51a3bc2d9d windowscodecs/tests: Add some tests for loading truncated GIF images. 2015-07-14 14:42:27 +09:00
Dmitry Timoshkov d57b87c0f3 windowscodecs: Add support for 8bpp grayscale TIFF with 8bpp alpha. 2015-07-14 14:41:27 +09:00
Sebastian Lackner c0f5d024ca windowscodecs/tests: Fix test condition which is always true. 2015-06-25 14:29:39 +09:00
Francois Gouget af4324e433 windowscodecs/tests: Fix compilation on systems that don't support nameless unions. 2015-04-13 15:04:36 +09:00
Vincent Povirk 131a7b03e8 windowscodecs: Implement PNG gAMA metadata reader. 2015-04-07 15:09:54 +09:00
Vincent Povirk 5b893587bd windowscodecs: Add test for PNG gAMA metadata. 2015-04-07 15:09:47 +09:00
Vincent Povirk f2f5cd831b windowscodecs: Implement PngDecoder_Block_GetReaderByIndex. 2015-03-31 00:04:43 +09:00
Vincent Povirk 43c97b871f windowscodecs: Implement PngDecoder_Block_GetCount. 2015-03-31 00:04:43 +09:00
Michael Stefaniuc a21f30c23e windowscodecs/tests: Actually test the return of IWICBitmap_GetSize(). 2015-03-30 19:10:29 +09:00
Piotr Caban 02d4c6b5ac windowscodecs: Show that WIC doesn't do GIF frames composition. 2015-03-13 21:52:51 +09:00
Piotr Caban 531992c760 windowscodecs: Store stream reference in png decoder. 2015-03-13 21:52:43 +09:00
Piotr Caban b681123385 windowscodecs: Store stream reference in gif decoder. 2015-03-13 21:52:41 +09:00
Piotr Caban df9ec3c178 windowscodecs: Add helper to create internal COM classes without CoCreateInstance call if possible. 2015-03-06 20:31:35 +09:00
Michael Stefaniuc c2eb206f99 windowscodecs/tests: Actually test some return values (PVS-Studio). 2015-03-04 21:50:44 +09:00
Vincent Povirk fa455f594b windowscodecs: Add fallback to unknown metadata reader. 2014-11-14 14:12:03 +09:00
Vincent Povirk 1dee37340d windowscodecs: Implement ComponentFactory_CreateMetadataReaderFromContainer. 2014-11-14 14:11:57 +09:00
Vincent Povirk 8d96b22dd7 windowscodecs: Don't check undefined memory in tests on Wine. 2014-11-14 14:11:49 +09:00
Vincent Povirk 8891b8f815 windowscodecs: Implement MetadataReaderInfo_GetPatterns. 2014-11-13 18:46:35 +09:00
Vincent Povirk a8d08e2ad7 windowscodecs: Implement MetadataReaderInfo_GetContainerFormats. 2014-11-13 18:46:34 +09:00
Vincent Povirk e2d6b28a1b windowscodecs: Fix interlaced PNG writing. 2014-06-24 20:03:26 +02:00
Vincent Povirk 13a8d80f30 Revert "windowscodecs: Fix leak in test_QueryCapability.". 2014-06-19 22:55:20 +02:00
Vincent Povirk 1aa6e581d7 windowscodecs: Fix leak in test_QueryCapability. 2014-06-19 19:41:06 +02:00
Vincent Povirk 0f2efcf0c5 windowscodecs: Fix leak in test_QueryCapability. 2014-06-19 12:35:48 +02:00
Vincent Povirk ed92450d6f windowscodecs: Fix leak in test_propertybag_getpropertyinfo. 2014-06-19 12:35:44 +02:00
Nikolay Sivov 7e3ab90187 windowscodecs/tests: Fixed some leaks on error path (Valgrind). 2014-06-16 09:31:04 +02:00
Vincent Povirk 88f17cdb54 windowscodecs: Check for empty rect in WriteSource_Proxy. 2014-06-16 09:29:13 +02:00
Frédéric Delanoy 9be7e1e82e windowscodecs/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-30 12:42:55 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Vincent Povirk 8dafdd0a56 windowscodecs: Use alpha options in CreateBitmapFromHBITMAP. 2013-11-20 11:24:56 +01:00
Frédéric Delanoy 98757d12cf windowscodecs/tests: Use BOOL type where appropriate. 2013-10-21 10:44:22 +02:00