Commit Graph

314 Commits

Author SHA1 Message Date
Vincent Povirk 8255df5698 windowscodecs: Make the IWICPalette implementation thread-safe. 2010-03-22 10:42:32 +01:00
Julian Rüger c1660c9a2f windowscodecs: Small spelling fixes. 2010-03-18 13:46:38 +01:00
Vincent Povirk d719120fc8 windowscodecs: Make component enumerators thread-safe.
This is needed so that ImagingFactory can have a threading model of Both.
2010-03-18 10:23:14 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Marcus Meissner 615e0e64f9 windowscodecs: Handle old libpng.so using distros (as SLE 10). 2010-03-02 11:57:41 +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 44478b5364 windowscodecs: Define a custom png error handler. 2010-02-05 10:09:52 +01:00
Vincent Povirk 29a599a5d6 windowscodecs: Replace a call to a deprecated libpng function.
It was removed in libpng 1.4.0.
2010-02-05 10:09:08 +01:00
Michael Stefaniuc ae8c2ec267 windowscodecs: Don't cast NULL. 2009-12-21 15:01:25 +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
Michael Stefaniuc 13ad5d1725 windowscodecs: Remove redundant NULL check before HeapFree (Smatch). 2009-10-12 12:14:10 +02:00
Vincent Povirk d80630e8c9 windowscodecs: Add test for PNG encoder. 2009-10-09 12:00:16 +02:00
Vincent Povirk 3db6ef4980 windowscodecs: Implement Commit for the PNG encoder. 2009-10-09 12:00:10 +02:00
Vincent Povirk e7eadeec92 windowscodecs: Implement Commit for the PNG frame encoder. 2009-10-09 12:00:04 +02:00
Vincent Povirk b3790010fd windowscodecs: Implement WriteSource for the PNG encoder. 2009-10-09 11:59:57 +02:00
Vincent Povirk 2e14644937 windowscodecs: Implement WritePixels for the PNG encoder. 2009-10-09 11:59:50 +02:00
Vincent Povirk 6bc71039b1 windowscodecs: Implement SetResolution for the PNG encoder. 2009-10-09 11:59:43 +02:00
Vincent Povirk e324b8ef4c windowscodecs: Implement SetSize for the PNG encoder. 2009-10-09 11:59:36 +02:00
Vincent Povirk a2214f04d4 windowscodecs: Implement SetPixelFormat for the PNG encoder. 2009-10-09 11:59:30 +02:00
Vincent Povirk 6afcb2eb33 windowscodecs: Implement Initialize for the PNG frame encoder. 2009-10-09 11:59:21 +02:00
Vincent Povirk 049a2e0c0c windowscodecs: Implement CreateNewFrame for the PNG encoder. 2009-10-09 11:59:15 +02:00
Vincent Povirk c79b70507a windowscodecs: Implement Initialize for the PNG encoder. 2009-10-09 11:59:05 +02:00
Vincent Povirk 60d1be1326 windowscodecs: Add stub PNG encoder. 2009-10-09 11:58:55 +02:00
Vincent Povirk 7833b68aca windowscodecs: Add test for BMP encoder. 2009-10-09 11:58:44 +02:00
Vincent Povirk 64146fa97e windowscodecs: Support more formats in the BMP encoder. 2009-10-09 11:58:35 +02:00
Vincent Povirk 48cf4536e5 windowscodecs: Implement GetResolution for the PNG decoder. 2009-10-09 11:58:24 +02:00
Michael Stefaniuc 22e2c111c1 windowscodecs: Remove trailing '\'. 2009-09-29 18:08:22 +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 2dd9b1d027 windowscodecs: Fix compilation on systems that don't support nameless unions. 2009-08-31 12:41:22 +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
Vincent Povirk 0a495723c0 windowscodecs: Implement conversion from 64bppRGBA to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 7f73787947 windowscodecs: Implement conversion from 48bppRGB to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 363a0fdda9 windowscodecs: Implement conversion from 16bppGray to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 25022fe7d5 windowscodecs: Implement conversion from 4bppGray to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 4b99c98720 windowscodecs: Implement conversion from 2bppGray to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk b952c5726d windowscodecs: Implement conversion from 2bppIndexed to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 3b1fde1668 windowscodecs: Implement conversion from BlackWhite to 32bppBGRA. 2009-08-28 11:54:49 +02:00
Vincent Povirk 80adebf76c windowscodecs: Support color-keyed transparency in PNG images. 2009-08-28 11:54:49 +02:00
Vincent Povirk 4657938235 windowscodecs: Implement CopyPalette for the PNG decoder. 2009-08-28 11:54:49 +02:00
Vincent Povirk bcd8dc2d53 windowscodecs: Implement CopyPixels for the PNG decoder. 2009-08-28 11:54:49 +02:00
Vincent Povirk c7125783de windowscodecs: Implement GetSize for the PNG decoder. 2009-08-28 11:54:49 +02:00
Vincent Povirk 50b07b795d windowscodecs: Implement GetPixelFormat for the PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk b077f0653c windowscodecs: Implement GetFrame for the PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk 7d74dba5b8 windowscodecs: Implement Initialize for the PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk f626204321 windowscodecs: Implement GetFrameCount for PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk 25f3802b36 windowscodecs: Implement GetContainerFormat for PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk 59810aa4f4 windowscodecs: Register the PNG decoder. 2009-08-28 11:54:48 +02:00
Vincent Povirk 568c739082 windowscodecs: Add stub PNG decoder. 2009-08-28 11:54:48 +02:00
Francois Gouget 798af6fe27 windowscodecs/tests: Make some functions static. 2009-08-26 13:09:24 +02:00
Vincent Povirk 2c1d555a08 windowscodecs: Fix rounding in BMP encoder. 2009-08-25 11:05:17 +02:00
Vincent Povirk 4753a9d053 windowscodecs: Support conversion of 8bppGray to 32bppBGRA. 2009-08-25 10:25:56 +02:00
Vincent Povirk 341b6ffd71 windowscodecs: Print a FIXME when WICConvertBitmapSource fails. 2009-08-25 10:25:44 +02:00
Vincent Povirk 529bdca8a8 windowscodecs: Implement CopyPixels for the JPEG decoder. 2009-08-25 10:25:35 +02:00
Vincent Povirk 7d63abc9ec windowscodecs: Implement GetSize for the JPEG decoder. 2009-08-25 10:25:26 +02:00
Vincent Povirk 0ab6e9853c windowscodecs: Implement GetPixelFormat for the JPEG decoder. 2009-08-25 10:25:19 +02:00
Vincent Povirk 5ef3b51756 windowscodecs: Implement GetFrame for the JPEG decoder. 2009-08-25 10:25:12 +02:00
Vincent Povirk 4185c0d9fe windowscodecs: Implement Initialize for the JPEG decoder. 2009-08-25 10:24:58 +02:00
Vincent Povirk bec465e467 windowscodecs: Add stub JPEG decoder. 2009-08-25 10:24:33 +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
Tony Wasserka a3edb733a7 windowscodecs: Support Stat for memory streams in IWICStream. 2009-08-21 13:49:46 +02:00
Tony Wasserka 2395202388 windowscodecs: Support Seek for memory streams in IWICStream. 2009-08-21 13:49:46 +02:00
Tony Wasserka 0b6df19375 windowscodecs: Support writing to memory streams in IWICStream. 2009-08-21 13:49:45 +02:00
Tony Wasserka bb83fb264b windowscodecs: Support reading from memory streams in IWICStream. 2009-08-21 13:49:45 +02:00
Tony Wasserka af6ece97b1 windowscodecs: Add IWICStream_InitializeFromMemory implementation. 2009-08-21 13:49:45 +02:00
Louis Lenders 9c0a3eab97 windowscodecs: Add version resource. 2009-08-21 13:49:45 +02:00
Vincent Povirk 84dff04e3a windowscodecs: Implement CopyPixels for 32-bit ICO icons. 2009-08-21 12:31:58 +02:00
Vincent Povirk e743a7a8c5 windowscodecs: Implement CopyPixels for 1-bit ICO icons. 2009-08-21 12:31:51 +02:00
Vincent Povirk a65010aa19 windowscodecs: Implement CopyPixels for 4-bit ICO icons. 2009-08-21 12:31:44 +02:00
Vincent Povirk 5d7cd19556 windowscodecs: Implement CopyPixels for 24-bit ICO icons. 2009-08-21 12:31:36 +02:00
Vincent Povirk 1c25ee8ce7 windowscodecs: Implement CopyPixels for 8-bit ICO icons. 2009-08-21 12:31:12 +02:00
Vincent Povirk ccc4c2d5d2 windowscodecs: Implement GetSize for the ICO decoder. 2009-08-21 12:31:02 +02:00
Vincent Povirk c49b36ea31 windowscodecs: Implement GetFrameCount and GetFrame for the ICO decoder. 2009-08-21 12:30:55 +02:00
Vincent Povirk dd5c5b8277 windowscodecs: Implement Initialize for the ICO decoder. 2009-08-21 12:30:45 +02:00
Vincent Povirk 2ca8b9fd8d windowscodecs: Add stub ICO decoder. 2009-08-21 12:30:33 +02:00
Tony Wasserka a18fc6ec76 windowscodecs: Add stubs for the IWICStream interface. 2009-08-20 19:43:29 +02:00
Vincent Povirk f343c33083 windowscodecs: Implement GetDecoderInfo for the GIF decoder. 2009-08-19 12:08:43 +02:00
Vincent Povirk 2b14970e51 windowscodecs: Implement GetContainerFormat for the GIF decoder. 2009-08-19 12:08:38 +02:00
Vincent Povirk 19e7803088 windowscodecs: Implement CopyPixels for GIF decoder. 2009-08-19 12:08:13 +02:00
Francois Gouget 31e38f8d34 windowscodecs: Add a trailing '\n' to a FIXME(). 2009-08-19 12:07:20 +02:00
Vincent Povirk 548cd05ceb windowscodecs: Implement CopyPalette for the GIF decoder. 2009-08-18 14:59:54 +02:00
Vincent Povirk d095d27d92 windowscodecs: Implement GetSize for the GIF decoder. 2009-08-18 14:59:44 +02:00
Vincent Povirk 45e9804a8e windowscodecs: Implement GetFrameCount and GetFrame for the GIF decoder. 2009-08-18 14:59:35 +02:00
Vincent Povirk e6eb982ca6 windowscodecs: Implement Initialize for the GIF decoder. 2009-08-18 14:59:17 +02:00
Vincent Povirk b9b06bc2c9 windowscodecs: Register the GIF decoder. 2009-08-18 14:58:28 +02:00
Vincent Povirk 0c4a5620e8 windowscodecs: Add stub GIF decoder. 2009-08-18 14:58:18 +02:00
Vincent Povirk 83d8f615b3 windowscodecs: Add test for pixel format conversion. 2009-08-18 14:57:32 +02:00
Vincent Povirk ad1d8adfeb windowscodecs: Add a WARN message when CreateDecoderFromStream fails. 2009-08-17 13:57:50 +02:00
Vincent Povirk 4d1e72d0b3 windowscodecs: Implement conversion from 8bppIndexed to 32bppBGRA. 2009-08-14 13:59:10 +02:00
Vincent Povirk 9c1db8d828 windowscodecs: Implement conversion from 4bppIndexed to 32bppBGRA. 2009-08-14 13:59:10 +02:00
Vincent Povirk 1a62109b70 windowscodecs: Implement conversion from 24bppBGR to 32bppBGRA. 2009-08-14 13:59:09 +02:00
Vincent Povirk 3e5cdea0b4 windowscodecs: Implement conversion from 1bppIndexed to 32bppBGRA. 2009-08-14 13:59:09 +02:00
Vincent Povirk 7bbe731252 windowscodecs: Implement conversion from 16bppBGR565 to 32bppBGRA. 2009-08-14 13:59:09 +02:00
Vincent Povirk e38fd32e84 windowscodecs: Implement conversion from 16bppBGR555 to 32bppBGRA. 2009-08-14 13:59:09 +02:00
Vincent Povirk e308b67807 windowscodecs: Implement WICConvertBitmapSource. 2009-08-14 13:59:09 +02:00
Vincent Povirk 26b78d1a70 windowscodecs: Register the default pixel format converter. 2009-08-14 13:59:09 +02:00
Vincent Povirk 85c379f6a1 windowscodecs: Add stub implementation of IWICFormatConverterInfo. 2009-08-14 13:59:09 +02:00
Vincent Povirk 83807312b9 windowscodecs: Implement conversion to 32bppBGR. 2009-08-14 13:59:09 +02:00
Vincent Povirk fa54c2e1aa windowscodecs: Implement GetPixelFormat for default format converter. 2009-08-14 13:59:09 +02:00
Vincent Povirk 05ddbfbf30 windowscodecs: Implement GetSize/Resolution for default format converter. 2009-08-14 13:59:09 +02:00
Vincent Povirk d7d3618414 windowscodecs: Implement conversion from 32bppBGR to 32bppBGRA. 2009-08-14 13:59:09 +02:00
Vincent Povirk b3f02a3fd5 windowscodecs: Add stub implementation of WICStandardFormatConverter. 2009-08-14 13:59:09 +02:00
Vincent Povirk 1e0046788f windowscodecs: Register all formats supported by the BMP decoder. 2009-08-14 13:59:09 +02:00
Vincent Povirk 2df20cb921 windowscodecs: Implement WriteSource for BMP frame encoder. 2009-08-12 13:47:31 +02:00
Vincent Povirk 22bfe27fb0 windowscodecs: Implement Commit for BMP encoder. 2009-08-12 13:47:15 +02:00
Vincent Povirk 7cc0fd4fde windowscodecs: Implement Commit for BMP frame encoder. 2009-08-12 13:47:07 +02:00
Vincent Povirk 4d1d92f87f windowscodecs: Implement WritePixels for BMP frame encoder. 2009-08-12 13:46:56 +02:00
Vincent Povirk fcb69378a1 windowscodecs: Implement SetResolution for BMP frame encoder. 2009-08-12 13:46:08 +02:00
Vincent Povirk db040535f5 windowscodecs: Implement SetPixelFormat for BMP frame encoder. 2009-08-12 13:46:00 +02:00
Vincent Povirk 07fd33d1fa windowscodecs: Implement SetSize for the BMP frame encoder. 2009-08-12 13:45:08 +02:00
Vincent Povirk 4664116a42 windowscodecs: Implement Initialize for the BMP frame encoder. 2009-08-12 13:44:49 +02:00
Vincent Povirk 8cfc5befc9 windowscodecs: Implement CreateNewFrame for BMP encoder. 2009-08-12 13:44:29 +02:00
Vincent Povirk 941f2d3a3b windowscodecs: Implement Initialize for BMP encoder. 2009-08-12 13:42:59 +02:00
Vincent Povirk fbadf7c0ed windowscodecs: Add stub BMP encoder. 2009-08-12 13:42:42 +02:00
Vincent Povirk 3d1bb79983 windowscodecs: Fix copy_pixels when Y != 0. 2009-08-10 13:19:17 +02:00
Vincent Povirk b364bc005d windowscodecs: Add support for BI_BITFIELDS compressed BMP files. 2009-08-10 13:09:27 +02:00
Vincent Povirk 100546686c windowscodecs: Add test for IWICImagingFactory::CreateDecoderFromStream. 2009-08-05 11:40:24 +02:00
Vincent Povirk 219b8c64ac windowscodecs: Implement IWICImagingFactory::CreateDecoderFromStream. 2009-08-05 11:40:02 +02:00
Vincent Povirk cd4fdb9587 windowscodecs: Implement IWICImagingFactory::CreateComponentEnumerator. 2009-08-05 11:39:47 +02:00
Vincent Povirk d8c926d79e windowscodecs: Implement GetDecoderInfo for BMP decoder. 2009-08-05 11:39:38 +02:00
Vincent Povirk 220edb7900 windowscodecs: Add tests for IWICBitmapDecoderInfo. 2009-08-05 11:39:31 +02:00
Vincent Povirk a13899cc90 windowscodecs: Implement IWICBitmapDecoderInfo::MatchesPattern. 2009-08-05 11:39:21 +02:00
Vincent Povirk 4e5ee3699f windowscodecs: Implement IWICBitmapDecoderInfo::CreateInstance. 2009-08-05 11:39:14 +02:00
Vincent Povirk 6c5d1b2f63 windowscodecs: Implement IWICBitmapDecoderInfo::GetPatterns. 2009-08-05 11:39:07 +02:00
Vincent Povirk 3f2ff08803 windowscodecs: Implement IWICBitmapDecoderInfo::GetComponentType. 2009-08-05 11:39:01 +02:00
Vincent Povirk f24834f486 windowscodecs: Add stub implementation of IWICBitmapDecoderInfo. 2009-08-05 11:38:53 +02:00
Vincent Povirk 81c7e81348 windowscodecs: Register BMP decoder as a bitmap decoder. 2009-07-15 14:28:39 +02:00
Vincent Povirk d15870edfd windowscodecs: Don't leak memory when BmpFrameDecode_CopyPalette fails. 2009-07-13 10:48:05 +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 3cf9d94999 windowscodecs: Implement HasAlpha for palettes. 2009-07-03 13:27:39 +02:00
Vincent Povirk cf8a26aff6 windowscodecs: Implement IsBlackWhite and IsGrayscale for palettes. 2009-07-03 13:27:32 +02:00
Vincent Povirk 9a6400bc32 windowscodecs: Implement GetColorCount and GetType for palettes. 2009-07-03 13:27:25 +02:00
Vincent Povirk 9f9b71c3ee windowscodecs: Implement InitializeCustom and GetColors for palettes. 2009-07-03 13:27:19 +02:00
Vincent Povirk 4b9071b37b windowscodecs: Add stub implementation of IWICPalette. 2009-07-03 13:27:06 +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 07538b79cb windowscodecs: Simplify the BMP GetSize code and fix for top-down dibs. 2009-07-02 11:38:32 +02:00
Vincent Povirk 02d0462f06 windowscodecs: Implement GetPixelFormat for BMP decoder. 2009-07-02 11:38:08 +02:00
Francois Gouget 66a04a83a1 windowscodecs: Add a trailing '\n' to FIXME() traces. 2009-06-30 12:40:04 +02:00
Francois Gouget 97df1e12e6 windowscodecs: Make the QueryInterface() functions static. 2009-06-30 12:39:25 +02:00
Vincent Povirk b19e329be4 windowscodecs: Add test for BMP decoder. 2009-06-29 14:28:14 +02:00
Vincent Povirk 78c3aa78d2 windowscodecs: Implement GetResolution for BMP decoder. 2009-06-29 14:28:13 +02:00
Vincent Povirk 7c7f70a317 windowscodecs: Implement GetSize for BMP decoder. 2009-06-29 14:28:13 +02:00
Vincent Povirk eca8ef6924 windowscodecs: Implement GetFrame for BMP decoder. 2009-06-29 14:28:12 +02:00
Vincent Povirk 0caec83215 windowscodecs: Implement Initialize method for BMP decoder. 2009-06-29 14:27:44 +02:00
Vincent Povirk 6f86ceef49 windowscodecs: Implement trivial methods for BMP decoder. 2009-06-29 14:27:23 +02:00
Vincent Povirk 429c784cd7 windowscodecs: Add a stub decoder for the BMP format. 2009-06-29 14:27:11 +02:00
Vincent Povirk b01c652d4b windowscodecs: Add stub implementation of IWICImagingFactory. 2009-06-29 14:20:13 +02:00
Vincent Povirk ed4cde25cc windowscodecs: Add stub dll. 2009-06-08 13:09:05 +02:00