Lines Matching defs:cp
272 unsigned char* cp = (unsigned char*) cp0;
279 unsigned int cr = cp[0];
280 unsigned int cg = cp[1];
281 unsigned int cb = cp[2];
283 cp += 3;
285 cp[0] = (unsigned char) ((cr += cp[0]) & 0xff);
286 cp[1] = (unsigned char) ((cg += cp[1]) & 0xff);
287 cp[2] = (unsigned char) ((cb += cp[2]) & 0xff);
289 cp += 3;
292 unsigned int cr = cp[0];
293 unsigned int cg = cp[1];
294 unsigned int cb = cp[2];
295 unsigned int ca = cp[3];
297 cp += 4;
299 cp[0] = (unsigned char) ((cr += cp[0]) & 0xff);
300 cp[1] = (unsigned char) ((cg += cp[1]) & 0xff);
301 cp[2] = (unsigned char) ((cb += cp[2]) & 0xff);
302 cp[3] = (unsigned char) ((ca += cp[3]) & 0xff);
304 cp += 4;
309 REPEAT4(stride, cp[stride] =
310 (unsigned char) ((cp[stride] + *cp) & 0xff); cp++)
383 uint8 *cp = (uint8 *) cp0;
392 REPEAT4(stride, cp[stride] =
393 (unsigned char) ((cp[stride] + cp[0]) & 0xff); cp++)
398 cp = (uint8 *) cp0;
403 cp[bps * count + byte] = tmp[byte * wc + count];
405 cp[bps * count + byte] =
467 unsigned char* cp = (unsigned char*) cp0;
478 unsigned int r2 = cp[0];
479 unsigned int g2 = cp[1];
480 unsigned int b2 = cp[2];
482 r1 = cp[3]; cp[3] = (unsigned char)((r1-r2)&0xff); r2 = r1;
483 g1 = cp[4]; cp[4] = (unsigned char)((g1-g2)&0xff); g2 = g1;
484 b1 = cp[5]; cp[5] = (unsigned char)((b1-b2)&0xff); b2 = b1;
485 cp += 3;
489 unsigned int r2 = cp[0];
490 unsigned int g2 = cp[1];
491 unsigned int b2 = cp[2];
492 unsigned int a2 = cp[3];
494 r1 = cp[4]; cp[4] = (unsigned char)((r1-r2)&0xff); r2 = r1;
495 g1 = cp[5]; cp[5] = (unsigned char)((g1-g2)&0xff); g2 = g1;
496 b1 = cp[6]; cp[6] = (unsigned char)((b1-b2)&0xff); b2 = b1;
497 a1 = cp[7]; cp[7] = (unsigned char)((a1-a2)&0xff); a2 = a1;
498 cp += 4;
501 cp += cc - 1;
503 REPEAT4(stride, cp[stride] = (unsigned char)((cp[stride] - cp[0])&0xff); cp--)
581 uint8 *cp = (uint8 *) cp0;
594 cp[byte * wc + count] = tmp[bps * count + byte];
596 cp[(bps - byte - 1) * wc + count] =
603 cp = (uint8 *) cp0;
604 cp += cc - stride - 1;
606 REPEAT4(stride, cp[stride] = (unsigned char)((cp[stride] - cp[0])&0xff); cp--)