mirror of https://git.ffmpeg.org/ffmpeg.git
#define SBUTTERFLY outside CONFIG_ENCODERS
Originally committed as revision 5628 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2e0141c351
commit
98d417cbcd
|
@ -187,6 +187,11 @@ static const uint64_t ff_pb_FC attribute_used __attribute__ ((aligned(8))) = 0xF
|
||||||
#undef DEF
|
#undef DEF
|
||||||
#undef PAVGB
|
#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 */
|
/* 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"\
|
"pmaxsw " #z ", " #a " \n\t"\
|
||||||
"paddusw " #a ", " #sum " \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)\
|
#define TRANSPOSE4(a,b,c,d,t)\
|
||||||
SBUTTERFLY(a,b,t,wd) /* a=aebf t=cgdh */\
|
SBUTTERFLY(a,b,t,wd) /* a=aebf t=cgdh */\
|
||||||
SBUTTERFLY(c,d,b,wd) /* c=imjn b=kolp */\
|
SBUTTERFLY(c,d,b,wd) /* c=imjn b=kolp */\
|
||||||
|
|
Loading…
Reference in New Issue