[Ffmpeg-devel] [PATCH] updated LGPL AC-3 decoder

Justin Ruggles justinruggles
Sat Feb 10 16:57:39 CET 2007


Michael Niedermayer wrote:
> Hi
> 
> On Sat, Feb 10, 2007 at 01:02:20AM -0500, Justin Ruggles wrote:
> 
>>Hello,
>>
>>Here is what I have so far in my attempts to merge the AC-3 decoder
>>written by Kartikey Mahendra BHATT for the Google Summer of Code.  There
>>are some things which still need work, and I have some enhancements
>>planned for after it's included.  Right now, this gives generally
>>working results, but has some issues.
>>
>>The 256-point MDCT is not working correctly.  I'm still trying to get
>>that fixed.  Also, the downmixing seems to not always work like it
>>should.  The code could use some clean-up as well.
>>
>>The patch I've attached is against current SVN.  The ac3.c and
>>ac3_decoder.c files go into libavcodec.  When it's committed, ac3.c will
>>be created by doing an svn copy of ac3enc.c and then patching it to what
>>I've included here.  I think I got the build system stuff right, but I'm
>>not completely sure.
> 
> 
> you should have diffed ac3.c against ac3enc.c then, also keep in mind
> that code duplication (i dont know if theres any after the copy and patch) is
> unacceptable
> 

Thanks for the review.  I was trying to change as little code in the
decoder as possible since I'm not the original author, but I'll go ahead
and delve into it more to clean it up and add your suggestions.

I'll also look closer for any code duplication I may have missed.  As
far as your suggested changes to the bit allocation, I have many changes
ready for that as well, but thought it would be simpler to just leave it
as-is first with svn copy and improve it after.  That said, I'll go
ahead and post my suggested changes all at once, knowing it's understood
that it will be multiple commits.

Thanks,
Justin




More information about the ffmpeg-devel mailing list