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

Loren Merritt lorenm
Sat Mar 31 10:17:36 CEST 2007


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.
The pointers could be aligned to 8 elements, but aren't currently. 
Alignment would have to be applied to svq1.c:947 (block[]) and everything 
in svq1_cb.h

--Loren Merritt




More information about the ffmpeg-devel mailing list