mswlogo;420356 Wrote: 
> Sorry Sean the files will come out about the same. It does recognize
> essentially zero net new content. A huffman code scheme would do it.
> 
> I did flac to flac to assure it's using the same version of flac.
> I did flac to 24bit wav to flac (same compression level default 5).
> 
> They are nearly identical in size.
> 
> 24bit (27.25MB 8 LSBs are zero)
> 16bit (27.19MB)
> 

Interesting... although I'm still not clear as to why it works. FLAC
uses rice coding on a sample-by-sample basis, not a general
byte-at-a-time huffman/dictionary/window scheme (which would be useless
for audio). Makes me wonder if it's handled as a special case...

... ah yes, here it is:

SUBFRAME_HEADER
[...]

<1+k>   'Wasted bits-per-sample' flag:

* 0 : no wasted bits-per-sample in source subblock, k=0
* 1 : k wasted bits-per-sample in source subblock, k-1 follows,
unary coded; e.g. k=3 => 001 follows, k=7 => 0000001 follows.


-- 
seanadams
------------------------------------------------------------------------
seanadams's Profile: http://forums.slimdevices.com/member.php?userid=3
View this thread: http://forums.slimdevices.com/showthread.php?t=62874

_______________________________________________
audiophiles mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/audiophiles

Reply via email to