Lines Matching refs:png_byte
22 buf[0] = (png_byte)((i >> 24) & 0xff);
23 buf[1] = (png_byte)((i >> 16) & 0xff);
24 buf[2] = (png_byte)((i >> 8) & 0xff);
25 buf[3] = (png_byte)(i & 0xff);
35 buf[0] = (png_byte)((i >> 24) & 0xff);
36 buf[1] = (png_byte)((i >> 16) & 0xff);
37 buf[2] = (png_byte)((i >> 8) & 0xff);
38 buf[3] = (png_byte)(i & 0xff);
48 buf[0] = (png_byte)((i >> 8) & 0xff);
49 buf[1] = (png_byte)(i & 0xff);
79 png_byte buf[4];
115 png_byte buf[4];
134 png_byte png_signature[8] = {137, 80, 78, 71, 13, 10, 26, 10};
383 png_byte buf[13]; /* buffer to store the IHDR info */
470 png_ptr->bit_depth = (png_byte)bit_depth;
471 png_ptr->color_type = (png_byte)color_type;
472 png_ptr->interlaced = (png_byte)interlace_type;
474 png_ptr->filter_type = (png_byte)filter_type;
476 png_ptr->compression_type = (png_byte)compression_type;
480 png_ptr->pixel_depth = (png_byte)(bit_depth * png_ptr->channels);
490 buf[8] = (png_byte)bit_depth;
491 buf[9] = (png_byte)color_type;
492 buf[10] = (png_byte)compression_type;
493 buf[11] = (png_byte)filter_type;
494 buf[12] = (png_byte)interlace_type;
551 png_byte buf[3];
640 if (data[0] != (png_byte)z_cmf)
642 data[0] = (png_byte)z_cmf;
644 data[1] += (png_byte)(0x1f - ((z_cmf << 8) + data[1]) % 0x1f);
680 png_byte buf[4];
696 png_byte buf[4];
714 png_byte buf[1];
720 buf[0]=(png_byte)srgb_intent;
809 png_byte entrybuf[10];
837 entrybuf[0] = (png_byte)ep->red;
838 entrybuf[1] = (png_byte)ep->green;
839 entrybuf[2] = (png_byte)ep->blue;
840 entrybuf[3] = (png_byte)ep->alpha;
859 entrybuf[0] = (png_byte)ep[i].red;
860 entrybuf[1] = (png_byte)ep[i].green;
861 entrybuf[2] = (png_byte)ep[i].blue;
862 entrybuf[3] = (png_byte)ep[i].alpha;
890 png_byte buf[4];
897 png_byte maxbits;
899 maxbits = (png_byte)(color_type==PNG_COLOR_TYPE_PALETTE ? 8 :
949 png_byte buf[32];
1011 png_byte buf[32];
1064 png_byte buf[6];
1118 png_byte buf[6];
1172 png_byte buf[3];
1234 if ((png_byte)*kp < 0x20 ||
1235 ((png_byte)*kp > 0x7E && (png_byte)*kp < 0xA1))
1241 "invalid keyword character 0x%02X", (png_byte)*kp);
1413 buf[0] = (png_byte)compression;
1435 png_byte cbuf[2];
1522 png_byte buf[9];
1530 buf[8] = (png_byte)unit_type;
1546 png_byte buf[10];
1577 buf[8] = (png_byte
1578 buf[9] = (png_byte)nparams;
1644 png_byte buf[64];
1658 buf[0] = (png_byte)unit;
1679 png_byte buf[9];
1687 buf[8] = (png_byte)unit_type;
1703 png_byte buf[7];
1986 *dp++ = (png_byte)d;
1994 *dp = (png_byte)d;
2020 *dp++ = (png_byte)d;
2027 *dp = (png_byte)d;
2053 *dp++ = (png_byte)d;
2060 *dp = (png_byte)d;
2115 png_byte filter_to_do = png_ptr->do_filter;
2221 *dp = (png_byte)(((int)*rp - (int)*lp) & 0xff);
2278 v = *dp = (png_byte)(((int)*rp - (int)*lp) & 0xff);
2334 *dp = (png_byte)(((int)*rp - (int)*pp) & 0xff);
2381 v = *dp++ = (png_byte)(((int)*rp++ - (int)*pp++) & 0xff);
2435 *dp++ = (png_byte)(((int)*rp++ - ((int)*pp++ / 2)) & 0xff);
2439 *dp++ = (png_byte)(((int)*rp++ - (((int)*pp++ + (int)*lp++) / 2))
2486 v = *dp++ = (png_byte)(((int)*rp++ - ((int)*pp++ / 2)) & 0xff);
2493 (png_byte)(((int)*rp++ - (((int)*pp++ + (int)*lp++) / 2)) & 0xff);
2547 *dp++ = (png_byte)(((int)*rp++ - (int)*pp++) & 0xff);
2573 *dp++ = (png_byte)(((int)*rp++ - p) & 0xff);
2619 v = *dp++ = (png_byte)(((int)*rp++ - (int)*pp++) & 0xff);
2658 v = *dp++ = (png_byte)(((int)*rp++ - p) & 0xff);