[Ffmpeg-devel] [RFC] svq1 very slow encoding

Luca Barbato lu_zero
Sat Mar 31 10:50:59 CEST 2007


Loren Merritt wrote:
> On Sat, 31 Mar 2007, Luca Barbato wrote:
> 
>> Loren Merritt wrote:
>>> +    int (*ssd_int8_vs_int16)(int8_t *pix1, int16_t *pix2, int size);
>>
>> Which are the constraints? I'm afraid I could mess up since I'm not that
>> proficient in x86 asm.
>>
>> lu - that is obviously writing the same opt for altivec.
> 
> size is a multiple of 8.

ok, so I'll have to add a epilogue for the remaining 8 (using it in
blocks of 16)

> The pointers could be aligned to 8 elements, but aren't currently.

Having everything 16 aligned would be nicer for me (8 shorts aligned is
fine, 8 char aligned isn't)

I'll try to cook up something with those constraints then ^^;

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list