I have modified mxc_v4l2_tvin demo by adding VIDIOC_S_CROP call to crop the input frame. Cropping vertically (left/width) works just fine but when I crop horizontally (top/height), the image starts scrolling. The image seems to be cropped though, but I can't stabilize it.
Any ideas what could be wrong? On CSI->IC path cropping works OK.
I'm using MX537 CPU with Linux image based on 11.09.01 release (kernel 2.6.35.3).
Solved! Go to Solution.
My guessing is the hsync/vsync isn't match the size no matter vertically/horizontally scrolling.
You can try IPUx_CSIx_OUT_FRM_CTRL:CSIx_VSC (or related) increase/decrease value to suits your case.
My guessing is the hsync/vsync isn't match the size no matter vertically/horizontally scrolling.
You can try IPUx_CSIx_OUT_FRM_CTRL:CSIx_VSC (or related) increase/decrease value to suits your case.