AnsweredAssumed Answered

How do I get raw data of 1280x720?( imx6 sabere mxc_v4l2_capture )

Question asked by OH SEOHWAN on Dec 20, 2017
Latest reply on Jan 25, 2018 by Park Jungho

Testing using i.mx6 sabere board
J9 - DVP Camera Connector is connected to the camera.
(The connected camera is not the ov5642 but the developed camera)

The output of the camera is 1280x720 30fps
I want to get raw data from the i.mx6 board.

The driver files (mxc_v4l2_capture.c, ov5642.c) provided with the sample code
We modified the sample program code (mxc_v4l2_overlay.c, mxc_v4l2_capture.c) to test it.

After modifying driver files
Running mxc_v4l2_overlay.c will result in a 30 fps display with 1280x720.

However, modify mxc_v4l2_capture.c to get raw data
int g_in_width = 1280;
int g_in_height = 720;
int g_out_width = 1280;
int g_out_height = 720;

An error will occur.

imx-ipuv3 2400000.ipu: IC output size (1280) can not exceed 1024
imx-ipuv3 2400000.ipu: failed to calculate prpenc width scaling coefficients
In MVC: mxc_v4l_dqueue
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_9 = 0x04000000

How do I get raw data of 1280x720?

I did a search

A similar question came up and I set capturemode = 4, but the problem was not resolved.

How do I get raw data of 1280x720?