TVP5150 as Android camera on i.MX6 R13.3

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

TVP5150 as Android camera on i.MX6 R13.3

Jump to solution
2,997 Views
ashutoshsrivast
Contributor II

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

Labels (4)
Tags (1)
0 Kudos
1 Solution
776 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
4 Replies
777 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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

0 Kudos
776 Views
torenyan
Contributor I

hi ,Weidong,do you have any idears on this:https://community.freescale.com/thread/316385.

thanks.

0 Kudos
776 Views
YixingKong
Senior Contributor IV

Srivastava, please click Correct Answer if your question had been answered.

0 Kudos
776 Views
admin
Specialist II

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.


0 Kudos