AnsweredAssumed Answered

CSI0 camera, 1280x720 How do I set it to view the full image?

Question asked by OH SEOHWAN on Nov 14, 2017
Latest reply on Nov 22, 2017 by Joan Xie

CSI0 ov5642 driver is used to output camera images.
Camera output is 1280x720

When the camera is activated (./mxc_v4l2_overlay.out -iw 1280 -ih 720 -ow 1280 -ih 720)
It seems that the image is only 1/4 output.

I printed the log.

End of mxc_v4l2_s_fmt: v2f pix widthxheight 288 x 352                                                                                          
End of mxc_v4l2_s_fmt: crop_bounds widthxheight 640 x 480                                                                                      
End of mxc_v4l2_s_fmt: crop_defrect widthxheight 640 x 480                                                                                     
End of mxc_v4l2_s_fmt: crop_current widthxheight 640 x 480 

640x480 is cropped and cropped.
1280x720 How do I set it to view the full image?

In the code mxc_v4l2_capture.c, the camera information is
"vidioc_int_g_fmt_cap (cam-> sensor, & cam_fmt);"
Get settings from cam_fmt

How can I adjust these settings?