diff options
author | Martin Storsjö <martin@martin.st> | 2012-03-02 17:03:06 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-03-02 18:58:19 +0200 |
commit | b087ce2bee81db8cc5caffb8f0a4f6c7c92a30fe (patch) | |
tree | 33d6290462f3f1f41bf18ed00403a7a176ba6697 /tests/ref/acodec/g722 | |
parent | 56bf24ad7821974bc92a2d02a120165ee61efb90 (diff) | |
download | ffmpeg-b087ce2bee81db8cc5caffb8f0a4f6c7c92a30fe.tar.gz |
g722: Fix the QMF scaling
This fixes clipping if the encoder input used the full 16 bit
input range (samples with a magnitude below 16383 worked fine).
The filtered subband samples should be 15 bit maximum, while
the code earlier produced them scaled to 16 bit.
This makes the decoder output have double the magnitude
compared to before.
The spec reference samples doesn't test the QMF at all, which
was why this part slipped past initially.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests/ref/acodec/g722')
-rw-r--r-- | tests/ref/acodec/g722 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ref/acodec/g722 b/tests/ref/acodec/g722 index 6ea492ae45..0e2f7e75b0 100644 --- a/tests/ref/acodec/g722 +++ b/tests/ref/acodec/g722 @@ -1,4 +1,4 @@ -1975cc4a3521e374b33ae042e182f6b6 *./tests/data/acodec/g722.wav -48053 ./tests/data/acodec/g722.wav -ade04cdcf249e6946395f109b077dd62 *./tests/data/g722.acodec.out.wav -stddev: 8841.24 PSNR: 17.40 MAXDIFF:36225 bytes: 191980/ 1058400 +7b0492eee76b04b710990235f97a0bf2 *./tests/data/acodec/g722.wav + 48053 ./tests/data/acodec/g722.wav +b5568e0e3930ff563824156e8e1015f0 *./tests/data/g722.acodec.out.wav +stddev: 8939.44 PSNR: 17.30 MAXDIFF:40370 bytes: 191980/ 1058400 |