|
NVIDIA DeepStream SDK API Reference
|
7.1 Release
|
Go to the documentation of this file.
13 #ifndef __NVDSINFER_SERVER_PROTO_UTILS_H__
14 #define __NVDSINFER_SERVER_PROTO_UTILS_H__
21 #include <condition_variable>
30 #pragma GCC diagnostic push
32 #pragma GCC diagnostic ignored "-Wrestrict"
34 #include "nvdsinferserver_config.pb.h"
35 #include "nvdsinferserver_plugin.pb.h"
36 #pragma GCC diagnostic pop
38 namespace ic = nvdsinferserver::config;
53 const ic::TritonModelRepo& repoA,
const ic::TritonModelRepo& repoB);
58 return params.has_triton() || params.has_trt_is();
60 inline const ic::TritonParams&
63 if (params.has_triton()) {
64 return params.triton();
66 assert(params.has_trt_is());
67 return params.trt_is();
70 inline ic::TritonParams*
73 if (params.has_triton()) {
74 return params.mutable_triton();
76 assert(params.has_trt_is());
77 return params.mutable_trt_is();
This is a header file for pre-processing cuda kernels with normalization and mean subtraction require...
InferDataType
Datatype of the tensor buffer.
InferMediaFormat
Image formats.
bool validateProtoConfig(ic::InferenceConfig &c, const std::string &path)
Header file for the data types used in the inference processing.
InferTensorOrder
The type of tensor order.
InferDataType dataTypeFromDsProto(ic::TensorDataType dt)
InferMediaFormat mediaFormatFromDsProto(ic::MediaFormat f)
const ic::TritonParams & getTritonParam(const ic::BackendParams ¶ms)
NvBufSurfTransform_Compute
Specifies compute devices used by NvBufSurfTransform.
NvBufSurfTransform_Compute computeHWFromDsProto(ic::FrameScalingHW h)
InferTensorOrder tensorOrderFromDsProto(ic::TensorOrder o)
NvBufSurfTransform_Inter scalingFilterFromDsProto(uint32_t filter)
InferMemType
The memory types of inference buffers.
bool compareModelRepo(const ic::TritonModelRepo &repoA, const ic::TritonModelRepo &repoB)
NvBufSurfTransform_Inter
Specifies video interpolation methods.
ic::TritonParams * mutableTriton(ic::BackendParams ¶ms)
InferMemType memTypeFromDsProto(ic::MemoryType t)
bool hasTriton(const ic::BackendParams ¶ms)