Changeset 290 for libmpc/branches/r2d/libmpcdec/huffman.h
- Timestamp:
- 04/23/07 16:47:30 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libmpcdec/huffman.h
r288 r290 47 47 #endif 48 48 49 // LUT size parameter, LUT size is 1 << LUT_DEPTH 50 #define LUT_DEPTH 6 51 49 52 /// Huffman table entry. 50 53 typedef struct mpc_huffman_t { … … 54 57 } mpc_huffman; 55 58 59 /// Huffman LUT entry. 60 typedef struct mpc_huff_lut_t { 61 mpc_uint8_t Length; 62 mpc_int8_t Value; 63 } mpc_huff_lut; 64 65 /// Type used for huffman LUT decoding 66 typedef struct mpc_lut_data_t { 67 const mpc_huffman * table; 68 mpc_huff_lut lut[1 << LUT_DEPTH]; 69 } mpc_lut_data; 70 71 void huff_init_lut(const int bits); 72 56 73 #ifdef __cplusplus 57 74 }
Note: See TracChangeset
for help on using the changeset viewer.