[FFmpeg-devel] [PATCH] Optimization of original IFF codec

Måns Rullgård mans
Mon Apr 26 20:04:12 CEST 2010


Sebastian Vater <cdgs.basty at googlemail.com> writes:

> Hi Mans!
>
> M?ns Rullg?rd a ?crit :
>> This is inefficient.  You are building the table afresh on each call
>> to the function.  Make the table static const, dropping the shift, and
>> instead shift the table value inside the loop.
>>   
> I just benchmarked both, my solution is way faster:

I don't believe that, simply because it has more work to do.  How did
you benchmark it?

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list