diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-06-04 23:25:09 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-06-04 23:25:09 +0000 |
commit | 74a841af8bbdec8070f9eaeb7f7b235cd9c8be7e (patch) | |
tree | 25cb96fa9fb50b39516300f570d95d12105a71ca /libavcodec/dct-test.c | |
parent | c0cf20a24a230b0937ad494b43ffe3e4cf318c27 (diff) | |
download | ffmpeg-74a841af8bbdec8070f9eaeb7f7b235cd9c8be7e.tar.gz |
Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
Originally committed as revision 19089 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r-- | libavcodec/dct-test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 9522e1d7f0..419464cf54 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -186,9 +186,9 @@ static void idct_mmx_init(void) } } -static DCTELEM block[64] __attribute__ ((aligned (16))); -static DCTELEM block1[64] __attribute__ ((aligned (8))); -static DCTELEM block_org[64] __attribute__ ((aligned (8))); +DECLARE_ALIGNED(16, static DCTELEM, block[64]); +DECLARE_ALIGNED(8, static DCTELEM, block1[64]); +DECLARE_ALIGNED(8, static DCTELEM, block_org[64]); static inline void mmx_emms(void) { @@ -384,8 +384,8 @@ static void dct_error(const char *name, int is_idct, #endif } -static uint8_t img_dest[64] __attribute__ ((aligned (8))); -static uint8_t img_dest1[64] __attribute__ ((aligned (8))); +DECLARE_ALIGNED(8, static uint8_t, img_dest[64]); +DECLARE_ALIGNED(8, static uint8_t, img_dest1[64]); static void idct248_ref(uint8_t *dest, int linesize, int16_t *block) { |