summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-12-15 14:40:37 +0100
committerDamiano Galassi <[email protected]>2017-12-15 14:40:37 +0100
commitb16949a1c14e42c0b56873b5488a339812225bf9 (patch)
treee8f002bb6fdd0f32606157c06cdc40ce2b262a72
parent72c60bc2289cf2d3594461c379bebb64f32df662 (diff)
MacGui: add the kCVImageBufferTransferFunction_ITU_R_2100_HLG to copyColorSpace()
-rw-r--r--macosx/HBImageUtilities.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/macosx/HBImageUtilities.m b/macosx/HBImageUtilities.m
index 1c5f62174..07530d815 100644
--- a/macosx/HBImageUtilities.m
+++ b/macosx/HBImageUtilities.m
@@ -147,6 +147,10 @@ CGColorSpaceRef copyColorSpace(int primaries, int transfer, int matrix)
transferKey = CFSTR("SMPTE_ST_2084_PQ"); //kCVImageBufferTransferFunction_SMPTE_ST_2084_PQ;
break;
+ case HB_COLR_TRA_ARIB_STD_B67:
+ transferKey = CFSTR("ITU_R_2100_HLG"); //kCVImageBufferTransferFunction_ITU_R_2100_HLG;
+ break;
+
case HB_COLR_TRA_BT709:
default:
transferKey = kCVImageBufferTransferFunction_ITU_R_709_2;