Project import generated by Copybara.

GitOrigin-RevId: 50714fe28298d7b707eff7304547d89d6ec34a54
This commit is contained in:
MediaPipe Team
2019-11-21 13:20:47 -08:00
committed by mgyong
parent 9437483827
commit 48bcbb115f
60 changed files with 1662 additions and 111 deletions
+7 -4
View File
@@ -182,12 +182,15 @@ class Timestamp {
Timestamp operator++(int);
Timestamp operator--(int);
// Returns the next timestamp at which a Packet may arrive in a stream, given
// that the current Packet is at *this timestamp. CHECKs that
// this->IsAllowedInStream()==true. Returns Timestamp::OneOverPostStream() if
// no Packets may follow one with the given timestamp.
// Returns the next timestamp in the range [Min .. Max], or
// OneOverPostStream() if no Packets may follow one with this timestamp.
// CHECKs that this->IsAllowedInStream().
Timestamp NextAllowedInStream() const;
// Returns the previous timestamp in the range [Min .. Max], or
// Unstarted() if no Packets may preceed one with this timestamp.
Timestamp PreviousAllowedInStream() const;
private:
TimestampBaseType timestamp_;
};