[Ffmpeg-devel] [PATCH] flacenc - add basic stereo decorrelation

Justin Ruggles jruggle
Sun Jun 25 23:02:00 CEST 2006


Hello,

I'm sure there are going to be many suggestions along the way, so I
thought I should submit the additions to the FLAC encoder incrementally
instead of in one big enhancement patch.

So, here is the first.  It adds stereo decorrelation using an estimation
of which mode is likely to give the best compression.  This will be
enhanced in a future update by adding a more exhaustive method for
choosing the decorrelation mode.

The estimation method calculates the sum of squares for left, right,
mid, and side channels.  It uses the minimum of L+R, L+S, R+S, or M+S.
I am open to any suggestions for methods that might work better.

-Justin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: flac-midside.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060625/04ff600d/attachment.txt>



More information about the ffmpeg-devel mailing list