Lines Matching refs:png_byte
34 /* png_byte color_type; color type of pixels */
35 /* png_byte bit_depth; bit depth of samples */
36 /* png_byte channels; number of channels (1-4) */
37 /* png_byte pixel_depth; bits per pixel (depth*channels) */
120 *dp = (png_byte)v;
126 *dp = (png_byte)v;
142 png_byte value;
144 value = (png_byte)(*sp & 0x03);
149 *dp = (png_byte)v;
158 *dp = (png_byte)v;
174 png_byte value;
176 value = (png_byte)(*sp & 0x0f);
182 *dp = (png_byte)v;
192 *dp = (png_byte)v;
196 row_info->bit_depth = (png_byte)bit_depth;
197 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
256 png_byte mask;
276 *bp |= (png_byte)((v << j) & 0xff);
278 *bp |= (png_byte)((v >> (-j)) & mask);
300 *bp |= (png_byte)((v << j) & 0xff);
302 *bp |= (png_byte)((v >> (-j)) & 0xff);
327 *bp++ = (png_byte)(value >> 8);
328 *bp++ = (png_byte)(value & 0xff);
354 png_byte save = *(sp++);
370 png_byte save[2];
395 png_byte save = *(sp++);
409 png_byte save[2];
445 *(dp++) = (png_byte)(255 - *(sp++));
463 *(dp++) = (png_byte)(255 - *(sp++));
464 *(dp++) = (png_byte)(255 - *(sp++));
480 *(dp++) = (png_byte)(255 - *(sp++));
494 *(dp++) = (png_byte)(255 - *(sp++));
495 *(dp++) = (png_byte)(255 - *(sp++));
531 *(rp) = (png_byte)((*rp - *(rp+1))&0xff);
532 *(rp+2) = (png_byte)((*(rp+2) - *(rp+1))&0xff);
554 *(rp ) = (png_byte)((red >> 8) & 0xff);
555 *(rp+1) = (png_byte)(red & 0xff);
556 *(rp+4) = (png_byte)((blue >> 8) & 0xff);
557 *(rp+5) = (png_byte)(blue & 0xff);