|
NVIDIA DeepStream SDK API Reference
|
7.1 Release
|
Go to the documentation of this file.
13 #ifndef __GST_NVTIMESYNC_H__
14 #define __GST_NVTIMESYNC_H__
20 #include <unordered_map>
28 : plugin(el), pipelineLatency(0), upstreamLatency(0),
61 void SetSegment(
unsigned int stream_id,
const GstSegment* segment);
72 GstClockTime pipelineLatency;
73 GstClockTime upstreamLatency;
74 GstClockTime minFpsDuration;
75 GstClockTime bufferWasEarlyByTime;
76 std::unordered_map<unsigned int, GstSegment*> segments;
GstClockTime GetCurrentRunningTime()
NanoSecondsType get_buffer_earlyby_time()
NvTimeSync(GstElement *el)
GstClockTime GetUpstreamLatency()
void removing_old_buffer(BufferWrapper *buffer)
BUFFER_TS_STATUS get_synch_info(BufferWrapper *buffer)
void SetOperatingMinFpsDuration(NanoSecondsType min_fps_dur)
void SetSegment(unsigned int stream_id, const GstSegment *segment)
uint64_t GetBufferRunningTime(uint64_t pts, unsigned int stream_id)
std::chrono::duration< double, std::nano > NanoSecondsType
void SetPipelineLatency(GstClockTime latency)
Set the downstream latency Note: Currently the whole pipelineLatency value is used in timesynch logic...
void SetUpstreamLatency(GstClockTime latency)
Set the upstream latency.