AnsweredAssumed Answered

About error message from V4L2 capture in i.MX6DQ.

Question asked by Keita Nagashima on Mar 14, 2016
Latest reply on Jul 11, 2016 by Yuri Muhin

Dear All,

 

Hello. I have a question about the error message from V4L2 capture in i.MX6DQ.

Could you confirm this question?

 

[Overview]

The LCD resolution is 1280x720, so we need capture Camera video as 1280x720 via V4L2 interface.

When we capture the video, find the warning messages scroll on serial console frequently, but the capture result is OK.

Although the function seems OK, but what does the warning message means?

If width = 800,  height = 480, there is no warning "imx-ipuv3 imx-ipuv3.0: IDMAC9's EBA0 is not 8-byte aligned".

If width = 1280, height = 720, there is warning "imx-ipuv3 imx-ipuv3.0: IDMAC9's EBA0 is not 8-byte aligned".

 

[Question]

When width = 1280, height = 720, how to eliminate the warning?

 

[Related code (BSP: L3.0.35_4.1.0)]

If ((fd_output_v4l = open("video17", O_RDWR, 0)) < 0)

{

  ERROR("Unable to open %s\n", EARLY_RVC_DEV_VD_OUPTPUT);

  return -1;

}

 

crop.type = V4L2_BUF_TYPE_VIDEO_OUTPUT;

crop.c.top = top;

crop.c.left = left;

crop.c.width = width;

crop.c.height = height;

if (ioctl(fd_output_v4l, VIDIOC_S_CROP, &crop) < 0)

{

  ERROR("set crop failed\n");

  return -1;

}

 

Best Regards,

Keita

Outcomes