g722enc: set frame_size, and also handle an odd number of input samples

The fate reference is updated because the previous test skipped a sample in
each encode() call due each input frame having an odd number of samples.
This commit is contained in:
Justin Ruggles
2012-01-06 15:32:44 -05:00
parent 34093ba081
commit 77c5b66cbe
2 changed files with 40 additions and 6 deletions

View File

@ -1,4 +1,4 @@
b380355e0360b4e50ee78f33fd60a0f5 *./tests/data/acodec/g722.wav
47991 ./tests/data/acodec/g722.wav
82fdd5bb059336e0550de7ba5947c5bb *./tests/data/g722.acodec.out.wav
stddev: 8860.44 PSNR: 17.38 MAXDIFF:33814 bytes: 191732/ 1058400
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