[FFmpeg-devel] [PATCH] add DECLARE_ASM_CONST

Michael Niedermayer michaelni
Sun Jan 27 21:17:33 CET 2008


On Sun, Jan 27, 2008 at 09:09:57PM +0100, Reimar D?ffinger wrote:
> Hello,
> not sure if this is really ideal, but here it is, the libavcodec part
> only.
> I put it in libavutil because it is needed (and a lot more) in
> libswscale as well.
> The h264.c case is a bit ugly, that array is not declared as aligned,
> after the change it will be __attribute__((align(1))), I'd hope that
> makes no difference, but I'm not sure.
[...]
> -static const int16_t __attribute__((aligned(8))) coeffs[]= {
> +DECLARE_ALIGNED(static const int16_t, coeffs[])= {

unrelated

rest ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080127/c2234377/attachment.pgp>



More information about the ffmpeg-devel mailing list