Hi,
I was trying to get the sof or eof for each captured frame on the kernel side when using argus via nvarguscamerasrc, but so far was unable to find where those timestamps are produced and/or added to the frames.
For v4l2 I see where that is(vi5_capture_dequeue), but when using argus it uses another code path. So far I’m stuck at vi_capture_ivc_status_callback, that from what I can tell is where the buffers are sent to user space, but from what I see they are opaque dma buffers, with no struct behind them.
Is there a way to modify and obtain those timestamps in kernel space when using argus to capture?
I’m using two Xavier NX, one with JP4.6 and another with JP5.1.3
Regards,
Andres
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com
PS: this is related to this topic , found out that most of the discarded frames via the timestamp method are actually fine and most corrupted frames still go pass since their ts is fine. The idea was to use our hw to detect at detect issues during capture issues and use the timestamps as the means to poison the frame and discard them in nvarguscamerasrc.