The OpenD Programming Language

rec601ToLinear

Rec.601 to linear transfer function. Note, Rec.709 also uses this same function.

import std.experimental.color.colorspace;
@safe pure nothrow @nogc
alias rec601ToLinear(F) = hybridGammaToLinear!(1.099, 0.018, 4.5, 1 / 0.45, F)

Meta