Adding Monochrome support to iMX8MP Android Camera HAL

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

Adding Monochrome support to iMX8MP Android Camera HAL

942 Views
bradoconnell
Contributor I

I am working to implement android support for a monochrome (8 and 16 bit) mipi camera (reading through just the ISI, not the ISP) and am hitting a wall when it comes to NXP's Camera HAL service. We have full V4L2 functionality on linux desktops but are now creating support for android's apis. I have attempted the changes to the formats in the camera HAL and have been able to successfully read the images into the HAL from V4L2 but the format is still incorrect as it is being transferred from the HAL to the Camera2 api. I have followed some of the changes from this post (i.MX8MP support raw format on Android - NXP Community) but it being for the ISP and for an older version of the HAL have presented issues in implementing the changes. Those changes also do not completely support android monochrome as it is described here Monochrome cameras  |  Android Open Source Project. Is there any additional guidance you have about how to support Y8 and Y16 output in android? Any help would be appreciated.

Labels (1)
0 Kudos
Reply
1 Reply

905 Views
joanxie
NXP TechSupport
NXP TechSupport

sorry, I don't find other document and user case for Monochrome support of ISI with HAL, this topic discussed how support camera format via V4L2, i'm not sure if this is useful for you or not

https://groups.google.com/g/android-porting/c/9rnCLuRaaMQ

0 Kudos
Reply