HAL support for RAW RGB (10-bit) Camera

cancel
Showing results for 
Search instead for 
Did you mean: 

HAL support for RAW RGB (10-bit) Camera

794 Views
aravinthkumarja
Senior Contributor II

Dear all,

I'm using OV2710 camera parallel interface on imx6 Android 6 platform. This camera output format is 10bit RAW RGB.

By using "mxc_v4l2_capture" Linux application i can able to capture the image. I have written a code to convert Bayer to RGB format. So now i can able to view the image.

But the above process i have did in Linux. How can i add "IPU_PIX_FMT_GENERIC_16" format support in Android HAL,Framework and application layer.

Regards,

Aravinth

0 Kudos
3 Replies

141 Views
joanxie
NXP TechSupport
NXP TechSupport

android is using linux kernel, you changed the driver source code, so no difference for application layer, did you try android? any error?

0 Kudos

141 Views
aravinthkumarja
Senior Contributor II

Hi Joan,

I can able to view the captured data in Android application. But it is not proper color. 

Can you please tell how to view RAW data in Android application.?

Regards,

Aravinth

0 Kudos

141 Views
aravinthkumarja
Senior Contributor II

Hi Joan,

Sorry for the delay. IPU_PIX_FMT_GENERIC_16 (SBGGR10) does not have an HAL support. I'm getting below error in hal.

Camera2-Parameters: initialize: Camera 0: Unknown preview format: 32555049

Nothing coming on UI.

Regards,

Aravinth

0 Kudos