[FFmpeg-cvslog] r11630 - in trunk/libavcodec/i386: dsputil_mmx.c simple_idct_mmx.c
reimar
subversion
Sun Jan 27 15:46:56 CET 2008
Author: reimar
Date: Sun Jan 27 15:46:56 2008
New Revision: 11630
Log:
Use DECLARE_ALIGNED
Modified:
trunk/libavcodec/i386/dsputil_mmx.c
trunk/libavcodec/i386/simple_idct_mmx.c
Modified: trunk/libavcodec/i386/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_mmx.c (original)
+++ trunk/libavcodec/i386/dsputil_mmx.c Sun Jan 27 15:46:56 2008
@@ -668,7 +668,7 @@ static inline void transpose4x4(uint8_t
static void h263_h_loop_filter_mmx(uint8_t *src, int stride, int qscale){
if(ENABLE_ANY_H263) {
const int strength= ff_h263_loop_filter_strength[qscale];
- uint64_t temp[4] __attribute__ ((aligned(8)));
+ DECLARE_ALIGNED(8, uint64_t, temp[4]);
uint8_t *btemp= (uint8_t*)temp;
src -= 2;
Modified: trunk/libavcodec/i386/simple_idct_mmx.c
==============================================================================
--- trunk/libavcodec/i386/simple_idct_mmx.c (original)
+++ trunk/libavcodec/i386/simple_idct_mmx.c Sun Jan 27 15:46:56 2008
@@ -209,7 +209,7 @@ row[7] = input[13];
static inline void idct(int16_t *block)
{
- int64_t __attribute__((aligned(8))) align_tmp[16];
+ DECLARE_ALIGNED(8, int64_t, align_tmp[16]);
int16_t * const temp= (int16_t*)align_tmp;
asm volatile(
More information about the ffmpeg-cvslog
mailing list