imx6D, android V4L2

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

imx6D, android V4L2

1,737 次查看
1019599657
Contributor III

Hi,

I use imx6D to read V4L2.  I set YUYV and 720*480,open(video0). I can get the image ,however, i get some error image ,like this:yuv.jpg

Why the image like this? Can you give me some help?

Thanks!

0 项奖励
回复
3 回复数

1,674 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Li

one can try to adjust sensor timings, better use for that v4l2 unit test and

documentation on below link

mxc_v4l2_test\test - imx-test - i.MX Driver Test Application Software 

i.MX Software | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,674 次查看
1019599657
Contributor III

Hi , I test it with " mxc-v4l2-tvin -ow 720 -oh 480", it can work ell .. However . i need use it in android. When i do it ,it will work like image above . How can i solve it ?

Thanks very much!

0 项奖励
回复

1,674 次查看
igorpadykov
NXP Employee
NXP Employee

for android one can refer to specific android tutorials like

https://www.linuxtv.org/downloads/presentations/media_summit_2014_DE/android-camera-hal-v3-v4l2.pdf 

Best regards
igor

0 项奖励
回复