Lines Matching refs:PUTPPMSAMPLE
39 #define PUTPPMSAMPLE(ptr, v) *ptr++ = (char)(v) macro
44 #define PUTPPMSAMPLE(ptr, v) *ptr++ = (char)((v) >> (BITS_IN_JSAMPLE - 8)) macro
49 #define PUTPPMSAMPLE(ptr, v) { \ macro
121 PUTPPMSAMPLE(bufferptr, *ptr++); in copy_pixel_rows()
147 PUTPPMSAMPLE(bufferptr, ptr[rindex]); in put_rgb()
148 PUTPPMSAMPLE(bufferptr, ptr[gindex]); in put_rgb()
149 PUTPPMSAMPLE(bufferptr, ptr[bindex]); in put_rgb()
174 PUTPPMSAMPLE(bufferptr, r); in put_cmyk()
175 PUTPPMSAMPLE(bufferptr, g); in put_cmyk()
176 PUTPPMSAMPLE(bufferptr, b); in put_cmyk()
204 PUTPPMSAMPLE(bufferptr, color_map0[pixval]); in put_demapped_rgb()
205 PUTPPMSAMPLE(bufferptr, color_map1[pixval]); in put_demapped_rgb()
206 PUTPPMSAMPLE(bufferptr, color_map2[pixval]); in put_demapped_rgb()
225 PUTPPMSAMPLE(bufferptr, color_map[*ptr++]); in put_demapped_gray()