[Ffmpeg-devel] [PATCH] ac3 decoder

Justin Ruggles jruggle
Thu Sep 28 23:28:53 CEST 2006


Fabrice Bellard wrote:
> Benjamin Larsson wrote:
> 
>>Here is the patch with the ac3 decoder from SoC. Included is the patch
>>to enable the sse imdct from Loren Merrit.
>>
>>MvH
>>Benjamin Larsson
> 
> 
> IMHO, the AC3 decoder bit allocation should be factorized with the 
> encoder one (it should be by construction exactly the same function !).
> 
> Regards,
> 
> Fabrice.

The decoder & encoder bit allocation functions definitely have identical
results, but they are implemented slightly differently.  Unless someone
else does it first, I'll make an attempt at a common version this
weekend.  Also, there is some opportunity for optimization in both the
encoder and decoder implementations.  For example, when exponents & bit
allocation parameters are reused from the previous block, most of the
bit allocation routine can be skipped.

Thanks,
-Justin





More information about the ffmpeg-devel mailing list