public static extern MVSTATUS_CODES MVBayerToBGR(IntPtr hCam, IntPtr psrc, IntPtr pdst, uint dststep, uint width, uint height, MV_PixelFormatEnums pixelformat);
public static extern MVSTATUS_CODES MVGetPixelFormat(IntPtr hCam, out MV_PixelFormatEnums pPixelFormat);