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

Ramiro Polla ramiro.polla
Sun Sep 5 01:28:43 CEST 2010


2010/9/4 M?ns Rullg?rd <mans at mansr.com>:
> Ramiro Polla <ramiro.polla at gmail.com> writes:
>> 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
>
> Can you provide any more details? ?Which function is broken?

bgr321ToUV and rgb321ToUV. Shouldn't the pixel data be shifted before
the mask? (as in attached patch)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_shift.diff
Type: text/x-patch
Size: 713 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20100904/647ed7c6/attachment.bin>



More information about the ffmpeg-cvslog mailing list