Commit Graph

218 Commits

Author SHA1 Message Date
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 0316a1b4c1 windowscodecs: Implement IWICPalette_InitializeFromPalette. 2012-07-30 17:57:51 +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
Dmitry Timoshkov 6d1a13a7d6 windowscodecs: Test pixel format of the loaded TIFF image. 2012-07-13 10:26:56 -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 497e8840ca windowscodecs: Implement PixelFormatInfo_GetSpecVersion. 2012-07-03 12:01:34 +02:00
Dmitry Timoshkov 8b30ef11cf windowscodecs: Implement MetadataHandler_GetValue. 2012-06-29 10:46:49 +02:00
Vincent Povirk 917c4e1f10 windowscodecs: Add tests for IWICPixelFormatInfo. 2012-06-26 17:33:22 +02:00
Dmitry Timoshkov cdc8e59be5 windowscodecs: Implement ImagingFactory_CreateDecoder. 2012-06-25 11:08:42 +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
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 8802a9a84c windowscodecs: Add MetadataReaderInfo implementation. 2012-06-20 11:11:51 +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
Alexandre Julliard a7d08fcb6e windowscodecs: Fix some broken tests. 2012-06-15 18:35:37 +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 f557fa692b windowscodecs: Add test for IWICComponentInfo. 2012-06-14 19:12:44 +02:00
Dmitry Timoshkov 9f58bef1ac windowscodecs: Add WICIfdMetadataReader registration. 2012-06-08 19:35:20 +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
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
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 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
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
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 Nguyen 9d5ef07178 windowscodecs: Trace the correct expected value in some seek test failure strings. 2011-05-18 16:54:36 +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
Austin English 4c6edd7fe0 windowscodecs/tests: Make sure returns values are used (LLVM/Clang). 2011-02-09 09:27:32 -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
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
Krzysztof Nowicki 29a5d9b3f6 windowscodecs/tests: Add test cases for *_CopyPixels calls with NULL rectangle. 2010-10-20 10:24:07 +02:00
Joel Holdsworth e66a2f6d81 windowscodecs/tests: Added test for GifFrameDecode_GetResolution. 2010-10-07 12:05:01 +02:00
Vincent Povirk 4d55359faf windowscodecs: Use the BMP decoder to decode ICO frames. 2010-09-22 20:42:41 +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
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 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
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +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 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
Vincent Povirk d80630e8c9 windowscodecs: Add test for PNG encoder. 2009-10-09 12:00:16 +02:00
Vincent Povirk 7833b68aca windowscodecs: Add test for BMP encoder. 2009-10-09 11:58:44 +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 b837745935 windowscodecs/tests: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:41:21 +02:00
Francois Gouget 798af6fe27 windowscodecs/tests: Make some functions static. 2009-08-26 13:09:24 +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
Vincent Povirk 83d8f615b3 windowscodecs: Add test for pixel format conversion. 2009-08-18 14:57:32 +02:00
Vincent Povirk 100546686c windowscodecs: Add test for IWICImagingFactory::CreateDecoderFromStream. 2009-08-05 11:40:24 +02:00
Vincent Povirk 220edb7900 windowscodecs: Add tests for IWICBitmapDecoderInfo. 2009-08-05 11:39:31 +02:00
Vincent Povirk 48d58cef59 windowscodecs: Add support for decoding RLE4-encoded BMP files. 2009-07-07 11:11:10 +02:00
Vincent Povirk 07a6b89f87 windowscodecs: Add support for decoding RLE8-encoded BMP files. 2009-07-07 11:11:05 +02:00
Vincent Povirk 387b842707 windowscodecs: Return proper error codes in unneeded BMP decoder methods. 2009-07-07 11:10:25 +02:00
Vincent Povirk 6caca23678 windowscodecs: Add test for 4-bit indexed color BMP. 2009-07-07 11:10:09 +02:00
Vincent Povirk aec0ccbd77 windowscodecs: Add test for 1-bit indexed color BMP. 2009-07-07 11:10:00 +02:00
Vincent Povirk 3899c3e247 windowscodecs: Implement CopyPalette for BMP decoder. 2009-07-07 11:09:34 +02:00
Vincent Povirk dd5a9a0aa1 windowscodecs: Add test for IWICPalette. 2009-07-03 13:27:56 +02:00
Vincent Povirk 2322254c83 windowscodecs: Implement QueryCapability for BMP decoder. 2009-07-02 11:39:46 +02:00
Vincent Povirk 5b7de464ca windowscodecs: Implement CopyPixels for BMP decoder. 2009-07-02 11:39:34 +02:00
Vincent Povirk 02d0462f06 windowscodecs: Implement GetPixelFormat for BMP decoder. 2009-07-02 11:38:08 +02:00
Vincent Povirk b19e329be4 windowscodecs: Add test for BMP decoder. 2009-06-29 14:28:14 +02:00