use LUT table for resizing coeff. Much faster.
use clamp function instead of confusing inline if
make clamp function inline
move kernel function outside of class + fix stupid chroma resizing bug