Hi all
I am trying to use the Gauss5x5PyramidKernel_8() function in VLIB 2.1.
1) My program compiles but will not link. I have added the library to my project, but it can not resolve the symbol:
VLIB_gauss5x5PyramidKernel_8
Im stumped
2) The VLIB documentation states that the 'cols' parameter should be equal to (W-4) and should be divisible by 8.
BUT the example program in VLIB folder for this function is calling it with (16-4) which is not divisible by 8, but W (=16) is.
Is this a typo in the document.
From the VLIB pdf doc
24.2.2 Inputs
char *restrict pIn 5 x width input array (UQ8.0)
unsigned int *restrict pB 5 x (width-4) temporary array (UQ16.0)
unsigned short cols cols = W-4; must be divisible by 8 (UQ16.0)
unsigned short pitch Pitch of the input data (UQ16.0)
unsigned short rows rows = H; height of the input data; must be >4 (UQ16.0)
char *restrict pOut 1 x (width-4)/2 output (UQ8.0)
24.2.3 Output
int Returns VLIB Error Status
24.2.4 Method
The value of cols = W-4 must be a multiple of 8, rows = H (height of the input data) must be > 4; while pIn,
pB, and pOut must be 64-bit aligned.
TIA
Dave