Browse Source

Indicate that AdaptCoeff1 and 2 are functions of the actual coefficients.

Originally committed as revision 20345 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Daniel Verkamp 16 years ago
parent
commit
bb7d0e87ae
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/adpcm.c

+ 2
- 0
libavcodec/adpcm.c View File

@@ -86,10 +86,12 @@ static const int AdaptationTable[] = {
768, 614, 512, 409, 307, 230, 230, 230
};

/** Divided by 4 to fit in 8-bit integers */
static const uint8_t AdaptCoeff1[] = {
64, 128, 0, 48, 60, 115, 98
};

/** Divided by 4 to fit in 8-bit integers */
static const int8_t AdaptCoeff2[] = {
0, -64, 0, 16, 0, -52, -58
};


Loading…
Cancel
Save