AnsweredAssumed Answered

Based on which parameters these values are hardcoded in mxc_v4l2_capture driver cam->v2f.fmt.pix.sizeimage = 352 * 288 * 3 / 2;

Question asked by venkatesh sirivella on Sep 12, 2016
Latest reply on Sep 20, 2016 by venkatesh sirivella

Hello

1. In mxc_v4l2_capture.c capture driver we are setting up the camera cropping stuff in init function

cam->v2f.fmt.pix.sizeimage = 352 * 288 * 3 / 2;
    cam->v2f.fmt.pix.bytesperline = 288 * 3 / 2;
    cam->v2f.fmt.pix.width = 288;
    cam->v2f.fmt.pix.height = 352;
    cam->v2f.fmt.pix.pixelformat = V4L2_PIX_FMT_YUV420;
    cam->win.w.width = 160;
    cam->win.w.height = 160;

based on which parameters the values are hardcoded??

 

2. I have tried this below link sample code for memory map

http://trac.gateworks.com/wiki/linux/v4l2 its working fine for 640 * 480 pixels

is it possible for 1920 * 1080 pixels capturing image??

when i tried iam not able to see image for 1920 * 1080.

can anyone help me

 

Thanks.

Outcomes