Signed-off-by: Ziqing Hui zhui@codeweavers.com --- dlls/windowscodecs/clsfactory.c | 1 + dlls/windowscodecs/ddsformat.c | 201 ++++++++++++++++++ dlls/windowscodecs/wincodecs_private.h | 1 + dlls/windowscodecs/windowscodecs_wincodec.idl | 7 + 4 files changed, 210 insertions(+)
It's a bit strange to use the encoder_info struct without using CommonEncoder.
The interface for CommonDecoder and CommonEncoder was designed to be usable without the unixlib, and it does seem to decrease the amount of boilerplate. But, since we need to support IWICDdsEncoder, it probably doesn't make sense to use it in this case.
We should probably have a fixme in QueryInterface so we can at least tell when IWICDdsEncoder is used, if not a stub for the interface.