Use enums for encoding options (#12561)

This commit is contained in:
Tim Eisele
2024-09-09 16:43:37 +02:00
committed by GitHub
parent 54f663b0f3
commit 0d85af019c
20 changed files with 884 additions and 476 deletions

View File

@@ -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
}