diff options
Diffstat (limited to 'src/core/CL/cl_kernels/canny.cl')
-rw-r--r-- | src/core/CL/cl_kernels/canny.cl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/CL/cl_kernels/canny.cl b/src/core/CL/cl_kernels/canny.cl index ec6719213c..166d681755 100644 --- a/src/core/CL/cl_kernels/canny.cl +++ b/src/core/CL/cl_kernels/canny.cl @@ -229,16 +229,16 @@ __kernel void suppress_non_maximum( #define hysteresis_local_stack_L2 16 // The size of level 2 stack, adjust this can impact the match rate with VX implementation /** Check whether pixel is valid -* -* Skip the pixel if the early_test fails. -* Otherwise, it tries to add the pixel coordinate to the stack, and proceed to popping the stack instead if the stack is full -* -* @param[in] early_test Boolean condition based on the minv check and visited buffer check -* @param[in] x_pos X-coordinate of pixel that is going to be recorded, has to be within the boundary -* @param[in] y_pos Y-coordinate of pixel that is going to be recorded, has to be within the boundary -* @param[in] x_cur X-coordinate of current central pixel -* @param[in] y_cur Y-coordinate of current central pixel -*/ + * + * Skip the pixel if the early_test fails. + * Otherwise, it tries to add the pixel coordinate to the stack, and proceed to popping the stack instead if the stack is full + * + * @param[in] early_test Boolean condition based on the minv check and visited buffer check + * @param[in] x_pos X-coordinate of pixel that is going to be recorded, has to be within the boundary + * @param[in] y_pos Y-coordinate of pixel that is going to be recorded, has to be within the boundary + * @param[in] x_cur X-coordinate of current central pixel + * @param[in] y_cur Y-coordinate of current central pixel + */ #define check_pixel(early_test, x_pos, y_pos, x_cur, y_cur) \ { \ if(!early_test) \ |