Make number of output entries produced by invert_lut() a parameter

The callers of invert_lut() have been changed to pass the lut length as the
output length for now. There should be no behaviour change.
1 file changed