Object Encoder APIΒΆ
-
group
ee_object_encoder
Defines APIs for Object Encoder.
Defines
-
FILE_NAME_SIZE
Typedefs
-
typedef struct _NvDsObjEncCtx *
NvDsObjEncCtxHandle
Opaque Handle to the Object Encoder Context.
-
typedef struct _NvDsObjEncOutParams
NvDsObjEncOutParams
Holds output parameters.
This structure is available to the user.
-
typedef struct _NvDsObjEncUsrArgs
NvDsObjEncUsrArgs
Holds user parameters for a nvds_obj_enc_process call.
Functions
-
NvDsObjEncCtxHandle
nvds_obj_enc_create_context
(void) Create context and return a handle to NvObjEncCtx.
-
bool
nvds_obj_enc_process
(NvDsObjEncCtxHandle, NvDsObjEncUsrArgs*, NvBufSurface*, NvDsObjectMeta*, NvDsFrameMeta*) Enqueue an object crop for JPEG encode.
This is a non-blocking call and user should call nvds_obj_enc_finish() to make sure all enqueued object crops have been processed.
-
void
nvds_obj_enc_finish
(NvDsObjEncCtxHandle) Wait for all enqueued crops to be encoded.
-
void
nvds_obj_enc_destroy_context
(NvDsObjEncCtxHandle) Destroy context.
-
struct
_NvDsObjEncOutParams
- #include <nvds_obj_encode.h>
Holds output parameters.
This structure is available to the user.
-
struct
_NvDsObjEncUsrArgs
- #include <nvds_obj_encode.h>
Holds user parameters for a nvds_obj_enc_process call.
-