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);
36 buf[0] = (png_byte)((i >> 24) & 0xff);
37 buf[1] = (png_byte)((i >> 16) & 0xff);
38 buf[2] = (png_byte)((i >> 8) & 0xff);
39 buf[3] = (png_byte)(i & 0xff);
50 buf[0] = (png_byte)((i >> 8) & 0xff);
51 buf[1] = (png_byte)(i & 0xff);
80 png_byte buf[4];
114 png_byte buf[4];
131 png_byte png_signature[8] = {137, 80, 78, 71, 13, 10, 26, 10};
378 png_byte buf[13]; /* buffer to store the IHDR info */
465 png_ptr->bit_depth = (png_byte)bit_depth;
466 png_ptr->color_type = (png_byte)color_type;
467 png_ptr->interlaced = (png_byte)interlace_type;
469 png_ptr->filter_type = (png_byte)filter_type;
471 png_ptr->compression_type = (png_byte)compression_type;
475 png_ptr->pixel_depth = (png_byte)(bit_depth * png_ptr->channels);
485 buf[8] = (png_byte)bit_depth;
486 buf[9] = (png_byte)color_type;
487 buf[10] = (png_byte)compression_type;
488 buf[11] = (png_byte)filter_type;
489 buf[12] = (png_byte)interlace_type;
545 png_byte buf[3];
634 if (data[0] != (png_byte)z_cmf)
636 data[0] = (png_byte)z_cmf;
638 data[1] += (png_byte)(0x1f - ((z_cmf << 8) + data[1]) % 0x1f);
674 png_byte buf[4];
690 png_byte buf[4];
708 png_byte buf[1];
714 buf[0]=(png_byte)srgb_intent;
774 png_byte entrybuf[10];
802 entrybuf[0] = (png_byte)ep->red;
803 entrybuf[1] = (png_byte)ep->green;
804 entrybuf[2] = (png_byte)ep->blue;
805 entrybuf[3] = (png_byte)ep->alpha;
824 entrybuf[0] = (png_byte)ep[i].red;
825 entrybuf[1] = (png_byte)ep[i].green;
826 entrybuf[2] = (png_byte)ep[i].blue;
827 entrybuf[3] = (png_byte)ep[i].alpha;
855 png_byte buf[4];
862 png_byte maxbits;
864 maxbits = (png_byte)(color_type==PNG_COLOR_TYPE_PALETTE ? 8 :
914 png_byte buf[32];
979 png_byte buf[32];
1032 png_byte buf[6];
1086 png_byte buf[6];
1140 png_byte buf[3];
1202 if (*kp < 0x20 || (*kp > 0x7E && (png_byte)*kp < 0xA1))
1373 buf[0] = (png_byte)compression;
1395 png_byte cbuf[2];
1477 png_byte buf[9];
1485 buf[8] = (png_byte)unit_type;
1502 png_byte buf[10];
1533 buf[8] = (png_byte)type;
1534 buf[9] = (png_byte)nparams;
1562 png_byte bunit = unit;
1600 png_byte bunit = unit;
1630 png_byte buf[9];
1638 buf[8] = (png_byte)unit_type;
1654 png_byte buf[7];
1935 *dp++ = (png_byte)d;
1943 *dp = (png_byte)d;
1969 *dp++ = (png_byte)d;
1976 *dp = (png_byte)d;
2002 *dp++ = (png_byte)d;
2009 *dp = (png_byte)d;
2064 png_byte filter_to_do = png_ptr->do_filter;
2169 *dp = (png_byte)(((int)*rp - (int)*lp) & 0xff);
2226 v = *dp = (png_byte)(((int)*rp - (int)*lp) & 0xff);
2282 *dp = (png_byte)(((int)*rp - (int)*pp) & 0xff);
2329 v = *dp++ = (png_byte)(((int)*rp++ - (int)*pp++) & 0xff);
2383 *dp++ = (png_byte)(((int)*rp++ - ((int)*pp++ / 2)) & 0xff);
2387 *dp++ = (png_byte)(((int)*rp++ - (((int)*pp++ + (int)*lp++) / 2))
2434 v = *dp++ = (png_byte)(((int)*rp++ - ((int)*pp++ / 2)) & 0xff);
2441 (png_byte)(((int)*rp++ - (((int)*pp++ + (int)*lp++) / 2)) & 0xff);
2495 *dp++ = (png_byte)(((int)*rp++ - (int)*pp++) & 0xff);
2521 *dp++ = (png_byte)(((int)*rp++ - p) & 0xff);
2567 v = *dp++ = (png_byte)(((int)*rp++ - (int)*pp++) & 0xff);
2606 v = *dp++ = (png_byte)(((int)*rp++ - p) & 0xff);