Commit Graph

609 Commits

Author SHA1 Message Date
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
Vincent Povirk efab393295 windowscodecs: Add stub IWICBitmapScaler implementation. 2012-06-26 17:33:54 +02:00
Vincent Povirk 917c4e1f10 windowscodecs: Add tests for IWICPixelFormatInfo. 2012-06-26 17:33:22 +02:00
Vincent Povirk 12babdb7da windowscodecs: Implement IWICPixelFormatInfo2::SupportsTransparency. 2012-06-26 17:33:14 +02:00
Dmitry Timoshkov 58387fca69 windowscodecs: Implement MetadataReaderInfo_GetVendorGUID. 2012-06-26 12:25:33 +02:00
Dmitry Timoshkov 2d3cf48300 windowscodecs: Implement TiffFrameDecode_GetThumbnail. 2012-06-26 12:25:27 +02:00
Dmitry Timoshkov a7190c7dc7 windowscodecs: Implement TiffDecoder_GetPreview. 2012-06-26 12:25:21 +02:00
Dmitry Timoshkov f07829da57 windowscodecs: TiffDecoder_GetThumbnail should return NULL interface. 2012-06-26 12:25:12 +02:00
Vincent Povirk 9ceb1fc188 windowscodecs: Implement IWICPixelFormatInfo2::GetNumericRepresentation. 2012-06-25 18:12:55 +02:00
Vincent Povirk c8fea25a33 windowscodecs: Implement IWICPixelFormatInfo::GetFormatGUID. 2012-06-25 18:12:54 +02:00
Vincent Povirk 0648e09f3c windowscodecs: Implement IWICPixelFormatInfo::GetChannelMask. 2012-06-25 18:12:54 +02:00
Vincent Povirk 80f6890616 windowscodecs: Implement PixelFormatInfo_GetChannelCount. 2012-06-25 18:12:53 +02:00
Vincent Povirk 9dbd0833bc windowscodecs: Implement PixelFormatInfo_GetBitsPerPixel. 2012-06-25 18:12:53 +02:00
Dmitry Timoshkov cdc8e59be5 windowscodecs: Implement ImagingFactory_CreateDecoder. 2012-06-25 11:08:42 +02:00
Dmitry Timoshkov 40185b6c6e windowscodecs: Add WICImagingCategories registration. 2012-06-25 11:08:28 +02:00
Dmitry Timoshkov 0a8be86277 windowscodecs: Create a IWICMetadataReader for a TIFF frame. 2012-06-22 14:09:49 +02:00
Dmitry Timoshkov 4c7f6f68b9 windowscodecs: Add support for loading of multiple 8-byte IFD fields. 2012-06-21 20:35:11 +02:00
Dmitry Timoshkov 4d974f072e windowscodecs: Add a test for endianness support in IFD metadata reader. 2012-06-21 20:35:10 +02:00
Dmitry Timoshkov b8d5865028 windowscodecs: Handle IFD fields with count 0 same way as with count 1. 2012-06-21 20:35:10 +02:00
Dmitry Timoshkov e4af117c06 windowscodecs: Add support for IFD_UNDEFINED field type. 2012-06-21 20:35:09 +02:00
Dmitry Timoshkov f3347de574 windowscodecs: Add support for IFD_ASCII field type. 2012-06-21 20:34:56 +02:00
Dmitry Timoshkov 32f9f327b2 windowscodecs: Add tests for more types of IFD fields. 2012-06-21 19:57:21 +02:00
Dmitry Timoshkov 722cb46c05 windowscodecs: Fix handling of 8-byte IFD fields. 2012-06-21 19:56:53 +02:00
Dmitry Timoshkov aedd9271b7 windowscodecs: Add support for loading of multiple simple IFD fields. 2012-06-21 19:56:32 +02:00
Dmitry Timoshkov 281768f765 windowscodecs: Add support for more types of IFD fields. 2012-06-21 19:55:25 +02:00
Dmitry Timoshkov ebef43e50d windowscodecs: Implement MetadataReaderInfo_GetVersion. 2012-06-21 08:41:04 +02:00
Dmitry Timoshkov ae610ef37e windowscodecs: Implement MetadataReaderInfo_GetFriendlyName. 2012-06-21 08:40:59 +02:00
Vincent Povirk 9f157e5bfa windowscodecs: Report missing component info strings as zero-length. 2012-06-20 19:25:50 +02:00
Dmitry Timoshkov 0e55fb682f windowscodecs: Implement MetadataHandler_GetValueByIndex. 2012-06-20 11:12:35 +02:00
Dmitry Timoshkov 75a8814633 windowscodecs: Implement MetadataHandler_GetMetadataFormat. 2012-06-20 11:12:11 +02:00
Dmitry Timoshkov 27743c81a9 windowscodecs: Implement MetadataHandler_GetMetadataHandlerInfo. 2012-06-20 11:12:01 +02:00
Dmitry Timoshkov 8802a9a84c windowscodecs: Add MetadataReaderInfo implementation. 2012-06-20 11:11:51 +02:00
Vincent Povirk d0f31cddfe windowscodecs: Implement IWICComponentInfo::GetVersion. 2012-06-19 11:10:18 +02:00
Vincent Povirk 7d19b39c2d windowscodecs: Implement IWICComponentInfo::GetVendorGUID. 2012-06-19 11:10:13 +02:00
Vincent Povirk d99740e8ea windowscodecs: Always report pixel formats are signed. 2012-06-19 11:10:07 +02:00
Vincent Povirk 0dee027df3 windowscodecs: Implement IWICComponentInfo::GetFriendlyName. 2012-06-19 11:10:02 +02:00
Vincent Povirk 2846921f91 windowscodecs: Check for NULL in IWICComponentInfo::GetComponentType. 2012-06-19 11:09:55 +02:00
Dmitry Timoshkov a16f7044a4 windowscodecs: Remove not reachable code in the TIFF decoder. 2012-06-18 11:59:41 +02:00
Alexandre Julliard a7d08fcb6e windowscodecs: Fix some broken tests. 2012-06-15 18:35:37 +02:00
Dmitry Timoshkov 7cf036a471 windowscodecs: Check IFD structure when loading metadata. 2012-06-14 22:21:08 +02:00
Dmitry Timoshkov 5f22fdb86f windowscodecs: Add support for WICPersistOptionsLittleEndian/WICPersistOptionsBigEndian in the IFD metadata reader. 2012-06-14 22:21:07 +02:00
Dmitry Timoshkov ec43788803 windowscodecs: Implement partial loading of IFD metadata. 2012-06-14 22:21:07 +02:00
Dmitry Timoshkov 17a64c4450 windowscodecs: Add a test to show that metadata reader may not rewind the stream after loading the data. 2012-06-14 22:21:07 +02:00
Vincent Povirk 387d1e9790 windowscodecs: Implement IWICComponentInfo::GetAuthor. 2012-06-14 19:13:20 +02:00
Vincent Povirk 1ceb2f2a48 windowscodecs: Add stub IWICPixelFormatInfo implementation. 2012-06-14 19:13:12 +02:00
Vincent Povirk 9b7dca8453 windowscodecs: Register pixel formats. 2012-06-14 19:12:56 +02:00
Vincent Povirk f557fa692b windowscodecs: Add test for IWICComponentInfo. 2012-06-14 19:12:44 +02:00
Dmitry Timoshkov 4f16c2f791 windowscodecs: Reimplement TiffDecoder_GetFrameCount using TIFFNumberOfDirectories. 2012-06-13 21:35:41 +02:00
Dmitry Timoshkov 9f58bef1ac windowscodecs: Add WICIfdMetadataReader registration. 2012-06-08 19:35:20 +02:00
Dmitry Timoshkov 781113f4da windowscodecs: Add WICIfdMetadataReader stub implementation. 2012-06-08 19:35:20 +02:00
Dmitry Timoshkov 8d71cc1f2d windowscodecs: Implement MetadataHandler_GetCount. 2012-06-08 19:35:19 +02:00
Dmitry Timoshkov 1f48c89e04 windowscodecs: Protect from invalid input some metadata handler methods. 2012-06-08 19:35:19 +02:00
Vincent Povirk d3f7247ea5 windowscodecs: Add metadata reader information to the registry. 2012-06-07 21:49:47 +02:00
Vincent Povirk 46991dc9fb windowscodecs: Add test for IWICMetadataReaderInfo. 2012-06-07 21:49:41 +02:00
Vincent Povirk 434e7b8e1e windowscodecs: Add stub IWICMetadataBlockReader to PNG decoder. 2012-06-07 21:43:08 +02:00
Vincent Povirk 8fdddd8779 windowscodecs: Add test for IWICMetadataBlockReader interface. 2012-06-07 21:43:00 +02:00
Dmitry Timoshkov 34229e5fb6 windowscodecs: Add a stubbed out IWICMetadataBlockReader to TIFF decoder. 2012-06-07 16:23:17 +02:00
Francois Gouget 624ad399f1 windowscodecs/tests: Fix compilation on systems that don't support nameless structs. 2012-06-06 12:39:46 +02:00
Józef Kucia cc547444df windowscodecs/tests: Fix the expected values in some ok() messages. 2012-06-05 19:58:22 +02:00
Józef Kucia d770297c37 windowscodecs: Implement IWICStream::InitializeFromIStream. 2012-05-31 12:37:24 +02:00
Vincent Povirk 568233621f Revert "windowscodecs: Add a stubbed out IWICMetadataBlockReader interface.".
This reverts commit 882c1026a8.
2012-05-31 12:37:19 +02:00
Vincent Povirk a6bf3735f2 windowscodecs: Add tests for IWICMetadataBlockReader on handler classes. 2012-05-31 12:37:18 +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
Dmitry Timoshkov 74d53af5fd windowscodecs: Fix the test for rational IFD tag. 2012-05-29 10:56:15 +02:00
Dmitry Timoshkov 30fc8a553d windowscodecs: Add some tests for IFD metadata reader. 2012-05-25 13:45:51 +02:00
Dmitry Timoshkov 9cc82dd644 windowscodecs: Fix some typos in the tEXt metadata test. 2012-05-25 13:45:45 +02:00
Dmitry Timoshkov 882c1026a8 windowscodecs: Add a stubbed out IWICMetadataBlockReader interface. 2012-05-24 20:08:46 +02:00
Vincent Povirk 49b98b111d windowscodecs: Implement IWICBitmapCodecInfo::GetContainerFormat. 2012-05-18 18:09:31 +02:00
Vincent Povirk 73a4309234 windowscodecs: Add wrapper functions for IWICStream methods. 2012-05-17 17:44:24 +02:00
Vincent Povirk 6e2da125fd windowscodecs: Add wrapper functions for IWICComponentFactory methods. 2012-05-17 17:44:24 +02:00
Vincent Povirk 157c92de22 windowscodecs: Add wrapper functions for IWICMetadataBlockReader methods. 2012-05-17 17:44:23 +02:00
Vincent Povirk 803c2d782d windowscodecs: Add wrapper for IWICBitmapClipper_Initialize. 2012-05-16 18:30:29 +02:00
Vincent Povirk d65cddae0a windowscodecs: Add wrapper for IWICBitmapScaler_Initialize. 2012-05-16 18:30:28 +02:00
Vincent Povirk 673b074e7b windowscodecs: Add wrapper for IWICFormatConverter_Initialize. 2012-05-16 18:30:28 +02:00
Vincent Povirk 4483f85d20 windowscodecs: Add wrapper functions for IWICBitmapEncoder methods. 2012-05-16 18:30:27 +02:00
Vincent Povirk 8a62406e00 windowscodecs: Add wrapper functions for IWICBitmapFrameEncode methods. 2012-05-16 18:30:27 +02:00
Vincent Povirk 6ca8e889d0 windowscodecs: Add wrapper functions for IWICBitmapDecoder methods. 2012-05-14 17:47:48 +02:00
Vincent Povirk 1d9106bafc windowscodecs: Add wrapper functions for IWICBitmapCodecInfo methods. 2012-05-14 17:47:41 +02:00