Hi all,

I think we can reduce "add_bits" for short block, because we've got a
more efficient huffman encoding for short block till LAME 3.32 with
my code.

# BTW, why you named the file such a "senseless" one, Mark ? :-)

in quantize.c, we set add_bits as below

    /* short blocks need extra, no matter what the pe */
    if (cod_info->block_type==2) 
      if (add_bits[ch]<500) add_bits[ch]=500;

With new huffman coding, we've got an about 10% improvement, so we can
change it as

    /* short blocks need extra, no matter what the pe */
    if (cod_info->block_type==2) 
      if (add_bits[ch]<450) add_bits[ch]=450;

I did not complete listening test, but I think this makes better mp3 file.
---
Takehiro TOMINAGA // may the source be with you!
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to