ipp: added LUT optimization