Energy quantization tuning.

Prediction coefficient now depends on the frame size. Also, the pdfs and means
have been adjusted and better quantized. This breaks compatibility of course.
This commit is contained in:
Jean-Marc Valin 2010-07-23 16:10:36 -04:00
parent 2ed05631f8
commit ca6533cd88
6 changed files with 28 additions and 30 deletions

View file

@ -334,7 +334,6 @@ CELTMode *celt_mode_create(celt_int32 Fs, int frame_size, int *error)
goto failure;
mode->marker_start = MODEPARTIAL;
mode->Fs = Fs;
mode->ePredCoef = QCONST16(.8f,15);
/* Pre/de-emphasis depends on sampling rate. The "standard" pre-emphasis
is defined as A(z) = 1 - 0.85*z^-1 at 48 kHz. Other rates should