hello andres.artavia,
as you can see of Camera Architecture Stack, v4l2src
and nvarguscamerasrc
they’re going through different pipelines.
the timestamp within VI driver, (i.e. descr->status.sof_timestamp
) it’s the timestamp calculated by RCE, and its sources is TSC timestamp.
hence, you may using APIs, such as Argus::Ext::ISensorTimestampTsc::getSensorSofTimestampTsc to return the VI HW (SOF) timestamp based on TSC.
please see-also Topic 313792 for demonstration by adding some code snippets to Argus sample application, yuvJpeg
.
FYI,
TSC timestamp is a counter, the period is 32 ns (due to 31.25MHz). you may multiply by 32 to convert TSC to nanoseconds.
RCE timestamp is calculated from TSC to obtain the sensor SOF/EOF timestamps.