[11/18] windowscodecs: add test for pixel format conversion
Alexandre Julliard
julliard at winehq.org
Fri Aug 14 04:55:21 CDT 2009
"Vincent Povirk" <vincent at codeweavers.com> writes:
> +START_TEST(testsrc)
> +{
> + CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
> +
> + test_conversion(&testdata_32bppBGRA, &testdata_32bppBGR, "BGRA -> BGR", 0);
> + test_conversion(&testdata_32bppBGR, &testdata_32bppBGRA, "BGR -> BGRA", 0);
> + test_conversion(&testdata_32bppBGRA, &testdata_32bppBGRA, "BGRA -> BGRA", 0);
> + test_invalid_conversion();
> + test_default_converter();
> +
> + CoUninitialize();
> +}
Much better this way, thanks. You should probably rename the test file
to converter.c or something like that though.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list