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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

209 Views
ohseohwan
Contributor I

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?

Labels (4)
0 Kudos
1 Reply

73 Views
joanxie
NXP TechSupport
NXP TechSupport

what display do you use? can support 720P? could you share the whole log file and mxc_v4l2_overlay command?

0 Kudos