Defines the image pyramid structure.
| Data Structures | |
| struct | dwPyramidImage | 
| Pyramid image structure.  More... | |
| struct | dwPyramidImageProperties | 
| Pyramid image properties structure.  More... | |
| Macros | |
| #define | DW_PYRAMID_LEVEL_MAX_COUNT 12 | 
| Typedefs | |
| typedef struct dwPyramidImage | dwPyramidImage | 
| Pyramid image structure.  More... | |
| typedef struct dwPyramidImageProperties | dwPyramidImageProperties | 
| Pyramid image properties structure.  More... | |
| #define DW_PYRAMID_LEVEL_MAX_COUNT 12 | 
Definition at line 44 of file Pyramid_1.h.
| typedef struct dwPyramidImage dwPyramidImage | 
Pyramid image structure.
| typedef struct dwPyramidImageProperties dwPyramidImageProperties | 
Pyramid image properties structure.
| typedef struct dwPyramidPVAObject* dwPyramidPVAHandle_t | 
Defines the image pyramid structure.
Handle to a Pyramid object.
Definition at line 49 of file PyramidPVA_1.h.
| typedef struct dwPyramidPVAParams dwPyramidPVAParams | 
PVA image pyramid parameters.
| enum dwPyramidPVAState | 
Defines the Pyramid module.
The dwPyramidPVAState enum represents the current state the module is in
Definition at line 40 of file PyramidPVA_processpipeline_1.h.
| DW_API_PUBLIC dwStatus dwImageFilter_computePyramid | ( | dwPyramidImage * | pyramid, | 
| const dwImageCUDA * | image, | ||
| cudaStream_t | stream, | ||
| dwContextHandle_t | context | ||
| ) | 
Builds the pyramid from level 0 image.
| [in,out] | pyramid | pyramid images that will be built, must be initialized by 'dwPyramid_create' first | 
| [in] | image | Specifies the level 0 image which has the highest resolution | 
| [in] | stream | Specifies the CUDA stream to use during pyramid building. | 
| [in] | context | Specifies the handle to the active DW context | 
| DW_API_PUBLIC dwStatus dwPyramid_create | ( | dwPyramidImage * | pyramid, | 
| uint32_t | levelCount, | ||
| uint32_t | width, | ||
| uint32_t | height, | ||
| dwTrivialDataType | pxlType, | ||
| dwContextHandle_t | context | ||
| ) | 
Creates and initializes an image pyramid.
| [out] | pyramid | A pointer to the pyramid image will be returned here. | 
| [in] | levelCount | Number of levels in the pyramid | 
| [in] | width | Width of level 0 image | 
| [in] | height | Height of level 0 image | 
| [in] | pxlType | Data Type of pyramid, currently only 'DW_TYPE_UINT8', 'DW_TYPE_UINT16', 'DW_TYPE_FLOAT16' and 'DW_TYPE_FLOAT32' are supported | 
| [in] | context | Specifies the handle to the context under which it is created. | 
| DW_API_PUBLIC dwStatus dwPyramid_createFromProperties | ( | dwPyramidImage * | pyramid, | 
| const dwPyramidImageProperties * | props, | ||
| dwContextHandle_t | context | ||
| ) | 
Creates and initializes an image pyramid.
| [out] | pyramid | A pointer to the pyramid image will be returned here. | 
| [in] | props | Properties of the pyramid image | 
| [in] | context | Specifies the handle to the context under which it is created. | 
| DW_API_PUBLIC dwStatus dwPyramid_destroy | ( | dwPyramidImage | pyramid | ) | 
Destroy pyramid images.
| [in] | pyramid | pyramid image to be destroyed | 
| DW_API_PUBLIC dwStatus dwPyramid_fillProperties | ( | dwPyramidImageProperties * | props, | 
| uint32_t | levelCount, | ||
| uint32_t | width, | ||
| uint32_t | height, | ||
| dwTrivialDataType | pxlType | ||
| ) | 
Fills the pyramid image properties structure.
| [out] | props | A pointer to properties structure to be filled. | 
| [in] | levelCount | Number of levels in the pyramid | 
| [in] | width | Width of level 0 image | 
| [in] | height | Height of level 0 image | 
| [in] | pxlType | Data Type of pyramid, currently only 'DW_TYPE_UINT8', 'DW_TYPE_UINT16', 'DW_TYPE_FLOAT16' and 'DW_TYPE_FLOAT32' are supported | 
| DW_API_PUBLIC dwStatus dwPyramid_getProperties | ( | dwPyramidImageProperties * | props, | 
| dwPyramidImage * | pyramid, | ||
| dwContextHandle_t | context | ||
| ) | 
Gets the properties of a pyramid image.
| [out] | props | A pointer to properties structure to be filled. | 
| [in] | pyramid | A pointer to the pyramid image | 
| [in] | context | Specifies the handle to the context under which it is created. | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_bindInput | ( | const dwImageHandle_t | image, | 
| dwPyramidPVAHandle_t | obj | ||
| ) | 
Binds the input image to class member.
| [in] | image | input image of type dwImageHandle_t(Generic CUDA image) Currently the supported image type is DW_IMAGE_CUDA, the supported image formats areDW_IMAGE_FORMAT_R_UINT16. | 
| [in] | obj | dyramid module object | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_bindOutput | ( | dwPyramidImage * | pyramid, | 
| dwPyramidPVAHandle_t | obj | ||
| ) | 
Binds the initialized output pyramid to class.
| [in] | pyramid | image pyramid(CUDA Images) | 
| [in] | obj | dyramid module object | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_computePyramid | ( | dwPyramidImage * | pyramid, | 
| const dwImageHandle_t | image, | ||
| cudaStream_t | stream, | ||
| dwPyramidPVAHandle_t | obj | ||
| ) | 
Builds the pyramid from level 0 image.
| [in,out] | pyramid | pyramid images that will be built, must be initialized by dwPyramidPVA_createfirst | 
| [in] | image | Specifies the level 0 image which has the highest resolution. Currently the supported image type is DW_IMAGE_CUDA, the supported image formats areDW_IMAGE_FORMAT_R_UINT16. | 
| [in] | stream | Specifies the CUDA stream to use during pyramid building. | 
| [in] | obj | Specifies the handle to the active Pyramid Object | 
image differs from the one in dwPyramidPVA_create.dwPyramidImage must be initialized by dwPyramidPVA_create, input image must have the same width/height as in dwPyramidPVA_create | DW_API_PUBLIC dwStatus dwPyramidPVA_getCUDAStream | ( | cudaStream_t * | stream, | 
| dwPyramidPVAHandle_t | obj | ||
| ) | 
Get CUDA Stream to the used.
| [out] | stream | cuda stream | 
| [in] | obj | dyramid module object | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_getPVAStream | ( | cupvaStream_t * | stream, | 
| dwPyramidPVAHandle_t | obj | ||
| ) | 
Get cuPVA Stream to the used.
| [out] | stream | cupva stream | 
| [in] | obj | dyramid module object | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_initDefaultParams | ( | dwPyramidPVAParams * | params | ) | 
Initializes default parameters for PVA image pyramid with default values.
| [out] | params | PVA image pyramid parameters. | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_initialize | ( | dwPyramidPVAHandle_t * | obj, | 
| dwPyramidPVAParams * | params, | ||
| const dwPyramidImage * | pyramid, | ||
| cudaStream_t | cudaStream, | ||
| dwContextHandle_t | context | ||
| ) | 
Initialize parameters for image pyramid.
| [out] | obj | A pointer to handle that is initialized with parameters. | 
| [in] | params | Image pyramid parameters. | 
| [in] | pyramid | the sample allocated output buffer with correct size information. | 
| [in] | cudaStream | the CUDA stream to use for cuda operations. | 
| [in] | context | Specifies the handle to the context under which it is created. | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_process | ( | dwPyramidPVAState | stage, | 
| dwPyramidPVAHandle_t | obj | ||
| ) | 
Calls process functions based on the current state of execution.
| [in] | stage | current execution state | 
| [in] | obj | dyramid module object | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_release | ( | dwPyramidPVAHandle_t | obj | ) | 
Release Pyramid module.
| [in] | obj | Handle to reset. | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_reset | ( | dwPyramidPVAHandle_t | obj | ) | 
Resets Pyramid module.
| [in] | obj | Handle to reset. | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_setCUDAStream | ( | cudaStream_t | stream, | 
| dwPyramidPVAHandle_t | obj | ||
| ) | 
Sets CUDA Stream to the given stream.
| [in] | stream | cuda stream | 
| [in] | obj | dyramid module object | 
| DW_API_PUBLIC dwStatus dwPyramidPVA_setPVAStream | ( | cupvaStream_t | stream, | 
| dwPyramidPVAHandle_t | obj | ||
| ) | 
Sets cuPVA Stream to the given stream.
| [in] | stream | cupva stream | 
| [in] | obj | dyramid module object |