Ignore:
Timestamp:
12/18/06 20:52:54 (17 years ago)
Author:
r2d
Message:
  • changed entropy coding (all huffman tables are canonical)
  • scalefactor range now -6..121, no more clipping
  • compression gain is 2.36% on the test file
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/libmpcdec/mpc_demux.c

    r152 r161  
    312312        if (d->si.stream_version >= 8) {
    313313                mpc_bits_reader r;
     314                i->is_key_frame = MPC_FALSE;
    314315                if (d->block_bits < 8 && d->end == MPC_FALSE) {
    315                         mpc_block b;
     316                        mpc_block b = {{0,0},0};
    316317                        d->bits_reader.count &= -8;
    317318                        if (d->d->decoded_samples == (d->seek_table_size << d->seek_pwr) * MPC_FRAME_LENGTH) {
     
    331332                        }
    332333                        d->block_bits = (mpc_uint32_t) b.size * 8;
     334                        i->is_key_frame = MPC_TRUE;
    333335                }
    334336                // FIXME : this is not good if block size > buffer size
Note: See TracChangeset for help on using the changeset viewer.