[FFmpeg-devel] [PATCH] swscale.c

Ramiro Polla ramiro.polla
Fri Jun 5 01:29:02 CEST 2009


On Thu, Jun 4, 2009 at 6:56 PM, Ramiro Polla <ramiro.polla at gmail.com> wrote:
> On Wed, Jun 3, 2009 at 4:29 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> On Wed, Jun 03, 2009 at 01:56:05PM -0400, Pavel Pavlov wrote:
>>> Old:
>>> ? ? ? static const uint8_t ?__attribute__((aligned(8)))
>>> dither_2x2_4[2][8]={
>>>
>>> New:
>>> ? ? ? DECLARE_ALIGNED(8, static const uint8_t, dither_2x2_4[2][8])={
>>> ...
>>>
>>> PS. I have some changes like that to make it compile with icl, I may
>>> send in my diffs for other files as well later on
>>
>> all patches that replace _attribute__((aligned ... by the macros
>> are ok
>
> Applied the 2 in this thread for now.

Commited more for the ones I could test (x86 and ppc), but I didn't
commit it for [fi]dct_mmx.c (which is being discussed on another
thread), and these because I could not test:
libavcodec/sparc/dsputil_vis.c:#define ATTR_ALIGN(alignd)
__attribute__ ((aligned(alignd)))
libavcodec/sh4/idct_sh4.c:static const float even_table[]
__attribute__ ((aligned(8))) = {
libavcodec/sh4/idct_sh4.c:static const float odd_table[] __attribute__
((aligned(8))) = {
libavcodec/ps2/mmi.h:#define align16 __attribute__ ((aligned (16)))

Ramiro Polla



More information about the ffmpeg-devel mailing list