AnsweredAssumed Answered

Debuging tw9900 report error:ERROR:v4l2 capture:width or height too small

Question asked by tang yuan on Mar 14, 2016
Latest reply on Mar 15, 2016 by igorpadykov

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

Outcomes