diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-05-17 09:30:38 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-05-17 09:30:38 +0000 |
commit | 0bda78173932c3d128fbee663eb96d69a7501a3f (patch) | |
tree | c31fc62ea3038e6536a159c7395330bfe1d4ee40 /libpostproc/postprocess_template.c | |
parent | e9b19db82bed7a248882c7d345e97bd0f0e55058 (diff) | |
download | ffmpeg-0bda78173932c3d128fbee663eb96d69a7501a3f.tar.gz |
Use DECLARE_ALIGNED for alignment in libpostprocess
Originally committed as revision 9043 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc/postprocess_template.c')
-rw-r--r-- | libpostproc/postprocess_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c index 730c58b231..6bc1efc2df 100644 --- a/libpostproc/postprocess_template.c +++ b/libpostproc/postprocess_template.c @@ -3348,7 +3348,7 @@ static inline void RENAME(duplicate)(uint8_t src[], int stride) static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height, QP_STORE_T QPs[], int QPStride, int isColor, PPContext *c2) { - PPContext __attribute__((aligned(8))) c= *c2; //copy to stack for faster access + DECLARE_ALIGNED(8, PPContext, c)= *c2; //copy to stack for faster access int x,y; #ifdef COMPILE_TIME_MODE const int mode= COMPILE_TIME_MODE; @@ -3717,7 +3717,7 @@ static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int else if(mode & H_DEBLOCK) { #ifdef HAVE_ALTIVEC - unsigned char __attribute__ ((aligned(16))) tempBlock[272]; + DECLARE_ALIGNED(16, unsigned char, tempBlock[272]); transpose_16x8_char_toPackedAlign_altivec(tempBlock, dstBlock - (4 + 1), stride); const int t=vertClassify_altivec(tempBlock-48, 16, &c); |