summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libmusepack/internal.h
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-04-18 18:12:32 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-04-18 18:12:32 +0000
commit1cd1e66ed361d908b517d224aab6da0cc8693f1e (patch)
treee58d1aef6ff391403297f1587480ee7fe8224118 /apps/codecs/libmusepack/internal.h
parentbe55f19ffd01f994e11b8dc3051c7b69260735ff (diff)
downloadrockbox-1cd1e66ed361d908b517d224aab6da0cc8693f1e.tar.gz
rockbox-1cd1e66ed361d908b517d224aab6da0cc8693f1e.zip
Clean up libmusepack: move declarations to internal.h and set svn properties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25676 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmusepack/internal.h')
-rw-r--r--apps/codecs/libmusepack/internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/codecs/libmusepack/internal.h b/apps/codecs/libmusepack/internal.h
index d12c39c96b..c4d789f617 100644
--- a/apps/codecs/libmusepack/internal.h
+++ b/apps/codecs/libmusepack/internal.h
@@ -100,6 +100,18 @@ static mpc_inline mpc_status mpc_check_key(char * key)
mpc_uint32_t mpc_random_int(mpc_decoder *d); // in synth_filter.c
void mpc_decoder_init_quant(mpc_decoder *d, double scale_factor);
void mpc_decoder_synthese_filter_float(mpc_decoder *d, MPC_SAMPLE_FORMAT* OutData, mpc_int_t channels);
+unsigned long mpc_crc32(unsigned char *buf, int len);
+
+// streaminfo.c
+mpc_status streaminfo_read_header_sv8(mpc_streaminfo* si,
+ const mpc_bits_reader * r_in,
+ mpc_size_t block_size);
+mpc_status streaminfo_read_header_sv7(mpc_streaminfo* si, mpc_bits_reader * r_in);
+void streaminfo_encoder_info(mpc_streaminfo* si, const mpc_bits_reader * r_in);
+void streaminfo_gain(mpc_streaminfo* si, const mpc_bits_reader * r_in);
+
+// mpc_decoder.c
+void mpc_decoder_reset_scf(mpc_decoder * d, int value);
#ifdef __cplusplus
}