videolib.nonlinearities.rec709_oetf

rec709_oetf(x)[source]

Rec.709 opto-electrical transfer function (linear->non-linear transformation)

Parameters:

x – Input linear light value(s) in the range [0, 1]

Returns:

Non-linear encoded value(s) in the range [0, 1]