[FFmpeg-cvslog] r20345 - trunk/libavcodec/adpcm.c
daniel
subversion
Thu Oct 22 17:57:04 CEST 2009
Author: daniel
Date: Thu Oct 22 17:57:04 2009
New Revision: 20345
Log:
Indicate that AdaptCoeff1 and 2 are functions of the actual coefficients.
Modified:
trunk/libavcodec/adpcm.c
Modified: trunk/libavcodec/adpcm.c
==============================================================================
--- trunk/libavcodec/adpcm.c Wed Oct 21 23:19:57 2009 (r20344)
+++ trunk/libavcodec/adpcm.c Thu Oct 22 17:57:04 2009 (r20345)
@@ -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
};
More information about the ffmpeg-cvslog
mailing list