I am reading the image from the camera client and storing it in a char array. The format of the image is in bayer format. How to convert bayer to rgb format in qt?