projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
415e6d2
)
Indicate that AdaptCoeff1 and 2 are functions of the actual coefficients.
author
Daniel Verkamp
<daniel@drv.nu>
Thu, 22 Oct 2009 15:57:04 +0000
(15:57 +0000)
committer
Daniel Verkamp
<daniel@drv.nu>
Thu, 22 Oct 2009 15:57:04 +0000
(15:57 +0000)
Originally committed as revision 20345 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/adpcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/adpcm.c
b/libavcodec/adpcm.c
index
13f20b4
..
ebf37db
100644
(file)
--- a/
libavcodec/adpcm.c
+++ b/
libavcodec/adpcm.c
@@
-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
};