AnsweredAssumed Answered

TVP5150 as Android camera on i.MX6 R13.3

Question asked by Ashutosh Srivastava on Dec 5, 2012
Latest reply on Dec 3, 2013 by toren yan
Branched to a new discussion

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

 

Outcomes