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