[FFmpeg-soc] [soc]: r5488 - in aac-sbr: aacsbr.c aacsbr.h
alexc
subversion at mplayerhq.hu
Fri Dec 4 05:17:07 CET 2009
Author: alexc
Date: Fri Dec 4 05:17:06 2009
New Revision: 5488
Log:
Move l_a from the ff_sbr_apply() stack to the SBRData context.
Modified:
aac-sbr/aacsbr.c
aac-sbr/aacsbr.h
Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c Wed Dec 2 23:25:13 2009 (r5487)
+++ aac-sbr/aacsbr.c Fri Dec 4 05:17:06 2009 (r5488)
@@ -1607,7 +1607,7 @@ static void sbr_hf_assemble(float y[2][6
void ff_sbr_apply(AACContext *ac, SpectralBandReplication *sbr, int id_aac, int ch, float* in, float* out)
{
- int l_a[2];
+ int* l_a = sbr->data[ch].l_a;
if (sbr->start) {
sbr_time_freq_grid(ac, sbr, &sbr->data[ch], ch);
Modified: aac-sbr/aacsbr.h
==============================================================================
--- aac-sbr/aacsbr.h Wed Dec 2 23:25:13 2009 (r5487)
+++ aac-sbr/aacsbr.h Fri Dec 4 05:17:06 2009 (r5488)
@@ -103,6 +103,7 @@ typedef struct {
uint8_t bs_amp_res;
float synthesis_filterbank_samples[1280];
float analysis_filterbank_samples [1312];
+ int l_a[2];
} SBRData;
/**
More information about the FFmpeg-soc
mailing list