From: nimaje mohan <[EMAIL PROTECTED]>
Subject: [mp3encoder] Why adj43[] ?
Date: Thu, 26 Jun 2003 01:44:24 -0700 (PDT)

> Hi,
>  Can anybody tell what is the purpose of adj43[] array
> in quantize_xrpow() in LAME MP3 Encoder? I mean why is
> this adjustment required? Also I didn't understand,
> why adj43[] array is initialised the way it is done.

See the comments before "quantize_xrpow()" function.

 * nonlinear quantization of xr 
 * More accurate formula than the ISO formula.  Takes into account
 * the fact that we are quantizing xr -> ix, but we want ix^4/3 to be 
 * as close as possible to x^4/3.  (taking the nearest int would mean
 * ix is as close as possible to xr, which is different.)

That's all.
adj43 is initialized to fit the requirement.
-- 
Takehiro TOMINAGA // may the source be with you!
_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to