This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Can v4l2 capture driver accept pre processed camera data (yuv 422 ) from camera instead of RAW Bayer

Hi ,

I'm using DM 365 Leopard board. I ;ve interfaced it with hynix 253 camera which gives o/p in yuv 422 format. The camera image is already pre processed and does not require any video analytics like Gamma correction, AWB etc to be applied. The driver checks if  the interface type is RAW BAYER or ITU 656 or BT 1112. The camera is connected through the ISIF and not from an external decoder.

 

The Leopard board which comes with the mt9p031 is replaced with hynix 253 and all other interfaces being the same. so the interfacing with DM 368 is not changed. the camera cannot give raw bayer o/p, instead it gives in yuv 422. The v4l2 capture driver assumes that the camera should give o/p in raw bayer 10 bit.

 

Has any one modified the driver code which accepts the pre processed camera image without having an external decoder ? I'm using linux 2.6.32.17 kernel