Ignore:
Timestamp:
04/24/07 15:07:19 (17 years ago)
Author:
r2d
Message:

Improved sv8 huffman decoding using canonical property of the huffman tables. It reduces memory usage for the tables and improves speed (mainly with small LUT size).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/libmpcdec/huffman.h

    r290 r296  
    6969} mpc_lut_data;
    7070
     71/// Type used for canonical huffman decoding
     72typedef struct mpc_can_data_t {
     73        const mpc_huffman * table;
     74        const mpc_int8_t * sym;
     75        mpc_huff_lut lut[1 << LUT_DEPTH];
     76} mpc_can_data;
     77
    7178void huff_init_lut(const int bits);
    7279
Note: See TracChangeset for help on using the changeset viewer.