Home | History | Annotate | Download | only in libpng

Lines Matching full:z_cmf

653       unsigned int z_cmf = data[0];  /* zlib compression method and flags */
654 if ((z_cmf & 0x0f) == 8 && (z_cmf & 0xf0) <= 0x70)
667 unsigned int z_cinfo = z_cmf >> 4;
675 z_cmf = (z_cmf & 0x0f) | (z_cinfo << 4);
676 if (data[0] != (png_byte)z_cmf)
678 data[0] = (png_byte)z_cmf;
680 data[1] += (png_byte)(0x1f - ((z_cmf << 8) + data[1]) % 0x1f);