Commit Graph

579 Commits

Author SHA1 Message Date
Vincent Povirk 60e6653561 windowscodecs: Implement IWICMetadataWriter::LoadEx. 2012-01-12 12:31:21 +01:00
Vincent Povirk 6b2d1ce130 windowscodecs: Add a stub IWICMetadataReader/Writer implementation. 2012-01-12 12:31:20 +01:00
Francois Gouget 5f88f362ea dlls: Standardize on 'static const WCHAR' for our Unicode string literals.
Do the same for the corresponding Ansi strings.
2011-12-20 10:16:09 +01:00
Francois Gouget 268d364e1f windowscodecs: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:37 +01:00
Alexandre Julliard f69968bb4a windowscodecs/tests: Avoid size_t in a trace. 2011-11-23 23:28:26 +01:00
Francois Gouget 361e3b1a00 windowscodecs/tests: Fix compilation on systems that don't support nameless unions. 2011-11-21 11:01:14 +01:00
Vincent Povirk 065470ed62 windowscodecs: Flesh out IWICMetadataReader test. 2011-11-16 09:46:15 +01:00
Vincent Povirk 318c4e6788 windowscodecs: Add test for CreateMetadataReaderFromContainer. 2011-11-16 09:46:12 +01:00
Vincent Povirk b2fa99851c windowscodecs: Add tests for IWICMetadataReader. 2011-11-16 09:46:08 +01:00
Andrew Talbot e1b7291785 windowscodecs: Remove unneeded address-of operators from array names. 2011-11-02 12:31:48 +01:00
Vincent Povirk 219b987fa1 windowscodecs: Use a smaller magic number to detect JPEG files. 2011-10-13 20:43:18 +02:00
Andrew Talbot 2e27be37c3 windowscodecs: Mark some fall-throughs in switch statements. 2011-10-11 13:37:49 +02:00
Damjan Jovanovic ea35386b2b windowscodecs: Read PNGs sequentially. 2011-10-06 16:46:41 -05:00
Michael Stefaniuc 952699e843 windowscodecs: Remove casts to the type of the casted variable. 2011-09-20 16:21:43 +02:00
Andrew Talbot 568d9ccde8 windowscodecs: Remove extern from function definition. 2011-08-29 12:08:20 +02:00
Alexandre Julliard b6d2aeee58 windowscodecs: Specify the PSFactoryBuffer class in the idl file. 2011-08-01 17:20:46 +02:00
Vincent Povirk c1aef636df windowscodecs: Fix typo. 2011-07-29 18:47:22 +02:00
Vincent Povirk 5f46f701c5 windowscodecs: Implement IcoFrameDecode_GetResolution. 2011-07-28 11:30:23 +02:00
Vincent Povirk b031b619c7 windowscodecs: Implement FlipRotator_CopyPalette. 2011-07-28 11:30:18 +02:00
Vincent Povirk 6956f2be1b windowscodecs: Implement FlipRotator_GetResolution. 2011-07-28 11:30:14 +02:00
Vincent Povirk e9fba4fc07 windowscodecs: Implement GetDecoderInfo for all the decoders. 2011-07-28 11:30:09 +02:00
Vincent Povirk 5a45076d1d windowscodecs: Implement GetContainerFormat for more components. 2011-07-28 11:30:02 +02:00
Vincent Povirk 785f84a63c windowscodecs: Treat unspecified extra channels as alpha data. 2011-06-15 20:04:38 +02:00
Marcus Meissner 42ef8a5705 windowscodecs: Mark 3 vtables static. 2011-05-30 11:12:25 +02:00
Andrew Nguyen 9d5ef07178 windowscodecs: Trace the correct expected value in some seek test failure strings. 2011-05-18 16:54:36 +02:00
Marcus Meissner 46f1d8a865 windowscodecs: Mark internal symbols as hidden. 2011-04-29 14:21:41 +02:00
Vincent Povirk 9483b3ba86 windowscodecs: Treat samples as unspecified if there's no ExtraSamples tag. 2011-04-25 13:03:22 +02:00
Vincent Povirk a08aa5391e windowscodecs: Handle broken TIFF files without a RowsPerStrip tag. 2011-04-21 16:53:42 +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
Vincent Povirk d65f579912 windowscodecs: Implement FlipRotator_GetPixelFormat. 2011-04-15 10:07:58 +02:00
Vincent Povirk 974e875309 windowscodecs: Add test for multi-frame TIFF encoding. 2011-04-11 19:33:01 +02:00
Vincent Povirk 0a5b513d80 windowscodecs: Add test for TIFF encoder. 2011-04-11 19:32:57 +02:00
Vincent Povirk 0b75067c02 windowscodecs: Implement TiffEncoder_Commit. 2011-04-11 19:32:48 +02:00
Vincent Povirk e4986fc994 windowscodecs: Implement TiffFrameEncode_Commit. 2011-04-11 19:32:42 +02:00
Austin English bceb274c94 windowscodecs: Only declare jpeg debug channel if jpeg is supported. 2011-04-11 12:22:59 +02:00
Vincent Povirk 75a010581a windowscodecs: Implement TiffFrameDecode_WriteSource. 2011-04-06 21:18:49 +02:00
Vincent Povirk 518f4fd6de windowscodecs: Implement TiffFrameEncode_WritePixels. 2011-04-06 21:18:45 +02:00
Vincent Povirk 28fc658da8 windowscodecs: Implement TiffFrameEncode_SetResolution. 2011-04-06 21:18:39 +02:00
Vincent Povirk eaf61d8361 windowscodecs: Implement TiffFrameEncode_SetSize. 2011-04-06 21:18:35 +02:00
Vincent Povirk 3c8edfe9dc windowscodecs: Implement TiffFrameEncode_SetPixelFormat. 2011-04-06 21:18:31 +02:00
Vincent Povirk 2cad663198 windowscodecs: Implement TiffFrameEncode_Initialize. 2011-04-06 12:05:08 +02:00
Vincent Povirk c876357c11 windowscodecs: Implement TiffEncoder_CreateNewFrame. 2011-04-06 12:05:07 +02:00
Vincent Povirk 39fc092b7c windowscodecs: Implement TiffEncoder_Initialize. 2011-04-06 12:05:07 +02:00
Vincent Povirk fb356a3e66 windowscodecs: Add stub TIFF encoder. 2011-04-06 12:05:07 +02:00
Vincent Povirk 562267a7fb windowscodecs: Implement TiffDecoder_GetResolution. 2011-04-06 12:05:07 +02:00
Vincent Povirk 10080298dc windowscodecs: Add support for reading tiled TIFF images. 2011-03-28 17:16:33 +02:00
Austin English 4c6edd7fe0 windowscodecs/tests: Make sure returns values are used (LLVM/Clang). 2011-02-09 09:27:32 -06:00
Vincent Povirk 29ec595e4a windowscodecs: Release the icon frame substream on success too. 2011-02-07 10:12:22 -06:00
Andrew Nguyen ae1e5b79fa windowscodecs: Use memmove in StreamOnMemory::Read and StreamOnMemory::Write to cope with potentially overlapped memory copying.
Spotted with Valgrind.
2011-01-21 13:46:58 +01:00
Andrew Nguyen a0bc2bd91e windowscodecs: Avoid writing to the output pointer on failure in StreamOnStreamRange::Read and StreamOnStreamRange::Write. 2011-01-21 13:46:34 +01:00
Ken Thomases 677c1e578d windowscodecs: Disable ICNS support when building for Mac OS X 10.4 Tiger. 2011-01-21 12:24:58 +01:00
Michael Stefaniuc b1d9b7ee2a windowscodecs/tests: Fix crash introduced with eaf394a9ac. 2011-01-13 15:22:00 +01:00
Michael Stefaniuc eaf394a9ac windowscodecs/tests: COM cleanup for converter.c. 2011-01-12 11:32:18 +01:00
Michael Stefaniuc 2785e905bc windowscodecs: Use ifaces instead of vtbl pointers in BmpDecoder. 2011-01-12 11:32:17 +01:00
Michael Stefaniuc 0ceabe8879 windowscodecs: COM cleanup for stream.c. 2011-01-11 16:05:45 +01:00
Michael Stefaniuc d341bea673 windowscodecs: Use an iface instead of a vtbl pointer in BmpEncoder. 2011-01-11 16:05:45 +01:00
Vincent Povirk f4ef7ff48a windowscodecs: Accept failure when seeking to the start of a TGA footer. 2011-01-11 16:05:45 +01:00
Vincent Povirk 377d890820 windowscodecs: Ignore an unspecified extra sample in RGB TIFF images. 2011-01-11 16:05:44 +01:00
Vincent Povirk a16df86db3 windowscodecs: Avoid an iface -> impl conversion from a non-method. 2011-01-11 16:05:44 +01:00
Vincent Povirk b00c2979cf windowscodecs: Support 8-bit RGB (as opposed to BGR) bitfields bitmaps. 2011-01-11 16:05:44 +01:00
Vincent Povirk d9fb1a4b92 windowscodecs: Add a utility function for swapping 8-bit BGR/RGB data. 2011-01-11 16:05:43 +01:00
Vincent Povirk d747652102 windowscodecs: Ignore the alpha channel of ICO files if it's empty. 2011-01-11 16:05:43 +01:00
Ken Thomases 21137cd3c3 windowscodecs: Use Mac OS X native ICNS support, not libicns.
The ICNS support is only used on Mac OS X and is not anticipated to be used
on any other platform.  So, we can rely on the native frameworks rather than
a third-party dependency.
2011-01-06 11:44:02 +01:00
Michael Stefaniuc 5cce70ddeb windowscodecs: Use an iface instead of a vtbl pointer in BmpFrameEncode. 2011-01-05 17:53:29 +01:00
Vincent Povirk 5fd834fc95 windowscodecs: Store an impl pointer instead of an iface pointer. 2011-01-05 17:23:28 +01:00
Michael Stefaniuc 53af9f2b1e windowscodecs: Use ifaces instead of vtbl pointers in PngEncoder. 2010-12-16 12:06:51 +01:00
Alexandre Julliard 779f88ec90 windowscodecs: Convert the coclasses registration to the IRegistrar mechanism. 2010-12-13 18:00:56 +01:00
Michael Stefaniuc 31aec42560 windowscodecs: Standardize the COM usage in icnsformat.c. 2010-12-09 12:21:55 +01:00
Michael Stefaniuc d11c0f3801 windowscodecs: Use an iface instead of a vtbl pointer in FlipRotator. 2010-12-09 12:21:50 +01:00
Michael Stefaniuc 7e106986cb windowscodecs: Use an iface instead of a vtbl pointer in PropertyBag. 2010-12-09 12:21:24 +01:00
Michael Stefaniuc cbee3a561e windowscodecs: Use an iface instead of a vtbl pointer in FormatConverter. 2010-12-09 12:21:19 +01:00
Michael Stefaniuc 4313084308 windowscodecs: Use an iface instead of a vtbl pointer in PaletteImpl. 2010-11-29 13:28:26 +01:00
Michael Stefaniuc e97fb5036d windowscodecs: Use an iface instead of a vtbl pointer in ImagingFactory. 2010-11-29 13:28:25 +01:00
Michael Stefaniuc cbea260391 windowscodecs: Standardize the COM usage in info.c. 2010-11-29 13:28:25 +01:00
Michael Stefaniuc 2854f06105 windowscodecs: Standardize the COM usage in pngformat.c. 2010-11-29 13:28:25 +01:00
Michael Stefaniuc 682600b7fc windowscodecs: Standardize the COM usage in jpegformat.c. 2010-11-29 13:28:25 +01:00
Michael Stefaniuc 5f15f9b8b7 windowscodecs: Standardize the COM usage in icoformat.c. 2010-11-29 13:28:24 +01:00
Michael Stefaniuc 2ff573c99e windowscodecs: Standardize the COM usage in tgaformat.c. 2010-11-29 13:28:24 +01:00
Michael Stefaniuc 34fc890285 windowscodecs: Standardize the COM usage in tiffformat.c. 2010-11-29 13:28:23 +01:00
Michael Stefaniuc 8d8dd3de54 windowscodecs: Standardize the COM usage in gifformat.c. 2010-11-29 13:28:23 +01:00
Michael Stefaniuc 1881db6ab5 windowscodecs: Use an iface instead of a vtbl pointer in ClassFactoryImpl. 2010-11-29 13:28:23 +01:00
Vincent Povirk b782417707 windowscodecs: Implement conversion from 16bppBGRA to 32bppBGRA. 2010-10-25 12:13:42 +02:00
Vincent Povirk b26d789db2 windowscodecs: Implement CopyPalette for the TGA decoder. 2010-10-25 12:13:39 +02:00
Damjan Jovanovic 32f9173998 windowscodecs: Add COM proxies and stubs. 2010-10-22 15:49:37 +02:00
Vincent Povirk a5a7d6c9f0 windowscodecs: Support Run-length encoded TGA images. 2010-10-22 12:02:10 +02:00
Vincent Povirk a64400ec98 windowscodecs: Add support for 32-bit TGA images. 2010-10-22 12:02:05 +02:00
Vincent Povirk 6ecb81976f windowscodecs: Handle TGA attribute bits. 2010-10-22 12:02:00 +02:00
Vincent Povirk c2533f3691 windowscodecs: Implement CopyPixels for the TGA decoder. 2010-10-22 12:01:43 +02:00
Vincent Povirk 631d9860ad windowscodecs: Seek to start of stream when opening TIFF files. 2010-10-21 12:27:43 +02:00
Vincent Povirk a044639dee windowscodecs: Implement GetSize for the TGA decoder. 2010-10-21 12:27:03 +02:00
Vincent Povirk df5a150b4f windowscodecs: Implement GetPixelFormat for the TGA decoder. 2010-10-21 12:26:59 +02:00
Vincent Povirk bb6d9eaffb windowscodecs: Implement GetFrame for the TGA decoder. 2010-10-21 12:26:54 +02:00
Vincent Povirk 6d20f77517 windowscodecs: Implement Initialize for the TGA decoder. 2010-10-21 12:26:50 +02:00
Vincent Povirk 7bf6ad916b windowscodecs: Add stub TGA decoder. 2010-10-21 12:26:44 +02:00
Vincent Povirk b9beb9227d windowscodecs: Support TIFF images with alpha data. 2010-10-21 12:26:12 +02:00
Vincent Povirk 0ce1c796e4 windowscodecs: Implement TiffFrameDecode_CopyPalette. 2010-10-21 12:26:05 +02:00
Krzysztof Nowicki db6731f628 windowscodecs: Optimise copy_pixels in case the whole bitmap is copied. 2010-10-20 18:37:07 +02:00
Krzysztof Nowicki 29a5d9b3f6 windowscodecs/tests: Add test cases for *_CopyPixels calls with NULL rectangle. 2010-10-20 10:24:07 +02:00
Krzysztof Nowicki 145bda5aa6 windowscodecs: Fix *_CopyPixels functions to properly handle a NULL rectangle. 2010-10-20 10:23:35 +02:00
Damjan Jovanovic d53e1a71f4 windowscodecs: Load PNGs incrementally. 2010-10-07 15:58:12 +02:00
Joel Holdsworth 57e00c851e windowscodecs: Implemented GifFrameDecode_GetResolution. 2010-10-07 12:05:06 +02:00
Joel Holdsworth e66a2f6d81 windowscodecs/tests: Added test for GifFrameDecode_GetResolution. 2010-10-07 12:05:01 +02:00
Damjan Jovanovic 666940902d windowscodecs: Support ICO files with embedded PNGs. 2010-09-30 17:51:18 +02:00
Vincent Povirk 4d55359faf windowscodecs: Use the BMP decoder to decode ICO frames. 2010-09-22 20:42:41 +02:00
Vincent Povirk 870afcdd19 windowscodecs: Make it possible for the BMP decoder to read packed DIBs. 2010-09-22 20:42:39 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Vincent Povirk 1cb7e6f879 windowscodecs: Override libjpeg's default error handling. 2010-09-13 13:32:06 -05:00
Vincent Povirk 9293ad7e13 windowscodecs: Implement conversion from CMYK to RGB. 2010-09-13 13:31:56 -05:00
Vincent Povirk 116cf47df3 windowscodecs: Decode CMYK/YCCK JPEG images as CMYK. 2010-09-13 13:31:49 -05:00
Vincent Povirk 72bd534908 windowscodecs: Fix the seeking in stream region streams. 2010-09-13 13:31:37 -05:00
Damjan Jovanovic f68333cb6b windowscodecs: Test that ICO GetSize returns the BITMAPINFOHEADER size instead of the ICONDIRENTRY size. 2010-09-08 14:22:52 +02:00
Vincent Povirk 06c35e8b75 windowscodecs: Implement IWICComponentInfo::GetCLSID. 2010-09-06 16:16:56 +02:00
Vincent Povirk a53a57b79e windowscodecs: Implement IWICBitmapCodecInfo::GetMimeTypes. 2010-09-06 16:16:51 +02:00
Vincent Povirk 2d2a6526d8 windowscodecs: Add tests for IWICBitmapDecoderInfo_GetMimeTypes. 2010-09-06 16:16:46 +02:00
Vincent Povirk ad2895d10b windowscodecs: Register builtin encoders. 2010-09-06 16:16:25 +02:00
Vincent Povirk d701e8fab3 windowscodecs: Enumerate encoders. 2010-09-06 16:16:17 +02:00
Vincent Povirk 1ed39c29e2 windowscodecs: Implement IWICStream::InitializeFromIStreamRegion. 2010-08-30 11:26:29 +02:00
Vincent Povirk 0b532eb834 windowscodecs: Add test for IWICStream::InitializeFromIStreamRegion. 2010-08-30 11:26:29 +02:00
Vincent Povirk c37f6fb196 windowscodecs: Handle TIFF's with RowsPerStrip greater than Height. 2010-08-25 11:58:50 +02:00
Vincent Povirk 4cedec5975 windowscodecs: Handle WhiteIsZero TIFF images. 2010-08-25 11:58:45 +02:00
Vincent Povirk 73d539e657 windowscodecs: Always check TIFF sample count and planar configuration.
This more closely matches the TIFF spec. These values are valid for all
photometric interpretations.
2010-08-25 11:58:40 +02:00
Vincent Povirk e486a17a40 windowscodecs: Byte-swap image data from big endian TIFF files. 2010-08-25 11:58:30 +02:00
Vincent Povirk c30d165ec8 windowscodecs: Add support for decoding 48-bit TIFF images. 2010-08-25 11:58:22 +02:00
Vincent Povirk 467f232f37 windowscodecs: Prefer builtin version. 2010-08-25 11:58:12 +02:00
Damjan Jovanovic 129f229272 windowscodecs: Write ICNS files. 2010-08-24 15:22:35 +02:00
Damjan Jovanovic bbf039fe45 windowscodecs: Implement the ICNS frame encoder. 2010-08-24 15:22:35 +02:00
Damjan Jovanovic 51d741f8c8 windowscodecs: Stub out the ICNS frame encoder. 2010-08-24 15:22:35 +02:00
Damjan Jovanovic a4835dce4f windowscodecs: Add a stubbed ICNS encoder. 2010-08-24 15:22:35 +02:00
Matteo Bruni 23e173109d windowscodecs: Reset the stream pointer when initializing JPEG decoder. 2010-07-26 09:58:21 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Vincent Povirk 4dfcf843aa windowscodecs: Ignore the length field of RLE compressed bitmaps. 2010-07-19 11:09:57 +02:00
Vincent Povirk e390839732 windowscodecs: Fix the tile coordinate translation in the TIFF decoder. 2010-05-31 12:14:27 +02:00
Vincent Povirk 645f7c6208 windowscodecs: Account for a NULL pceltFetched in ComponentEnum_Next. 2010-05-27 14:46:43 +02:00
Damjan Jovanovic b34f04f9c4 windowscodecs: Fix ICO palette size calculation. 2010-05-24 11:21:02 +02:00
Vincent Povirk 6a36802f26 windowscodecs: Use the BITMAPINFOHEADER structure to get icon bitcount. 2010-05-07 12:47:02 +02:00
Vincent Povirk 4f4812b447 windowscodecs: Partially implement IWICBitmapFlipRotator_CopyPixels. 2010-04-27 15:47:48 -05:00
Vincent Povirk 0e992fccc5 windowscodecs: Implement IWICBitmapFlipRotator_GetSize. 2010-04-27 15:47:39 -05:00
Vincent Povirk dbdf1ef8b6 windowscodecs: Implement IWICBitmapFlipRotator_Initialize. 2010-04-27 15:47:32 -05: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
Vincent Povirk 2f41a3ad21 windowscodecs: Implement IWICStream_InitializeFromFilename. 2010-04-27 15:46:46 -05:00
Michael Stefaniuc 2f8d9ccba9 windowscodecs: Unlock not lock again when leaving the function (Smatch). 2010-04-19 14:54:18 +02:00
Vincent Povirk a924e54c94 windowscodecs: Fix uninitialized variable use in StreamOnMemory_Write. 2010-04-15 14:18:12 +02:00
Vincent Povirk fd3ea78702 windowscodecs: Add locking to the PNG encoder. 2010-04-15 14:18:08 +02:00
Vincent Povirk 7c8b7559a2 windowscodecs: Add locking to the JPEG decoder. 2010-04-13 11:30:35 +02:00
Vincent Povirk 8887e8c1c5 windowscodecs: Add locking to the ICO decoder. 2010-04-13 11:30:30 +02:00
Vincent Povirk 3caf7204e6 windowscodecs: Add locking to the GIF decoder. 2010-04-13 11:30:25 +02:00
Vincent Povirk c1beb63609 windowscodecs: Add locking to the format converter. 2010-04-13 11:30:19 +02:00
Vincent Povirk 7871033a40 windowscodecs: Add locking to the PNG decoder. 2010-04-13 11:30:12 +02:00
Vincent Povirk 5f6d99f513 windowscodecs: Add locking to the BMP decoder. 2010-04-12 11:29:00 +02:00
Vincent Povirk 3d914c4f8d windowscodecs: Combine the bitmap decoder and bitmap decoder frame objects. 2010-04-12 11:28:54 +02:00
Vincent Povirk 7ce7ce8266 windowscodecs: Set the threading model of ImagingFactory to Both. 2010-04-12 11:28:47 +02:00
Vincent Povirk a6bf1287ba windowscodecs: Make IWICStream thread-safe. 2010-04-12 11:28:41 +02:00
Vincent Povirk 40d48e674e windowscodecs: Add locking to StreamOnMemory. 2010-04-12 11:28:33 +02:00
Vincent Povirk 416eb191cb windowscodecs: Add support for decoding RGB TIFF images. 2010-03-22 11:44:18 +01:00
Vincent Povirk 2ed101f6fc windowscodecs: Implement CopyPixels for the TIFF decoder. 2010-03-22 11:44:12 +01:00
Vincent Povirk 8996ffbfc6 windowscodecs: Implement GetSize for the TIFF decoder. 2010-03-22 11:44:06 +01:00
Vincent Povirk 8066e9beca windowscodecs: Implement GetPixelFormat for TIFF decoder. 2010-03-22 11:44:00 +01:00
Vincent Povirk ccaf1b1e5d windowscodecs: Implement GetFrame for the TIFF decoder. 2010-03-22 11:43:55 +01:00
Vincent Povirk c048bb07ca windowscodecs: Implement GetFrameCount for the TIFF decoder. 2010-03-22 11:43:48 +01:00
Vincent Povirk 0d285eac80 windowscodecs: Implement Initialize for the TIFF decoder. 2010-03-22 11:43:42 +01:00
Vincent Povirk 73cd569390 windowscodecs: Add a stub TIFF decoder. 2010-03-22 11:42:43 +01:00
Vincent Povirk 8255df5698 windowscodecs: Make the IWICPalette implementation thread-safe. 2010-03-22 10:42:32 +01:00
Julian Rüger c1660c9a2f windowscodecs: Small spelling fixes. 2010-03-18 13:46:38 +01:00
Vincent Povirk d719120fc8 windowscodecs: Make component enumerators thread-safe.
This is needed so that ImagingFactory can have a threading model of Both.
2010-03-18 10:23:14 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Marcus Meissner 615e0e64f9 windowscodecs: Handle old libpng.so using distros (as SLE 10). 2010-03-02 11:57:41 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Vincent Povirk 44478b5364 windowscodecs: Define a custom png error handler. 2010-02-05 10:09:52 +01:00
Vincent Povirk 29a599a5d6 windowscodecs: Replace a call to a deprecated libpng function.
It was removed in libpng 1.4.0.
2010-02-05 10:09:08 +01:00
Michael Stefaniuc ae8c2ec267 windowscodecs: Don't cast NULL. 2009-12-21 15:01:25 +01:00
Vincent Povirk b02ba85fbc windowscodecs: Fix a memory leak in a test. 2009-12-14 12:07:43 +01:00
Nikolay Sivov fc7d6b39be windowscodecs/tests: Release decoder after use. 2009-12-07 14:45:49 +01:00
Vincent Povirk f1405ca0d2 windowscodecs: Accept GIF files with no trailer. 2009-12-07 09:33:35 +01:00
Michael Stefaniuc 13ad5d1725 windowscodecs: Remove redundant NULL check before HeapFree (Smatch). 2009-10-12 12:14:10 +02:00
Vincent Povirk d80630e8c9 windowscodecs: Add test for PNG encoder. 2009-10-09 12:00:16 +02:00
Vincent Povirk 3db6ef4980 windowscodecs: Implement Commit for the PNG encoder. 2009-10-09 12:00:10 +02:00
Vincent Povirk e7eadeec92 windowscodecs: Implement Commit for the PNG frame encoder. 2009-10-09 12:00:04 +02:00
Vincent Povirk b3790010fd windowscodecs: Implement WriteSource for the PNG encoder. 2009-10-09 11:59:57 +02:00
Vincent Povirk 2e14644937 windowscodecs: Implement WritePixels for the PNG encoder. 2009-10-09 11:59:50 +02:00
Vincent Povirk 6bc71039b1 windowscodecs: Implement SetResolution for the PNG encoder. 2009-10-09 11:59:43 +02:00
Vincent Povirk e324b8ef4c windowscodecs: Implement SetSize for the PNG encoder. 2009-10-09 11:59:36 +02:00
Vincent Povirk a2214f04d4 windowscodecs: Implement SetPixelFormat for the PNG encoder. 2009-10-09 11:59:30 +02:00
Vincent Povirk 6afcb2eb33 windowscodecs: Implement Initialize for the PNG frame encoder. 2009-10-09 11:59:21 +02:00
Vincent Povirk 049a2e0c0c windowscodecs: Implement CreateNewFrame for the PNG encoder. 2009-10-09 11:59:15 +02:00
Vincent Povirk c79b70507a windowscodecs: Implement Initialize for the PNG encoder. 2009-10-09 11:59:05 +02:00
Vincent Povirk 60d1be1326 windowscodecs: Add stub PNG encoder. 2009-10-09 11:58:55 +02:00
Vincent Povirk 7833b68aca windowscodecs: Add test for BMP encoder. 2009-10-09 11:58:44 +02:00
Vincent Povirk 64146fa97e windowscodecs: Support more formats in the BMP encoder. 2009-10-09 11:58:35 +02:00
Vincent Povirk 48cf4536e5 windowscodecs: Implement GetResolution for the PNG decoder. 2009-10-09 11:58:24 +02:00
Michael Stefaniuc 22e2c111c1 windowscodecs: Remove trailing '\'. 2009-09-29 18:08:22 +02:00
Alexandre Julliard 77c3997e90 windowscodecs: Fix incorrect overflow check caused by test mistake. 2009-09-25 15:58:55 +02:00
Michael Stefaniuc 78cfd13730 windowscodecs: Use FAILED instead of !SUCCEEDED. 2009-09-10 11:08:31 +02:00
Vincent Povirk 5a1fb6bd9c windowscodecs: Fix the bmpformat test on Windows 7. 2009-09-08 12:14:05 +02:00
Alexandre Julliard be242de9c0 windowscodecs/tests: Avoid size_t in traces. 2009-09-02 11:53:16 +02:00
Francois Gouget 2dd9b1d027 windowscodecs: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:41:22 +02:00
Francois Gouget b837745935 windowscodecs/tests: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:41:21 +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 80adebf76c windowscodecs: Support color-keyed transparency in PNG images. 2009-08-28 11:54:49 +02:00
Vincent Povirk 4657938235 windowscodecs: Implement CopyPalette for the PNG decoder. 2009-08-28 11:54:49 +02:00
Vincent Povirk bcd8dc2d53 windowscodecs: Implement CopyPixels for the PNG decoder. 2009-08-28 11:54:49 +02:00
Vincent Povirk c7125783de windowscodecs: Implement GetSize for the PNG decoder. 2009-08-28 11:54:49 +02:00
Vincent Povirk 50b07b795d windowscodecs: Implement GetPixelFormat for the PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk b077f0653c windowscodecs: Implement GetFrame for the PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk 7d74dba5b8 windowscodecs: Implement Initialize for the PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk f626204321 windowscodecs: Implement GetFrameCount for PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk 25f3802b36 windowscodecs: Implement GetContainerFormat for PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk 59810aa4f4 windowscodecs: Register the PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk 568c739082 windowscodecs: Add stub PNG decoder. 2009-08-28 11:54:48 +02:00
Francois Gouget 798af6fe27 windowscodecs/tests: Make some functions static. 2009-08-26 13:09:24 +02:00
Vincent Povirk 2c1d555a08 windowscodecs: Fix rounding in BMP encoder. 2009-08-25 11:05:17 +02:00
Vincent Povirk 4753a9d053 windowscodecs: Support conversion of 8bppGray to 32bppBGRA. 2009-08-25 10:25:56 +02:00
Vincent Povirk 341b6ffd71 windowscodecs: Print a FIXME when WICConvertBitmapSource fails. 2009-08-25 10:25:44 +02:00
Vincent Povirk 529bdca8a8 windowscodecs: Implement CopyPixels for the JPEG decoder. 2009-08-25 10:25:35 +02:00
Vincent Povirk 7d63abc9ec windowscodecs: Implement GetSize for the JPEG decoder. 2009-08-25 10:25:26 +02:00
Vincent Povirk 0ab6e9853c windowscodecs: Implement GetPixelFormat for the JPEG decoder. 2009-08-25 10:25:19 +02:00
Vincent Povirk 5ef3b51756 windowscodecs: Implement GetFrame for the JPEG decoder. 2009-08-25 10:25:12 +02:00
Vincent Povirk 4185c0d9fe windowscodecs: Implement Initialize for the JPEG decoder. 2009-08-25 10:24:58 +02:00
Vincent Povirk bec465e467 windowscodecs: Add stub JPEG decoder. 2009-08-25 10:24:33 +02:00
Tony Wasserka 5b2a9a19dc windowscodecs: Add tests for IWICStream_Stat with memory streams. 2009-08-24 15:17:35 +02:00
Tony Wasserka 3d8afaca5f windowscodecs: Add tests for the unimplemented IWICStream methods when using memory streams. 2009-08-24 15:17:35 +02:00
Tony Wasserka 7a81507fa7 windowscodecs: Add tests for IWICStream_Write with memory streams. 2009-08-24 15:17:35 +02:00
Tony Wasserka b5c71551a7 windowscodecs: Add tests for IWICStream_Read with memory streams. 2009-08-24 15:17:35 +02:00
Tony Wasserka 12354a84cb windowscodecs: Add tests for IWICStream_Seek with memory streams. 2009-08-24 15:17:35 +02:00
Tony Wasserka df90e5d120 windowscodecs: Add tests for IWICStream_InitializeFromMemory. 2009-08-24 15:17:34 +02:00
Tony Wasserka a3edb733a7 windowscodecs: Support Stat for memory streams in IWICStream. 2009-08-21 13:49:46 +02:00
Tony Wasserka 2395202388 windowscodecs: Support Seek for memory streams in IWICStream. 2009-08-21 13:49:46 +02:00
Tony Wasserka 0b6df19375 windowscodecs: Support writing to memory streams in IWICStream. 2009-08-21 13:49:45 +02:00
Tony Wasserka bb83fb264b windowscodecs: Support reading from memory streams in IWICStream. 2009-08-21 13:49:45 +02:00
Tony Wasserka af6ece97b1 windowscodecs: Add IWICStream_InitializeFromMemory implementation. 2009-08-21 13:49:45 +02:00
Louis Lenders 9c0a3eab97 windowscodecs: Add version resource. 2009-08-21 13:49:45 +02:00
Vincent Povirk 84dff04e3a windowscodecs: Implement CopyPixels for 32-bit ICO icons. 2009-08-21 12:31:58 +02:00
Vincent Povirk e743a7a8c5 windowscodecs: Implement CopyPixels for 1-bit ICO icons. 2009-08-21 12:31:51 +02:00
Vincent Povirk a65010aa19 windowscodecs: Implement CopyPixels for 4-bit ICO icons. 2009-08-21 12:31:44 +02:00
Vincent Povirk 5d7cd19556 windowscodecs: Implement CopyPixels for 24-bit ICO icons. 2009-08-21 12:31:36 +02:00
Vincent Povirk 1c25ee8ce7 windowscodecs: Implement CopyPixels for 8-bit ICO icons. 2009-08-21 12:31:12 +02:00
Vincent Povirk ccc4c2d5d2 windowscodecs: Implement GetSize for the ICO decoder. 2009-08-21 12:31:02 +02:00
Vincent Povirk c49b36ea31 windowscodecs: Implement GetFrameCount and GetFrame for the ICO decoder. 2009-08-21 12:30:55 +02:00
Vincent Povirk dd5c5b8277 windowscodecs: Implement Initialize for the ICO decoder. 2009-08-21 12:30:45 +02:00
Vincent Povirk 2ca8b9fd8d windowscodecs: Add stub ICO decoder. 2009-08-21 12:30:33 +02:00
Tony Wasserka a18fc6ec76 windowscodecs: Add stubs for the IWICStream interface. 2009-08-20 19:43:29 +02:00
Vincent Povirk f343c33083 windowscodecs: Implement GetDecoderInfo for the GIF decoder. 2009-08-19 12:08:43 +02:00
Vincent Povirk 2b14970e51 windowscodecs: Implement GetContainerFormat for the GIF decoder. 2009-08-19 12:08:38 +02:00
Vincent Povirk 19e7803088 windowscodecs: Implement CopyPixels for GIF decoder. 2009-08-19 12:08:13 +02:00
Francois Gouget 31e38f8d34 windowscodecs: Add a trailing '\n' to a FIXME(). 2009-08-19 12:07:20 +02:00
Vincent Povirk 548cd05ceb windowscodecs: Implement CopyPalette for the GIF decoder. 2009-08-18 14:59:54 +02:00
Vincent Povirk d095d27d92 windowscodecs: Implement GetSize for the GIF decoder. 2009-08-18 14:59:44 +02:00
Vincent Povirk 45e9804a8e windowscodecs: Implement GetFrameCount and GetFrame for the GIF decoder. 2009-08-18 14:59:35 +02:00
Vincent Povirk e6eb982ca6 windowscodecs: Implement Initialize for the GIF decoder. 2009-08-18 14:59:17 +02:00
Vincent Povirk b9b06bc2c9 windowscodecs: Register the GIF decoder. 2009-08-18 14:58:28 +02:00
Vincent Povirk 0c4a5620e8 windowscodecs: Add stub GIF decoder. 2009-08-18 14:58:18 +02:00
Vincent Povirk 83d8f615b3 windowscodecs: Add test for pixel format conversion. 2009-08-18 14:57:32 +02:00
Vincent Povirk ad1d8adfeb windowscodecs: Add a WARN message when CreateDecoderFromStream fails. 2009-08-17 13:57:50 +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 e308b67807 windowscodecs: Implement WICConvertBitmapSource. 2009-08-14 13:59:09 +02:00
Vincent Povirk 26b78d1a70 windowscodecs: Register the default pixel format converter. 2009-08-14 13:59:09 +02:00
Vincent Povirk 85c379f6a1 windowscodecs: Add stub implementation of IWICFormatConverterInfo. 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
Vincent Povirk 1e0046788f windowscodecs: Register all formats supported by the BMP decoder. 2009-08-14 13:59:09 +02:00
Vincent Povirk 2df20cb921 windowscodecs: Implement WriteSource for BMP frame encoder. 2009-08-12 13:47:31 +02:00
Vincent Povirk 22bfe27fb0 windowscodecs: Implement Commit for BMP encoder. 2009-08-12 13:47:15 +02:00
Vincent Povirk 7cc0fd4fde windowscodecs: Implement Commit for BMP frame encoder. 2009-08-12 13:47:07 +02:00
Vincent Povirk 4d1d92f87f windowscodecs: Implement WritePixels for BMP frame encoder. 2009-08-12 13:46:56 +02:00
Vincent Povirk fcb69378a1 windowscodecs: Implement SetResolution for BMP frame encoder. 2009-08-12 13:46:08 +02:00
Vincent Povirk db040535f5 windowscodecs: Implement SetPixelFormat for BMP frame encoder. 2009-08-12 13:46:00 +02:00
Vincent Povirk 07fd33d1fa windowscodecs: Implement SetSize for the BMP frame encoder. 2009-08-12 13:45:08 +02:00
Vincent Povirk 4664116a42 windowscodecs: Implement Initialize for the BMP frame encoder. 2009-08-12 13:44:49 +02:00
Vincent Povirk 8cfc5befc9 windowscodecs: Implement CreateNewFrame for BMP encoder. 2009-08-12 13:44:29 +02:00
Vincent Povirk 941f2d3a3b windowscodecs: Implement Initialize for BMP encoder. 2009-08-12 13:42:59 +02:00
Vincent Povirk fbadf7c0ed windowscodecs: Add stub BMP encoder. 2009-08-12 13:42:42 +02:00
Vincent Povirk 3d1bb79983 windowscodecs: Fix copy_pixels when Y != 0. 2009-08-10 13:19:17 +02:00
Vincent Povirk b364bc005d windowscodecs: Add support for BI_BITFIELDS compressed BMP files. 2009-08-10 13:09:27 +02:00
Vincent Povirk 100546686c windowscodecs: Add test for IWICImagingFactory::CreateDecoderFromStream. 2009-08-05 11:40:24 +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 d8c926d79e windowscodecs: Implement GetDecoderInfo for BMP decoder. 2009-08-05 11:39:38 +02:00
Vincent Povirk 220edb7900 windowscodecs: Add tests for IWICBitmapDecoderInfo. 2009-08-05 11:39:31 +02:00
Vincent Povirk a13899cc90 windowscodecs: Implement IWICBitmapDecoderInfo::MatchesPattern. 2009-08-05 11:39:21 +02:00
Vincent Povirk 4e5ee3699f windowscodecs: Implement IWICBitmapDecoderInfo::CreateInstance. 2009-08-05 11:39:14 +02:00
Vincent Povirk 6c5d1b2f63 windowscodecs: Implement IWICBitmapDecoderInfo::GetPatterns. 2009-08-05 11:39:07 +02:00
Vincent Povirk 3f2ff08803 windowscodecs: Implement IWICBitmapDecoderInfo::GetComponentType. 2009-08-05 11:39:01 +02:00
Vincent Povirk f24834f486 windowscodecs: Add stub implementation of IWICBitmapDecoderInfo. 2009-08-05 11:38:53 +02:00