BitBasher
13th December 2007, 02:05
I just tried DIVX 6.8 (from 6.7) and immediately I noticed a bug when using ICDecompress() to a 16-bpp (BI_BITFIELDS) DIB.
The previous DIVX 6.7 worked fine. The new DIVX 6.8, the decompressed image is upside down (oops).
This bug shows up on the VFW decoder (not sure if this is a problem with the DX decoder). It can happen if the IC decompressor is opened with an output BITMAPINFOHEADER that specifies a 16bpp output (biBitCount=16 and biCompression=BI_BITFIELDS). This can also happen indirectly if the display is 16bpp and AVIGETFRAMEF_BESTDISPLAYFMT is used for AVIStreamGetFrameOpen().
I'm reverting back to 6.7 for now as I cannot use 6.8 when the image is flipped. Not sure if there's any good way to fix this other than to wait for the next "fixed" version of DIVX.
Bit.
The previous DIVX 6.7 worked fine. The new DIVX 6.8, the decompressed image is upside down (oops).
This bug shows up on the VFW decoder (not sure if this is a problem with the DX decoder). It can happen if the IC decompressor is opened with an output BITMAPINFOHEADER that specifies a 16bpp output (biBitCount=16 and biCompression=BI_BITFIELDS). This can also happen indirectly if the display is 16bpp and AVIGETFRAMEF_BESTDISPLAYFMT is used for AVIStreamGetFrameOpen().
I'm reverting back to 6.7 for now as I cannot use 6.8 when the image is flipped. Not sure if there's any good way to fix this other than to wait for the next "fixed" version of DIVX.
Bit.