|
|
|
@ -3,6 +3,7 @@ namespace ErsatzTV.FFmpeg; |
|
|
|
public record ColorParams(string ColorRange, string ColorSpace, string ColorTransfer, string ColorPrimaries) |
|
|
|
public record ColorParams(string ColorRange, string ColorSpace, string ColorTransfer, string ColorPrimaries) |
|
|
|
{ |
|
|
|
{ |
|
|
|
public static readonly ColorParams Default = new("tv", "bt709", "bt709", "bt709"); |
|
|
|
public static readonly ColorParams Default = new("tv", "bt709", "bt709", "bt709"); |
|
|
|
|
|
|
|
public static readonly ColorParams Bt470Bg = new("tv", "bt470bg", "bt470bg", "bt470bg"); |
|
|
|
public static readonly ColorParams Unknown = new("tv", string.Empty, string.Empty, string.Empty); |
|
|
|
public static readonly ColorParams Unknown = new("tv", string.Empty, string.Empty, string.Empty); |
|
|
|
|
|
|
|
|
|
|
|
public bool IsHdr => ColorTransfer is "arib-std-b67" or "smpte2084"; |
|
|
|
public bool IsHdr => ColorTransfer is "arib-std-b67" or "smpte2084"; |
|
|
|
|