IMX8MP CSI RAW12 data shifting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MP CSI RAW12 data shifting

35 Views
jjiimmyy
Contributor I

Hi,

Our sensor is sending RAW 12 ,but only 10 bits are valid. So

data need to be shift left by 2 bits. 

video pipeline is currently setup as, sensor -> csi -> isp.

How and where can I have data shifted left by 2 bits in this video pipeline?

Thanks

 

0 Kudos
Reply
2 Replies

6 Views
malik_cisse
Senior Contributor I

Hi
Did you try to declare the video to be Bit in the kernel driver and in the isp-imx wrapper?
I suppose the Bayer pixel will be transmitted as 16bit/pixel anyway and the IP will do the shifting automatically according to the bit depth you have declared in the driver.

0 Kudos
Reply

2 Views
jjiimmyy
Contributor I

malik_cisse,

 

Thanks for the suggestion.

How do you  "declare the video to be Bit in the kernel driver and in the isp-imx wrapper"?

Could you point out the files and format?

Thanks

0 Kudos
Reply