Add the additional color spaces to the queue too.

This commit is contained in:
Damiano Galassi committed 2021-02-25 13:09:08 +01:00
1 parent 81a0973ee8
commit d17f1776cb
2 files changed
+21 -4

No files matched your search

+12
View File
@@ -502,6 +502,10 @@ enum QueueColorSpaceActionTag: UInt16 {
case Rec709
case Rec2020
case Rec2100PQ
case Rec2100HLG
case P3DCI
case P3D65
case sRGB
func tagValues() -> (colorPrimaries: UInt16, transferCharacteristics: UInt16, matrixCoefficients: UInt16) {
switch self {
@@ -517,6 +521,14 @@ enum QueueColorSpaceActionTag: UInt16 {
return (9, 1, 9)
case .Rec2100PQ:
return (9, 16, 9)
case .Rec2100HLG:
return (9, 18, 9)
case .P3DCI:
return (11, 17, 6)
case .P3D65:
return (12, 17, 6)
case .sRGB:
return (1, 13, 1)
}
}