Commit Graph

766 Commits

Author SHA1 Message Date
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
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
Vincent Povirk c498a0b076 windowscodecs: Add wrapper functions for IWICBitmapFrameDecode methods. 2012-05-14 17:47:33 +02:00
Vincent Povirk 3d647659f5 windowscodecs: Add wrapper functions for IWICMetadataQueryWriter methods. 2012-05-14 17:47:26 +02:00
Vincent Povirk 536b208cb1 windowscodecs: Add wrapper functions for IWICMetadataQueryReader methods. 2012-05-14 17:47:19 +02:00
Vincent Povirk de9d18c6ff windowscodecs: Add wrapper functions for IWICComponentInfo methods. 2012-05-10 18:44:14 +02:00
Vincent Povirk 2fc7cdc93f windowscodecs: Add wrapper functions for IWICPalette methods. 2012-05-10 18:44:07 +02:00
Vincent Povirk 1f0ec3cba5 windowscodecs: Add wrapper functions for IWICBitmap methods. 2012-05-10 18:43:59 +02:00
Vincent Povirk 9294d4e95f windowscodecs: Add wrapper for IWICBitmapFlipRotator_Initialize. 2012-05-10 18:43:53 +02:00
Vincent Povirk f745f48bdf windowscodecs: Add wrapper functions for IWICBitmapLock methods. 2012-05-10 18:43:46 +02:00
Vincent Povirk 3c353607b1 windowscodecs: Add wrapper functions for IWICBitmapSource methods. 2012-05-09 11:50:47 +02:00
Vincent Povirk 99eac8e3a1 windowscodecs: Add wrapper for IWICColorContext_InitializeFromMemory. 2012-05-09 11:50:39 +02:00
Vincent Povirk 661e443ad7 windowscodecs: Add wrapper functions for IWICFastMetadataEncoder. 2012-05-09 11:50:34 +02:00
Vincent Povirk b0e9548e3f windowscodecs: Add wrapper functions for IWICImagingFactory methods. 2012-05-09 11:50:29 +02:00
Vincent Povirk bb2df245a7 windowscodecs: Implement WICCreateImagingFactory_Proxy. 2012-05-09 11:46:01 +02:00
Vincent Povirk 10a32bfed1 windowscodecs: Implement JpegDecoder_Frame_GetResolution. 2012-04-18 17:15:46 +02:00
Vincent Povirk 8b3fce9b8e windowscodecs: Implement JpegEncoder_Frame_WriteSource. 2012-04-18 17:15:39 +02:00
Vincent Povirk 4b9fabefd4 windowscodecs: Implement JpegEncoder_Commit. 2012-04-17 11:45:46 +02:00
Vincent Povirk df3da729fe windowscodecs: Implement JpegEncoder_Frame_Commit. 2012-04-17 11:45:41 +02:00
Vincent Povirk 20521a5bb7 windowscodecs: Implement JpegEncoder_Frame_WritePixels. 2012-04-17 11:45:36 +02:00
Vincent Povirk 29b0c79e24 windowscodecs: Implement JpegEncoder_Frame_SetResolution. 2012-04-17 11:45:29 +02:00
Vincent Povirk 68d9ea4d83 windowscodecs: Implement JpegEncoder_Frame_SetPixelFormat. 2012-04-17 11:45:25 +02:00
Vincent Povirk f5847da714 windowscodecs: Implement JpegEncoder_Frame_SetSize. 2012-04-12 20:37:43 +02:00
Vincent Povirk 1ce8a66e79 windowscodecs: Implement JpegEncoder_Frame_Initialize. 2012-04-12 20:37:38 +02:00
Vincent Povirk 7f302c81b3 windowscodecs: Implement JpegEncoder_CreateNewFrame. 2012-04-12 20:37:33 +02:00
Vincent Povirk 8a066b2c20 windowscodecs: Implement JpegEncoder_Initialize. 2012-04-12 20:37:24 +02:00
Vincent Povirk 2e2b045db0 windowscodecs: Add stub JPEG encoder. 2012-04-12 20:37:12 +02:00
André Hentschel 10cd34db38 windowscodecs: Add stub for DllCanUnloadNow. 2012-03-16 13:02:52 +01:00
Alexandre Julliard 25441f40f8 include: Allow using windows.h in Wine code. 2012-01-20 15:58:57 +01:00
Frédéric Delanoy 07b14bf281 windowscodecs: Fix memory deallocation in LoadUnknownMetadata (Coverity). 2012-01-16 12:45:38 +01:00
Francois Gouget 259153001f windowscodecs: Fix compilation on systems that don't support nameless unions. 2012-01-16 12:45:33 +01:00
Vincent Povirk 31be8a19d9 windowscodecs: Implement IWICMetadataWriter::GetEnumerator. 2012-01-12 12:31:21 +01:00
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