windowscodecs: Implement GetSize for the JPEG decoder.

This commit is contained in:
Vincent Povirk 2009-08-24 12:35:51 -05:00 committed by Alexandre Julliard
parent 0ab6e9853c
commit 7d63abc9ec
1 changed files with 5 additions and 2 deletions

View File

@ -392,8 +392,11 @@ static ULONG WINAPI JpegDecoder_Frame_Release(IWICBitmapFrameDecode *iface)
static HRESULT WINAPI JpegDecoder_Frame_GetSize(IWICBitmapFrameDecode *iface,
UINT *puiWidth, UINT *puiHeight)
{
FIXME("(%p,%p,%p)\n", iface, puiWidth, puiHeight);
return E_NOTIMPL;
JpegDecoder *This = decoder_from_frame(iface);
*puiWidth = This->cinfo.output_width;
*puiHeight = This->cinfo.output_height;
TRACE("(%p)->(%u,%u)\n", iface, *puiWidth, *puiHeight);
return S_OK;
}
static HRESULT WINAPI JpegDecoder_Frame_GetPixelFormat(IWICBitmapFrameDecode *iface,