void byte_avg0 (u_long size, u_char *a, u_char *b, u_char *c) { int i; for (i = 0; i < size; ++i) c[i] = (a[i] + b[i]) / 2; }