[FFmpeg-devel] [PATCH] WMA Voice decoder

Ronald S. Bultje rsbultje
Thu Feb 11 04:26:57 CET 2010


Hi,

On Wed, Feb 3, 2010 at 1:24 PM, Reimar D?ffinger
<Reimar.Doeffinger at gmx.de> wrote:
> On Tue, Feb 02, 2010 at 02:58:06PM -0500, Ronald S. Bultje wrote:
>> On Tue, Feb 2, 2010 at 11:35 AM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>> > (Work on aw_*() is still ongoing...)
>>
>> I have something without the crazy loops and using av_log2(), maybe
>> this is better?
>
> Almost certainly, you shouldn't be using a loop for just 10 bytes of data
> (that's the size of a single long double variable on x86 and on 64 bit fits
> in about just as many registers a you otherwise need just for the loop).

I removed the loop, but for practical reasons I used av_log2_16bit()
instead of av_log2().

Ronald



More information about the ffmpeg-devel mailing list