[x264-devel] PPC vector code problem: wrong output
    maaanuuu at gmx.net 
    maaanuuu at gmx.net
       
    Wed Nov 18 20:16:32 CET 2009
    
    
  
Hello,
I noticed the output of Altivec code doesn't match scalar code.  
(480x260 video, standard settings, gcc 4.0.1, apple build 5493). I  
tracked the problem down to x264_satd_8x8_altivec called in  
x264_slicetype_mb_cost in slicetype.c, line 440. I think pix1 loads  
cross 16 byte boundaries, so VEC_DIFF_H fails to load pix1 properly.
As I don't know how to fix it the best way, I can't provide a patch.
Regards,
Manuel
    
    
More information about the x264-devel
mailing list