|
|
NVIDIA DeepStream SDK API Reference
|
9.1 Release
|
Go to the documentation of this file.
22 #ifndef __NVDSINFER_CONVERSION_H__
23 #define __NVDSINFER_CONVERSION_H__
48 unsigned char *inBuffer,
53 float *meanDataBuffer,
79 unsigned char *inBuffer,
84 float *meanDataBuffer,
110 unsigned char *inBuffer,
115 float *meanDataBuffer,
141 unsigned char *inBuffer,
146 float *meanDataBuffer,
172 unsigned char *inBuffer,
177 float *meanDataBuffer,
203 unsigned char *inBuffer,
208 float *meanDataBuffer,
234 unsigned char *inBuffer,
239 float *meanDataBuffer,
265 unsigned char *inBuffer,
270 float *meanDataBuffer,
294 unsigned char *inBuffer,
299 float *meanDataBuffer,
310 float *meanDataBuffer,
320 unsigned char *inBuffer,
325 float *meanDataBuffer,
335 float *meanDataBuffer,
void NvDsInferConvert_C4ToP3RFloat(float *outBuffer, unsigned char *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
Converts an input packed 4 channel buffer of width x height resolution into an planar 3-channel float...
void NvDsInferConvert_C3ToL3RFloat(float *outBuffer, unsigned char *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
Converts an input packed 3 channel buffer of width x height resolution into an linear 3-channel float...
void NvDsInferConvert_C4ToL3Float(float *outBuffer, unsigned char *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
Converts an input packed 3 channel buffer of width x height resolution into an linear 3-channel float...
void NvDsInferConvert_C1ToP1Float(float *outBuffer, unsigned char *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
Converts an 1 channel UINT8 input of width x height resolution into an 1 channel float buffer of widt...
void NvDsInferConvert_C3ToP3RFloat(float *outBuffer, unsigned char *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
Converts an input packed 3 channel buffer of width x height resolution into an planar 3-channel float...
void NvDsInferConvert_C4ToL3RFloat(float *outBuffer, unsigned char *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
Converts an input packed 4 channel buffer of width x height resolution into an linear 3-channel float...
void(* NvDsInferConvertFcn)(float *outBuffer, unsigned char *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
Function pointer type to which any of the NvDsInferConvert functions can be assigned.
void NvDsInferConvert_C4ToP3Float(float *outBuffer, unsigned char *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
Converts an input packed 3 channel buffer of width x height resolution into an planar 3-channel float...
void NvDsInferConvert_FtFTensor(float *outBuffer, float *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
void NvDsInferConvert_C3ToL3Float(float *outBuffer, unsigned char *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
Converts an input packed 3 channel buffer of width x height resolution into an linear 3-channel float...
void(* NvDsInferConvertFcnFloat)(float *outBuffer, float *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
void NvDsInferConvert_C3ToP3Float(float *outBuffer, unsigned char *inBuffer, unsigned int width, unsigned int height, unsigned int pitch, float scaleFactor, float *meanDataBuffer, cudaStream_t stream)
This is a header file for pre-processing cuda kernels with normalization and mean subtraction require...