Skip to content

Add missing symbols#1624

Draft
Niram7777 wants to merge 1 commit intodarlinghq:masterfrom
Niram7777:add-missing-symbols
Draft

Add missing symbols#1624
Niram7777 wants to merge 1 commit intodarlinghq:masterfrom
Niram7777:add-missing-symbols

Conversation

@Niram7777
Copy link
Contributor

Same description as darlinghq/darling-cocotron#52

Copy link
Contributor

@jlucfarias jlucfarias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes needed. I don't think most of these values have changed for newer versions but review based on 10.13 MacOS

Comment on lines +26 to +39
const CFStringRef kCMFormatDescriptionColorPrimaries_ITU_R_2020 = CFSTR("CMFormatDescriptionColorPrimaries_ITU_R_2020");
const CFStringRef kCMFormatDescriptionColorPrimaries_DCI_P3 = CFSTR("CMFormatDescriptionColorPrimaries_DCI_P3");
const CFStringRef kCMFormatDescriptionColorPrimaries_P3_D65 = CFSTR("CMFormatDescriptionColorPrimaries_P3_D65");
const CFStringRef kCMFormatDescriptionExtension_ContentLightLevelInfo = CFSTR("CMFormatDescriptionExtension_ContentLightLevelInfo");
const CFStringRef kCMFormatDescriptionExtension_Depth = CFSTR("CMFormatDescriptionExtension_Depth");
const CFStringRef kCMFormatDescriptionExtension_FormatName = CFSTR("CMFormatDescriptionExtension_FormatName");
const CFStringRef kCMFormatDescriptionExtension_FullRangeVideo = CFSTR("CMFormatDescriptionExtension_FullRangeVideo");
const CFStringRef kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms = CFSTR("SampleDescriptionExtensionAtoms");
const CFStringRef kCMFormatDescriptionExtension_MasteringDisplayColorVolume = CFSTR("CMFormatDescriptionExtension_MasteringDisplayColorVolume");
const CFStringRef kCMFormatDescriptionTransferFunction_ITU_R_2020 = CFSTR("CMFormatDescriptionTransferFunction_ITU_R_2020");
const CFStringRef kCMFormatDescriptionTransferFunction_ITU_R_2100_HLG = CFSTR("CMFormatDescriptionTransferFunction_ITU_R_2100_HLG");
const CFStringRef kCMFormatDescriptionTransferFunction_SMPTE_ST_2084_PQ = CFSTR("CMFormatDescriptionTransferFunction_SMPTE_ST_2084_PQ");
const CFStringRef kCMFormatDescriptionTransferFunction_SMPTE_ST_428_1 = CFSTR("CMFormatDescriptionTransferFunction_SMPTE_ST_428_1");
const CFStringRef kCMFormatDescriptionYCbCrMatrix_ITU_R_2020 = CFSTR("CMFormatDescriptionYCbCrMatrix_ITU_R_2020");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const CFStringRef kCMFormatDescriptionColorPrimaries_ITU_R_2020 = CFSTR("CMFormatDescriptionColorPrimaries_ITU_R_2020");
const CFStringRef kCMFormatDescriptionColorPrimaries_DCI_P3 = CFSTR("CMFormatDescriptionColorPrimaries_DCI_P3");
const CFStringRef kCMFormatDescriptionColorPrimaries_P3_D65 = CFSTR("CMFormatDescriptionColorPrimaries_P3_D65");
const CFStringRef kCMFormatDescriptionExtension_ContentLightLevelInfo = CFSTR("CMFormatDescriptionExtension_ContentLightLevelInfo");
const CFStringRef kCMFormatDescriptionExtension_Depth = CFSTR("CMFormatDescriptionExtension_Depth");
const CFStringRef kCMFormatDescriptionExtension_FormatName = CFSTR("CMFormatDescriptionExtension_FormatName");
const CFStringRef kCMFormatDescriptionExtension_FullRangeVideo = CFSTR("CMFormatDescriptionExtension_FullRangeVideo");
const CFStringRef kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms = CFSTR("SampleDescriptionExtensionAtoms");
const CFStringRef kCMFormatDescriptionExtension_MasteringDisplayColorVolume = CFSTR("CMFormatDescriptionExtension_MasteringDisplayColorVolume");
const CFStringRef kCMFormatDescriptionTransferFunction_ITU_R_2020 = CFSTR("CMFormatDescriptionTransferFunction_ITU_R_2020");
const CFStringRef kCMFormatDescriptionTransferFunction_ITU_R_2100_HLG = CFSTR("CMFormatDescriptionTransferFunction_ITU_R_2100_HLG");
const CFStringRef kCMFormatDescriptionTransferFunction_SMPTE_ST_2084_PQ = CFSTR("CMFormatDescriptionTransferFunction_SMPTE_ST_2084_PQ");
const CFStringRef kCMFormatDescriptionTransferFunction_SMPTE_ST_428_1 = CFSTR("CMFormatDescriptionTransferFunction_SMPTE_ST_428_1");
const CFStringRef kCMFormatDescriptionYCbCrMatrix_ITU_R_2020 = CFSTR("CMFormatDescriptionYCbCrMatrix_ITU_R_2020");
const CFStringRef kCMFormatDescriptionColorPrimaries_ITU_R_2020 = CFSTR("ITU_R_2020");
const CFStringRef kCMFormatDescriptionColorPrimaries_DCI_P3 = CFSTR("DCI_P3");
const CFStringRef kCMFormatDescriptionColorPrimaries_P3_D65 = CFSTR("P3_D65");
const CFStringRef kCMFormatDescriptionExtension_ContentLightLevelInfo = CFSTR("ContentLightLevelInfo");
const CFStringRef kCMFormatDescriptionExtension_Depth = CFSTR("Depth");
const CFStringRef kCMFormatDescriptionExtension_FormatName = CFSTR("FormatName");
const CFStringRef kCMFormatDescriptionExtension_FullRangeVideo = CFSTR("FullRangeVideo");
const CFStringRef kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms = CFSTR("SampleDescriptionExtensionAtoms");
const CFStringRef kCMFormatDescriptionExtension_MasteringDisplayColorVolume = CFSTR("MasteringDisplayColorVolume");
const CFStringRef kCMFormatDescriptionTransferFunction_ITU_R_2020 = CFSTR("ITU_R_2020");
const CFStringRef kCMFormatDescriptionTransferFunction_ITU_R_2100_HLG = CFSTR("ITU_R_2100_HLG");
const CFStringRef kCMFormatDescriptionTransferFunction_SMPTE_ST_2084_PQ = CFSTR("SMPTE_ST_2084_PQ");
const CFStringRef kCMFormatDescriptionTransferFunction_SMPTE_ST_428_1 = CFSTR("SMPTE_ST_428_1");
const CFStringRef kCMFormatDescriptionYCbCrMatrix_ITU_R_2020 = CFSTR("ITU_R_2020");

const CFStringRef kVTDecompressionPropertyKey_UsingHardwareAcceleratedVideoDecoder = CFSTR("UsingHardwareAcceleratedVideoDecoder");
const CFStringRef kVTEncodeFrameOptionKey_ForceKeyFrame = CFSTR("ForceKeyFrame");
const CFStringRef kVTProfileLevel_H264_Baseline_AutoLevel = CFSTR("AutoLevel");
const CFStringRef kVTProfileLevel_H264_High_AutoLevel = CFSTR("AutoLevel");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const CFStringRef kVTProfileLevel_H264_High_AutoLevel = CFSTR("AutoLevel");
const CFStringRef kVTProfileLevel_H264_High_AutoLevel = CFSTR("H264_High_AutoLevel");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants