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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

937 Views
tangyuan
Contributor III

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

Labels (3)
0 Kudos
1 Reply

408 Views
igorpadykov
NXP Employee
NXP Employee

Hi tang

some chips like TVP5158, TW2866 use non-standard BT.656 format,

so it makes sense to check tw9900 format and compare what is supports

i.MX6 IPU in sect.37.4.3.6 Timing/Data mode protocols. Also one can look

at tvp bring-up efforts:

i.MX53 IPU Deinterlacer

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos