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.