convertToUptimeNs

fun convertToUptimeNs(timestampNs: Long): Long(source)

Converts the video timestamp to Timebase.UPTIME if necessary.

Parameters

timestampNs

the video frame timestamp in nano seconds. The timebase is supposed to be the input timebase in constructor.