Help - Search - Members - Calendar
Full Version: Flac Frame size
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
koliyat raghunath
Hi All,

I am designing flac decoder for an embeded aplication.The flac document gives some information about the maximum size of uncompressed size for the subset(I think present encoder support only 16384 MAX_BLOCK SIZE)(http://flac.sourceforge.net/format.html ).I need to fix the maximum frame size(Compressed data) independent of streamss.


Can any one suggest,How to calculate maximum frame size before decoding



Regards,
Raghunath.K.P

pdq
Unless I'm mistaken, it is theoretically possible for the lossless compressed data to be larger than the uncompressed. Lossless compression relies on some redundancy in the data to achieve compression. If there is no redundancy then there is no compression. Hopefully nobody is going to compress random data, but theoretically that could happen.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.