enable 12bit bayer image support on IMX8MP

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

enable 12bit bayer image support on IMX8MP

1,167 Views
chendd14
Contributor II

I run the command

 

v4l2-ctl -d /dev/video0 --set-fmt-video=width=4000,height=3000,pixelformat=RG12 --stream-mmap --stream-count=1 --stream-to=image.bayer

 

on IMX8MP, trying to capture a bayer image. But got 'VIDIOC_S_FMT: failed: Invalid argument'.

It seems that 12bit bayer image is not supported on IMX8MP by default. How can I add the support by myself?

0 Kudos
Reply
1 Reply

1,144 Views
joanxie
NXP TechSupport
NXP TechSupport

did you use ISI or ISP according to your dts file?

0 Kudos
Reply