[FFmpeg-soc] [soc]: r5499 - aac-sbr/aacsbr.c
alexc
subversion at mplayerhq.hu
Sun Dec 6 23:48:39 CET 2009
Author: alexc
Date: Sun Dec 6 23:48:39 2009
New Revision: 5499
Log:
10l: l_Temp = RATE*t_E'(L_E')
Modified:
aac-sbr/aacsbr.c
Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c Sat Dec 5 22:21:28 2009 (r5498)
+++ aac-sbr/aacsbr.c Sun Dec 6 23:48:39 2009 (r5499)
@@ -1280,7 +1280,7 @@ static int sbr_x_gen(SpectralBandReplica
int k, l;
const int t_HFAdj = ENVELOPE_ADJUSTMENT_OFFSET;
const int l_f = 32;
- const int l_Temp = FFMAX(sbr->t_env_num_env_old[ch] - l_f, 0); //FIXME hack to make l_Temp initialize to zero
+ const int l_Temp = FFMAX(2*sbr->t_env_num_env_old[ch] - l_f, 0); //FIXME hack to make l_Temp initialize to zero
memset(x, 0, sizeof(x));
for (k = 0; k < sbr->k[4]; k++) {
for (l = 0; l < l_Temp; l++) {
More information about the FFmpeg-soc
mailing list