How to check vsync in coming from camera.

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

How to check vsync in coming from camera.

598 Views
hanseunglee
Contributor III


my configure is below

-os ubutu 12.04

-kernel 3.0.35

-LTIB

-i.mx6dl sabresd

--------------------------------------------------------------------

Hello everyone.

I want to check the number vsync from camera.

when i check vsync pin(board) , it is correct. but i want to check vsync use serial program.

if i want to count vsync, what code am i modify?

videodev2.h -> VIDIOC_DQEVENT _IOR('V', 89, struct v4l2_event)  is it right for check vsync?

please reply your opnion.

Best regard.

Han

Labels (3)
Tags (2)
0 Kudos
1 Reply

424 Views
igorpadykov
NXP Employee
NXP Employee

Hi Han

seems one can check events in one of IPUx_INT_STAT_NN

registers, like DI_VSYNC_x in register IPUx_INT_STAT_15

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos