|
|
NVIDIA DeepStream SDK API Reference
|
9.1 Release
|
Go to the documentation of this file.
18 #ifndef __GST_NVTIMESYNC_H__
19 #define __GST_NVTIMESYNC_H__
22 #include "nvstreammux.h"
23 #include "nvstreammux_batch.h"
24 #include "nvstreammux_pads.h"
25 #include <unordered_map>
33 : plugin(el), pipelineLatency(0), upstreamLatency(0),
66 void SetSegment(
unsigned int stream_id,
const GstSegment* segment);
77 GstClockTime pipelineLatency;
78 GstClockTime upstreamLatency;
79 GstClockTime minFpsDuration;
80 GstClockTime bufferWasEarlyByTime;
81 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)
std::chrono::duration< double, std::nano > NanoSecondsType
void SetSegment(unsigned int stream_id, const GstSegment *segment)
uint64_t GetBufferRunningTime(uint64_t pts, unsigned int stream_id)
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.