I am debuging the tw9900 on linux 3.0.35 platform.Tw9900 is a video decoder.I modified the tw9900 accroding to the adv7180.I am using the mxc_v4l2_tvin.c to test the tw9900.c.It was reporting the error as follows in kernel on mxc_v4l2_capture.c:
ERROR:v4l2 captue:width or height too small
In mxc_v4l2_tvin.c,when I run ioctl(fd_capture_v4l,VIDIOC_S_FMT,&fmt),it was reported ERROR in APP:iformat not supported,and in kernel driver:it was reported error:ERROR:v4l2 capture wigth or height too small
Attachment is my driver and test application
Can you anyone help me?Why i run VIDIOC_S_FMT,it was reported ERROR:v4l2 capture wigth or height too small
Original Attachment has been moved to: mxc_v4l2_tvin.c.zip
Original Attachment has been moved to: tw9900.c.zip