[Ffmpeg-devel] ac3enc.c modifications

Nico Sabbi nsabbi
Sat Apr 23 11:21:52 CEST 2005

Justin Ruggles wrote:

> Hello,
> Here are some of the additions I've made to the ac3 encoder.  I've 
> added stereo rematrixing and channel gain range.  Stereo rematrixing 
> selectively uses [(L+R)/2, (L-R)/2] instead of [L, R] when the 2 
> channels are similar.  Channel gain range is used in the decoder to 
> increase dynamic range.  The only thing I've changed (rather than 
> added) is on line 1404.  I changed v-8 to v-9 because I noticed that 
> the output was too quiet.  Using v-8, the exponent is limited to 1-24 
> instead of 0-24.  Changing to v-9 fixes this.
> Let me know what you think.
> -Justin

I'd like to test this patch but patch doesn't accept it, complaining 
it's incorrect.
Can you update it against current cvs, please?


More information about the ffmpeg-devel mailing list