Package com.github.kokorin.jaffree.nut
Class SyncPoint
java.lang.Object
com.github.kokorin.jaffree.nut.SyncPoint
NUT sync point.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longback_ptr_div16final TimestampAfter a syncpoint, last_pts of each stream is to be set to: last_pts[i] = convert_ts(global_key_pts, time_base[id], time_base[i])final TimestampThe value of the reference clock at the moment when the first bit of transmit_ts is transmitted/received. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
globalKeyPts
After a syncpoint, last_pts of each stream is to be set to: last_pts[i] = convert_ts(global_key_pts, time_base[id], time_base[i])global_key_pts MUST be bigger or equal to dts of all past frames across all streams, and smaller or equal to pts of all future frames.
-
backPtrDiv16
public final long backPtrDiv16back_ptr_div16back_ptr = back_ptr_div16 * 16 + 15
back_ptr must point to a position up to 15 bytes before a syncpoint startcode, relative to position of current syncpoint. The syncpoint pointed to MUST be the closest syncpoint such that at least one keyframe with a pts+match_time_delta lower or equal to the current syncpoint's global_key_pts for all streams lies between it and the current syncpoint.
A stream where EOR is set is to be ignored for back_ptr.
-
transmitTs
The value of the reference clock at the moment when the first bit of transmit_ts is transmitted/received. The reference clock MUST always be less than or equal to the DTS of every not yet completely received frame.
-
-
Constructor Details
-
SyncPoint
-
SyncPoint
-