Commit Graph

246 Commits

Author SHA1 Message Date
Vincent Povirk e390839732 windowscodecs: Fix the tile coordinate translation in the TIFF decoder. 2010-05-31 12:14:27 +02:00
Vincent Povirk 645f7c6208 windowscodecs: Account for a NULL pceltFetched in ComponentEnum_Next. 2010-05-27 14:46:43 +02:00
Damjan Jovanovic b34f04f9c4 windowscodecs: Fix ICO palette size calculation. 2010-05-24 11:21:02 +02:00
Vincent Povirk 6a36802f26 windowscodecs: Use the BITMAPINFOHEADER structure to get icon bitcount. 2010-05-07 12:47:02 +02:00
Vincent Povirk 4f4812b447 windowscodecs: Partially implement IWICBitmapFlipRotator_CopyPixels. 2010-04-27 15:47:48 -05:00
Vincent Povirk 0e992fccc5 windowscodecs: Implement IWICBitmapFlipRotator_GetSize. 2010-04-27 15:47:39 -05:00
Vincent Povirk dbdf1ef8b6 windowscodecs: Implement IWICBitmapFlipRotator_Initialize. 2010-04-27 15:47:32 -05:00
Vincent Povirk 7a254fc4d8 windowscodecs: Add a stub implementation of IWICBitmapFlipRotator. 2010-04-27 15:47:26 -05:00
Vincent Povirk 83f32fc7d8 windowscodecs: Implement IWICImagingFactory_CreateFormatConverter. 2010-04-27 15:47:00 -05:00
Vincent Povirk b468c29de1 windowscodecs: Implement IWICImagingFactory_CreateDecoderFromFilename. 2010-04-27 15:46:54 -05:00
Vincent Povirk 2f41a3ad21 windowscodecs: Implement IWICStream_InitializeFromFilename. 2010-04-27 15:46:46 -05:00
Michael Stefaniuc 2f8d9ccba9 windowscodecs: Unlock not lock again when leaving the function (Smatch). 2010-04-19 14:54:18 +02:00
Vincent Povirk a924e54c94 windowscodecs: Fix uninitialized variable use in StreamOnMemory_Write. 2010-04-15 14:18:12 +02:00
Vincent Povirk fd3ea78702 windowscodecs: Add locking to the PNG encoder. 2010-04-15 14:18:08 +02:00
Vincent Povirk 7c8b7559a2 windowscodecs: Add locking to the JPEG decoder. 2010-04-13 11:30:35 +02:00
Vincent Povirk 8887e8c1c5 windowscodecs: Add locking to the ICO decoder. 2010-04-13 11:30:30 +02:00
Vincent Povirk 3caf7204e6 windowscodecs: Add locking to the GIF decoder. 2010-04-13 11:30:25 +02:00
Vincent Povirk c1beb63609 windowscodecs: Add locking to the format converter. 2010-04-13 11:30:19 +02:00
Vincent Povirk 7871033a40 windowscodecs: Add locking to the PNG decoder. 2010-04-13 11:30:12 +02:00
Vincent Povirk 5f6d99f513 windowscodecs: Add locking to the BMP decoder. 2010-04-12 11:29:00 +02:00
Vincent Povirk 3d914c4f8d windowscodecs: Combine the bitmap decoder and bitmap decoder frame objects. 2010-04-12 11:28:54 +02:00
Vincent Povirk 7ce7ce8266 windowscodecs: Set the threading model of ImagingFactory to Both. 2010-04-12 11:28:47 +02:00
Vincent Povirk a6bf1287ba windowscodecs: Make IWICStream thread-safe. 2010-04-12 11:28:41 +02:00
Vincent Povirk 40d48e674e windowscodecs: Add locking to StreamOnMemory. 2010-04-12 11:28:33 +02:00
Vincent Povirk 416eb191cb windowscodecs: Add support for decoding RGB TIFF images. 2010-03-22 11:44:18 +01:00
Vincent Povirk 2ed101f6fc windowscodecs: Implement CopyPixels for the TIFF decoder. 2010-03-22 11:44:12 +01:00
Vincent Povirk 8996ffbfc6 windowscodecs: Implement GetSize for the TIFF decoder. 2010-03-22 11:44:06 +01:00
Vincent Povirk 8066e9beca windowscodecs: Implement GetPixelFormat for TIFF decoder. 2010-03-22 11:44:00 +01:00
Vincent Povirk ccaf1b1e5d windowscodecs: Implement GetFrame for the TIFF decoder. 2010-03-22 11:43:55 +01:00
Vincent Povirk c048bb07ca windowscodecs: Implement GetFrameCount for the TIFF decoder. 2010-03-22 11:43:48 +01:00
Vincent Povirk 0d285eac80 windowscodecs: Implement Initialize for the TIFF decoder. 2010-03-22 11:43:42 +01:00
Vincent Povirk 73cd569390 windowscodecs: Add a stub TIFF decoder. 2010-03-22 11:42:43 +01:00
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