diff options
| author | Tim Eisele <Shadowghost@users.noreply.github.com> | 2024-09-09 16:43:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 08:43:37 -0600 |
| commit | 0d85af019c6ebc855ab2d8e689abe72b995225b4 (patch) | |
| tree | 466daf3cd9b8f37307b4104cd272afc9806d92c6 /MediaBrowser.Model/Entities/TonemappingAlgorithm.cs | |
| parent | 54f663b0f3c4a9cc5a4f44d1afcb6e1de03c0503 (diff) | |
Use enums for encoding options (#12561)
Diffstat (limited to 'MediaBrowser.Model/Entities/TonemappingAlgorithm.cs')
| -rw-r--r-- | MediaBrowser.Model/Entities/TonemappingAlgorithm.cs | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Entities/TonemappingAlgorithm.cs b/MediaBrowser.Model/Entities/TonemappingAlgorithm.cs new file mode 100644 index 000000000..488006e0b --- /dev/null +++ b/MediaBrowser.Model/Entities/TonemappingAlgorithm.cs @@ -0,0 +1,49 @@ +#pragma warning disable SA1300 // Lowercase required for backwards compat. + +namespace MediaBrowser.Model.Entities; + +/// <summary> +/// Enum containing tonemapping algorithms. +/// </summary> +public enum TonemappingAlgorithm +{ + /// <summary> + /// None. + /// </summary> + none = 0, + + /// <summary> + /// Clip. + /// </summary> + clip = 1, + + /// <summary> + /// Linear. + /// </summary> + linear = 2, + + /// <summary> + /// Gamma. + /// </summary> + gamma = 3, + + /// <summary> + /// Reinhard. + /// </summary> + reinhard = 4, + + /// <summary> + /// Hable. + /// </summary> + hable = 5, + + /// <summary> + /// Mobius. + /// </summary> + mobius = 6, + + /// <summary> + /// BT2390. + /// </summary> + bt2390 = 7 +} |
