Dear all, with all respect, but I think this code does not work. I tried it on a 640x480 image (and 480x640). The result is not a blurred image.
//blur image in horizontal direction then vertical direction
horizontalBlur(radius, offsSreenBuffer, img);
verticalBlur(radius, img, offsSreenBuffer);
This seems also not be ok. Or am I wrong?