You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidf(unsigned char*x, unsigned char*y, intn) {
// should have been vectorized into avgr_u instead of seperated vectorized add and logical right shiftfor (inti=0; i<n; i++)
x[i] = (x[i] +y[i] +1) / 2;
}