Mercurial > libavcodec.hg
comparison x86/fft_sse.c @ 12405:b64b8e5a2d3a libavcodec
imdct/x86: Use "s->mdct_size" instead of "1 << s->mdct_bits".
It generates smaller cleaner code.
author | alexc |
---|---|
date | Mon, 23 Aug 2010 15:51:09 +0000 |
parents | 020540442072 |
children |
comparison
equal
deleted
inserted
replaced
12404:86f5aff0f8e8 | 12405:b64b8e5a2d3a |
---|---|
72 } | 72 } |
73 | 73 |
74 void ff_imdct_calc_sse(FFTContext *s, FFTSample *output, const FFTSample *input) | 74 void ff_imdct_calc_sse(FFTContext *s, FFTSample *output, const FFTSample *input) |
75 { | 75 { |
76 x86_reg j, k; | 76 x86_reg j, k; |
77 long n = 1 << s->mdct_bits; | 77 long n = s->mdct_size; |
78 long n4 = n >> 2; | 78 long n4 = n >> 2; |
79 | 79 |
80 ff_imdct_half_sse(s, output+n4, input); | 80 ff_imdct_half_sse(s, output+n4, input); |
81 | 81 |
82 j = -n; | 82 j = -n; |