HAL support for RAW RGB (10-bit) Camera

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

HAL support for RAW RGB (10-bit) Camera

1,784 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
Reply
4 Replies

1,131 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
Reply

1,131 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
Reply

28 Views
deepakbeniya
Contributor III

Is the problem is solved.
I am facing the same issue.
Please post the solution. 

0 Kudos
Reply

1,131 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
Reply