Searched refs:z_cmf (Results 1 – 4 of 4) sorted by relevance
258 unsigned int z_cmf = data[0]; /* zlib compression method and flags */ in optimize_cmf() local260 if ((z_cmf & 0x0f) == 8 && (z_cmf & 0xf0) <= 0x70) in optimize_cmf()265 z_cinfo = z_cmf >> 4; in optimize_cmf()279 z_cmf = (z_cmf & 0x0f) | (z_cinfo << 4); in optimize_cmf()281 data[0] = (png_byte)z_cmf; in optimize_cmf()283 tmp += 0x1f - ((z_cmf << 8) + tmp) % 0x1f; in optimize_cmf()
653 unsigned int z_cmf = data[0]; /* zlib compression method and flags */ in png_write_IDAT() local654 if ((z_cmf & 0x0f) == 8 && (z_cmf & 0xf0) <= 0x70) in png_write_IDAT()667 unsigned int z_cinfo = z_cmf >> 4; in png_write_IDAT()675 z_cmf = (z_cmf & 0x0f) | (z_cinfo << 4); in png_write_IDAT()676 if (data[0] != (png_byte)z_cmf) in png_write_IDAT()678 data[0] = (png_byte)z_cmf; in png_write_IDAT()680 data[1] += (png_byte)(0x1f - ((z_cmf << 8) + data[1]) % 0x1f); in png_write_IDAT()