|
NVIDIA DeepStream SDK API Reference
|
6.3 Release
|
Go to the documentation of this file.
38 #ifndef __NVDSPREPROCESS_LIB__
39 #define __NVDSPREPROCESS_LIB__
43 #include "nvdspreprocess_interface.h"
46 #define _PATH_MAX 4096
49 #define NVDSPREPROCESS_USER_CONFIGS_PIXEL_NORMALIZATION_FACTOR "pixel-normalization-factor"
52 #define NVDSPREPROCESS_USER_CONFIGS_MEAN_FILE "mean-file"
55 #define NVDSPREPROCESS_USER_CONFIGS_OFFSETS "offsets"
Custom Initialization parameter for custom library.
CustomCtx * initLib(CustomInitParams initparams)
custom library initialization function
Holds information about batched buffers.
Holds information about the batch of frames to be inferred.
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.
void deInitLib(CustomCtx *ctx)
custom library deinitialization 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.