Data Structures | |
| struct | pvaAlgosMorphConfig_t |
| Structure that holds configuration parameters for the morphological operation. More... | |
| struct | pvaAlgosMorphIOBuffer_t |
| Structure that holds I/O Buffers that change based on the frame inputs. More... | |
Typedefs | |
| typedef struct MorphContext * | pvaAlgosMorphContext_t |
| Structure that stores internal objects needed for the Background subtractor. More... | |
Enumerations | |
| enum | pvaAlgosMorphKernelShape_t { PVA_ALGOS_KERNEL_SHAPE_RECT, PVA_ALGOS_KERNEL_SHAPE_CROSS, PVA_ALGOS_KERNEL_SHAPE_MAX } |
| Enum for Kernel Shape. More... | |
| enum | pvaAlgosMorphOperationType_t { PVA_ALGOS_MORPH_OPERATION_ERODE, PVA_ALGOS_MORPH_OPERATION_DILATE, PVA_ALGOS_MORPH_OPERATION_MAX } |
| Enum for Operation Type. More... | |
Functions | |
| pvaAlgosError_t | pvaAlgosMorphGetContext (pvaAlgosMorphContext_t *morphContext) |
| Initializes MorphContext object and sends it back to the caller. More... | |
| pvaAlgosError_t | pvaAlgosMorphInit (pvaAlgosMorphContext_t *morphContext, pvaAlgosMorphConfig_t *morphParams) |
| Initializes the necessary values for the internal objects in pvaAlgosMorphContext_t object. More... | |
| pvaAlgosError_t | pvaAlgosMorphProcess (pvaAlgosMorphContext_t *morphContext, pvaAlgosMorphIOBuffer_t *morphBuffers, cupvaStream_t *instanceStream, int execTimeout) |
| Sets the I/O Buffers to the internal objects and runs the Morphological operation Algorithm. More... | |
| pvaAlgosError_t | pvaAlgosMorphDeInit (pvaAlgosMorphContext_t *morphContext) |
| Frees the internal objects and the MorphContext object. More... | |
| typedef struct MorphContext* pvaAlgosMorphContext_t |
Structure that stores internal objects needed for the Background subtractor.
Definition at line 86 of file pva_algos_morph.h.
Enum for Kernel Shape.
| Enumerator | |
|---|---|
| PVA_ALGOS_KERNEL_SHAPE_RECT | |
| PVA_ALGOS_KERNEL_SHAPE_CROSS | |
| PVA_ALGOS_KERNEL_SHAPE_MAX | |
Definition at line 22 of file pva_algos_morph.h.
Enum for Operation Type.
| Enumerator | |
|---|---|
| PVA_ALGOS_MORPH_OPERATION_ERODE | |
| PVA_ALGOS_MORPH_OPERATION_DILATE | |
| PVA_ALGOS_MORPH_OPERATION_MAX | |
Definition at line 34 of file pva_algos_morph.h.
| pvaAlgosError_t pvaAlgosMorphDeInit | ( | pvaAlgosMorphContext_t * | morphContext | ) |
Frees the internal objects and the MorphContext object.
| [in] | morphContext | The pointer to a pvaAlgosMorphContext_t object that stores the internal parameters needed for Morphological operation |
| pvaAlgosError_t pvaAlgosMorphGetContext | ( | pvaAlgosMorphContext_t * | morphContext | ) |
Initializes MorphContext object and sends it back to the caller.
| [in] | MorphContext | The pointer to a pvaAlgosMorphContext_t object that stores the internal parameters needed for Morphological operation |
| pvaAlgosError_t pvaAlgosMorphInit | ( | pvaAlgosMorphContext_t * | morphContext, |
| pvaAlgosMorphConfig_t * | morphParams | ||
| ) |
Initializes the necessary values for the internal objects in pvaAlgosMorphContext_t object.
| [in] | morphContext | The pointer to a pvaAlgosMorphContext_t object that stores the internal parameters needed for Morphological operation |
| [in] | morphParams | The pointer to a pvaAlgosMorphConfig_t object that stores the configuration parameters for Morphological operation |
| pvaAlgosError_t pvaAlgosMorphProcess | ( | pvaAlgosMorphContext_t * | morphContext, |
| pvaAlgosMorphIOBuffer_t * | morphBuffers, | ||
| cupvaStream_t * | instanceStream, | ||
| int | execTimeout | ||
| ) |
Sets the I/O Buffers to the internal objects and runs the Morphological operation Algorithm.
| [in] | morphContext | The pointer to a pvaAlgosMorphContext_t object that stores the internal parameters needed for Morphological operation |
| [in] | morphBuffers | The pointer to a pvaAlgosMorphIOBuffer_t object that stores the I/O Buffers that change each frame |
| [in] | postFence | The pointer to a cupvaFence_t object needed for the synchronization across instructions sent to the PVA Engine |
| [in] | instanceStream | The pointer to a cupvaStream_t object needed to submit instructions to the PVA Engine |