diff options
| author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-11 10:09:16 +0200 |
|---|---|---|
| committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-11 10:09:16 +0200 |
| commit | aaa87d78d6e8fe7b1ddaa910f2657952f117529f (patch) | |
| tree | df7f07d70fa3f6b25998918bbc476b2b68b73101 /src/libmusepack/musepack/huffman.h | |
| parent | 3325b9aa2a719ae200b18b8f44f0b2452c27d49d (diff) | |
| download | xine-lib-aaa87d78d6e8fe7b1ddaa910f2657952f117529f.tar.gz xine-lib-aaa87d78d6e8fe7b1ddaa910f2657952f117529f.tar.bz2 | |
Update libmpcdec (formerly libmusepack) to version 1.2.5, this also reduces the patching needed.
Contestually, move libmpcdec code in contrib/libmpcdec, so that it's not mixed together with xine code.
The use of MUSEPACK_LIBS/MUSEPACK_CFLAGS intermediate is to make simpler move to pkg-config checks if libmpcdec developers decide to install one.
Diffstat (limited to 'src/libmusepack/musepack/huffman.h')
| -rw-r--r-- | src/libmusepack/musepack/huffman.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/libmusepack/musepack/huffman.h b/src/libmusepack/musepack/huffman.h deleted file mode 100644 index 7f587771f..000000000 --- a/src/libmusepack/musepack/huffman.h +++ /dev/null @@ -1,41 +0,0 @@ -/// \file huffman.h -/// Data structures and functions for huffman coding. - -#ifndef _musepack_huffman_h_ -#define _musepack_huffman_h_ - -#include "musepack/config_types.h" -#include "musepack/decoder.h" - -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; -} 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_ |
