diff options
author | Måns Rullgård <mans@mansr.com> | 2006-07-05 19:31:01 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-07-05 19:31:01 +0000 |
commit | 98d417cbcd6170d4b7836690b5cc1911e2dd883d (patch) | |
tree | 4f04638afa78aca40468264b7cf1827ecaa722b5 /libavcodec | |
parent | 2e0141c351c3f4e0b66c449911681121d0317a5f (diff) | |
download | ffmpeg-98d417cbcd6170d4b7836690b5cc1911e2dd883d.tar.gz |
#define SBUTTERFLY outside CONFIG_ENCODERS
Originally committed as revision 5628 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/i386/dsputil_mmx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index f7f1b2b587..6a44e528ee 100644 --- a/libavcodec/i386/dsputil_mmx.c +++ b/libavcodec/i386/dsputil_mmx.c @@ -187,6 +187,11 @@ static const uint64_t ff_pb_FC attribute_used __attribute__ ((aligned(8))) = 0xF #undef DEF #undef PAVGB +#define SBUTTERFLY(a,b,t,n)\ + "movq " #a ", " #t " \n\t" /* abcd */\ + "punpckl" #n " " #b ", " #a " \n\t" /* aebf */\ + "punpckh" #n " " #b ", " #t " \n\t" /* cgdh */\ + /***********************************/ /* standard MMX */ @@ -1523,11 +1528,6 @@ static void sub_hfyu_median_prediction_mmx2(uint8_t *dst, uint8_t *src1, uint8_t "pmaxsw " #z ", " #a " \n\t"\ "paddusw " #a ", " #sum " \n\t" -#define SBUTTERFLY(a,b,t,n)\ - "movq " #a ", " #t " \n\t" /* abcd */\ - "punpckl" #n " " #b ", " #a " \n\t" /* aebf */\ - "punpckh" #n " " #b ", " #t " \n\t" /* cgdh */\ - #define TRANSPOSE4(a,b,c,d,t)\ SBUTTERFLY(a,b,t,wd) /* a=aebf t=cgdh */\ SBUTTERFLY(c,d,b,wd) /* c=imjn b=kolp */\ |