Lines Matching defs:ptr
1517 guchar *ptr = px + y * stride;
1519 *(ptr++) = r;
1520 *(ptr++) = g;
1521 *(ptr++) = b;
1522 *(ptr++) = 0xff;
1524 ptr += bytesPerPixel * (spacing - 1);
1530 guchar *ptr = px + ((height-1) * stride) + ((width - 1) * bytesPerPixel);
1538 ptr[-12] = r;
1539 ptr[-11] = g;
1540 ptr[-10] = b;
1541 ptr[-9] = 0xff;
1544 ptr[-4] = r;
1545 ptr[-3] = g;
1546 ptr[-2] = b;
1547 ptr[-1] = 0xff;
1554 ptr[0 - stride] = r;
1555 ptr[1 - stride] = g;
1556 ptr[2 - stride] = b;
1557 ptr[3 - stride] = 0xff;
1560 ptr[0 - stride * 3] = r;
1561 ptr[1 - stride * 3] = g;
1562 ptr[2 - stride * 3] = b;
1563 ptr[3 - stride * 3] = 0xff;