[FFmpeg-devel] [PATCH] Dsputilize some functions from APE decode 1/2 - Altivec implementation

Loren Merritt lorenm
Thu Jul 10 16:43:12 CEST 2008


On Thu, 10 Jul 2008, Kostya wrote:

> On Tue, Jul 08, 2008 at 03:18:12PM -0600, Loren Merritt wrote:
>> Entirely untested (I don't have a ppc), but this looks like it should be
>> faster. Your other functions would benefit from similar.
>> For that matter, a whole lot of dsp functions put lvsl inside the loop
>> when it should be constant (assuming stride%16==0).
>>
>> --Loren Merritt
>
> It does not work as supposed modifying only the start of output array.
> Thanks for trying anyway.

That's what I get for trying to write without a compiler.
should be
+        pv1 += 2;
+        pv2 += 2;

--Loren Merritt




More information about the ffmpeg-devel mailing list