Commit Graph

44 Commits

Author SHA1 Message Date
Vincent Povirk 8bae21302f windowscodecs: Fix 32bppGrayFloat to 8bppGray conversion.
Based on Dmitry Timoshkov's patch.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-16 11:05:45 +09: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 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
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
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
Dmitry Timoshkov d03f65a51f windowscodecs: Move the aggregation check from object constructors to class factory. 2014-01-14 12:31:42 +01:00
Andrew Talbot e458665a42 windowscodecs: Avoid signed-unsigned integer comparisons. 2013-03-01 10:35:18 +01:00
Ludger Sprenker 968eac9aaf windowscodecs: Support conversions of the 24bpp PixelFormats. 2013-01-07 13:38:09 +01:00
Dmitry Timoshkov adbcfacb8c windowscodecs: Do not assume that vtable is the first element of the object, avoid not necessary casts. 2012-07-24 19:58:15 +02:00
Dmitry Timoshkov a0f9a251f9 windowscodecs: Use predefined WICBitmapPaletteTypeFixedBW palette instead of a hand-made one. 2012-07-16 15:21:47 +02:00
Dmitry Timoshkov b82023b7c2 windowscodecs: Use predefined WICBitmapPaletteTypeFixedGray16 palette instead of a handmade one. 2012-07-13 10:26:47 -05:00
Dmitry Timoshkov 045ac64c1a windowscodecs: Use predefined WICBitmapPaletteTypeFixedGray4 palette instead of a handmade one. 2012-07-13 10:26:43 -05:00
Michael Stefaniuc 952699e843 windowscodecs: Remove casts to the type of the casted variable. 2011-09-20 16:21:43 +02:00
Vincent Povirk c3dc0cfa32 windowscodecs: Add support for converting to 32bppPBGRA. 2011-04-15 10:07:59 +02:00
Vincent Povirk 10dd670056 windowscodecs: Add support for converting from 32bppPBGRA. 2011-04-15 10:07:59 +02:00
Vincent Povirk 80470260d0 windowscodecs: Log unsupported conversion formats. 2011-04-15 10:07:58 +02:00
Michael Stefaniuc cbee3a561e windowscodecs: Use an iface instead of a vtbl pointer in FormatConverter. 2010-12-09 12:21:19 +01:00
Vincent Povirk b782417707 windowscodecs: Implement conversion from 16bppBGRA to 32bppBGRA. 2010-10-25 12:13:42 +02:00
Krzysztof Nowicki 145bda5aa6 windowscodecs: Fix *_CopyPixels functions to properly handle a NULL rectangle. 2010-10-20 10:23:35 +02:00
Vincent Povirk 9293ad7e13 windowscodecs: Implement conversion from CMYK to RGB. 2010-09-13 13:31:56 -05:00
Vincent Povirk c1beb63609 windowscodecs: Add locking to the format converter. 2010-04-13 11:30:19 +02:00
Vincent Povirk 0a495723c0 windowscodecs: Implement conversion from 64bppRGBA to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 7f73787947 windowscodecs: Implement conversion from 48bppRGB to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 363a0fdda9 windowscodecs: Implement conversion from 16bppGray to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 25022fe7d5 windowscodecs: Implement conversion from 4bppGray to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 4b99c98720 windowscodecs: Implement conversion from 2bppGray to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk b952c5726d windowscodecs: Implement conversion from 2bppIndexed to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 3b1fde1668 windowscodecs: Implement conversion from BlackWhite to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 4753a9d053 windowscodecs: Support conversion of 8bppGray to 32bppBGRA. 2009-08-25 10:25:56 +02:00
Francois Gouget 31e38f8d34 windowscodecs: Add a trailing '\n' to a FIXME(). 2009-08-19 12:07:20 +02:00
Vincent Povirk 4d1e72d0b3 windowscodecs: Implement conversion from 8bppIndexed to 32bppBGRA. 2009-08-14 13:59:10 +02:00
Vincent Povirk 9c1db8d828 windowscodecs: Implement conversion from 4bppIndexed to 32bppBGRA. 2009-08-14 13:59:10 +02:00
Vincent Povirk 1a62109b70 windowscodecs: Implement conversion from 24bppBGR to 32bppBGRA. 2009-08-14 13:59:09 +02:00
Vincent Povirk 3e5cdea0b4 windowscodecs: Implement conversion from 1bppIndexed to 32bppBGRA. 2009-08-14 13:59:09 +02:00
Vincent Povirk 7bbe731252 windowscodecs: Implement conversion from 16bppBGR565 to 32bppBGRA. 2009-08-14 13:59:09 +02:00
Vincent Povirk e38fd32e84 windowscodecs: Implement conversion from 16bppBGR555 to 32bppBGRA. 2009-08-14 13:59:09 +02:00
Vincent Povirk 83807312b9 windowscodecs: Implement conversion to 32bppBGR. 2009-08-14 13:59:09 +02:00
Vincent Povirk fa54c2e1aa windowscodecs: Implement GetPixelFormat for default format converter. 2009-08-14 13:59:09 +02:00
Vincent Povirk 05ddbfbf30 windowscodecs: Implement GetSize/Resolution for default format converter. 2009-08-14 13:59:09 +02:00
Vincent Povirk d7d3618414 windowscodecs: Implement conversion from 32bppBGR to 32bppBGRA. 2009-08-14 13:59:09 +02:00
Vincent Povirk b3f02a3fd5 windowscodecs: Add stub implementation of WICStandardFormatConverter. 2009-08-14 13:59:09 +02:00