Merge changes I487d4eef,Ia750811f

* changes:
  get rid of PixelFormatInfo and simplify things
  get rid of PIXEL_FORMAT_A_8