Hi,
I have been trying to integrated TVP5150 as a camera input to Android, release 13.3. With some additional ioctls and some changes in Android camera HAL layer (like setting the preview and picture size to NTSC/PAL size), I am able to get video to Android, but the video is rolling upwards and there seems to be frame overlaps as well. This is happening on both PAL and NTSC dimensions. I am able to capture images and it shows that colors are coming fine, but I am not able get rid of the rolling and overlaps.
Can anyone point out anything obvious which I should look at.
Another doubt I had was that ADV7180 and TVP5150 send interlaced videos. Does Freescale Android HAL support interlaced video output? The reason I am asking this is that I can see 420_SP hardcoded during buffer allocation in CamerHal.cpp and changing to to 422_I resulted in failures from the vivante library.
Best regards,
Ashu
Solved! Go to Solution.
Hello,Ashutosh,
Let me have a point to add answer that Grant replied.
If video standard is different between CVBS input and TVP5150 settings, image on screen will also scroll. if CVBS camera is NTSC, in TVP5150,should be set the same standard, CVBS with PAL, in TVP5150 is all PAL setting.
Check it please !
Regards,
Weidong
Hello,Ashutosh,
Let me have a point to add answer that Grant replied.
If video standard is different between CVBS input and TVP5150 settings, image on screen will also scroll. if CVBS camera is NTSC, in TVP5150,should be set the same standard, CVBS with PAL, in TVP5150 is all PAL setting.
Check it please !
Regards,
Weidong
hi ,Weidong,do you have any idears on this:https://community.freescale.com/thread/316385.
thanks.
Srivastava, please click Correct Answer if your question had been answered.
From LiuYing Mar 26, 2013 1:01 AM
Ashu,
The video rolling issue is probably related to an in-appropriate power-up sequence of your TV decoder chip. You probably need to wait that chip to be stable to send out the first correct line/frame before enabling AP's capture channel.