[FFmpeg-soc] [soc]: r2493 - in aac: aac.c aactab.h
superdump
subversion at mplayerhq.hu
Fri Jun 20 14:40:09 CEST 2008
Author: superdump
Date: Fri Jun 20 14:40:08 2008
New Revision: 2493
Log:
Merge *-2 into table
Modified:
aac/aac.c
aac/aactab.h
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Fri Jun 20 14:40:08 2008
@@ -918,7 +918,7 @@ static void decode_ltp_data(AACContext *
assert(0);
} else {
ltp->lag = get_bits(gb, 11);
- ltp->coef = ltp_coef[get_bits(gb, 3)] * (-2 * ac->sf_scale);
+ ltp->coef = ltp_coef[get_bits(gb, 3)] * ac->sf_scale;
for (sfb = 0; sfb < FFMIN(max_sfb, MAX_LTP_LONG_SFB); sfb++)
ltp->used[sfb] = get_bits1(gb);
}
Modified: aac/aactab.h
==============================================================================
--- aac/aactab.h (original)
+++ aac/aactab.h Fri Jun 20 14:40:08 2008
@@ -124,7 +124,7 @@ static const uint8_t num_swb_128[] = {
};
static const float ltp_coef[] = {
- 0.570829, 0.696616, 0.813004, 0.911304, 0.984900, 1.067894, 1.194601, 1.369533
+ -1.141658, -1.393232, -1.626008, -1.822608, -1.969800, -2.135788, -2.389202, -2.739066,
};
static const uint8_t tns_max_bands_1024[] = {
More information about the FFmpeg-soc
mailing list