summaryrefslogtreecommitdiff
path: root/apps/codecs/libspeex/filters.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-11-06 17:10:17 +0000
committerThom Johansen <thomj@rockbox.org>2007-11-06 17:10:17 +0000
commitf5903789fb745d21644f93a82fd3e2404bb8ff65 (patch)
treec847ec2e48eb3ebc6343bb15f32558d7e302c280 /apps/codecs/libspeex/filters.c
parent3eed6fc0251eb5cdce4eda39e036df76838fa60e (diff)
downloadrockbox-f5903789fb745d21644f93a82fd3e2404bb8ff65.tar.gz
rockbox-f5903789fb745d21644f93a82fd3e2404bb8ff65.zip
Exclude some unneeded LSP code. Add some #endif clarification comments here and there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15497 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/filters.c')
-rw-r--r--apps/codecs/libspeex/filters.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libspeex/filters.c b/apps/codecs/libspeex/filters.c
index 9c144ebffa..13adc9c009 100644
--- a/apps/codecs/libspeex/filters.c
+++ b/apps/codecs/libspeex/filters.c
@@ -157,7 +157,7 @@ void signal_div(const spx_word16_t *x, spx_word16_t *y, spx_word32_t scale, int
157 } 157 }
158 } 158 }
159} 159}
160#endif 160#endif /* SPEEX_DISABLE_ENCODER */
161 161
162#else 162#else
163 163
@@ -342,7 +342,7 @@ void filter_mem16(const spx_word16_t *x, const spx_coef_t *num, const spx_coef_t
342 } 342 }
343} 343}
344#endif 344#endif
345#endif 345#endif /* SPEEX_DISABLE_ENCODER */
346 346
347#ifndef OVERRIDE_IIR_MEM16 347#ifndef OVERRIDE_IIR_MEM16
348void iir_mem16(const spx_word16_t *x, const spx_coef_t *den, spx_word16_t *y, int N, int ord, spx_mem_t *mem, char *stack) 348void iir_mem16(const spx_word16_t *x, const spx_coef_t *den, spx_word16_t *y, int N, int ord, spx_mem_t *mem, char *stack)
@@ -482,7 +482,7 @@ void qmf_decomp(const spx_word16_t *xx, const spx_word16_t *aa, spx_word16_t *y1
482 y2[k] = EXTRACT16(SATURATE(PSHR32(y2k,15),32767)); 482 y2[k] = EXTRACT16(SATURATE(PSHR32(y2k,15),32767));
483 } 483 }
484} 484}
485#endif 485#endif /* SPEEX_DISABLE_ENCODER */
486 486
487#ifndef OVERRIDE_QMF_SYNTH 487#ifndef OVERRIDE_QMF_SYNTH
488/* Re-synthesised a signal from the QMF low-band and high-band signals */ 488/* Re-synthesised a signal from the QMF low-band and high-band signals */