X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=print_latency.h;h=0e880ca1e75273d2018c594c3a08dd77cb8e8cb9;hb=9ba511b7edf9d6875040a0b959d97bd7867ce159;hp=9d8a93b0ff47a751826dd44206268fb307b18775;hpb=63a912898083c06cc75f336f8d9a367a707e378a;p=nageru diff --git a/print_latency.h b/print_latency.h index 9d8a93b..0e880ca 100644 --- a/print_latency.h +++ b/print_latency.h @@ -7,6 +7,9 @@ #include #include +#include + +#include "ref_counted_frame.h" // Since every output frame is based on multiple input frames, we need // more than one start timestamp. For now, we keep just the smallest @@ -16,6 +19,8 @@ struct ReceivedTimestamps { std::chrono::steady_clock::time_point min_ts, max_ts; }; +ReceivedTimestamps find_received_timestamp(const std::vector &input_frames); + void print_latency(const std::string &header, const ReceivedTimestamps &received_ts, bool is_b_frame, int *frameno); #endif // !defined(_PRINT_LATENCY_H)