summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/celt/bands.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/bands.c')
-rw-r--r--lib/rbcodec/codecs/libopus/celt/bands.c4
1 files changed, 4 insertions, 0 deletions
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)
73 -FRAC_MUL16(icos, FRAC_MUL16(icos, -2597) + 7932); 73 -FRAC_MUL16(icos, FRAC_MUL16(icos, -2597) + 7932);
74} 74}
75 75
76#if 0
76#ifdef FIXED_POINT 77#ifdef FIXED_POINT
77/* Compute the amplitude (sqrt energy) in each of the bands */ 78/* Compute the amplitude (sqrt energy) in each of the bands */
78void compute_band_energies(const CELTMode *m, const celt_sig *X, celt_ener *bandE, int end, int C, int M) 79void 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
170} 171}
171 172
172#endif /* FIXED_POINT */ 173#endif /* FIXED_POINT */
174#endif
173 175
174/* De-normalise the energy to produce the synthesis from the unit-energy bands */ 176/* De-normalise the energy to produce the synthesis from the unit-energy bands */
175void 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) 177void 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)
390 } 392 }
391} 393}
392 394
395#if 0
393/* Decide whether we should spread the pulses in the current frame */ 396/* Decide whether we should spread the pulses in the current frame */
394int spreading_decision(const CELTMode *m, celt_norm *X, int *average, 397int spreading_decision(const CELTMode *m, celt_norm *X, int *average,
395 int last_decision, int *hf_average, int *tapset_decision, int update_hf, 398 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,
482#endif 485#endif
483 return decision; 486 return decision;
484} 487}
488#endif
485 489
486#ifdef MEASURE_NORM_MSE 490#ifdef MEASURE_NORM_MSE
487 491