Functions | |
VXLIB_STATUS | VXLIB_minMaxLoc_i16s (const int16_t src[restrict], const VXLIB_bufParams2D_t *src_addr, int16_t *pMinVal, int16_t *pMaxVal, uint32_t *pMinCount, uint32_t *pMaxCount, size_t minLocCapacity, size_t maxLocCapacity, uint32_t minLoc[restrict], uint32_t maxLoc[restrict], uint16_t startX, uint16_t startY) |
VXLIB_STATUS | VXLIB_minMaxLoc_i16s_checkParams (const int16_t src[], const VXLIB_bufParams2D_t *src_addr, const int16_t *pMinVal, const int16_t *pMaxVal) |
VXLIB_STATUS VXLIB_minMaxLoc_i16s | ( | const int16_t | src[restrict], |
const VXLIB_bufParams2D_t * | src_addr, | ||
int16_t * | pMinVal, | ||
int16_t * | pMaxVal, | ||
uint32_t * | pMinCount, | ||
uint32_t * | pMaxCount, | ||
size_t | minLocCapacity, | ||
size_t | maxLocCapacity, | ||
uint32_t | minLoc[restrict], | ||
uint32_t | maxLoc[restrict], | ||
uint16_t | startX, | ||
uint16_t | startY | ||
) |
minVal = min(src(x',y')) where 0 <= x' < width, 0 <= y' < height maxVal = max(src(x',y')) where 0 <= x' < width, 0 <= y' < height
[in] | src[] | Pointer to array containing input image (SQ15.0) |
[in] | src_addr[] | Pointer to structure containing dimensional information of src |
[in,out] | *pMinVal | Minimum value in the image |
[in,out] | *pMaxVal | Maximum value in the image |
[in,out] | *pMinCount | Total number of detected minimum values in the image (optional) |
[in,out] | *pMaxCount | Total number of detected maximum values in the image (optional) |
[in] | minLocCapacity | Allocated array size of minLoc array. |
[in] | maxLocCapacity | Allocated array size of maxLoc array. |
[in,out] | minLoc[] | Coordinates of minimum values in the image (x,y) (optional) |
[in,out] | maxLoc[] | Coordinates of maximum values in the image (x,y) (optional) |
[in] | startX | Starting x coordinate in the image corresponding to the src pointer |
[in] | startY | Starting y coordinate in the image corresponding to the src pointer |
VXLIB_STATUS VXLIB_minMaxLoc_i16s_checkParams | ( | const int16_t | src[], |
const VXLIB_bufParams2D_t * | src_addr, | ||
const int16_t * | pMinVal, | ||
const int16_t * | pMaxVal | ||
) |
[in] | src[] | Pointer to array containing input image (SQ15.0) |
[in] | src_addr[] | Pointer to structure containing dimensional information of src |
[in] | *pMinVal | Minimum value in the image |
[in] | *pMaxVal | Maximum value in the image |