Commit 2958847f authored by alexc's avatar alexc

aacsbr: DSPUtilize analysis input scaling.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22516 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c2cf5e29
...@@ -1132,8 +1132,7 @@ static void sbr_qmf_analysis(DSPContext *dsp, RDFTContext *rdft, const float *in ...@@ -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(W[0], W[1], sizeof(W[0]));
memcpy(x , x+1024, (320-32)*sizeof(x[0])); memcpy(x , x+1024, (320-32)*sizeof(x[0]));
if (scale != 1.0f) if (scale != 1.0f)
for (i = 0; i < 1024; i++) dsp->vector_fmul_scalar(x+288, in, scale, 1024);
x[288 + i] = in[i] * scale;
else else
memcpy(x+288, in, 1024*sizeof(*x)); memcpy(x+288, in, 1024*sizeof(*x));
for (i = 0; i < 32; i++) { // numTimeSlots*RATE = 16*2 as 960 sample frames for (i = 0; i < 32; i++) { // numTimeSlots*RATE = 16*2 as 960 sample frames
......
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