25 const uint8_t
ff_pngsig[8] = {137, 80, 78, 71, 13, 10, 26, 10};
26 const uint8_t
ff_mngsig[8] = {138, 77, 78, 71, 13, 10, 26, 10};
30 0x80, 0x80, 0x08, 0x88, 0x22, 0xaa, 0x55,
45 0x80, 0x08, 0x88, 0x22, 0xaa, 0x55, 0xff
50 if(items >= UINT_MAX / size)
75 int shift, xmin, pass_width;
81 pass_width = (width - xmin + (1 << shift) - 1) >> shift;
82 return (pass_width * bits_per_pixel + 7) >> 3;