AnsweredAssumed Answered

How to setting the android HAL ,to use IPU format YUV422 to YUV420

Question asked by yingjin yan on Mar 1, 2019
Latest reply on Apr 1, 2019 by Joan Xie

Hi NXP:

 

  I am working on imx6q with android7.1 platform ,I want to setting the Max9286Mipi.cpp ,pass the parameters to IPU.

We want change the camera module image from YUV422(UYVY) to NV21,when I did not change the parameters,the camera app preview is normal,but capture the video,the video file is abnormal.(attachment: VID_19700101_000326.yuv)

when I change the  

sensorFormats[index] = v4l2_fourcc('Y', 'U', 'Y', 'V');---->sensorFormats[index] = v4l2_fourcc('N', 'V', '1', '2'); 

 availFormats[index++] = v4l2_fourcc('Y', 'U', 'Y', 'V');

 

the system camera can not open.

is any wrong for my change?

 

 

thanks

Attachments

Outcomes