[FFmpeg-cvslog] r32011 - in trunk/libswscale: swscale.c swscale_template.c

Ramiro Polla ramiro.polla
Sat Sep 4 17:54:36 CEST 2010


On Mon, Aug 23, 2010 at 6:22 PM, mru <subversion at mplayerhq.hu> wrote:
> Author: mru
> Date: Mon Aug 23 23:22:24 2010
> New Revision: 32011
>
> Log:
> swscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversion
>
> Modified:
> ? trunk/libswscale/swscale.c
> ? trunk/libswscale/swscale_template.c

This broke some conversions (screws up chroma), for example:
 yuv420p 96x96 -> argb  64x 64 flags= 2 CRC=9cc86f93 SSD=    2,  957,  666,    0

It can be tested using that swscale-test2 tool I sent with:
swscale-test2 -i ~/input.bmp -sws_flags 2 -pix_fmt yuv420p -s 96x96
-scale -store -s 64x64 -pix_fmt abgr -scale -s 96x96 -pix_fmt yuv420p
-scale -ssd



More information about the ffmpeg-cvslog mailing list