From d593e329832a432777218eb92469bad10594a3c5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 25 Aug 2007 03:00:51 +0000 Subject: use 16bit IDWT (a SIMD implementation of it should be >2x faster then with the old 32bit code) disable mmx/sse2 optimizations as they need a rewrite now Originally committed as revision 10218 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/snow.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'libavcodec/snow.h') diff --git a/libavcodec/snow.h b/libavcodec/snow.h index 9dd66031cb..c2c835725f 100644 --- a/libavcodec/snow.h +++ b/libavcodec/snow.h @@ -31,7 +31,7 @@ #define QSHIFT 5 #define QROOT (1<=0; (*i)-=2){ low[(*i)+1] = high[(*i)>>1]; low[*i] = low[(*i)>>1]; } } -static av_always_inline void snow_horizontal_compose_lift_lead_out(int i, DWTELEM * dst, DWTELEM * src, DWTELEM * ref, int width, int w, int lift_high, int mul, int add, int shift){ +static av_always_inline void snow_horizontal_compose_lift_lead_out(int i, IDWTELEM * dst, IDWTELEM * src, IDWTELEM * ref, int width, int w, int lift_high, int mul, int add, int shift){ for(; i> shift); } @@ -163,7 +164,7 @@ static av_always_inline void snow_horizontal_compose_lift_lead_out(int i, DWTELE } } -static av_always_inline void snow_horizontal_compose_liftS_lead_out(int i, DWTELEM * dst, DWTELEM * src, DWTELEM * ref, int width, int w){ +static av_always_inline void snow_horizontal_compose_liftS_lead_out(int i, IDWTELEM * dst, IDWTELEM * src, IDWTELEM * ref, int width, int w){ for(; i> W_BS); } -- cgit v1.2.3