[Ffmpeg-devel] FLAC encoder

Michael Niedermayer michaelni
Sat May 27 06:52:15 CEST 2006


Hi

On Sat, May 27, 2006 at 12:31:46AM -0400, Justin Ruggles wrote:
> Michael Niedermayer wrote:
> > the number of bits for a single symbol is (data>>k) + k + 1 for all symbols
> > n to m its obviously (m-n)*(k+1) + sum of (data[i]>>k)
> > and "sum of (data[i]>>k)" is just the sum of the corresponding partial sums
> > for that area
> 
> So is all that partial sums calculation just to speed up calculation of
> "sum of (data[i]>>k)" ?  

yes

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list