On Sat, Oct 18, 2003 at 07:21:08PM +0000, Dan Stowell wrote:
> I asked a few questions about the flac format a couple of weeks ago.
> One more (if you don't mind) about the Rice coding. The Rice
> parameter "k" can't be zero (unless I'm mistaken), yet the FLAC spec
> says the Rice parameter can range from 0 to 15.
> 
> I guessed, and tried adding one before using the parameter (i.e.
> assuming the range was really 1 to 16), and that didn't fix it.
> 
> How should I interpret those four little bits?

The spec is ok, Rice parameter can be 0 to 14, 15 is escape code. And
Rice parameter 0 means that only the unary part is used. For example
000001000010001001011 is -3 2 -2 1 -1 0.

-- 
Miroslav Lichvar


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Flac-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flac-dev

Reply via email to