Hi all,

>>>>> "M" == Mark Taylor <[EMAIL PROTECTED]> writes:

    M> As implemented, after the quantization is computed it will then
    M> find more efficient huffman encoding.  The extra bits will then
    M> be added to the reservoir.

I implemented and checked in the CVS to simple & fast use of
scalefac_scale using the same method as this "best huffman coding finding".

    M> I ran my usual test that I run when the huffman encoding is
    M> made more efficient:

    M> old.mp3: original code with --nores new.mp3: new code, with new
    M> huffman encoding but all saved bits wasted.

    M> new.mp3 and old.mp3 of course differ in almost every frame,
    M> but:

    M> mpg123 -w new.wav new.mp3
    M> mpg123 -w old.wav old.mp3

    M> and new.wav and old.wav are bit-for-bit identical.

I tested this new scalefac_scale method as same as you did....
Uuum it is "not" bit-for-bit identical, but is only LSB order,
so it seems because of mpg123's floating point rounding problem.

please test and comment this.
--- 
Takehiro TOMINAGA // may the source be with you!
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to