TVP5150 as Android camera on i.MX6 R13.3

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

TVP5150 as Android camera on i.MX6 R13.3

跳至解决方案
3,099 次查看
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

标签 (4)
标记 (1)
0 项奖励
1 解答
878 次查看
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 项奖励
4 回复数
879 次查看
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 项奖励
878 次查看
torenyan
Contributor I

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

thanks.

0 项奖励
878 次查看
YixingKong
Senior Contributor IV

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

0 项奖励
878 次查看
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 项奖励