From 2b483958f961637e296432632a5b891eb061c22d Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Mon, 30 Jan 2006 01:00:40 +0000 Subject: Synced libmpcdec to musepack.net SVN. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8488 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libmusepack/huffman.h | 32 +++++--------------------------- 1 file changed, 5 insertions(+), 27 deletions(-) (limited to 'apps/codecs/libmusepack/huffman.h') diff --git a/apps/codecs/libmusepack/huffman.h b/apps/codecs/libmusepack/huffman.h index a769fece4b..3edbeb7b6e 100644 --- a/apps/codecs/libmusepack/huffman.h +++ b/apps/codecs/libmusepack/huffman.h @@ -35,8 +35,8 @@ /// \file huffman.h /// Data structures and functions for huffman coding. -#ifndef _musepack_huffman_h_ -#define _musepack_huffman_h_ +#ifndef _mpcdec_huffman_h_ +#define _mpcdec_huffman_h_ #include "config_types.h" #include "decoder.h" @@ -46,30 +46,8 @@ struct mpc_decoder_t; // forward declare to break circular dependencies /// Huffman table entry. typedef struct huffman_type_t { mpc_uint32_t Code; - mpc_uint32_t Length; - mpc_int32_t Value; + mpc_uint16_t Length; + mpc_int16_t Value; } HuffmanTyp; -//! \brief Sorts huffman-tables by codeword. -//! -//! offset resulting value. -//! \param elements -//! \param Table table to sort -//! \param offset offset of resulting sort -void -mpc_decoder_resort_huff_tables( - const mpc_uint32_t elements, HuffmanTyp *Table, const mpc_int32_t offset); - -/// Initializes sv6 huffman decoding structures. -void mpc_decoder_init_huffman_sv6(struct mpc_decoder_t *d); - -/// Initializes sv6 huffman decoding tables. -void mpc_decoder_init_huffman_sv6_tables(struct mpc_decoder_t *d); - -/// Initializes sv7 huffman decoding structures. -void mpc_decoder_init_huffman_sv7(struct mpc_decoder_t *d); - -/// Initializes sv7 huffman decoding tables. -void mpc_decoder_init_huffman_sv7_tables(struct mpc_decoder_t *d); - -#endif // _musepack_huffman_h_ +#endif // _mpcdec_huffman_h_ -- cgit v1.2.3