From f49814214355913458f9f7635561365afa5bc7aa Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 22 Sep 2012 12:01:01 +0200 Subject: opus: #if 0 out some unused code Change-Id: I16fa9b439f8da5b9b8a4f17040487b9535078ec5 --- lib/rbcodec/codecs/libopus/celt/bands.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/rbcodec/codecs/libopus/celt/bands.c') diff --git a/lib/rbcodec/codecs/libopus/celt/bands.c b/lib/rbcodec/codecs/libopus/celt/bands.c index 6e612980b6..c7cb0d5500 100644 --- a/lib/rbcodec/codecs/libopus/celt/bands.c +++ b/lib/rbcodec/codecs/libopus/celt/bands.c @@ -73,6 +73,7 @@ static int bitexact_log2tan(int isin,int icos) -FRAC_MUL16(icos, FRAC_MUL16(icos, -2597) + 7932); } +#if 0 #ifdef FIXED_POINT /* Compute the amplitude (sqrt energy) in each of the bands */ void compute_band_energies(const CELTMode *m, const celt_sig *X, celt_ener *bandE, int end, int C, int M) @@ -170,6 +171,7 @@ void normalise_bands(const CELTMode *m, const celt_sig * OPUS_RESTRICT freq, cel } #endif /* FIXED_POINT */ +#endif /* De-normalise the energy to produce the synthesis from the unit-energy bands */ void denormalise_bands(const CELTMode *m, const celt_norm * OPUS_RESTRICT X, celt_sig * OPUS_RESTRICT freq, const celt_ener *bandE, int end, int C, int M) @@ -390,6 +392,7 @@ static void stereo_merge(celt_norm *X, celt_norm *Y, opus_val16 mid, int N) } } +#if 0 /* Decide whether we should spread the pulses in the current frame */ int spreading_decision(const CELTMode *m, celt_norm *X, int *average, int last_decision, int *hf_average, int *tapset_decision, int update_hf, @@ -482,6 +485,7 @@ int spreading_decision(const CELTMode *m, celt_norm *X, int *average, #endif return decision; } +#endif #ifdef MEASURE_NORM_MSE -- cgit v1.2.3