implement LUT applying (pre and post adjustments and calibrations)

Signed-off-by: Mattias Andrée <maandree@operamail.com>