Commit bba5293b authored by Loren Merritt's avatar Loren Merritt

cosmetics: remove duplicate transpose macro

Originally committed as revision 8939 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8d2fb333
...@@ -201,6 +201,12 @@ static const uint64_t ff_pb_FC attribute_used __attribute__ ((aligned(8))) = 0xF ...@@ -201,6 +201,12 @@ static const uint64_t ff_pb_FC attribute_used __attribute__ ((aligned(8))) = 0xF
"punpckl" #n " " #b ", " #a " \n\t" /* aebf */\ "punpckl" #n " " #b ", " #a " \n\t" /* aebf */\
"punpckh" #n " " #b ", " #t " \n\t" /* cgdh */\ "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 */\
SBUTTERFLY(a,c,d,dq) /* a=aeim d=bfjn */\
SBUTTERFLY(t,b,c,dq) /* t=cgko c=dhlp */
/***********************************/ /***********************************/
/* standard MMX */ /* standard MMX */
...@@ -1537,12 +1543,6 @@ static void sub_hfyu_median_prediction_mmx2(uint8_t *dst, uint8_t *src1, uint8_t ...@@ -1537,12 +1543,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 TRANSPOSE4(a,b,c,d,t)\
SBUTTERFLY(a,b,t,wd) /* a=aebf t=cgdh */\
SBUTTERFLY(c,d,b,wd) /* c=imjn b=kolp */\
SBUTTERFLY(a,c,d,dq) /* a=aeim d=bfjn */\
SBUTTERFLY(t,b,c,dq) /* t=cgko c=dhlp */
#define LOAD4(o, a, b, c, d)\ #define LOAD4(o, a, b, c, d)\
"movq "#o"(%1), " #a " \n\t"\ "movq "#o"(%1), " #a " \n\t"\
"movq "#o"+16(%1), " #b " \n\t"\ "movq "#o"+16(%1), " #b " \n\t"\
......
...@@ -48,12 +48,6 @@ ...@@ -48,12 +48,6 @@
SUMSUBD2_AB( s13, d13, t )\ SUMSUBD2_AB( s13, d13, t )\
SUMSUB_BADC( d13, s02, s13, d02 ) SUMSUB_BADC( d13, s02, s13, d02 )
#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 */\
SBUTTERFLY(a,c,d,dq) /* a=aeim d=bfjn */\
SBUTTERFLY(t,b,c,dq) /* t=cgko c=dhlp */
#define STORE_DIFF_4P( p, t, z ) \ #define STORE_DIFF_4P( p, t, z ) \
"psraw $6, "#p" \n\t"\ "psraw $6, "#p" \n\t"\
"movd (%0), "#t" \n\t"\ "movd (%0), "#t" \n\t"\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment