Andrey Gusev
af8d3d366c
windowscodecs: Remove redundant comparison.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-21 14:02:33 +01:00
Sven Baars
7a32035fc5
windowscodecs: Fix a memory leak (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-19 22:12:03 +01:00
Dmitry Timoshkov
957d1097d2
windowscodecs: find_decoder() should return an error it received from the decoder.
...
If IWICBitmapDecoderInfo::MatchesPattern() has recognized the decoder by the pattern,
and the called IWICBitmapDecoder::Initialize() has failed, an error should be returned
right away instead of trying next codec. This allows report image format related errors
instead of WINCODEC_ERR_COMPONENTNOTFOUND.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 23:27:42 +01:00
Nikolay Sivov
70a3e86997
wincodecs: Add support for WICBitmapNoCache in CreateBitmapFromSource() for bitmap as a source.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-08 18:55:22 +01:00
Nikolay Sivov
e26e3da6cd
wincodecs: Implement CreateBitmapFromSourceRect().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-08 18:55:20 +01:00
Nikolay Sivov
82c82e8c45
wincodecs: Add IWICImagingFactory2 stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-05 11:25:36 -05:00
Hans Leidekker
1184f9d969
windowscodecs: Implement WICCreateBitmapFromSectionEx.
...
Based on a patch by Dmitry Timoshkov.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-22 18:15:06 +01: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
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
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
Nikolay Sivov
de6649ede0
wincodecs: Use valid bitmap cache option.
2015-04-02 23:14:36 +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
831b7371bc
windowscodecs: Fix memory leak in ComponentFactory_CreateBitmapFromSource.
2014-06-18 16:27:06 +02:00
Dmitry Timoshkov
d03f65a51f
windowscodecs: Move the aggregation check from object constructors to class factory.
2014-01-14 12:31:42 +01:00
Vincent Povirk
8dafdd0a56
windowscodecs: Use alpha options in CreateBitmapFromHBITMAP.
2013-11-20 11:24:56 +01:00
Dmitry Timoshkov
c6d62ff081
windowscodecs: Implement CreateBitmapFromHBITMAP.
2013-09-18 20:21:08 +02:00
Nikolay Sivov
5d4c614c05
windowscodecs: Added IWICBitmapClipper stub.
2013-07-19 19:14:51 +02:00
Hans Leidekker
ba02cb25d3
windowscodecs: Implement IWICComponentFactory::CreateDecoderFromFileHandle.
2013-02-06 20:28:29 +01:00
Hans Leidekker
d9bfbd61d8
windowscodecs: Add a stub IWICColorTransform implementation.
2013-02-06 20:28:29 +01:00
Ludger Sprenker
d4b1db7141
windowscodecs: Implement ComponentFactory::CreateEncoderPropertyBag.
2013-01-30 13:10:24 +01:00
Dmitry Timoshkov
0df1742307
windowscodecs: Fix reading the mask bits in CreateBitmapFromHICON.
2013-01-15 12:11:15 +01:00
Dmitry Timoshkov
4ba27f7930
windowscodecs: Implement CreateBitmapFromHICON.
2013-01-14 11:03:46 +01:00
Dmitry Timoshkov
03724685d6
windowscodecs: Implement ComponentFactory_CreateBitmapFromMemory.
2013-01-04 17:43:45 +01:00
Hans Leidekker
96ebc618b5
windowscodecs: Add a stub IWICColorContext implementation.
2012-11-15 21:21:55 +01:00
Vincent Povirk
4038cb79b4
windowscodecs: Only copy the palette to new bitmaps if they might be indexed.
2012-09-11 11:12:03 +02:00
Vincent Povirk
88eed3c0de
windowscodecs: Implement IWICImagingFactory::CreateBitmapFromSource.
2012-08-20 20:18:03 +02:00
Vincent Povirk
f9b67b6c18
windowscodecs: Add a stub IWICBitmap implementation.
2012-08-15 13:50:58 +02:00
Dmitry Timoshkov
6859a15b07
windowscodecs: Do not assume that vtable is the first element of the object, avoid not necessary casts.
2012-07-24 21:27:11 +02:00
Dmitry Timoshkov
39f80e56fb
windowscodecs: Make sure that stream is not reused once the decoder is initialized.
2012-06-28 19:42:58 +02:00
Vincent Povirk
02aa7ec403
windowscodecs: Implement IWICImagingFactory::CreateEncoder.
2012-06-26 17:34:03 +02:00
Vincent Povirk
efab393295
windowscodecs: Add stub IWICBitmapScaler implementation.
2012-06-26 17:33:54 +02:00
Dmitry Timoshkov
cdc8e59be5
windowscodecs: Implement ImagingFactory_CreateDecoder.
2012-06-25 11:08:42 +02:00
Dmitry Timoshkov
50d53928e0
windowscodecs: Extend IWICImagingFactory to IWICComponentFactory.
2012-05-29 10:57:10 +02:00
Dmitry Timoshkov
fd31112ab0
windowscodecs: Add support for preferred vendor guid in CreateDecoderFromStream.
2012-05-29 10:56:42 +02:00
Michael Stefaniuc
e97fb5036d
windowscodecs: Use an iface instead of a vtbl pointer in ImagingFactory.
2010-11-29 13:28:25 +01:00
Vincent Povirk
7a254fc4d8
windowscodecs: Add a stub implementation of IWICBitmapFlipRotator.
2010-04-27 15:47:26 -05:00
Vincent Povirk
83f32fc7d8
windowscodecs: Implement IWICImagingFactory_CreateFormatConverter.
2010-04-27 15:47:00 -05:00
Vincent Povirk
b468c29de1
windowscodecs: Implement IWICImagingFactory_CreateDecoderFromFilename.
2010-04-27 15:46:54 -05:00
Tony Wasserka
a18fc6ec76
windowscodecs: Add stubs for the IWICStream interface.
2009-08-20 19:43:29 +02:00
Vincent Povirk
ad1d8adfeb
windowscodecs: Add a WARN message when CreateDecoderFromStream fails.
2009-08-17 13:57:50 +02:00
Vincent Povirk
219b8c64ac
windowscodecs: Implement IWICImagingFactory::CreateDecoderFromStream.
2009-08-05 11:40:02 +02:00
Vincent Povirk
cd4fdb9587
windowscodecs: Implement IWICImagingFactory::CreateComponentEnumerator.
2009-08-05 11:39:47 +02:00
Vincent Povirk
f24834f486
windowscodecs: Add stub implementation of IWICBitmapDecoderInfo.
2009-08-05 11:38:53 +02:00
Vincent Povirk
4b9071b37b
windowscodecs: Add stub implementation of IWICPalette.
2009-07-03 13:27:06 +02:00
Francois Gouget
66a04a83a1
windowscodecs: Add a trailing '\n' to FIXME() traces.
2009-06-30 12:40:04 +02:00
Francois Gouget
97df1e12e6
windowscodecs: Make the QueryInterface() functions static.
2009-06-30 12:39:25 +02:00
Vincent Povirk
b01c652d4b
windowscodecs: Add stub implementation of IWICImagingFactory.
2009-06-29 14:20:13 +02:00