On Mon, Feb 20, 2006 at 07:37:40PM +0530, parul wrote:> Hi,
>
> Have anybody worked on converting OggVorbis encoder floating point code
> to fixed point (32 bit or 24 bit). How do you handle _vp_noisemask in
> that case where precision goes upto 40 bits. Any help available?
If you're working on the encoder (ie, that wasn't a typo and you meant
'decoder'), you need not worry about any features you don't plan to
use yourself. The full 40 bit range covers the possible range of many
mutually exclusive techniques of using the floor and reside. In any
one given implementation, you are highly unlikely to need that kind of
range.
A valid encoder need only output valid streams; a valid stream is one
a valid decoder can successfully decode. It makes no sense for an
encoder to implement spec features it will never itself use.
Monty