HAL support for RAW RGB (10-bit) Camera

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

HAL support for RAW RGB (10-bit) Camera

1,387 次查看
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 项奖励
3 回复数

734 次查看
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 项奖励

734 次查看
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 项奖励

734 次查看
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 项奖励