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
how do you change the parameter? change the yuv to NV12 by IPU ? could you give me your detailed operation steps?
I change the parameter from HAL layer Max9286.cpp
It seems that the IPU only support NV12
if you mean set the csi format, you need set the CSI0_SENS_
DATA_FORMAT in the register IPU_CSI_SENS_CONF