Statistics
| Branch: | Revision:

ffmpeg / tests / ref / acodec @ 6159bd0d

Name Size Revision Age Author Comment
ac3_fixed 94 Bytes 6159bd0d almost 10 years Justin Ruggles ac3enc: fix bug in stereo rematrixing decision....
adpcm_ima_qt 252 Bytes c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...
adpcm_ima_wav 253 Bytes c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...
adpcm_ms 246 Bytes c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...
adpcm_swf 249 Bytes c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...
adpcm_yam 249 Bytes c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...
alac 234 Bytes c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...
flac 236 Bytes c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...
g726 233 Bytes c7d89948 about 10 years Justin Ruggles Set a constant frame size for encoding G.726 au...
mp2 298 Bytes c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...
pcm 4.27 KB c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...
wmav1 237 Bytes c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...
wmav2 237 Bytes c43d77c1 over 10 years Måns Rullgård tiny_psnr: skip wav headers on input files The...

Latest revisions

# Date Author Comment
6159bd0d 02/18/2011 06:52 PM Justin Ruggles

ac3enc: fix bug in stereo rematrixing decision.

The rematrixing strategy reuse flags are not reset between frames, so they
need to be initialized for all blocks, not just block 0.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 5b54d4b376fbd2c291b8a6dba7d425e28f654bcf)

660ab0e6 02/16/2011 10:00 PM Justin Ruggles

ac3enc: change default floor code to 7.

This is to match the value in every (E-)AC-3 file from commercial sources.
It has a negligible effect on audio quality.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit 50d7140441b61809ad4ba4ea7b4ad8fe77bc6888)

10030226 02/04/2011 02:08 AM Justin Ruggles

ac3enc: Change EXP_DIFF_THRESHOLD to 500.

This patch changes the exponent difference threshold in the exponent
strategy decision function of the AC-3 encoder. I tested lowering in
increments of 100. From 1000 down to 500 generally increased in quality
with each step, but 400 was generally much worse....

dc7e07ac 01/08/2011 11:21 PM Justin Ruggles

Add stereo rematrixing support to the AC-3 encoders.
This improves the audio quality significantly for stereo source with both the
fixed-point and floating-point AC-3 encoders.
Update acodec-ac3_fixed and seek-ac3_rm test references.

Originally committed as revision 26271 to svn://svn.ffmpeg.org/ffmpeg/trunk

6fd96d1a 01/04/2011 11:53 AM Justin Ruggles

Change the AC-3 encoder to use floating-point.
Fixed-point AC-3 encoder renamed to ac3_fixed.
Regression test acodec-ac3 renamed to acodec-ac3_fixed.
Regression test lavf-rm changed to use ac3_fixed encoder.

Originally committed as revision 26209 to svn://svn.ffmpeg.org/ffmpeg/trunk

ec44dd5f 12/29/2010 07:17 PM Justin Ruggles

Change the default dB-per-bit code from 2 to 3.
This gives slightly better quality in PEAQ tests.
Code 3 gives a dBpb value of 2816 = -132dB (128 psd units = -6dB), which
corresponds to 22 bits. Since the exponents have an offset applied, the
16-bit source looks like 24-bit source to the bit allocation routine....

295ab2af 12/21/2010 09:18 PM Justin Ruggles

Change FIX15 back to clipping to -32767..32767.
This avoids a 16-bit overflow in mdct512() due to a -32768 value in costab.
References updated for acodec-ac3, lavf-rm, and seek-ac3_rm tests.
Thanks to Måns Rullgård for finding the bug.

Originally committed as revision 26071 to svn://svn.ffmpeg.org/ffmpeg/trunk

918cd225 12/14/2010 02:51 PM Justin Ruggles

Simplify fix15().
Turn it into 2 macros, and use av_clip_int16() and lrintf().
This matches the int16 to float sample conversion in audioconvert.c.
The regression test output is different due to lrintf() rounding.

Originally committed as revision 25956 to svn://svn.ffmpeg.org/ffmpeg/trunk

c7d89948 09/11/2010 07:52 PM Justin Ruggles

Set a constant frame size for encoding G.726 audio.

Originally committed as revision 25107 to svn://svn.ffmpeg.org/ffmpeg/trunk

c43d77c1 07/09/2010 04:06 PM Måns Rullgård

tiny_psnr: skip wav headers on input files

The byte count printed excludes the header, and offsets are applied
after the the headers are skipped.

Reference files updated to reflect new output. Some stddev/psnr values
have changed slightly due to headers no longer being compared....

View revisions

Also available in: Atom