Functions | |
VXLIB_STATUS | VXLIB_addWeight_i8u_i8u_o8u (const uint8_t src0[restrict], const VXLIB_bufParams2D_t *src0_addr, const uint8_t src1[restrict], const VXLIB_bufParams2D_t *src1_addr, uint8_t dst[restrict], const VXLIB_bufParams2D_t *dst_addr, VXLIB_F32 alpha) |
VXLIB_STATUS | VXLIB_addWeight_i8u_i8u_o8u_checkParams (const uint8_t src0[], const VXLIB_bufParams2D_t *src0_addr, const uint8_t src1[], const VXLIB_bufParams2D_t *src1_addr, const uint8_t dst[], const VXLIB_bufParams2D_t *dst_addr, VXLIB_F32 alpha) |
VXLIB_STATUS VXLIB_addWeight_i8u_i8u_o8u | ( | const uint8_t | src0[restrict], |
const VXLIB_bufParams2D_t * | src0_addr, | ||
const uint8_t | src1[restrict], | ||
const VXLIB_bufParams2D_t * | src1_addr, | ||
uint8_t | dst[restrict], | ||
const VXLIB_bufParams2D_t * | dst_addr, | ||
VXLIB_F32 | alpha | ||
) |
dst(x,y) = (1-alpha)*src1(x,y) + alpha*src0(x,y)
[in] | src0[] | Pointer to array containing first input image (UQ8.0) |
[in] | src0_addr[] | Pointer to structure containing dimensional information of src |
[in] | src1[] | Pointer to array containing first input image (UQ8.0) |
[in] | src1_addr[] | Pointer to structure containing dimensional information of src |
[out] | dst[] | Pointer to array containing output image (UQ8.0) |
[in] | dst_addr[] | Pointer to structure containing dimensional information of dst |
[in] | alpha | Parameter indicating weight for src and dst (0.0 <= alpha <= 1.0) |
VXLIB_STATUS VXLIB_addWeight_i8u_i8u_o8u_checkParams | ( | const uint8_t | src0[], |
const VXLIB_bufParams2D_t * | src0_addr, | ||
const uint8_t | src1[], | ||
const VXLIB_bufParams2D_t * | src1_addr, | ||
const uint8_t | dst[], | ||
const VXLIB_bufParams2D_t * | dst_addr, | ||
VXLIB_F32 | alpha | ||
) |
[in] | src0[] | Pointer to array containing first input image (UQ8.0) |
[in] | src0_addr[] | Pointer to structure containing dimensional information of src |
[in] | src1[] | Pointer to array containing first input image (UQ8.0) |
[in] | src1_addr[] | Pointer to structure containing dimensional information of src |
[out] | dst[] | Pointer to array containing output image (UQ8.0) |
[in] | dst_addr[] | Pointer to structure containing dimensional information of dst |
[in] | alpha | Parameter indicating weight for src and dst (0.0 <= alpha <= 1.0) |