|
|
NVIDIA DeepStream SDK API Reference
|
9.0 Release
|
Go to the documentation of this file.
28 #ifndef __NVDSPREPROCESS_LIB__
29 #define __NVDSPREPROCESS_LIB__
31 #include "nvbufsurface.h"
32 #include "nvbufsurftransform.h"
33 #include "nvdspreprocess_interface.h"
36 #define _PATH_MAX 4096
39 #define NVDSPREPROCESS_USER_CONFIGS_PIXEL_NORMALIZATION_FACTOR "pixel-normalization-factor"
42 #define NVDSPREPROCESS_USER_CONFIGS_MEAN_FILE "mean-file"
45 #define NVDSPREPROCESS_USER_CONFIGS_OFFSETS "offsets"
Custom Initialization parameter for custom library.
Holds information about batched buffers.
Holds information about the batch of frames to be inferred.
PROCESS_EXPORT_API void deInitLib(CustomCtx *ctx)
custom library deinitialization function
NvDsPreProcessStatus
Enum for the status codes returned by NvDsPreProcessImpl.
NvDsPreProcessStatus CustomAsyncTransformation(NvBufSurface *in_surf, NvBufSurface *out_surf, CustomTransformParams ¶ms)
Custom Asynchronus group transformation function.
NvDsPreProcessStatus CustomTensorPreparation(CustomCtx *ctx, NvDsPreProcessBatch *batch, NvDsPreProcessCustomBuf *&buf, CustomTensorParams &tensorParam, NvDsPreProcessAcquirer *acquirer)
Custom tensor preparation function for NCHW/NHWC network order.
PROCESS_EXPORT_API CustomCtx * initLib(CustomInitParams initparams)
custom library initialization function
Tensor params passed to custom library for tensor preparation.
Custom Buffer passed to the custom lib for preparing tensor.
class for acquiring and releasing a buffer from tensor pool by custom lib.
struct CustomCtx CustomCtx
Context for custom library.
NvDsPreProcessStatus CustomTransformation(NvBufSurface *in_surf, NvBufSurface *out_surf, CustomTransformParams ¶ms)
Custom transformation function for group.