Commit Graph

771 Commits

Author SHA1 Message Date
Zebediah Figura 8648aaf86d wincodecs: Add encoder options for JPEG.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-31 10:14:09 +02:00
Nikolay Sivov 9bbbd2a905 windowscodecs/tests: Remove unused type declarations.
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-07-24 20:05:32 +02:00
Nikolay Sivov bf3b3312fe windowscodecs/tests: Fix a leak in tests (Valgrind).
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-07-24 20:05:30 +02:00
Alistair Leslie-Hughes 084fa63e60 widl: Only generate Proxy Stubs when functions have the call_as attribute.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-11 19:48:25 +02:00
Francois Gouget 5d8a1cf378 windowscodecs/tests: A spelling fix in an 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>
2017-07-10 20:51:11 +02:00
Dmitry Timoshkov 2eeef78e8d windowscodecs: Fix a memory leak.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-29 20:04:17 +02:00
Dmitry Timoshkov ad76bbec22 windowscodecs/tests: Add more tests for IWICMetadataQueryReader::GetMetadataByName.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 10:32:17 +02:00
Dmitry Timoshkov c092f1a45a windowscodecs: Add some tests for IWICMetadataQueryReader.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 08:43:17 +02:00
Dmitry Timoshkov 2271ba8713 windowscodecs: Add initial implementation of IWICMetadataQueryReader::GetMetadataByName.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 08:43:15 +02:00
Dmitry Timoshkov d3280c867b windowscodecs: Implement IWICBitmapDecoder::GetMetadataQueryReader in the GIF decoder.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 08:53:06 +02:00
Dmitry Timoshkov c94bf3cf27 windowscodecs: Implement IWICMetadataQueryReader::GetLocation.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 08:53:04 +02:00
Dmitry Timoshkov 3059668de3 windowscodecs: Use PropVariantCompareEx to compare metadata items.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 08:53:02 +02:00
Dmitry Timoshkov f25890357b windowscodecs: Implement IWICMetadataQueryReader::GetContainerFormat.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 23:21:16 +02:00
Dmitry Timoshkov 714175e144 windowscodecs: Implement WICMapSchemaToName.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 23:21:16 +02:00
Dmitry Timoshkov e1eed88401 windowscodecs: Implement WICMapShortNameToGuid.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 23:21:16 +02:00
Dmitry Timoshkov 37ae4f24c0 windowscodecs: Implement WICMapGuidToShortName.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 23:21:16 +02:00
Alistair Leslie-Hughes cf1269a525 windowscodecs: Register WICImagingFactory2 interface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-12 18:38:30 +02:00
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
André Hentschel fdccccb14e windowscodecs: Fix IWICImagingFactory_CreateDecoderFromFileHandle_Proxy spec file entry.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 22:31:00 +01:00
André Hentschel 376b0756f4 windowscodecs: Remove dead assignment (clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 22:31:00 +01: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
Dmitry Timoshkov 8e694423f4 windowscodecs: Implement IWICBitmapFrameEncode::SetPalette in 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:09 +01:00
Huw Davies a531ade2fd windowscodecs: Fix typo in 2 bpp conversion.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-09 15:55:05 +01:00
Nikolay Sivov b0d04e69bb wincodecs: Simplify property name allocation.
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
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
Nikolay Sivov 62830143d1 wincodecs: Trigger conversion to target format in WriteSource().
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 18:57:47 +01:00
Nikolay Sivov 02dbe712ee wincodecs: Remove stub message for implemented methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codewevers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-26 15:20:59 +02: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
Michael Stefaniuc da5dfe7e80 windowscodecs: Remove a redundant NULL check before HeapFree().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-09 11:03:42 +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
Francois Gouget a2f285bf7e windowscodecs: Fix spelling of a few private struct names.
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-18 15:16:18 +09:00
Dmitry Timoshkov 2f74d91d87 windowscodecs: Allocate correct amount of memory for PNG image data.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
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>
2016-04-15 12:32:52 +09:00
Dmitry Timoshkov aaddf1365a windowscodecs: Fix a copy/paste mistake.
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>
2016-04-08 00:56:39 +09:00
Andrew Eikum 70a643d056 windowscodecs: Stub IMetadataBlockReader for jpegformat.
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:12 +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
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Dmitry Timoshkov 7eaff17786 windowscodecs: Properly handle empty GIF extension blocks. 2015-07-15 23:18:39 +09:00