summaryrefslogtreecommitdiff
path: root/tests/ref/acodec
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-03-02 17:03:06 +0200
committerMartin Storsjö <martin@martin.st>2012-03-02 18:58:19 +0200
commitb087ce2bee81db8cc5caffb8f0a4f6c7c92a30fe (patch)
tree33d6290462f3f1f41bf18ed00403a7a176ba6697 /tests/ref/acodec
parent56bf24ad7821974bc92a2d02a120165ee61efb90 (diff)
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')
-rw-r--r--tests/ref/acodec/g7228
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