NVIDIA DeepStream SDK API Reference

6.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvdspreprocess_interface.h File Reference

Detailed Description

Copyright (c) 2021, NVIDIA CORPORATION.

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NVIDIA DeepStream GStreamer NvDsPreProcess API Specification

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

Definition in file 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
 

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
}
 Enum for the status codes returned by NvDsPreProcessImpl. More...
 
enum  NvDsPreProcessNetworkInputOrder {
  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
}
 Defines model color formats. More...