|
NVIDIA DeepStream SDK API Reference
|
6.4 Release
|
Go to the documentation of this file.
12 #ifndef __INFER_STREAM_MANAGER_H__
13 #define __INFER_STREAM_MANAGER_H__
44 enum class ProgressType : int {
51 int64_t timestamp = 0;
52 ProgressType progress = ProgressType::kReady;
53 void* reserved =
nullptr;
55 using StreamList = std::unordered_map<StreamId, StreamState>;
57 bool isRunning()
const {
return !m_Stopping; }
58 bool popDeprecatedStream();
60 StreamList m_StreamList;
61 uint32_t m_MaxStreamSize = 256;
62 bool m_Stopping =
false;
64 std::condition_variable m_Cond;
NvDsInferStatus waitStream(StreamId id)
Copyright (c) 2021, NVIDIA CORPORATION.
NvDsInferStatus startStream(StreamId id, int64_t timestamp, void *userptr)
Header file containing utility functions and classes used by the nvinferserver low level library.
NvDsInferStatus streamInferDone(StreamId id, SharedBatchArray &outTensors)
Header file of the common declarations for the nvinferserver library.
NvDsInferStatus stopStream(StreamId id)
void notifyError(NvDsInferStatus status)
std::shared_ptr< BaseBatchArray > SharedBatchArray
NvDsInferStatus
Enum for the status codes returned by NvDsInferContext.