[FFmpeg-devel] [PATCH] AAC Decoder round 3

Robert Swain robert.swain
Wed Jul 9 18:49:24 CEST 2008


2008/7/8 Michael Niedermayer <michaelni at gmx.at>:
> On Tue, Jul 08, 2008 at 01:28:07PM +0100, Robert Swain wrote:
>> 2008/7/8 Michael Niedermayer <michaelni at gmx.at>:
>> > On Tue, Jul 08, 2008 at 06:31:36AM +0100, Robert Swain wrote:
>> >> 2008/7/8 Michael Niedermayer <michaelni at gmx.at>:
>> >> > On Tue, Jul 08, 2008 at 01:25:52AM +0100, Robert Swain wrote:
>> [...]
>> >> >> > and what does the _data postfix say?
>> >> >> > could you explain what a decode_pulses() would do different?
>> >> >>
>> >> >> All the decode_*_data() are parsing functions I believe. They could be
>> >> >> renamed parse_*() but most are called *_data() in the spec so maybe
>> >> >> the decode_ could be dropped. What would you prefer?
>> >> >
>> >> > I think i prefer decode_pulses() at least untill someone comes up with
>> >> > a better name
>> >>
>> >> OK. Do you want them all renaming?
>> >
>> > yes, id like to see _data() disapear.
>>
>> OK. I'll do this. Are there any of the other *_tool() to which you
>> take particular distaste? Do you want all *_tool() renaming as well?
>
> i want a grep '_tool()' aac* to fail [except in comments refering to the spec]

The attached patches remove the useless wrapper functions and rename
some functions and function pointers to what I think should be more
comprehensible. After their application, there are no more
decode_*_data or *_tool or *_trans.

I don't think they break anything but I should test files with TNS and
channel coupling.

Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-unnecessary-coupling_tool-and-transform_sce.patch
Type: text/x-diff
Size: 4304 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080709/df9a56d3/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Remove-useless-tns_trans-wrapper-function.patch
Type: text/x-diff
Size: 1615 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080709/df9a56d3/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Rename-some-functions-and-function-pointers.patch
Type: text/x-diff
Size: 7061 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080709/df9a56d3/attachment-0002.patch>



More information about the ffmpeg-devel mailing list