changeset 10448:b73908dda9b4 libavcodec

Indicate that AdaptCoeff1 and 2 are functions of the actual coefficients.
author daniel
date Thu, 22 Oct 2009 15:57:04 +0000
parents 65422cc3a288
children 690fa44735ed
files adpcm.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/adpcm.c	Tue Oct 20 14:16:23 2009 +0000
+++ b/adpcm.c	Thu Oct 22 15:57:04 2009 +0000
@@ -86,10 +86,12 @@
         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
 };