NVIDIA DeepStream SDK API Reference

7.0 Release
includes/nvdspreprocess_interface.h File Reference

Detailed Description

NVIDIA DeepStream GStreamer NvDsPreProcess API Specification

Description: This file specifies the APIs and function definitions for the DeepStream GStreamer NvDsPreProcess Plugin.

Definition in file includes/nvdspreprocess_interface.h.

Go to the source code of this file.

Data Structures

struct  CustomTransformParams
 custom transformation parameter for calling nvbufsurftransform api for scaling and converting the ROIs to the network resolutions to be used by custom lib. More...
 
struct  NvDsPreProcessTensorParams
 Holds model parameters for tensor preparation. More...
 
struct  NvDsPreProcessNetworkSize
 Holds information about the model network. More...
 
struct  CustomSeqProcTensorParams
 Tensor params for Custom sequence processing for 3d conv network. More...
 
struct  CustomTensorParams
 Tensor params passed to custom library for tensor preparation. More...
 
struct  CustomInitParams
 Custom Initialization parameter for custom library. More...
 
struct  NvDsPreProcessCustomBuf
 Custom Buffer passed to the custom lib for preparing tensor. More...
 
class  NvDsPreProcessAcquirer
 class for acquiring and releasing a buffer from tensor pool by custom lib. More...
 
struct  NvDsPreProcessUnit
 A preprocess unit for processing which can be Frame/ROI. More...
 
struct  NvDsPreProcessBatch
 Holds information about the batch of frames to be inferred. More...
 

Typedefs

typedef struct CustomCtx CustomCtx
 Context for custom library. More...
 

Enumerations

enum  NvDsPreProcessStatus {
  NVDSPREPROCESS_SUCCESS = 0,
  NVDSPREPROCESS_CONFIG_FAILED,
  NVDSPREPROCESS_CUSTOM_LIB_FAILED,
  NVDSPREPROCESS_CUSTOM_TRANSFORMATION_FAILED,
  NVDSPREPROCESS_CUSTOM_TENSOR_FAILED,
  NVDSPREPROCESS_INVALID_PARAMS,
  NVDSPREPROCESS_OUTPUT_PARSING_FAILED,
  NVDSPREPROCESS_CUDA_ERROR,
  NVDSPREPROCESS_TENSORRT_ERROR,
  NVDSPREPROCESS_RESOURCE_ERROR,
  NVDSPREPROCESS_TENSOR_NOT_READY,
  NVDSPREPROCESS_SUCCESS = 0,
  NVDSPREPROCESS_CONFIG_FAILED,
  NVDSPREPROCESS_CUSTOM_LIB_FAILED,
  NVDSPREPROCESS_CUSTOM_TRANSFORMATION_FAILED,
  NVDSPREPROCESS_CUSTOM_TENSOR_FAILED,
  NVDSPREPROCESS_INVALID_PARAMS,
  NVDSPREPROCESS_OUTPUT_PARSING_FAILED,
  NVDSPREPROCESS_CUDA_ERROR,
  NVDSPREPROCESS_TENSORRT_ERROR,
  NVDSPREPROCESS_RESOURCE_ERROR,
  NVDSPREPROCESS_TENSOR_NOT_READY
}
 Enum for the status codes returned by NvDsPreProcessImpl. More...
 
enum  NvDsPreProcessNetworkInputOrder {
  NvDsPreProcessNetworkInputOrder_kNCHW = 0,
  NvDsPreProcessNetworkInputOrder_kNHWC,
  NvDsPreProcessNetworkInputOrder_CUSTOM,
  NvDsPreProcessNetworkInputOrder_kNCHW = 0,
  NvDsPreProcessNetworkInputOrder_kNHWC,
  NvDsPreProcessNetworkInputOrder_CUSTOM
}
 Enum for the network input order according to which network shape will be provided to prepare raw tensor for inferencing. More...
 
enum  NvDsPreProcessFormat {
  NvDsPreProcessFormat_RGB,
  NvDsPreProcessFormat_BGR,
  NvDsPreProcessFormat_GRAY,
  NvDsPreProcessFormat_RGBA,
  NvDsPreProcessFormat_BGRx,
  NvDsPreProcessFormat_Tensor,
  NvDsPreProcessFormat_Unknown = 0xFFFFFFFF,
  NvDsPreProcessFormat_RGB,
  NvDsPreProcessFormat_BGR,
  NvDsPreProcessFormat_GRAY,
  NvDsPreProcessFormat_RGBA,
  NvDsPreProcessFormat_BGRx,
  NvDsPreProcessFormat_Tensor,
  NvDsPreProcessFormat_Unknown = 0xFFFFFFFF
}
 Defines model color formats. More...