Menu

Commit [r2769]  Maximize  Restore  History

No problem with gcc3. BUT on OSX 10.4 the warning (with caution it will be

fatal eventually):

bsad.c: In function 'bsad_altivec':
bsad.c:160: warning: target of assignment not really an lvalue; this will be a hard error in the future

on Fedora Core4 Test3 it's a fatal error.
https://sourceforge.net/tracker/?func=detail&atid=105776&aid=1206626&group_id=5776

Fix is to cast the return value to the variable type. Intead of

vu8(fH) = vec_mergeh(zero, vf);

use something like:

fH = vu16(vec_mergeh(zero, vf));

sms00 2005-05-29

changed /trunk/mjpeg_play/utils/altivec/sad_10.c
/trunk/mjpeg_play/utils/altivec/sad_10.c Diff Switch to side-by-side view
Loading...
Auth0 Logo