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.
for 1080P, pls check your capture paramter, refer to the RM,
For parallel interface, the maximum speed of the interface is 240Mhz. The required
operating frequency of the interface is calculated in the following way:
F = FH * FW * FPS * BI * DF
Where
• FH = frame height (in pixels)
• FW = Frame width (in pixels)
• fps = frame rate (frames per second)
• BI = typically 35% overhead, should be assumed as 1.35. The actual blanking
intervals are a parameter of the attached device.
• DF = data format, defines the number of cycles needed to send a single pixel.
Thanks for reply, Jaon Xie,
well in user space application, if i use other than 640 * 480 pixel image will i need to change the code in driver side.
if changes to be done means. what changes i should do?
say for example 800 * 600
Thanks
if you need to change the resolution for good, you one can change the source code, if you want to get temporary change, you just change the parameter in the user space, like "mxc_v4l2_capture.out -iw * -ih* "