[PATCH 2/3] windowscodecs/tests: Add tests for decoding uncompressed DDS image.
Ziqing Hui
zhui at codeweavers.com
Wed Jul 8 05:34:36 CDT 2020
Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---
Although uncompressed DDS is not supported in native WIC, WIC chapter of MSDN has some notes about uncompressed DDS image. see https://docs.microsoft.com/en-us/windows/win32/api/wincodec/ns-wincodec-wicddsformatinfo
MSDN says that for uncompressed DDS image, a block means a pixel, blockWidth=1, blockHeight=1, bytesPerBlock=bytesPerPixel, widthInBlocks=widthInPixels, widthInBlocks=widthInPixels.
dlls/windowscodecs/tests/ddsformat.c | 96 +++++++++++++++-------------
1 file changed, 53 insertions(+), 43 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-windowscodecs-tests-Add-tests-for-decoding-uncompres.patch
Type: text/x-patch
Size: 13257 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200708/36df6772/attachment-0001.bin>
More information about the wine-devel
mailing list