projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8a93a2
)
aacsbr: DSPUtilize analysis input scaling.
author
Alex Converse
<alex.converse@gmail.com>
Sat, 13 Mar 2010 21:12:45 +0000
(21:12 +0000)
committer
Alex Converse
<alex.converse@gmail.com>
Sat, 13 Mar 2010 21:12:45 +0000
(21:12 +0000)
Originally committed as revision 22516 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aacsbr.c
patch
|
blob
|
history
diff --git
a/libavcodec/aacsbr.c
b/libavcodec/aacsbr.c
index 23823aa71555f7842b55abce107ebf542ee52114..b7734f4f449f55d4f386ebb7b5a84b089f186594 100644
(file)
--- a/
libavcodec/aacsbr.c
+++ b/
libavcodec/aacsbr.c
@@
-1132,8
+1132,7
@@
static void sbr_qmf_analysis(DSPContext *dsp, RDFTContext *rdft, const float *in
memcpy(W[0], W[1], sizeof(W[0]));
memcpy(x , x+1024, (320-32)*sizeof(x[0]));
if (scale != 1.0f)
- for (i = 0; i < 1024; i++)
- x[288 + i] = in[i] * scale;
+ dsp->vector_fmul_scalar(x+288, in, scale, 1024);
else
memcpy(x+288, in, 1024*sizeof(*x));
for (i = 0; i < 32; i++) { // numTimeSlots*RATE = 16*2 as 960 sample frames