![]() |
![]() |
Functions | |
| VXLIB_STATUS | VXLIB_convertDepth_i8u_o16s (const uint8_t src[restrict], const VXLIB_bufParams2D_t *src_addr, int16_t dst[restrict], const VXLIB_bufParams2D_t *dst_addr, uint32_t shift) |
| VXLIB_STATUS | VXLIB_convertDepth_i8u_o16s_checkParams (const uint8_t src[], const VXLIB_bufParams2D_t *src_addr, const int16_t dst[], const VXLIB_bufParams2D_t *dst_addr, uint32_t shift) |
| VXLIB_STATUS VXLIB_convertDepth_i8u_o16s | ( | const uint8_t | src[restrict], | |
| const VXLIB_bufParams2D_t * | src_addr, | |||
| int16_t | dst[restrict], | |||
| const VXLIB_bufParams2D_t * | dst_addr, | |||
| uint32_t | shift | |||
| ) |
dst(x,y) = ((int16)src(x,y)) << shift;
| [in] | src[] | Pointer to array containing first 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] | shift | Parameter indicating shift value; valid for 0 <= shift < 8 |
| VXLIB_STATUS VXLIB_convertDepth_i8u_o16s_checkParams | ( | const uint8_t | src[], | |
| const VXLIB_bufParams2D_t * | src_addr, | |||
| const int16_t | dst[], | |||
| const VXLIB_bufParams2D_t * | dst_addr, | |||
| uint32_t | shift | |||
| ) |
| [in] | src[] | Pointer to array containing first 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] | shift | Parameter indicating shift value; valid for 0 <= shift < 8 |