Here's a version of this patch with options for specifying input and output nits. 32-bit LUTs would make this situation better if vf_colorspace tracked nits internally. 32-bit would only be necessary when dealing with HDR. That way SDR colorspace conversion can still use the 16-bit SIMD. /Tomas