Lines Matching refs:gptr
337 * gptr: destination gray scale buffer
342 pixma_r_to_ir (uint8_t * gptr, uint8_t * sptr, unsigned w, unsigned c)
350 *gptr++ = *sptr++;
351 if (c == 6) *gptr++ = *sptr++; /* 48 bit RGB: high byte */
354 return gptr;
362 * gptr: destination gray scale buffer
367 pixma_rgb_to_gray (uint8_t * gptr, uint8_t * sptr, unsigned w, unsigned c)
391 *gptr++ = g;
392 if (c == 6) *gptr++ = (g >> 8); /* 16 bit gray: high byte */
394 return gptr;