Commit Graph

687 Commits

Author SHA1 Message Date
Dmitry Timoshkov 67eafab883 windowscodecs: Implement QueryCapability of the JPEG decoder. 2012-11-27 19:45:34 +01:00
Dmitry Timoshkov c44024f1e0 windowscodecs: Add a NULL check to GetFrameCount of the JPEG decoder. 2012-11-27 19:45:34 +01:00
Dmitry Timoshkov 5e10f2e0ec windowscodecs: Implement QueryCapability of the ICO decoder. 2012-11-27 19:45:33 +01:00
Dmitry Timoshkov 075d28d857 windowscodecs: Reimplement GetFrameCount of the ICO decoder. 2012-11-27 19:45:33 +01:00
Dmitry Timoshkov eb26db27a7 windowscodecs: Reimplement QueryCapability of the BMP decoder. 2012-11-27 19:45:33 +01:00
Dmitry Timoshkov afd1ddbe0d windowscodecs: Add a NULL check to GetFrameCount of the BMP decoder. 2012-11-27 19:45:32 +01:00
Dmitry Timoshkov a8eaeaf511 windowscodecs: Make GetFrame return WINCODEC_ERR_FRAMEMISSING without an image data. 2012-11-23 18:06:10 +01:00
Dmitry Timoshkov 37892c2f28 windowscodecs: Add a test to show that QueryCapability initializes the decoder. 2012-11-23 18:06:10 +01:00
Dmitry Timoshkov 7baf4ecd06 windowscodecs: Implement QueryCapability in the GIF decoder. 2012-11-22 11:56:58 +01:00
Dmitry Timoshkov 892c16e661 windowscodecs: Reimplement GetFrameCount of the GIF decoder. 2012-11-22 11:56:40 +01:00
Dmitry Timoshkov a3711295da windowscodecs: Implement QueryCapability in the TIFF decoder. 2012-11-21 16:40:27 +01:00
Dmitry Timoshkov 9e5ecdb745 windowscodecs: Make GetFrameCount in the TIFF decoder not fail without an image stream. 2012-11-21 16:40:20 +01:00
Dmitry Timoshkov a98fe810a4 windowscodecs: Test QueryCapability of the TIFF decoder. 2012-11-20 13:32:49 +01:00
Dmitry Timoshkov bfed6e5f30 windowscodecs: Add NULL pointer checks to some color context methods. 2012-11-19 11:47:36 +01:00
Hans Leidekker 6395af1ae7 windowscodecs: GetThumbnail should be supported for ICO frames. 2012-11-15 21:22:03 +01:00
Hans Leidekker b671f2573e windowscodecs: Add tests for IWICColorContext. 2012-11-15 21:22:02 +01:00
Hans Leidekker ffa558bbaa windowscodecs: Implement IWICColorContext::GetProfileBytes. 2012-11-15 21:22:01 +01:00
Hans Leidekker da7c8c6331 windowscodecs: Implement IWICColorContext::GetExifColorSpace. 2012-11-15 21:22:01 +01:00
Hans Leidekker a7f0c14bef windowscodecs: Implement IWICColorContext::InitializeFromExifColorSpace. 2012-11-15 21:22:00 +01:00
Hans Leidekker 7712c0e8cd windowscodecs: Implement IWICColorContext::InitializeFromMemory. 2012-11-15 21:21:59 +01:00
Hans Leidekker c9acbecdf0 windowscodecs: Implement IWICColorContext::GetType. 2012-11-15 21:21:58 +01:00
Hans Leidekker cfb91803c2 windowscodecs: Implement IWICBitmapFrameDecode::GetColorContexts for PNG images. 2012-11-15 21:21:57 +01:00
Hans Leidekker 96ebc618b5 windowscodecs: Add a stub IWICColorContext implementation. 2012-11-15 21:21:55 +01:00
Hans Leidekker 1b762afa63 windowscodecs: Implement WICCreateColorContext_Proxy. 2012-11-15 21:21:54 +01:00
Hans Leidekker 853273c98b windowscodecs: Implement IWICBitmapDecoderInfo::GetFileExtensions. 2012-11-13 16:54:54 +01:00
André Hentschel bbefb29d1c windowscodecs: Fix resource leak (coverity). 2012-10-25 11:47:32 +02:00
André Hentschel 8683250033 windowscodecs: Fix copy-paste error (coverity). 2012-10-24 19:38:33 +02:00
Dmitry Timoshkov 7fcf7e831c windowscodecs: Use appropriate helper to release GIF decoder. 2012-09-26 10:59:24 +02:00
Vincent Povirk 6f4dba586a windowscodecs: Use WINCODEC_ERR_UNSUPPORTEDOPERATION in GetColorContexts stubs. 2012-09-26 10:59:12 +02:00
Francois Gouget fe6451e2ab windowscodecs: Fix compilation on systems that don't support nameless unions. 2012-09-24 10:51:47 +02:00
Dmitry Timoshkov 36560f462b windowscodecs: Take into account return value of IWICPalette_InitializeCustom(). 2012-09-24 10:03:27 +02:00
Dmitry Timoshkov a457978489 windowscodecs: Calculate transparent color index for global GIF palette. 2012-09-24 10:03:22 +02:00
Dmitry Timoshkov 3eb499556e windowscodecs: Add some tests for palette in a multiframe GIF image. 2012-09-24 10:03:15 +02:00
Dmitry Timoshkov 54800a8074 windowscodecs: Implement IWICBitmapDecoder_CopyPalette for the GIF decoder. 2012-09-24 10:03:09 +02:00
Dmitry Timoshkov af8b90c106 windowscodecs: Add some tests for GIF global palette. 2012-09-24 10:03:03 +02:00
Dmitry Timoshkov 507abc41ca windowscodecs: Fix calculation of transparent GIF color index. 2012-09-24 10:01:08 +02:00
Dmitry Timoshkov 56f37637b8 windowscodecs: Return WINCODEC_ERR_FRAMEMISSING if there is no global GIF palette. 2012-09-24 10:01:02 +02:00
Dmitry Timoshkov 51242a3f18 windowscodecs: Add some tests for GIF palette. 2012-09-24 10:00:56 +02:00
Dmitry Timoshkov 6715b186f6 windowscodecs: Avoid unnecessary memory allocations. 2012-09-21 10:53:57 +02:00
Dmitry Timoshkov bd5162474a windowscodecs: Add support for VT_LPWSTR property ids to MetadataHandler_GetValue. 2012-09-19 13:05:52 +02:00
Dmitry Timoshkov 9db35b9cea windowscodecs: Use symbolic names for GIF extensions. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 45504e90ef windowscodecs: Correct some typos. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov a0ca998e08 windowscodecs: Create frame metadata readers from GIF decoder data. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 609b9a4da8 windowscodecs: Create global metadata readers from GIF decoder data. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 4786472879 windowscodecs: GIF decoder should add header and trailer to extension blocks.
Metadata readers now have access to complete and correctly formatted data
stream.
2012-09-18 14:47:01 +02:00
Dmitry Timoshkov aaa682950d windowscodecs: GIF decoder should append a sub-block to current extension. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 880b98bf23 windowscodecs: GIF Graphic Control Extension block belongs to the image which follows it. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 88faba8e1a windowscodecs: Create global metadata blocks in the GIF decoder. 2012-09-18 14:47:01 +02:00
Dmitry Timoshkov 629e7f44cb windowscodecs: Store GIF frame extensions in a dedicated Extensions structure. 2012-09-18 14:47:00 +02:00
Dmitry Timoshkov cfdf84b434 windowscodecs: Add support for color table sort flag to the GIF decoder. 2012-09-17 12:08:25 +02:00
Dmitry Timoshkov ec206a843f windowscodecs: Implement GIF Comment Extension metadata reader. 2012-09-17 12:08:11 +02:00
Dmitry Timoshkov be28f266ff windowscodecs: Implement GIF Application Extension metadata reader. 2012-09-17 12:08:00 +02:00
Dmitry Timoshkov 6881ca771e windowscodecs: Test GIF metadata using a specially created GIF image with a bunch of extensions. 2012-09-14 11:40:22 +02:00
Dmitry Timoshkov fd0cbf9ebe windowscodecs: Fix calculation of GIF local color table size from decoder data. 2012-09-14 11:40:17 +02:00
Dmitry Timoshkov 8ec1008fc7 windowscodecs: Add a bunch of tests for GIF Comment Extenstion metadata reader. 2012-09-14 11:40:09 +02:00
Dmitry Timoshkov 32a5a11b5e windowscodecs: Add a bunch of tests for GIF Application Extension metadata reader. 2012-09-14 11:40:01 +02:00
Dmitry Timoshkov 664f1c4770 windowscodecs: Create Graphic Control Extension metadata block for a GIF frame. 2012-09-13 17:00:33 +02:00
Dmitry Timoshkov 003c20467c windowscodecs: Create Image Descriptor metadata block for a GIF frame. 2012-09-13 17:00:28 +02:00
Dmitry Timoshkov a53807e3e8 windowscodecs: Check guid pointer for NULL in TiffDecoder_GetContainerFormat. 2012-09-12 12:48:40 +02:00
Dmitry Timoshkov b8c4ba6603 windowscodecs: Implement GetContainerFormat for the TIFF metadata block reader. 2012-09-12 12:48:36 +02:00
Dmitry Timoshkov 5373f8520d windowscodecs: Create Logical Screen Descriptor metadata for the GIF decoder. 2012-09-12 12:48:30 +02:00
Dmitry Timoshkov 039f6d5114 windowscodecs: Make sure that all GIF metadata blocks are properly packed. 2012-09-12 12:48:26 +02:00
Dmitry Timoshkov 26628b4c0a windowscodecs: Implement Graphic Control Extension metadata reader. 2012-09-11 11:14:21 +02:00
Dmitry Timoshkov 97fc6be67d windowscodecs: Implement Image Descriptor metadata reader. 2012-09-11 11:14:14 +02:00
Dmitry Timoshkov 500ab2b5c7 windowscodecs: Implement Logical Screen Descriptor metadata reader. 2012-09-11 11:14:05 +02:00
Dmitry Timoshkov d96e32c8a3 windowscodecs: Correct name of the PNG text metadata reader. 2012-09-11 11:13:43 +02:00
Vincent Povirk 1a032a94df windowscodecs: Implement PNG tEXt metadata reader. 2012-09-11 11:12:08 +02: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
Dmitry Timoshkov 2b5739269c windowscodecs: Add a bunch of tests for Graphic Control Extension metadata reader. 2012-09-10 12:21:14 +02:00
Dmitry Timoshkov 7f93e0a6d2 windowscodecs: Add a bunch of tests for Image Descriptor metadata reader. 2012-09-10 12:21:09 +02:00
Dmitry Timoshkov 0b0bf572c1 windowscodecs: Add a bunch of tests for Logical Screen Descriptor metadata reader. 2012-09-10 12:21:04 +02:00
Dmitry Timoshkov 3ea74413c6 include/wincodecsdk.idl: Fix a typo. 2012-09-10 12:20:51 +02:00
Dmitry Timoshkov 248e9ef7c9 windowscodecs: Add a bunch of GIF metadata tests. 2012-09-10 12:20:43 +02:00
Dmitry Timoshkov 44e6a494d9 windowscodecs: Add more tests for PNG metadata. 2012-09-10 12:20:35 +02:00
Jacek Caban e679471885 Always define WIDL_C_INLINE_WRAPPERS. 2012-08-28 14:41:13 +02:00
Jacek Caban cbf155afe1 windowscodecs/tests: Use proper helpers for iface calls. 2012-08-28 14:41:11 +02:00
Vincent Povirk 88eed3c0de windowscodecs: Implement IWICImagingFactory::CreateBitmapFromSource. 2012-08-20 20:18:03 +02:00
Vincent Povirk 32bfd81051 windowscodecs: Allow CopyPixels to succeed without padding from the last row. 2012-08-20 20:17:56 +02:00
Dmitry Timoshkov 40bda4a030 windowscodecs: Do not assume that vtable is the first element of the object. 2012-08-20 10:52:41 +02:00
Vincent Povirk 6c1fcaa392 windowscodecs: Add test for IWICImagingFactory::CreateBitmapFromSource. 2012-08-16 19:38:38 +02:00
Vincent Povirk 3e88d4ff0f windowscodecs: Implement IWICBitmap::SetResolution and GetResolution. 2012-08-16 19:38:29 +02:00
Vincent Povirk a62bd245a4 windowscodecs: Implement IWICBitmap::GetSize. 2012-08-16 19:38:04 +02:00
Vincent Povirk f26402cad7 windowscodecs: Implement IWICBitmap::GetPixelFormat. 2012-08-16 19:37:58 +02:00
Vincent Povirk 54a3134194 windowscodecs: Implement IWICBitmap::CopyPixels. 2012-08-16 19:37:51 +02:00
Vincent Povirk 46bbbd2741 windowscodecs: Implement getters on IWICBitmapLock. 2012-08-15 13:51:19 +02:00
Vincent Povirk 297c10a2bc windowscodecs: Implement IWICBitmap::Lock. 2012-08-15 13:51:13 +02:00
Vincent Povirk 3e36f1e4b5 windowscodecs: Implement BitmapImpl_SetPalette and CopyPalette. 2012-08-15 13:51:08 +02:00
Vincent Povirk f9b67b6c18 windowscodecs: Add a stub IWICBitmap implementation. 2012-08-15 13:50:58 +02:00
Vincent Povirk c2001c2b53 windowscodecs: Add tests for IWICBitmap. 2012-08-15 13:50:26 +02:00
Dmitry Timoshkov 5f4b8f5916 windowscodecs: Handle short reads in the metadata handler. 2012-08-13 11:49:01 +02:00
Dmitry Timoshkov 127b502ce7 windowscodecs: Fix memory leak in error case. 2012-07-31 10:56:06 +02:00
Dmitry Timoshkov 0316a1b4c1 windowscodecs: Implement IWICPalette_InitializeFromPalette. 2012-07-30 17:57:51 +02:00
Dmitry Timoshkov aaa164272d windowscodecs: Fix warnings detected by compiling with inline wrappers. 2012-07-27 17:05:28 +02:00
Dmitry Timoshkov 2a08532cfb windowscodecs: Do not assume that vtable is the first element of the object, avoid not necessary casts. 2012-07-25 11:22:03 +02:00
Dmitry Timoshkov b1d063b17f windowscodecs: Do not assume that vtable is the first element of the object, avoid not necessary casts. 2012-07-24 21:27:12 +02:00
Dmitry Timoshkov 85c02fd760 windowscodecs: Do not assume that vtable is the first element of the object, avoid not necessary casts. 2012-07-24 21:27:12 +02:00
Dmitry Timoshkov e9b642ee69 windowscodecs: Do not assume that vtable is the first element of the object. 2012-07-24 21:27:12 +02:00
Dmitry Timoshkov e796ef820b windowscodecs: Do not assume that vtable is the first element of the object. 2012-07-24 21:27:11 +02:00
Dmitry Timoshkov 6abda85c29 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 6588aea643 windowscodecs: Do not assume that vtable is the first element of the object. 2012-07-24 21:27:11 +02:00
Dmitry Timoshkov f8d2c922b0 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 b7efa00817 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 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 19479795d9 windowscodecs: Do not assume that vtable is the first element of the object, avoid not necessary casts. 2012-07-24 19:58:39 +02:00
Dmitry Timoshkov f97bc0fa2d windowscodecs: Do not assume that vtable is the first element of the object. 2012-07-24 19:58:20 +02: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 7824827a32 windowscodecs: Make classinfo structure const. 2012-07-24 19:58:07 +02:00
Dmitry Timoshkov 2a35901a90 windowscodecs: Do not assume that vtable is the first element of the object, avoid not necessary casts. 2012-07-24 19:57:57 +02:00
Dmitry Timoshkov 9fecb853a4 windowscodecs: Do not assume that vtable is the first element of the object. 2012-07-24 19:57:42 +02:00
Dmitry Timoshkov 022824100e windowscodecs: Do not assume that vtable is the first element of the object. 2012-07-24 19:57:33 +02:00
Dmitry Timoshkov 7d1e2741ce windowscodecs: Implement MetadataHandler_Load. 2012-07-24 13:36:26 +02:00
Dmitry Timoshkov 9083bcc59c windowscodecs: Add a test for invalid predefined palette type. 2012-07-23 12:57:50 +02:00
Dmitry Timoshkov 106e7fb589 windowscodecs: Add support for adding trasparent color to generated palettes. 2012-07-23 12:57:43 +02:00
Dmitry Timoshkov 0be2718baa windowscodecs: Add support for generating WICBitmapPaletteTypeFixedHalftone252 palette. 2012-07-23 12:56:36 +02:00
Dmitry Timoshkov 87b23de9bb windowscodecs: Add support for generating WICBitmapPaletteTypeFixedHalftone216 palette. 2012-07-23 12:56:18 +02:00
Dmitry Timoshkov 97464c508f windowscodecs: Add support for generating WICBitmapPaletteTypeFixedHalftone125 palette. 2012-07-23 12:56:05 +02:00
Dmitry Timoshkov 6a7f97f98f windowscodecs: Add support for generating WICBitmapPaletteTypeFixedHalftone27 palette. 2012-07-23 12:55:47 +02:00
Nicolas Le Cam 986b98160b windowscodecs: Avoid using uninitialized value (LLVM/Clang). 2012-07-17 12:50:23 +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 a9d0f8976c windowscodecs: Avoid casting IWICFormatConverter to IWICBitmapSource. 2012-07-16 15:21:46 +02:00
Dmitry Timoshkov 6d1a13a7d6 windowscodecs: Test pixel format of the loaded TIFF image. 2012-07-13 10:26:56 -05: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
Dmitry Timoshkov 45f240c0cb windowscodecs: Add support for generating WICBitmapPaletteTypeFixedHalftone256 palette. 2012-07-12 16:05:40 -05:00
Dmitry Timoshkov 011d23c535 windowscodecs: Add support for generating WICBitmapPaletteTypeFixedHalftone64 palette. 2012-07-12 16:05:39 -05:00
Dmitry Timoshkov 63cb0cf6d2 windowscodecs: Add support for generating WICBitmapPaletteTypeFixedHalftone8 palette. 2012-07-12 16:05:39 -05:00
Dmitry Timoshkov ca126c069f windowscodecs: Add support for generating WICBitmapPaletteTypeFixedGray256 palette. 2012-07-12 16:05:39 -05:00
Dmitry Timoshkov 179ed52bd3 windowscodecs: Add support for generating WICBitmapPaletteTypeFixedGray16 palette. 2012-07-12 16:05:38 -05:00
Dmitry Timoshkov d5cc4021b6 windowscodecs: Add support for generating WICBitmapPaletteTypeFixedGray4 palette. 2012-07-12 16:05:38 -05:00
Dmitry Timoshkov ca9d128eca windowscodecs: Add support for generating WICBitmapPaletteTypeFixedBW palette. Resend. 2012-07-12 16:05:37 -05:00
Dmitry Timoshkov c5820b7910 windowscodecs: Add a test for palette associated with black&white TIFF image. 2012-07-12 11:48:43 -05:00
Vincent Povirk 5c4ed986c0 windowscodecs: Implement IWICBitmapCodecInfo::GetPixelFormats. 2012-07-03 12:02:00 +02:00
Dmitry Timoshkov 8dad043506 windowscodecs: Implement MetadataReaderInfo_DoesSupportPadding. 2012-07-03 12:01:53 +02:00
Dmitry Timoshkov 10f8978949 windowscodecs: Implement MetadataReaderInfo_DoesRequireFullStream. 2012-07-03 12:01:46 +02:00
Dmitry Timoshkov bae3f2afed windowscodecs: Implement MetadataReaderInfo_GetSpecVersion. 2012-07-03 12:01:40 +02:00
Dmitry Timoshkov 497e8840ca windowscodecs: Implement PixelFormatInfo_GetSpecVersion. 2012-07-03 12:01:34 +02:00
Dmitry Timoshkov 7c19137996 windowscodecs: Implement FormatConverterInfo_GetSpecVersion. 2012-07-03 12:01:27 +02:00
Dmitry Timoshkov 3dd73e90b5 windowscodecs: Implement BitmapEncoderInfo_GetSpecVersion. 2012-07-03 12:01:21 +02:00
Dmitry Timoshkov 67fc1a49e1 windowscodecs: Implement BitmapDecoderInfo_GetSpecVersion. 2012-07-03 12:01:06 +02:00
Alexandre Julliard 0c6ac865bd windowscodecs: Don't fail if the TIFF library doesn't have the functions to disable warnings. 2012-07-02 11:19:18 +02:00
Dmitry Timoshkov 8b30ef11cf windowscodecs: Implement MetadataHandler_GetValue. 2012-06-29 10:46:49 +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 e7f31ddb81 windowscodecs: Implement BitmapScaler_CopyPixels. 2012-06-28 19:41:25 +02:00
Vincent Povirk 22383aa642 windowscodecs: Implement IWICBitmapScaler::CopyPalette. 2012-06-28 19:41:09 +02:00
Vincent Povirk e4f8ab605e windowscodecs: Implement IWICBitmapScaler::GetResolution. 2012-06-28 19:41:02 +02:00
Vincent Povirk 0b8a71643d windowscodecs: Implement IWICBitmapScaler::GetPixelFormat. 2012-06-28 19:40:56 +02:00
Vincent Povirk 6e790c9aec windowscodecs: Implement IWICBitmapScaler::GetSize. 2012-06-28 19:40:49 +02:00
Dmitry Timoshkov 6207d9642c windowscodecs: Suppress libtiff warnings. 2012-06-28 01:39:31 +02:00
Vincent Povirk 07795754f4 windowscodecs: Implement IWICBitmapScaler::Initialize. 2012-06-26 17:34:11 +02:00
Vincent Povirk 02aa7ec403 windowscodecs: Implement IWICImagingFactory::CreateEncoder. 2012-06-26 17:34:03 +02:00