Lines Matching refs:pnghdr
2141 mz_uint8 pnghdr[41] = { 0x89, 0x50, 0x4e, 0x47, 0x0d, in tdefl_write_image_to_png_file_in_memory_ex() local
2150 pnghdr[18] = (mz_uint8)(w >> 8); in tdefl_write_image_to_png_file_in_memory_ex()
2151 pnghdr[19] = (mz_uint8)w; in tdefl_write_image_to_png_file_in_memory_ex()
2152 pnghdr[22] = (mz_uint8)(h >> 8); in tdefl_write_image_to_png_file_in_memory_ex()
2153 pnghdr[23] = (mz_uint8)h; in tdefl_write_image_to_png_file_in_memory_ex()
2154 pnghdr[25] = chans[num_chans]; in tdefl_write_image_to_png_file_in_memory_ex()
2155 pnghdr[33] = (mz_uint8)(*pLen_out >> 24); in tdefl_write_image_to_png_file_in_memory_ex()
2156 pnghdr[34] = (mz_uint8)(*pLen_out >> 16); in tdefl_write_image_to_png_file_in_memory_ex()
2157 pnghdr[35] = (mz_uint8)(*pLen_out >> 8); in tdefl_write_image_to_png_file_in_memory_ex()
2158 pnghdr[36] = (mz_uint8)*pLen_out; in tdefl_write_image_to_png_file_in_memory_ex()
2159 c = (mz_uint32)mz_crc32(MZ_CRC32_INIT, pnghdr + 12, 17); in tdefl_write_image_to_png_file_in_memory_ex()
2161 ((mz_uint8 *)(pnghdr + 29))[i] = (mz_uint8)(c >> 24); in tdefl_write_image_to_png_file_in_memory_ex()
2162 memcpy(out_buf.m_pBuf, pnghdr, 41); in tdefl_write_image_to_png_file_in_memory_ex()