Class Rec709Companding
- Namespace
- SixLabors.ImageSharp.ColorProfiles.Companding
- Assembly
- SixLabors.ImageSharp.dll
Implements the Rec. 709 companding function.
public static class Rec709Companding
- Inheritance
-
Rec709Companding
- Inherited Members
Remarks
Methods
Compress(Vector4)
Compresses the linear vector to its nonlinear equivalent with respect to the energy.
public static Vector4 Compress(Vector4 vector)
Parameters
vectorVector4The vector.
Returns
Compress(Span<Vector4>)
Compresses the linear vectors to their nonlinear equivalents with respect to the energy.
public static void Compress(Span<Vector4> vectors)
Parameters
Expand(Vector4)
Expands the nonlinear vector to its linear equivalent with respect to the energy.
public static Vector4 Expand(Vector4 vector)
Parameters
vectorVector4The vector.
Returns
Expand(Span<Vector4>)
Expands the nonlinear vectors to their linear equivalents with respect to the energy.
public static void Expand(Span<Vector4> vectors)