mirror of https://github.com/SixLabors/ImageSharp
19 changed files with 692 additions and 712 deletions
@ -1,15 +1,14 @@ |
|||||
// Copyright (c) Six Labors.
|
// Copyright (c) Six Labors.
|
||||
// Licensed under the Six Labors Split License.
|
// Licensed under the Six Labors Split License.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Icc |
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Icc; |
||||
|
|
||||
|
internal partial class CurveCalculator |
||||
{ |
{ |
||||
internal partial class CurveCalculator |
|
||||
{ |
|
||||
private enum CalculationType |
private enum CalculationType |
||||
{ |
{ |
||||
Identity, |
Identity, |
||||
Gamma, |
Gamma, |
||||
Lut, |
Lut, |
||||
} |
} |
||||
} |
|
||||
} |
} |
||||
|
|||||
@ -1,18 +1,17 @@ |
|||||
// Copyright (c) Six Labors.
|
// Copyright (c) Six Labors.
|
||||
// Licensed under the Six Labors Split License.
|
// Licensed under the Six Labors Split License.
|
||||
|
|
||||
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Icc |
namespace SixLabors.ImageSharp.ColorSpaces.Conversion.Icc; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Represents an ICC calculator with a single floating point value and result
|
||||
|
/// </summary>
|
||||
|
internal interface ISingleCalculator |
||||
{ |
{ |
||||
/// <summary>
|
|
||||
/// Represents an ICC calculator with a single floating point value and result
|
|
||||
/// </summary>
|
|
||||
internal interface ISingleCalculator |
|
||||
{ |
|
||||
/// <summary>
|
/// <summary>
|
||||
/// Calculates a result from the given value
|
/// Calculates a result from the given value
|
||||
/// </summary>
|
/// </summary>
|
||||
/// <param name="value">The input value</param>
|
/// <param name="value">The input value</param>
|
||||
/// <returns>The calculated result</returns>
|
/// <returns>The calculated result</returns>
|
||||
float Calculate(float value); |
float Calculate(float value); |
||||
} |
|
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue