![]() |
![]() |
Functions | |
| VXLIB_STATUS | VXLIB_channelExtract_1of3_i8u_o8u (const uint8_t src[restrict], const VXLIB_bufParams2D_t *src_addr, uint8_t dst[restrict], const VXLIB_bufParams2D_t *dst_addr, uint8_t channelOffset) |
| VXLIB_STATUS | VXLIB_channelExtract_1of3_i8u_o8u_checkParams (const uint8_t src[], const VXLIB_bufParams2D_t *src_addr, const uint8_t dst[], const VXLIB_bufParams2D_t *dst_addr, uint8_t channelOffset) |
| VXLIB_STATUS VXLIB_channelExtract_1of3_i8u_o8u | ( | const uint8_t | src[restrict], | |
| const VXLIB_bufParams2D_t * | src_addr, | |||
| uint8_t | dst[restrict], | |||
| const VXLIB_bufParams2D_t * | dst_addr, | |||
| uint8_t | channelOffset | |||
| ) |
dst(x) = src(3*x + channelOffset)
| [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 (UQ8.0) |
| [in] | dst_addr[] | Pointer to structure containing dimensional information of dst |
| [in] | channelOffset | Identifies which channel to extract (0, 1, or 2) |
| VXLIB_STATUS VXLIB_channelExtract_1of3_i8u_o8u_checkParams | ( | const uint8_t | src[], | |
| const VXLIB_bufParams2D_t * | src_addr, | |||
| const uint8_t | dst[], | |||
| const VXLIB_bufParams2D_t * | dst_addr, | |||
| uint8_t | channelOffset | |||
| ) |
| [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 (UQ8.0) |
| [in] | dst_addr[] | Pointer to structure containing dimensional information of dst |
| [in] | channelOffset | Identifies which channel to extract (0, 1, or 2) |