From a80cb134d84683d6c4961e2c33fddf3a24b378fa Mon Sep 17 00:00:00 2001 From: Monty Date: Mon, 25 Nov 2002 20:20:21 +0000 Subject: Memory behavior tuning. Average heap usage from 250kB -> 155kB. Much more requires the newer zero-copy libogg2 backport and on-the-fly codebook decode. git-svn-id: https://svn.xiph.org/trunk/Tremor@4120 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- floor1.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'floor1.c') diff --git a/floor1.c b/floor1.c index 5391845..21dd5be 100644 --- a/floor1.c +++ b/floor1.c @@ -28,9 +28,7 @@ #define floor1_rangedB 140 /* floor 1 fixed at -140dB to 0dB range */ typedef struct { - int sorted_index[VIF_POSIT+2]; int forward_index[VIF_POSIT+2]; - int reverse_index[VIF_POSIT+2]; int hineighbor[VIF_POSIT]; int loneighbor[VIF_POSIT]; @@ -151,10 +149,6 @@ static vorbis_look_floor *floor1_look(vorbis_dsp_state *vd,vorbis_info_mode *mi, /* points from sort order back to range number */ for(i=0;iforward_index[i]=sortpointer[i]-info->postlist; - /* points from range order to sorted position */ - for(i=0;ireverse_index[look->forward_index[i]]=i; - /* we actually need the post values too */ - for(i=0;isorted_index[i]=info->postlist[look->forward_index[i]]; /* quantize values to multiplier spec */ switch(info->mult){ -- cgit v1.2.1