NVIDIA DeepStream SDK API Reference

6.4 Release
NvTimeSync Class Reference

Detailed Description

Definition at line 34 of file gstnvtimesynch.h.

Inheritance diagram for NvTimeSync:
Collaboration diagram for NvTimeSync:

Public Member Functions

 NvTimeSync (GstElement *el)
 
BUFFER_TS_STATUS get_synch_info (BufferWrapper *buffer)
 
void removing_old_buffer (BufferWrapper *buffer)
 
void SetPipelineLatency (GstClockTime latency)
 Set the downstream latency Note: Currently the whole pipelineLatency value is used in timesynch logic to determine if a buffer is late at mux input This include the downstream latency. More...
 
void SetUpstreamLatency (GstClockTime latency)
 Set the upstream latency. More...
 
GstClockTime GetUpstreamLatency ()
 
GstClockTime GetCurrentRunningTime ()
 
void SetSegment (unsigned int stream_id, const GstSegment *segment)
 
void SetOperatingMinFpsDuration (NanoSecondsType min_fps_dur)
 
NanoSecondsType get_buffer_earlyby_time ()
 
uint64_t GetBufferRunningTime (uint64_t pts, unsigned int stream_id)
 

Constructor & Destructor Documentation

◆ NvTimeSync()

NvTimeSync::NvTimeSync ( GstElement *  el)
inline

Definition at line 38 of file gstnvtimesynch.h.

Member Function Documentation

◆ get_buffer_earlyby_time()

NanoSecondsType NvTimeSync::get_buffer_earlyby_time ( )
virtual

Implements ISynchronizeBuffer.

◆ get_synch_info()

BUFFER_TS_STATUS NvTimeSync::get_synch_info ( BufferWrapper buffer)
virtual

Implements ISynchronizeBuffer.

◆ GetBufferRunningTime()

uint64_t NvTimeSync::GetBufferRunningTime ( uint64_t  pts,
unsigned int  stream_id 
)
virtual

Implements ISynchronizeBuffer.

◆ GetCurrentRunningTime()

GstClockTime NvTimeSync::GetCurrentRunningTime ( )
virtual

Implements ISynchronizeBuffer.

◆ GetUpstreamLatency()

GstClockTime NvTimeSync::GetUpstreamLatency ( )

◆ removing_old_buffer()

void NvTimeSync::removing_old_buffer ( BufferWrapper buffer)
virtual

Implements ISynchronizeBuffer.

◆ SetOperatingMinFpsDuration()

void NvTimeSync::SetOperatingMinFpsDuration ( NanoSecondsType  min_fps_dur)

◆ SetPipelineLatency()

void NvTimeSync::SetPipelineLatency ( GstClockTime  latency)

Set the downstream latency Note: Currently the whole pipelineLatency value is used in timesynch logic to determine if a buffer is late at mux input This include the downstream latency.

Note: This value shall be from the GST_EVENT_LATENCY sent by the sink plugin. The mux latency (currently not advertised) is taken care of by the TimeSynch library (using minFpsDuration)

Parameters
latency[IN] in nanoseconds

◆ SetSegment()

void NvTimeSync::SetSegment ( unsigned int  stream_id,
const GstSegment *  segment 
)

◆ SetUpstreamLatency()

void NvTimeSync::SetUpstreamLatency ( GstClockTime  latency)

Set the upstream latency.

Parameters
latency[IN] in nanoseconds

The documentation for this class was generated from the following file: