Commit Graph

323 Commits

Author SHA1 Message Date
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