NVIDIA DeepStream SDK API Reference

6.4 Release
sequence_preprocess_kernel.h
Go to the documentation of this file.
1 
23 #ifndef __NVDS_SEQUENCE_PREPROCESS_KERNEL_H__
24 #define __NVDS_SEQUENCE_PREPROCESS_KERNEL_H__
25 
26 #include <cuda.h>
27 #include <cuda_runtime.h>
28 
29 #define VEC4_SIZE 4
30 // float vector structure for multiple channels
31 typedef struct {
32  float d[VEC4_SIZE];
33 } Float4Vec;
34 
41 cudaError_t preprocessNCDHW(
42  void* outPtr, unsigned int outC, unsigned int H, unsigned int W, unsigned int S,
43  const void* inPtr, unsigned int inC, unsigned int inRowPitch, Float4Vec scales, Float4Vec means,
44  bool swapRB, cudaStream_t stream);
45 
46 #endif // __NVDS_SEQUENCE_PREPROCESS_KERNEL_H__
VEC4_SIZE
#define VEC4_SIZE
Copyright (c) 2021, NVIDIA CORPORATION.
Definition: sequence_preprocess_kernel.h:29
cudaStream_t
struct CUstream_st * cudaStream_t
Forward declaration of cudaStream_t.
Definition: nvbufsurftransform.h:29
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.
Float4Vec
Definition: sequence_preprocess_kernel.h:31