NVIDIA DeepStream SDK API Reference

7.0 Release
sequence_preprocess_kernel.h File Reference

Go to the source code of this file.

Data Structures

struct  Float4Vec
 

Macros

#define VEC4_SIZE   4
 

Functions

cudaError_t preprocessNCDHW (void *outPtr, unsigned int outC, unsigned int H, unsigned int W, unsigned int S, const void *inPtr, unsigned int inC, unsigned int inRowPitch, Float4Vec scales, Float4Vec means, bool swapRB, cudaStream_t stream)
 NCDHW preprocess per ROI image. More...
 

Macro Definition Documentation

◆ VEC4_SIZE

#define VEC4_SIZE   4

Definition at line 19 of file sequence_preprocess_kernel.h.

Function Documentation

◆ preprocessNCDHW()

cudaError_t preprocessNCDHW ( void *  outPtr,
unsigned int  outC,
unsigned int  H,
unsigned int  W,
unsigned int  S,
const void *  inPtr,
unsigned int  inC,
unsigned int  inRowPitch,
Float4Vec  scales,
Float4Vec  means,
bool  swapRB,
cudaStream_t  stream 
)

NCDHW preprocess per ROI image.

Parameters
outPtroutput data pointer offset to current image position
inPtrinput data pointer