![]() |
![]() |
Functions | |
| VXLIB_STATUS | VXLIB_convolve_i8u_c16s_o16s (const uint8_t src[restrict], const VXLIB_bufParams2D_t *src_addr, int16_t dst[restrict], const VXLIB_bufParams2D_t *dst_addr, const int16_t conv_mat[restrict], int32_t conv_width, int32_t conv_height, uint32_t conv_scale) |
| VXLIB_STATUS | VXLIB_convolve_i8u_c16s_o16s_checkParams (const uint8_t src[restrict], const VXLIB_bufParams2D_t *src_addr, const int16_t dst[restrict], const VXLIB_bufParams2D_t *dst_addr, const int16_t conv_mat[restrict], int32_t conv_width, int32_t conv_height, uint32_t conv_scale) |
| VXLIB_STATUS VXLIB_convolve_i8u_c16s_o16s | ( | const uint8_t | src[restrict], |
| const VXLIB_bufParams2D_t * | src_addr, | ||
| int16_t | dst[restrict], | ||
| const VXLIB_bufParams2D_t * | dst_addr, | ||
| const int16_t | conv_mat[restrict], | ||
| int32_t | conv_width, | ||
| int32_t | conv_height, | ||
| uint32_t | conv_scale | ||
| ) |
| [in] | src[] | Pointer to array containing input image (UQ8.0) |
| [in] | src_addr[] | Pointer to structure containing dimensional information of src |
| [out] | dst[] | Pointer to array containing output image (SQ15.0) |
| [in] | dst_addr[] | Pointer to structure containing dimensional information of dst |
| [in] | conv_mat[] | Pointer to array containing convolution matrix (SQ15.0) |
| [in] | conv_width | Width of convoltion matrix |
| [in] | conv_height | Height of convolution matrix |
| [in] | conv_scale | Scale value to divide the final sum of products (power of 2) |
| VXLIB_STATUS VXLIB_convolve_i8u_c16s_o16s_checkParams | ( | const uint8_t | src[restrict], |
| const VXLIB_bufParams2D_t * | src_addr, | ||
| const int16_t | dst[restrict], | ||
| const VXLIB_bufParams2D_t * | dst_addr, | ||
| const int16_t | conv_mat[restrict], | ||
| int32_t | conv_width, | ||
| int32_t | conv_height, | ||
| uint32_t | conv_scale | ||
| ) |
| [in] | src[] | Pointer to array containing input image (UQ8.0) |
| [in] | src_addr[] | Pointer to structure containing dimensional information of src |
| [out] | dst[] | Pointer to array containing output image (SQ15.0) |
| [in] | dst_addr[] | Pointer to structure containing dimensional information of dst |
| [in] | conv_mat[] | Pointer to array containing convolution matrix (SQ15.0) |
| [in] | conv_width | Width of convoltion matrix |
| [in] | conv_height | Height of convolution matrix |
| [in] | conv_scale | Scale value to divide the final sum of products (power of 2) |