modules/desktop_capture/x11/x_server_pixel_buffer.cc
bool IsXImageRGBFormat(XImage* image) {
  return image->bits_per_pixel == 32 &&
      image->red_mask == 0xff0000 &&
      image->green_mask == 0xff00 &&
      image->blue_mask == 0xff;
}
// Returns true if |image| is in RGB format.
Returns true if |image| is in RGB format.
Returns true if |image| is in RGB format .
bool IsXImageRGBFormat(XImage* image) {
  return image->bits_per_pixel == 32 &&
      image->red_mask == 0xff0000 &&
      image->green_mask == 0xff00 &&
      image->blue_mask == 0xff;
}
bool IsXImageRGBFormat ( XImage * image ) { return image -> bits_per_pixel == 32 && image -> red_mask == 0xff0000 && image -> green_mask == 0xff00 && image -> blue_mask == 0xff ; }
Returns true if |image| is in RGB format.
Returns true if |image| is in RGB format .