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,34 @@
#pragma warning disable SA1300 // Lowercase required for backwards compat.
namespace MediaBrowser.Model.Entities;
/// <summary>
/// Enum containing tonemapping modes.
/// </summary>
public enum TonemappingMode
{
/// <summary>
/// Auto.
/// </summary>
auto = 0,
/// <summary>
/// Max.
/// </summary>
max = 1,
/// <summary>
/// RGB.
/// </summary>
rgb = 2,
/// <summary>
/// Lum.
/// </summary>
lum = 3,
/// <summary>
/// ITP.
/// </summary>
itp = 4
}