imx6D, android V4L2

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

imx6D, android V4L2

761 Views
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 Kudos
3 Replies

698 Views
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 Kudos

698 Views
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 Kudos

698 Views
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 Kudos