Functions | |
VXLIB_STATUS | VXLIB_normL2_i16s_i16s_o16u (const int16_t src_x[restrict], const VXLIB_bufParams2D_t *src_x_addr, const int16_t src_y[restrict], const VXLIB_bufParams2D_t *src_y_addr, uint16_t dst[restrict], const VXLIB_bufParams2D_t *dst_addr) |
VXLIB_STATUS | VXLIB_normL2_i16s_i16s_o16u_checkParams (const int16_t src_x[restrict], const VXLIB_bufParams2D_t *src_x_addr, const int16_t src_y[restrict], const VXLIB_bufParams2D_t *src_y_addr, uint16_t dst[restrict], const VXLIB_bufParams2D_t *dst_addr) |
VXLIB_STATUS VXLIB_normL2_i16s_i16s_o16u | ( | const int16_t | src_x[restrict], |
const VXLIB_bufParams2D_t * | src_x_addr, | ||
const int16_t | src_y[restrict], | ||
const VXLIB_bufParams2D_t * | src_y_addr, | ||
uint16_t | dst[restrict], | ||
const VXLIB_bufParams2D_t * | dst_addr | ||
) |
dst(x,y) = round( sqrt( (src_x(x,y)^2) + (src_y(x,y)^2) ) )
[in] | src_x[] | Pointer to array containing first input image (SQ15.0) |
[in] | src_x_addr[] | Pointer to structure containing dimensional information of src0 |
[in] | src_y[] | Pointer to array containing second input image (SQ15.0) |
[in] | src_y_addr[] | Pointer to structure containing dimensional information of src1 |
[out] | dst[] | Pointer to array containing output image (UQ15.0) |
[in] | dst_addr[] | Pointer to structure containing dimensional information of dst |
VXLIB_STATUS VXLIB_normL2_i16s_i16s_o16u_checkParams | ( | const int16_t | src_x[restrict], |
const VXLIB_bufParams2D_t * | src_x_addr, | ||
const int16_t | src_y[restrict], | ||
const VXLIB_bufParams2D_t * | src_y_addr, | ||
uint16_t | dst[restrict], | ||
const VXLIB_bufParams2D_t * | dst_addr | ||
) |
[in] | src_x[] | Pointer to array containing first input image (SQ15.0) |
[in] | src_x_addr[] | Pointer to structure containing dimensional information of src0 |
[in] | src_y[] | Pointer to array containing second input image (SQ15.0) |
[in] | src_y_addr[] | Pointer to structure containing dimensional information of src1 |
[out] | dst[] | Pointer to array containing output image (UQ15.0) |
[in] | dst_addr[] | Pointer to structure containing dimensional information of dst |