Data Structures | |
| struct | pvaAlgosImageProcessorConfig_t |
| Structure that holds configuration parameters for the image processor. More... | |
| struct | pvaAlgosImageProcessorIOBuffer_t |
| Structure that holds I/O Buffers for the image processor. More... | |
Typedefs | |
| typedef struct ImageProcessorContext * | pvaAlgosImageProcessorContext_t |
| Structure that stores internal objects needed for image processor. More... | |
Enumerations | |
| enum | pvaAlgosImageProcessorColorFormat_t { Y8UV8_TO_RGB8, Y8UV8_TO_RGBFP16, Y8UV8_TO_RGBFP32, RGBX8_TO_RGB8, RGBX8_TO_RGBFP16, RGBX8_TO_RGBFP32, COLOR_FORMAT_MAX } |
| Enum for input and output color formats. More... | |
Functions | |
| pvaAlgosError_t | pvaAlgosImageProcessorGetContext (pvaAlgosImageProcessorContext_t *imageProcessorContext) |
| Initializes ImageProcessorContext object and stores it in the context structure. More... | |
| pvaAlgosError_t | pvaAlgosImageProcessorInit (pvaAlgosImageProcessorContext_t *imageProcessorContext, pvaAlgosImageProcessorConfig_t *imageProcessorParams) |
| Initializes the necessary values for the internal objects in ImageProcessorContext object. More... | |
| pvaAlgosError_t | pvaAlgosImageProcessorProcess (pvaAlgosImageProcessorContext_t *imageProcessorContext, pvaAlgosImageProcessorIOBuffer_t *imageProcessorBuffers, cupvaStream_t *instanceStream, int execTimeout) |
| Sets the I/O Buffers to the internal objects and runs the Image Processor. More... | |
| pvaAlgosError_t | pvaAlgosImageProcessorDeInit (pvaAlgosImageProcessorContext_t *imageProcessorContext) |
| Frees the internal objects and the ImageProcessorContext object. More... | |
| typedef struct ImageProcessorContext* pvaAlgosImageProcessorContext_t |
Structure that stores internal objects needed for image processor.
Definition at line 90 of file pva_algos_image_processor.h.
Enum for input and output color formats.
Definition at line 23 of file pva_algos_image_processor.h.
| pvaAlgosError_t pvaAlgosImageProcessorDeInit | ( | pvaAlgosImageProcessorContext_t * | imageProcessorContext | ) |
Frees the internal objects and the ImageProcessorContext object.
| [in] | imageProcessorContext | The pointer to a pvaAlgosImageProcessorContext_t object that stores the internal parameters needed for Image Processor |
| pvaAlgosError_t pvaAlgosImageProcessorGetContext | ( | pvaAlgosImageProcessorContext_t * | imageProcessorContext | ) |
Initializes ImageProcessorContext object and stores it in the context structure.
| [in] | imageProcessorContext | The pointer to a pvaAlgosImageProcessorContext_t object that stores the internal parameters needed for Image Processor |
| pvaAlgosError_t pvaAlgosImageProcessorInit | ( | pvaAlgosImageProcessorContext_t * | imageProcessorContext, |
| pvaAlgosImageProcessorConfig_t * | imageProcessorParams | ||
| ) |
Initializes the necessary values for the internal objects in ImageProcessorContext object.
| [in] | imageProcessorContext | The pointer to a pvaAlgosImageProcessorContext_t object that stores the internal parameters needed for Image Processor |
| [in] | imageProcessorParams | The pointer to a pvaAlgosImageProcessorConfig_t object that stores the configuration parameters for Image Processor |
| pvaAlgosError_t pvaAlgosImageProcessorProcess | ( | pvaAlgosImageProcessorContext_t * | imageProcessorContext, |
| pvaAlgosImageProcessorIOBuffer_t * | imageProcessorBuffers, | ||
| cupvaStream_t * | instanceStream, | ||
| int | execTimeout | ||
| ) |
Sets the I/O Buffers to the internal objects and runs the Image Processor.
| [in] | imageProcessorContext | The pointer to a pvaAlgosImageProcessorContext_t object that stores the internal parameters needed for Image Processor |
| [in] | imageProcessorBuffers | The pointer to a pvaAlgosImageProcessorIOBuffer_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 |