I am using an imx6q board to capture a raw10 bit image. I need to scale it from 10 bit to 16 bit .
I did necessary changes such as disabling the compander . I am able to get 16 bit image as output.
My doubt is that how scaling is done to make 10bit to 16 bit . Whether 0's or 1's are simply added for extra bits to make it 16 bit or any other technique is used?
Where can i find the code portion for scaling ?