Video cropping on CSI->MEM path

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Video cropping on CSI->MEM path

跳至解决方案
1,929 次查看
henri_bragge
Contributor II

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).

标签 (3)
标记 (3)
0 项奖励
回复
1 解答
1,644 次查看
JayTu
NXP Employee
NXP Employee

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.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,645 次查看
JayTu
NXP Employee
NXP Employee

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.

0 项奖励
回复