pyobjc-framework-VideoToolbox 12.2.1__tar.gz → 13.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Lib/VideoToolbox/__init__.py +2 -2
  2. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Lib/VideoToolbox/_metadata.py +25 -76
  3. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/PKG-INFO +7 -7
  4. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/SOURCES.txt +2 -3
  5. pyobjc_framework_videotoolbox-13.0/Lib/pyobjc_framework_VideoToolbox.egg-info/pyobjc-build-info.txt +3 -0
  6. pyobjc_framework_videotoolbox-13.0/Lib/pyobjc_framework_VideoToolbox.egg-info/requires.txt +4 -0
  7. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Modules/_VideoToolbox.m +14 -8
  8. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Modules/_VideoToolbox_protocols.m +7 -5
  9. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Modules/pyobjc-api.h +18 -4
  10. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Modules/pyobjc-compat.h +0 -18
  11. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PKG-INFO +7 -7
  12. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtcompressionproperties.py +14 -5
  13. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtcompressionsession.py +7 -10
  14. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtdecompressionproperties.py +1 -4
  15. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtdecompressionsession.py +0 -2
  16. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vterrors.py +2 -0
  17. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessor_framerateconversion.py +1 -1
  18. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessor_motionblur.py +1 -1
  19. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessor_opticalflow.py +1 -1
  20. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessor_superresolutionscaler.py +1 -1
  21. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessorconfiguration.py +1 -1
  22. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessorerrors.py +1 -1
  23. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessorparameters.py +1 -1
  24. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtmotionestimationsession.py +1 -1
  25. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtpixelrotationsession.py +1 -1
  26. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/metadata/VideoToolbox.fwinfo +1 -136
  27. pyobjc_framework_videotoolbox-12.2.1/metadata/raw/arm64-26.5.fwinfo → pyobjc_framework_videotoolbox-13.0/metadata/raw/arm64-27.fwinfo +124 -23
  28. pyobjc_framework_videotoolbox-12.2.1/metadata/raw/x86_64-26.5.fwinfo → pyobjc_framework_videotoolbox-13.0/metadata/raw/x86_64-27.fwinfo +124 -23
  29. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/pyobjc_setup.py +7 -7
  30. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/setup.py +1 -1
  31. pyobjc_framework_videotoolbox-12.2.1/Lib/pyobjc_framework_VideoToolbox.egg-info/pyobjc-build-info.txt +0 -3
  32. pyobjc_framework_videotoolbox-12.2.1/Lib/pyobjc_framework_VideoToolbox.egg-info/requires.txt +0 -4
  33. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/dependency_links.txt +0 -0
  34. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/not-zip-safe +0 -0
  35. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/top_level.txt +0 -0
  36. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/License.txt +0 -0
  37. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/MANIFEST.in +0 -0
  38. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/__init__.py +0 -0
  39. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_videotoolbox.py +0 -0
  40. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtbase.py +0 -0
  41. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessor.py +0 -0
  42. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessor_lowlatencyframeinterpolation.py +0 -0
  43. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessor_lowlatencysuperresolutionscaler.h +0 -0
  44. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframeprocessor_temporalnoisefilter.py +0 -0
  45. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtframesilo.py +0 -0
  46. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vthdrperframemetadatagenerationsession.py +0 -0
  47. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtmotionestimationsessionproperties.py +0 -0
  48. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtmultipassstorage.py +0 -0
  49. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtpixelrotationproperties.py +0 -0
  50. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtpixeltransferproperties.py +0 -0
  51. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtpixeltransfersession.py +0 -0
  52. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtprofessionalvideoworkflow.py +0 -0
  53. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtrawprocessingproperties.py +0 -0
  54. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtrawprocessingsession.py +0 -0
  55. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtsession.py +0 -0
  56. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtutilities.py +0 -0
  57. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/PyObjCTest/test_vtvideoencoderlist.py +0 -0
  58. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/metadata/metadata.ini +0 -0
  59. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/pyproject.toml +0 -0
  60. {pyobjc_framework_videotoolbox-12.2.1 → pyobjc_framework_videotoolbox-13.0}/setup.cfg +0 -0
@@ -47,8 +47,8 @@ def _setup():
47
47
  ):
48
48
  try:
49
49
  objc.lookUpClass(cls).__objc_final__ = True
50
- except objc.error:
51
- pass
50
+ except objc.error: # pragma: no cover
51
+ pass # pragma: no cover
52
52
 
53
53
  for cls, sel in (
54
54
  ("VTFrameProcessorFrame", b"init"),
@@ -1,7 +1,5 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Fri May 29 08:48:32 2026
4
- #
5
3
  # flake8: noqa
6
4
 
7
5
  import objc, sys
@@ -40,8 +38,8 @@ misc.update(
40
38
  ),
41
39
  }
42
40
  )
43
- constants = """$VTFrameProcessorErrorDomain$kVTAlphaChannelMode_PremultipliedAlpha$kVTAlphaChannelMode_StraightAlpha$kVTCameraCalibrationExtrinsicOriginSource_StereoCameraSystemBaseline$kVTCameraCalibrationLensAlgorithmKind_ParametricLens$kVTCameraCalibrationLensDomain_Color$kVTCameraCalibrationLensRole_Left$kVTCameraCalibrationLensRole_Mono$kVTCameraCalibrationLensRole_Right$kVTCompressionPreset_Balanced$kVTCompressionPreset_HighQuality$kVTCompressionPreset_HighSpeed$kVTCompressionPreset_VideoConferencing$kVTCompressionPropertyCameraCalibrationKey_ExtrinsicOrientationQuaternion$kVTCompressionPropertyCameraCalibrationKey_ExtrinsicOriginSource$kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrix$kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrixProjectionOffset$kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrixReferenceDimensions$kVTCompressionPropertyCameraCalibrationKey_LensAlgorithmKind$kVTCompressionPropertyCameraCalibrationKey_LensDistortions$kVTCompressionPropertyCameraCalibrationKey_LensDomain$kVTCompressionPropertyCameraCalibrationKey_LensFrameAdjustmentsPolynomialX$kVTCompressionPropertyCameraCalibrationKey_LensFrameAdjustmentsPolynomialY$kVTCompressionPropertyCameraCalibrationKey_LensIdentifier$kVTCompressionPropertyCameraCalibrationKey_LensRole$kVTCompressionPropertyCameraCalibrationKey_RadialAngleLimit$kVTCompressionPropertyKey_AllowFrameReordering$kVTCompressionPropertyKey_AllowOpenGOP$kVTCompressionPropertyKey_AllowTemporalCompression$kVTCompressionPropertyKey_AlphaChannelMode$kVTCompressionPropertyKey_AspectRatio16x9$kVTCompressionPropertyKey_AverageBitRate$kVTCompressionPropertyKey_BaseLayerBitRateFraction$kVTCompressionPropertyKey_BaseLayerFrameRate$kVTCompressionPropertyKey_BaseLayerFrameRateFraction$kVTCompressionPropertyKey_CalculateMeanSquaredError$kVTCompressionPropertyKey_CameraCalibrationDataLensCollection$kVTCompressionPropertyKey_CleanAperture$kVTCompressionPropertyKey_ColorPrimaries$kVTCompressionPropertyKey_ConstantBitRate$kVTCompressionPropertyKey_ContentLightLevelInfo$kVTCompressionPropertyKey_DataRateLimits$kVTCompressionPropertyKey_Depth$kVTCompressionPropertyKey_EnableLTR$kVTCompressionPropertyKey_EncoderID$kVTCompressionPropertyKey_EstimatedAverageBytesPerFrame$kVTCompressionPropertyKey_ExpectedDuration$kVTCompressionPropertyKey_ExpectedFrameRate$kVTCompressionPropertyKey_FieldCount$kVTCompressionPropertyKey_FieldDetail$kVTCompressionPropertyKey_GammaLevel$kVTCompressionPropertyKey_H264EntropyMode$kVTCompressionPropertyKey_HDRMetadataInsertionMode$kVTCompressionPropertyKey_HasLeftStereoEyeView$kVTCompressionPropertyKey_HasRightStereoEyeView$kVTCompressionPropertyKey_HeroEye$kVTCompressionPropertyKey_HorizontalDisparityAdjustment$kVTCompressionPropertyKey_HorizontalFieldOfView$kVTCompressionPropertyKey_ICCProfile$kVTCompressionPropertyKey_MVHEVCLeftAndRightViewIDs$kVTCompressionPropertyKey_MVHEVCVideoLayerIDs$kVTCompressionPropertyKey_MVHEVCViewIDs$kVTCompressionPropertyKey_MasteringDisplayColorVolume$kVTCompressionPropertyKey_MaxAllowedFrameQP$kVTCompressionPropertyKey_MaxFrameDelayCount$kVTCompressionPropertyKey_MaxH264SliceBytes$kVTCompressionPropertyKey_MaxKeyFrameInterval$kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration$kVTCompressionPropertyKey_MaximizePowerEfficiency$kVTCompressionPropertyKey_MaximumRealTimeFrameRate$kVTCompressionPropertyKey_MinAllowedFrameQP$kVTCompressionPropertyKey_MoreFramesAfterEnd$kVTCompressionPropertyKey_MoreFramesBeforeStart$kVTCompressionPropertyKey_MultiPassStorage$kVTCompressionPropertyKey_NumberOfPendingFrames$kVTCompressionPropertyKey_OutputBitDepth$kVTCompressionPropertyKey_PixelAspectRatio$kVTCompressionPropertyKey_PixelBufferPoolIsShared$kVTCompressionPropertyKey_PixelTransferProperties$kVTCompressionPropertyKey_PreserveAlphaChannel$kVTCompressionPropertyKey_PreserveDynamicHDRMetadata$kVTCompressionPropertyKey_PrioritizeEncodingSpeedOverQuality$kVTCompressionPropertyKey_ProfileLevel$kVTCompressionPropertyKey_ProgressiveScan$kVTCompressionPropertyKey_ProjectionKind$kVTCompressionPropertyKey_Quality$kVTCompressionPropertyKey_RealTime$kVTCompressionPropertyKey_RecommendedParallelizationLimit$kVTCompressionPropertyKey_RecommendedParallelizedSubdivisionMinimumDuration$kVTCompressionPropertyKey_RecommendedParallelizedSubdivisionMinimumFrameCount$kVTCompressionPropertyKey_ReferenceBufferCount$kVTCompressionPropertyKey_SourceFrameCount$kVTCompressionPropertyKey_SpatialAdaptiveQPLevel$kVTCompressionPropertyKey_StereoCameraBaseline$kVTCompressionPropertyKey_SuggestedLookAheadFrameCount$kVTCompressionPropertyKey_SupportedPresetDictionaries$kVTCompressionPropertyKey_SupportsBaseFrameQP$kVTCompressionPropertyKey_TargetQualityForAlpha$kVTCompressionPropertyKey_TransferFunction$kVTCompressionPropertyKey_UsingGPURegistryID$kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder$kVTCompressionPropertyKey_VBVBufferDuration$kVTCompressionPropertyKey_VBVInitialDelayPercentage$kVTCompressionPropertyKey_VBVMaxBitRate$kVTCompressionPropertyKey_VariableBitRate$kVTCompressionPropertyKey_VideoEncoderPixelBufferAttributes$kVTCompressionPropertyKey_ViewPackingKind$kVTCompressionPropertyKey_YCbCrMatrix$kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle$kVTDecodeFrameOptionKey_ContentAnalyzerRotation$kVTDecompressionPropertyKey_AllowBitstreamToChangeFrameDimensions$kVTDecompressionPropertyKey_ContentHasInterframeDependencies$kVTDecompressionPropertyKey_DecoderProducesRAWOutput$kVTDecompressionPropertyKey_DeinterlaceMode$kVTDecompressionPropertyKey_FieldMode$kVTDecompressionPropertyKey_GeneratePerFrameHDRDisplayMetadata$kVTDecompressionPropertyKey_MaxOutputPresentationTimeStampOfFramesBeingDecoded$kVTDecompressionPropertyKey_MaximizePowerEfficiency$kVTDecompressionPropertyKey_MinOutputPresentationTimeStampOfFramesBeingDecoded$kVTDecompressionPropertyKey_NumberOfFramesBeingDecoded$kVTDecompressionPropertyKey_OnlyTheseFrames$kVTDecompressionPropertyKey_OutputPoolRequestedMinimumBufferCount$kVTDecompressionPropertyKey_PixelBufferPool$kVTDecompressionPropertyKey_PixelBufferPoolIsShared$kVTDecompressionPropertyKey_PixelFormatsWithReducedResolutionSupport$kVTDecompressionPropertyKey_PixelTransferProperties$kVTDecompressionPropertyKey_PropagatePerFrameHDRDisplayMetadata$kVTDecompressionPropertyKey_RealTime$kVTDecompressionPropertyKey_ReducedCoefficientDecode$kVTDecompressionPropertyKey_ReducedFrameDelivery$kVTDecompressionPropertyKey_ReducedResolutionDecode$kVTDecompressionPropertyKey_RequestRAWOutput$kVTDecompressionPropertyKey_RequestedMVHEVCVideoLayerIDs$kVTDecompressionPropertyKey_SuggestedQualityOfServiceTiers$kVTDecompressionPropertyKey_SupportedPixelFormatsOrderedByPerformance$kVTDecompressionPropertyKey_SupportedPixelFormatsOrderedByQuality$kVTDecompressionPropertyKey_ThreadCount$kVTDecompressionPropertyKey_UsingGPURegistryID$kVTDecompressionPropertyKey_UsingHardwareAcceleratedVideoDecoder$kVTDecompressionProperty_DeinterlaceMode_Temporal$kVTDecompressionProperty_DeinterlaceMode_VerticalFilter$kVTDecompressionProperty_FieldMode_BothFields$kVTDecompressionProperty_FieldMode_BottomFieldOnly$kVTDecompressionProperty_FieldMode_DeinterlaceFields$kVTDecompressionProperty_FieldMode_SingleField$kVTDecompressionProperty_FieldMode_TopFieldOnly$kVTDecompressionProperty_OnlyTheseFrames_AllFrames$kVTDecompressionProperty_OnlyTheseFrames_IFrames$kVTDecompressionProperty_OnlyTheseFrames_KeyFrames$kVTDecompressionProperty_OnlyTheseFrames_NonDroppableFrames$kVTDecompressionProperty_TemporalLevelLimit$kVTDecompressionResolutionKey_Height$kVTDecompressionResolutionKey_Width$kVTDownsamplingMode_Average$kVTDownsamplingMode_Decimate$kVTEncodeFrameOptionKey_AcknowledgedLTRTokens$kVTEncodeFrameOptionKey_BaseFrameQP$kVTEncodeFrameOptionKey_ForceKeyFrame$kVTEncodeFrameOptionKey_ForceLTRRefresh$kVTExtensionProperties_CodecNameKey$kVTExtensionProperties_ContainingBundleNameKey$kVTExtensionProperties_ContainingBundleURLKey$kVTExtensionProperties_ExtensionIdentifierKey$kVTExtensionProperties_ExtensionNameKey$kVTExtensionProperties_ExtensionURLKey$kVTH264EntropyMode_CABAC$kVTH264EntropyMode_CAVLC$kVTHDRMetadataInsertionMode_Auto$kVTHDRMetadataInsertionMode_None$kVTHDRMetadataInsertionMode_RequestSDRRangePreservation$kVTHDRPerFrameMetadataGenerationHDRFormatType_DolbyVision$kVTHDRPerFrameMetadataGenerationOptionsKey_HDRFormats$kVTHeroEye_Left$kVTHeroEye_Right$kVTMotionEstimationSessionCreationOption_DetectTrueMotion$kVTMotionEstimationSessionCreationOption_Label$kVTMotionEstimationSessionCreationOption_MotionVectorSize$kVTMotionEstimationSessionCreationOption_UseMultiPassSearch$kVTMultiPassStorageCreationOption_DoNotDelete$kVTPixelRotationPropertyKey_FlipHorizontalOrientation$kVTPixelRotationPropertyKey_FlipVerticalOrientation$kVTPixelRotationPropertyKey_Rotation$kVTPixelTransferPropertyKey_DestinationCleanAperture$kVTPixelTransferPropertyKey_DestinationColorPrimaries$kVTPixelTransferPropertyKey_DestinationICCProfile$kVTPixelTransferPropertyKey_DestinationPixelAspectRatio$kVTPixelTransferPropertyKey_DestinationTransferFunction$kVTPixelTransferPropertyKey_DestinationYCbCrMatrix$kVTPixelTransferPropertyKey_DownsamplingMode$kVTPixelTransferPropertyKey_RealTime$kVTPixelTransferPropertyKey_ScalingMode$kVTProfileLevel_H263_Profile0_Level10$kVTProfileLevel_H263_Profile0_Level45$kVTProfileLevel_H263_Profile3_Level45$kVTProfileLevel_H264_Baseline_1_3$kVTProfileLevel_H264_Baseline_3_0$kVTProfileLevel_H264_Baseline_3_1$kVTProfileLevel_H264_Baseline_3_2$kVTProfileLevel_H264_Baseline_4_0$kVTProfileLevel_H264_Baseline_4_1$kVTProfileLevel_H264_Baseline_4_2$kVTProfileLevel_H264_Baseline_5_0$kVTProfileLevel_H264_Baseline_5_1$kVTProfileLevel_H264_Baseline_5_2$kVTProfileLevel_H264_Baseline_AutoLevel$kVTProfileLevel_H264_ConstrainedBaseline_AutoLevel$kVTProfileLevel_H264_ConstrainedHigh_AutoLevel$kVTProfileLevel_H264_Extended_5_0$kVTProfileLevel_H264_Extended_AutoLevel$kVTProfileLevel_H264_High_3_0$kVTProfileLevel_H264_High_3_1$kVTProfileLevel_H264_High_3_2$kVTProfileLevel_H264_High_4_0$kVTProfileLevel_H264_High_4_1$kVTProfileLevel_H264_High_4_2$kVTProfileLevel_H264_High_5_0$kVTProfileLevel_H264_High_5_1$kVTProfileLevel_H264_High_5_2$kVTProfileLevel_H264_High_AutoLevel$kVTProfileLevel_H264_Main_3_0$kVTProfileLevel_H264_Main_3_1$kVTProfileLevel_H264_Main_3_2$kVTProfileLevel_H264_Main_4_0$kVTProfileLevel_H264_Main_4_1$kVTProfileLevel_H264_Main_4_2$kVTProfileLevel_H264_Main_5_0$kVTProfileLevel_H264_Main_5_1$kVTProfileLevel_H264_Main_5_2$kVTProfileLevel_H264_Main_AutoLevel$kVTProfileLevel_HEVC_Main10_AutoLevel$kVTProfileLevel_HEVC_Main42210_AutoLevel$kVTProfileLevel_HEVC_Main_AutoLevel$kVTProfileLevel_HEVC_Monochrome10_AutoLevel$kVTProfileLevel_HEVC_Monochrome_AutoLevel$kVTProfileLevel_MP4V_AdvancedSimple_L0$kVTProfileLevel_MP4V_AdvancedSimple_L1$kVTProfileLevel_MP4V_AdvancedSimple_L2$kVTProfileLevel_MP4V_AdvancedSimple_L3$kVTProfileLevel_MP4V_AdvancedSimple_L4$kVTProfileLevel_MP4V_Main_L2$kVTProfileLevel_MP4V_Main_L3$kVTProfileLevel_MP4V_Main_L4$kVTProfileLevel_MP4V_Simple_L0$kVTProfileLevel_MP4V_Simple_L1$kVTProfileLevel_MP4V_Simple_L2$kVTProfileLevel_MP4V_Simple_L3$kVTProjectionKind_Equirectangular$kVTProjectionKind_HalfEquirectangular$kVTProjectionKind_ParametricImmersive$kVTProjectionKind_Rectilinear$kVTPropertyDocumentationKey$kVTPropertyReadWriteStatusKey$kVTPropertyReadWriteStatus_ReadOnly$kVTPropertyReadWriteStatus_ReadWrite$kVTPropertyShouldBeSerializedKey$kVTPropertySupportedValueListKey$kVTPropertySupportedValueMaximumKey$kVTPropertySupportedValueMinimumKey$kVTPropertyTypeKey$kVTPropertyType_Boolean$kVTPropertyType_Enumeration$kVTPropertyType_Number$kVTRAWProcessingParameterListElement_Description$kVTRAWProcessingParameterListElement_Label$kVTRAWProcessingParameterListElement_ListElementID$kVTRAWProcessingParameterValueType_Boolean$kVTRAWProcessingParameterValueType_Float$kVTRAWProcessingParameterValueType_Integer$kVTRAWProcessingParameterValueType_List$kVTRAWProcessingParameterValueType_SubGroup$kVTRAWProcessingParameter_CameraValue$kVTRAWProcessingParameter_CurrentValue$kVTRAWProcessingParameter_Description$kVTRAWProcessingParameter_Enabled$kVTRAWProcessingParameter_InitialValue$kVTRAWProcessingParameter_Key$kVTRAWProcessingParameter_ListArray$kVTRAWProcessingParameter_MaximumValue$kVTRAWProcessingParameter_MinimumValue$kVTRAWProcessingParameter_Name$kVTRAWProcessingParameter_NeutralValue$kVTRAWProcessingParameter_SubGroup$kVTRAWProcessingParameter_ValueType$kVTRAWProcessingPropertyKey_MetadataForSidecarFile$kVTRAWProcessingPropertyKey_MetalDeviceRegistryID$kVTRAWProcessingPropertyKey_OutputColorAttachments$kVTRotation_0$kVTRotation_180$kVTRotation_CCW90$kVTRotation_CW90$kVTSampleAttachmentKey_QualityMetrics$kVTSampleAttachmentKey_RequireLTRAcknowledgementToken$kVTSampleAttachmentQualityMetricsKey_ChromaBlueMeanSquaredError$kVTSampleAttachmentQualityMetricsKey_ChromaRedMeanSquaredError$kVTSampleAttachmentQualityMetricsKey_LumaMeanSquaredError$kVTScalingMode_CropSourceToCleanAperture$kVTScalingMode_Letterbox$kVTScalingMode_Normal$kVTScalingMode_Trim$kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder$kVTVideoDecoderSpecification_PreferredDecoderGPURegistryID$kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder$kVTVideoDecoderSpecification_RequiredDecoderGPURegistryID$kVTVideoEncoderListOption_IncludeStandardDefinitionDVEncoders$kVTVideoEncoderList_CodecName$kVTVideoEncoderList_CodecType$kVTVideoEncoderList_DisplayName$kVTVideoEncoderList_EncoderID$kVTVideoEncoderList_EncoderName$kVTVideoEncoderList_GPURegistryID$kVTVideoEncoderList_InstanceLimit$kVTVideoEncoderList_IsHardwareAccelerated$kVTVideoEncoderList_PerformanceRating$kVTVideoEncoderList_QualityRating$kVTVideoEncoderList_SupportedSelectionProperties$kVTVideoEncoderList_SupportsFrameReordering$kVTVideoEncoderList_SupportsMultiPass$kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder$kVTVideoEncoderSpecification_EnableLowLatencyRateControl$kVTVideoEncoderSpecification_EncoderID$kVTVideoEncoderSpecification_PreferredEncoderGPURegistryID$kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder$kVTVideoEncoderSpecification_RequiredEncoderGPURegistryID$kVTViewPackingKind_OverUnder$kVTViewPackingKind_SideBySide$"""
44
- enums = """$VTFrameProcessorAssetDownloadFailed@-19743$VTFrameProcessorFatalError@-19734$VTFrameProcessorInitializationFailed@-19736$VTFrameProcessorInvalidFrameTiming@-19742$VTFrameProcessorInvalidParameterError@-19741$VTFrameProcessorMemoryAllocationFailure@-19738$VTFrameProcessorProcessingError@-19740$VTFrameProcessorRevisionNotSupported@-19739$VTFrameProcessorSessionAlreadyActive@-19733$VTFrameProcessorSessionLevelError@-19735$VTFrameProcessorSessionNotStarted@-19732$VTFrameProcessorUnknownError@-19730$VTFrameProcessorUnsupportedInput@-19737$VTFrameProcessorUnsupportedResolution@-19731$VTFrameRateConversionConfigurationQualityPrioritizationNormal@1$VTFrameRateConversionConfigurationQualityPrioritizationQuality@2$VTFrameRateConversionConfigurationRevision1@1$VTFrameRateConversionParametersSubmissionModeRandom@1$VTFrameRateConversionParametersSubmissionModeSequential@2$VTFrameRateConversionParametersSubmissionModeSequentialReferencesUnchanged@3$VTMotionBlurConfigurationQualityPrioritizationNormal@1$VTMotionBlurConfigurationQualityPrioritizationQuality@2$VTMotionBlurConfigurationRevision1@1$VTMotionBlurParametersSubmissionModeRandom@1$VTMotionBlurParametersSubmissionModeSequential@2$VTOpticalFlowConfigurationQualityPrioritizationNormal@1$VTOpticalFlowConfigurationQualityPrioritizationQuality@2$VTOpticalFlowConfigurationRevision1@1$VTOpticalFlowParametersSubmissionModeRandom@1$VTOpticalFlowParametersSubmissionModeSequential@2$VTSuperResolutionScalerConfigurationInputTypeImage@2$VTSuperResolutionScalerConfigurationInputTypeVideo@1$VTSuperResolutionScalerConfigurationModelStatusDownloadRequired@0$VTSuperResolutionScalerConfigurationModelStatusDownloading@1$VTSuperResolutionScalerConfigurationModelStatusReady@2$VTSuperResolutionScalerConfigurationQualityPrioritizationNormal@1$VTSuperResolutionScalerConfigurationRevision1@1$VTSuperResolutionScalerParametersSubmissionModeRandom@1$VTSuperResolutionScalerParametersSubmissionModeSequential@2$kVTAllocationFailedErr@-12904$kVTColorCorrectionImageRotationFailedErr@-12219$kVTColorCorrectionPixelTransferFailedErr@-12212$kVTColorSyncTransformConvertFailedErr@-12919$kVTCompressionSessionBeginFinalPass@1$kVTCouldNotCreateColorCorrectionDataErr@-12918$kVTCouldNotCreateInstanceErr@-12907$kVTCouldNotFindExtensionErr@-19510$kVTCouldNotFindTemporalFilterErr@-12217$kVTCouldNotFindVideoDecoderErr@-12906$kVTCouldNotFindVideoEncoderErr@-12908$kVTCouldNotOutputTaggedBufferGroupErr@-17699$kVTDecodeFrame_1xRealTimePlayback@4$kVTDecodeFrame_DoNotOutputFrame@2$kVTDecodeFrame_EnableAsynchronousDecompression@1$kVTDecodeFrame_EnableTemporalProcessing@8$kVTDecodeInfo_Asynchronous@1$kVTDecodeInfo_FrameDropped@2$kVTDecodeInfo_FrameInterrupted@16$kVTDecodeInfo_ImageBufferModifiable@4$kVTDecodeInfo_SkippedLeadingFrameDropped@8$kVTEncodeInfo_Asynchronous@1$kVTEncodeInfo_FrameDropped@2$kVTExtensionConflictErr@-19511$kVTExtensionDisabledErr@-17697$kVTFormatDescriptionChangeNotSupportedErr@-12916$kVTFrameSiloInvalidTimeRangeErr@-12216$kVTFrameSiloInvalidTimeStampErr@-12215$kVTImageRotationNotSupportedErr@-12914$kVTInsufficientSourceColorDataErr@-12917$kVTInvalidSessionErr@-12903$kVTMotionEstimationFrameFlags_CurrentBufferWillBeNextReferenceBuffer@1$kVTMotionEstimationInfoFlags_Reserved0@1$kVTMultiPassStorageIdentifierMismatchErr@-12213$kVTMultiPassStorageInvalidErr@-12214$kVTParameterErr@-12902$kVTPixelRotationNotSupportedErr@-12914$kVTPixelTransferNotPermittedErr@-12218$kVTPixelTransferNotSupportedErr@-12905$kVTPropertyNotSupportedErr@-12900$kVTPropertyReadOnlyErr@-12901$kVTQPModulationLevel_Default@-1$kVTQPModulationLevel_Disable@0$kVTSessionMalfunctionErr@-17691$kVTUnlimitedFrameDelayCount@-1$kVTVideoDecoderAuthorizationErr@-12210$kVTVideoDecoderBadDataErr@-12909$kVTVideoDecoderCallbackMessagingErr@-17695$kVTVideoDecoderMalfunctionErr@-12911$kVTVideoDecoderNeedsRosettaErr@-17692$kVTVideoDecoderNotAvailableNowErr@-12913$kVTVideoDecoderReferenceMissingErr@-17694$kVTVideoDecoderRemovedErr@-17690$kVTVideoDecoderUnknownErr@-17696$kVTVideoDecoderUnsupportedDataFormatErr@-12910$kVTVideoEncoderAuthorizationErr@-12211$kVTVideoEncoderAutoWhiteBalanceNotLockedErr@-19512$kVTVideoEncoderMVHEVCVideoLayerIDsMismatchErr@-17698$kVTVideoEncoderMalfunctionErr@-12912$kVTVideoEncoderNeedsRosettaErr@-17693$kVTVideoEncoderNotAvailableNowErr@-12915$"""
41
+ constants = """$VTFrameProcessorErrorDomain$kVTAlphaChannelMode_PremultipliedAlpha$kVTAlphaChannelMode_StraightAlpha$kVTCameraCalibrationExtrinsicOriginSource_StereoCameraSystemBaseline$kVTCameraCalibrationLensAlgorithmKind_ParametricLens$kVTCameraCalibrationLensDomain_Color$kVTCameraCalibrationLensRole_Left$kVTCameraCalibrationLensRole_Mono$kVTCameraCalibrationLensRole_Right$kVTCompressionPreset_Balanced$kVTCompressionPreset_ConsistentQuality$kVTCompressionPreset_HighQuality$kVTCompressionPreset_HighSpeed$kVTCompressionPreset_VideoConferencing$kVTCompressionPropertyCameraCalibrationKey_ExtrinsicOrientationQuaternion$kVTCompressionPropertyCameraCalibrationKey_ExtrinsicOriginSource$kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrix$kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrixProjectionOffset$kVTCompressionPropertyCameraCalibrationKey_IntrinsicMatrixReferenceDimensions$kVTCompressionPropertyCameraCalibrationKey_LensAlgorithmKind$kVTCompressionPropertyCameraCalibrationKey_LensDistortions$kVTCompressionPropertyCameraCalibrationKey_LensDomain$kVTCompressionPropertyCameraCalibrationKey_LensFrameAdjustmentsPolynomialX$kVTCompressionPropertyCameraCalibrationKey_LensFrameAdjustmentsPolynomialY$kVTCompressionPropertyCameraCalibrationKey_LensIdentifier$kVTCompressionPropertyCameraCalibrationKey_LensRole$kVTCompressionPropertyCameraCalibrationKey_RadialAngleLimit$kVTCompressionPropertyKey_AllowFrameReordering$kVTCompressionPropertyKey_AllowOpenGOP$kVTCompressionPropertyKey_AllowTemporalCompression$kVTCompressionPropertyKey_AlphaChannelMode$kVTCompressionPropertyKey_AspectRatio16x9$kVTCompressionPropertyKey_AverageBitRate$kVTCompressionPropertyKey_BaseLayerBitRateFraction$kVTCompressionPropertyKey_BaseLayerFrameRate$kVTCompressionPropertyKey_BaseLayerFrameRateFraction$kVTCompressionPropertyKey_CalculateMeanSquaredError$kVTCompressionPropertyKey_CameraCalibrationDataLensCollection$kVTCompressionPropertyKey_CleanAperture$kVTCompressionPropertyKey_ColorPrimaries$kVTCompressionPropertyKey_ConstantBitRate$kVTCompressionPropertyKey_ConstantQualityFactor$kVTCompressionPropertyKey_ContentLightLevelInfo$kVTCompressionPropertyKey_DataRateLimits$kVTCompressionPropertyKey_Depth$kVTCompressionPropertyKey_EnableLTR$kVTCompressionPropertyKey_EncoderID$kVTCompressionPropertyKey_EstimatedAverageBytesPerFrame$kVTCompressionPropertyKey_ExpectedDuration$kVTCompressionPropertyKey_ExpectedFrameRate$kVTCompressionPropertyKey_FieldCount$kVTCompressionPropertyKey_FieldDetail$kVTCompressionPropertyKey_GammaLevel$kVTCompressionPropertyKey_H264EntropyMode$kVTCompressionPropertyKey_HDRMetadataInsertionMode$kVTCompressionPropertyKey_HasLeftStereoEyeView$kVTCompressionPropertyKey_HasRightStereoEyeView$kVTCompressionPropertyKey_HeroEye$kVTCompressionPropertyKey_HorizontalDisparityAdjustment$kVTCompressionPropertyKey_HorizontalFieldOfView$kVTCompressionPropertyKey_ICCProfile$kVTCompressionPropertyKey_LogTransferFunction$kVTCompressionPropertyKey_MVHEVCLeftAndRightViewIDs$kVTCompressionPropertyKey_MVHEVCVideoLayerIDs$kVTCompressionPropertyKey_MVHEVCViewIDs$kVTCompressionPropertyKey_MasteringDisplayColorVolume$kVTCompressionPropertyKey_MaxAllowedFrameQP$kVTCompressionPropertyKey_MaxFrameDelayCount$kVTCompressionPropertyKey_MaxH264SliceBytes$kVTCompressionPropertyKey_MaxKeyFrameInterval$kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration$kVTCompressionPropertyKey_MaximizePowerEfficiency$kVTCompressionPropertyKey_MaximumRealTimeFrameRate$kVTCompressionPropertyKey_MinAllowedFrameQP$kVTCompressionPropertyKey_MoreFramesAfterEnd$kVTCompressionPropertyKey_MoreFramesBeforeStart$kVTCompressionPropertyKey_MultiPassStorage$kVTCompressionPropertyKey_NumberOfPendingFrames$kVTCompressionPropertyKey_OutputBitDepth$kVTCompressionPropertyKey_PixelAspectRatio$kVTCompressionPropertyKey_PixelBufferPoolIsShared$kVTCompressionPropertyKey_PixelTransferProperties$kVTCompressionPropertyKey_PreserveAlphaChannel$kVTCompressionPropertyKey_PreserveDynamicHDRMetadata$kVTCompressionPropertyKey_PrioritizeEncodingSpeedOverQuality$kVTCompressionPropertyKey_ProfileLevel$kVTCompressionPropertyKey_ProgressiveScan$kVTCompressionPropertyKey_ProjectionKind$kVTCompressionPropertyKey_Quality$kVTCompressionPropertyKey_RealTime$kVTCompressionPropertyKey_RecommendedParallelizationLimit$kVTCompressionPropertyKey_RecommendedParallelizedSubdivisionMinimumDuration$kVTCompressionPropertyKey_RecommendedParallelizedSubdivisionMinimumFrameCount$kVTCompressionPropertyKey_ReferenceBufferCount$kVTCompressionPropertyKey_SourceFrameCount$kVTCompressionPropertyKey_SpatialAdaptiveQPLevel$kVTCompressionPropertyKey_StereoCameraBaseline$kVTCompressionPropertyKey_SuggestedLookAheadFrameCount$kVTCompressionPropertyKey_SupportedPresetDictionaries$kVTCompressionPropertyKey_SupportsBaseFrameQP$kVTCompressionPropertyKey_TargetQualityForAlpha$kVTCompressionPropertyKey_TransferFunction$kVTCompressionPropertyKey_UsingGPURegistryID$kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder$kVTCompressionPropertyKey_VBVBufferDuration$kVTCompressionPropertyKey_VBVInitialDelayPercentage$kVTCompressionPropertyKey_VBVMaxBitRate$kVTCompressionPropertyKey_VariableBitRate$kVTCompressionPropertyKey_VideoEncoderPixelBufferAttributes$kVTCompressionPropertyKey_ViewPackingKind$kVTCompressionPropertyKey_YCbCrMatrix$kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle$kVTDecodeFrameOptionKey_ContentAnalyzerRotation$kVTDecompressionPropertyKey_AllowBitstreamToChangeFrameDimensions$kVTDecompressionPropertyKey_ContentHasInterframeDependencies$kVTDecompressionPropertyKey_DecoderProducesRAWOutput$kVTDecompressionPropertyKey_DeinterlaceMode$kVTDecompressionPropertyKey_FieldMode$kVTDecompressionPropertyKey_GeneratePerFrameHDRDisplayMetadata$kVTDecompressionPropertyKey_MaxOutputPresentationTimeStampOfFramesBeingDecoded$kVTDecompressionPropertyKey_MaximizePowerEfficiency$kVTDecompressionPropertyKey_MinOutputPresentationTimeStampOfFramesBeingDecoded$kVTDecompressionPropertyKey_NumberOfFramesBeingDecoded$kVTDecompressionPropertyKey_OnlyTheseFrames$kVTDecompressionPropertyKey_OutputPoolRequestedMinimumBufferCount$kVTDecompressionPropertyKey_PixelBufferPool$kVTDecompressionPropertyKey_PixelBufferPoolIsShared$kVTDecompressionPropertyKey_PixelFormatsWithReducedResolutionSupport$kVTDecompressionPropertyKey_PixelTransferProperties$kVTDecompressionPropertyKey_PropagatePerFrameHDRDisplayMetadata$kVTDecompressionPropertyKey_RealTime$kVTDecompressionPropertyKey_ReducedCoefficientDecode$kVTDecompressionPropertyKey_ReducedFrameDelivery$kVTDecompressionPropertyKey_ReducedResolutionDecode$kVTDecompressionPropertyKey_RequestRAWOutput$kVTDecompressionPropertyKey_RequestedMVHEVCVideoLayerIDs$kVTDecompressionPropertyKey_SuggestedQualityOfServiceTiers$kVTDecompressionPropertyKey_SupportedPixelFormatsOrderedByPerformance$kVTDecompressionPropertyKey_SupportedPixelFormatsOrderedByQuality$kVTDecompressionPropertyKey_ThreadCount$kVTDecompressionPropertyKey_UsingGPURegistryID$kVTDecompressionPropertyKey_UsingHardwareAcceleratedVideoDecoder$kVTDecompressionProperty_DeinterlaceMode_Temporal$kVTDecompressionProperty_DeinterlaceMode_VerticalFilter$kVTDecompressionProperty_FieldMode_BothFields$kVTDecompressionProperty_FieldMode_BottomFieldOnly$kVTDecompressionProperty_FieldMode_DeinterlaceFields$kVTDecompressionProperty_FieldMode_SingleField$kVTDecompressionProperty_FieldMode_TopFieldOnly$kVTDecompressionProperty_OnlyTheseFrames_AllFrames$kVTDecompressionProperty_OnlyTheseFrames_IFrames$kVTDecompressionProperty_OnlyTheseFrames_KeyFrames$kVTDecompressionProperty_OnlyTheseFrames_NonDroppableFrames$kVTDecompressionProperty_TemporalLevelLimit$kVTDecompressionResolutionKey_Height$kVTDecompressionResolutionKey_Width$kVTDownsamplingMode_Average$kVTDownsamplingMode_Decimate$kVTEncodeFrameOptionKey_AcknowledgedLTRTokens$kVTEncodeFrameOptionKey_BaseFrameQP$kVTEncodeFrameOptionKey_ForceKeyFrame$kVTEncodeFrameOptionKey_ForceLTRRefresh$kVTExtensionProperties_CodecNameKey$kVTExtensionProperties_ContainingBundleNameKey$kVTExtensionProperties_ContainingBundleURLKey$kVTExtensionProperties_ExtensionIdentifierKey$kVTExtensionProperties_ExtensionNameKey$kVTExtensionProperties_ExtensionURLKey$kVTH264EntropyMode_CABAC$kVTH264EntropyMode_CAVLC$kVTHDRMetadataInsertionMode_Auto$kVTHDRMetadataInsertionMode_None$kVTHDRMetadataInsertionMode_RequestSDRRangePreservation$kVTHDRPerFrameMetadataGenerationHDRFormatType_DolbyVision$kVTHDRPerFrameMetadataGenerationOptionsKey_HDRFormats$kVTHeroEye_Left$kVTHeroEye_Right$kVTMotionEstimationSessionCreationOption_DetectTrueMotion$kVTMotionEstimationSessionCreationOption_Label$kVTMotionEstimationSessionCreationOption_MotionVectorSize$kVTMotionEstimationSessionCreationOption_UseMultiPassSearch$kVTMultiPassStorageCreationOption_DoNotDelete$kVTPixelRotationPropertyKey_FlipHorizontalOrientation$kVTPixelRotationPropertyKey_FlipVerticalOrientation$kVTPixelRotationPropertyKey_Rotation$kVTPixelTransferPropertyKey_DestinationCleanAperture$kVTPixelTransferPropertyKey_DestinationColorPrimaries$kVTPixelTransferPropertyKey_DestinationICCProfile$kVTPixelTransferPropertyKey_DestinationPixelAspectRatio$kVTPixelTransferPropertyKey_DestinationTransferFunction$kVTPixelTransferPropertyKey_DestinationYCbCrMatrix$kVTPixelTransferPropertyKey_DownsamplingMode$kVTPixelTransferPropertyKey_RealTime$kVTPixelTransferPropertyKey_ScalingMode$kVTProfileLevel_H263_Profile0_Level10$kVTProfileLevel_H263_Profile0_Level45$kVTProfileLevel_H263_Profile3_Level45$kVTProfileLevel_H264_Baseline_1_3$kVTProfileLevel_H264_Baseline_3_0$kVTProfileLevel_H264_Baseline_3_1$kVTProfileLevel_H264_Baseline_3_2$kVTProfileLevel_H264_Baseline_4_0$kVTProfileLevel_H264_Baseline_4_1$kVTProfileLevel_H264_Baseline_4_2$kVTProfileLevel_H264_Baseline_5_0$kVTProfileLevel_H264_Baseline_5_1$kVTProfileLevel_H264_Baseline_5_2$kVTProfileLevel_H264_Baseline_AutoLevel$kVTProfileLevel_H264_ConstrainedBaseline_AutoLevel$kVTProfileLevel_H264_ConstrainedHigh_AutoLevel$kVTProfileLevel_H264_Extended_5_0$kVTProfileLevel_H264_Extended_AutoLevel$kVTProfileLevel_H264_High_3_0$kVTProfileLevel_H264_High_3_1$kVTProfileLevel_H264_High_3_2$kVTProfileLevel_H264_High_4_0$kVTProfileLevel_H264_High_4_1$kVTProfileLevel_H264_High_4_2$kVTProfileLevel_H264_High_5_0$kVTProfileLevel_H264_High_5_1$kVTProfileLevel_H264_High_5_2$kVTProfileLevel_H264_High_AutoLevel$kVTProfileLevel_H264_Main_3_0$kVTProfileLevel_H264_Main_3_1$kVTProfileLevel_H264_Main_3_2$kVTProfileLevel_H264_Main_4_0$kVTProfileLevel_H264_Main_4_1$kVTProfileLevel_H264_Main_4_2$kVTProfileLevel_H264_Main_5_0$kVTProfileLevel_H264_Main_5_1$kVTProfileLevel_H264_Main_5_2$kVTProfileLevel_H264_Main_AutoLevel$kVTProfileLevel_HEVC_Main10_AutoLevel$kVTProfileLevel_HEVC_Main42210_AutoLevel$kVTProfileLevel_HEVC_Main_AutoLevel$kVTProfileLevel_HEVC_Monochrome10_AutoLevel$kVTProfileLevel_HEVC_Monochrome_AutoLevel$kVTProfileLevel_MP4V_AdvancedSimple_L0$kVTProfileLevel_MP4V_AdvancedSimple_L1$kVTProfileLevel_MP4V_AdvancedSimple_L2$kVTProfileLevel_MP4V_AdvancedSimple_L3$kVTProfileLevel_MP4V_AdvancedSimple_L4$kVTProfileLevel_MP4V_Main_L2$kVTProfileLevel_MP4V_Main_L3$kVTProfileLevel_MP4V_Main_L4$kVTProfileLevel_MP4V_Simple_L0$kVTProfileLevel_MP4V_Simple_L1$kVTProfileLevel_MP4V_Simple_L2$kVTProfileLevel_MP4V_Simple_L3$kVTProjectionKind_AppleImmersiveVideo$kVTProjectionKind_Equirectangular$kVTProjectionKind_HalfEquirectangular$kVTProjectionKind_ParametricImmersive$kVTProjectionKind_Rectilinear$kVTPropertyDocumentationKey$kVTPropertyReadWriteStatusKey$kVTPropertyReadWriteStatus_ReadOnly$kVTPropertyReadWriteStatus_ReadWrite$kVTPropertyShouldBeSerializedKey$kVTPropertySupportedValueListKey$kVTPropertySupportedValueMaximumKey$kVTPropertySupportedValueMinimumKey$kVTPropertyTypeKey$kVTPropertyType_Boolean$kVTPropertyType_Enumeration$kVTPropertyType_Number$kVTRAWProcessingParameterListElement_Description$kVTRAWProcessingParameterListElement_Label$kVTRAWProcessingParameterListElement_ListElementID$kVTRAWProcessingParameterValueType_Boolean$kVTRAWProcessingParameterValueType_Float$kVTRAWProcessingParameterValueType_Integer$kVTRAWProcessingParameterValueType_List$kVTRAWProcessingParameterValueType_SubGroup$kVTRAWProcessingParameter_CameraValue$kVTRAWProcessingParameter_CurrentValue$kVTRAWProcessingParameter_Description$kVTRAWProcessingParameter_Enabled$kVTRAWProcessingParameter_InitialValue$kVTRAWProcessingParameter_Key$kVTRAWProcessingParameter_ListArray$kVTRAWProcessingParameter_MaximumValue$kVTRAWProcessingParameter_MinimumValue$kVTRAWProcessingParameter_Name$kVTRAWProcessingParameter_NeutralValue$kVTRAWProcessingParameter_SubGroup$kVTRAWProcessingParameter_ValueType$kVTRAWProcessingPropertyKey_MetadataForSidecarFile$kVTRAWProcessingPropertyKey_MetalDeviceRegistryID$kVTRAWProcessingPropertyKey_OutputColorAttachments$kVTRotation_0$kVTRotation_180$kVTRotation_CCW90$kVTRotation_CW90$kVTSampleAttachmentKey_QualityMetrics$kVTSampleAttachmentKey_RequireLTRAcknowledgementToken$kVTSampleAttachmentQualityMetricsKey_ChromaBlueMeanSquaredError$kVTSampleAttachmentQualityMetricsKey_ChromaRedMeanSquaredError$kVTSampleAttachmentQualityMetricsKey_LumaMeanSquaredError$kVTScalingMode_CropSourceToCleanAperture$kVTScalingMode_Letterbox$kVTScalingMode_Normal$kVTScalingMode_Trim$kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder$kVTVideoDecoderSpecification_PreferredDecoderGPURegistryID$kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder$kVTVideoDecoderSpecification_RequiredDecoderGPURegistryID$kVTVideoEncoderListOption_IncludeStandardDefinitionDVEncoders$kVTVideoEncoderList_CodecName$kVTVideoEncoderList_CodecType$kVTVideoEncoderList_DisplayName$kVTVideoEncoderList_EncoderID$kVTVideoEncoderList_EncoderName$kVTVideoEncoderList_GPURegistryID$kVTVideoEncoderList_InstanceLimit$kVTVideoEncoderList_IsHardwareAccelerated$kVTVideoEncoderList_PerformanceRating$kVTVideoEncoderList_QualityRating$kVTVideoEncoderList_SupportedSelectionProperties$kVTVideoEncoderList_SupportsFrameReordering$kVTVideoEncoderList_SupportsMultiPass$kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder$kVTVideoEncoderSpecification_EnableLowLatencyRateControl$kVTVideoEncoderSpecification_EncoderID$kVTVideoEncoderSpecification_PreferredEncoderGPURegistryID$kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder$kVTVideoEncoderSpecification_RequiredEncoderGPURegistryID$kVTViewPackingKind_OverUnder$kVTViewPackingKind_SideBySide$"""
42
+ enums = """$VTFrameProcessorAssetDownloadFailed@-19743$VTFrameProcessorFatalError@-19734$VTFrameProcessorInitializationFailed@-19736$VTFrameProcessorInvalidFrameTiming@-19742$VTFrameProcessorInvalidParameterError@-19741$VTFrameProcessorMemoryAllocationFailure@-19738$VTFrameProcessorProcessingError@-19740$VTFrameProcessorRevisionNotSupported@-19739$VTFrameProcessorSessionAlreadyActive@-19733$VTFrameProcessorSessionLevelError@-19735$VTFrameProcessorSessionNotStarted@-19732$VTFrameProcessorUnknownError@-19730$VTFrameProcessorUnsupportedInput@-19737$VTFrameProcessorUnsupportedResolution@-19731$VTFrameRateConversionConfigurationQualityPrioritizationNormal@1$VTFrameRateConversionConfigurationQualityPrioritizationQuality@2$VTFrameRateConversionConfigurationRevision1@1$VTFrameRateConversionParametersSubmissionModeRandom@1$VTFrameRateConversionParametersSubmissionModeSequential@2$VTFrameRateConversionParametersSubmissionModeSequentialReferencesUnchanged@3$VTMotionBlurConfigurationQualityPrioritizationNormal@1$VTMotionBlurConfigurationQualityPrioritizationQuality@2$VTMotionBlurConfigurationRevision1@1$VTMotionBlurParametersSubmissionModeRandom@1$VTMotionBlurParametersSubmissionModeSequential@2$VTOpticalFlowConfigurationQualityPrioritizationNormal@1$VTOpticalFlowConfigurationQualityPrioritizationQuality@2$VTOpticalFlowConfigurationRevision1@1$VTOpticalFlowParametersSubmissionModeRandom@1$VTOpticalFlowParametersSubmissionModeSequential@2$VTSuperResolutionScalerConfigurationInputTypeImage@2$VTSuperResolutionScalerConfigurationInputTypeVideo@1$VTSuperResolutionScalerConfigurationModelStatusDownloadRequired@0$VTSuperResolutionScalerConfigurationModelStatusDownloading@1$VTSuperResolutionScalerConfigurationModelStatusReady@2$VTSuperResolutionScalerConfigurationQualityPrioritizationNormal@1$VTSuperResolutionScalerConfigurationRevision1@1$VTSuperResolutionScalerParametersSubmissionModeRandom@1$VTSuperResolutionScalerParametersSubmissionModeSequential@2$kVTAllocationFailedErr@-12904$kVTColorCorrectionImageRotationFailedErr@-12219$kVTColorCorrectionPixelTransferFailedErr@-12212$kVTColorSyncTransformConvertFailedErr@-12919$kVTCompressionSessionBeginFinalPass@1$kVTCouldNotCreateColorCorrectionDataErr@-12918$kVTCouldNotCreateInstanceErr@-12907$kVTCouldNotFindExtensionErr@-19510$kVTCouldNotFindTemporalFilterErr@-12217$kVTCouldNotFindVideoDecoderErr@-12906$kVTCouldNotFindVideoEncoderErr@-12908$kVTCouldNotOutputTaggedBufferGroupErr@-17699$kVTDecodeFrame_1xRealTimePlayback@4$kVTDecodeFrame_DoNotOutputFrame@2$kVTDecodeFrame_EnableAsynchronousDecompression@1$kVTDecodeFrame_EnableTemporalProcessing@8$kVTDecodeInfo_Asynchronous@1$kVTDecodeInfo_FrameDropped@2$kVTDecodeInfo_FrameInterrupted@16$kVTDecodeInfo_ImageBufferModifiable@4$kVTDecodeInfo_SkippedLeadingFrameDropped@8$kVTEncodeInfo_Asynchronous@1$kVTEncodeInfo_FrameDropped@2$kVTExtensionConflictErr@-19511$kVTExtensionDisabledErr@-17697$kVTFormatDescriptionChangeNotSupportedErr@-12916$kVTFrameSiloInvalidTimeRangeErr@-12216$kVTFrameSiloInvalidTimeStampErr@-12215$kVTImageRotationNotSupportedErr@-12914$kVTInsufficientSourceColorDataErr@-12917$kVTInvalidSessionErr@-12903$kVTLogTransferFunctionMismatchErr@-19513$kVTMotionEstimationFrameFlags_CurrentBufferWillBeNextReferenceBuffer@1$kVTMotionEstimationInfoFlags_Reserved0@1$kVTMultiPassStorageIdentifierMismatchErr@-12213$kVTMultiPassStorageInvalidErr@-12214$kVTParameterErr@-12902$kVTPixelRotationNotSupportedErr@-12914$kVTPixelTransferNotPermittedErr@-12218$kVTPixelTransferNotSupportedErr@-12905$kVTPropertyNotSupportedErr@-12900$kVTPropertyReadOnlyErr@-12901$kVTQPModulationLevel_Default@-1$kVTQPModulationLevel_Disable@0$kVTSessionMalfunctionErr@-17691$kVTUnlimitedFrameDelayCount@-1$kVTVideoDecoderAuthorizationErr@-12210$kVTVideoDecoderBadDataErr@-12909$kVTVideoDecoderCallbackMessagingErr@-17695$kVTVideoDecoderMalfunctionErr@-12911$kVTVideoDecoderNeedsRosettaErr@-17692$kVTVideoDecoderNotAvailableNowErr@-12913$kVTVideoDecoderReferenceMissingErr@-17694$kVTVideoDecoderRemovedErr@-17690$kVTVideoDecoderUnknownErr@-17696$kVTVideoDecoderUnsupportedDataFormatErr@-12910$kVTVideoEncoderAuthorizationErr@-12211$kVTVideoEncoderAutoWhiteBalanceNotLockedErr@-19512$kVTVideoEncoderMVHEVCVideoLayerIDsMismatchErr@-17698$kVTVideoEncoderMalfunctionErr@-12912$kVTVideoEncoderNeedsRosettaErr@-17693$kVTVideoEncoderNotAvailableNowErr@-12915$"""
45
43
  misc.update(
46
44
  {
47
45
  "VTOpticalFlowConfigurationRevision": NewType(
@@ -110,18 +108,12 @@ functions = {
110
108
  "VTPixelTransferSessionCreate": (
111
109
  b"i^{__CFAllocator=}^^{OpaqueVTPixelTransferSession=}",
112
110
  "",
113
- {
114
- "retval": {"already_cfretained": True},
115
- "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
116
- },
111
+ {"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}}},
117
112
  ),
118
113
  "VTCreateCGImageFromCVPixelBuffer": (
119
114
  b"i^{__CVBuffer=}^{__CFDictionary=}^^{CGImage=}",
120
115
  "",
121
- {
122
- "retval": {"already_cfretained": True},
123
- "arguments": {2: {"already_cfretained": True, "type_modifier": "o"}},
124
- },
116
+ {"arguments": {2: {"already_cfretained": True, "type_modifier": "o"}}},
125
117
  ),
126
118
  "VTCompressionSessionEndPass": (
127
119
  b"i^{OpaqueVTCompressionSession=}^Z^I",
@@ -134,10 +126,7 @@ functions = {
134
126
  "VTSessionCopySupportedPropertyDictionary": (
135
127
  b"i@^^{__CFDictionary=}",
136
128
  "",
137
- {
138
- "retval": {"already_cfretained": True},
139
- "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
140
- },
129
+ {"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}}},
141
130
  ),
142
131
  "VTMotionEstimationSessionCompleteFrames": (
143
132
  b"i^{OpaqueVTMotionEstimationSession=}",
@@ -145,10 +134,7 @@ functions = {
145
134
  "VTPixelRotationSessionCreate": (
146
135
  b"i^{__CFAllocator=}^^{OpaqueVTPixelRotationSession=}",
147
136
  "",
148
- {
149
- "retval": {"already_cfretained": True},
150
- "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
151
- },
137
+ {"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}}},
152
138
  ),
153
139
  "VTRAWProcessingSessionInvalidate": (b"v^{OpaqueVTRAWProcessingSession=}",),
154
140
  "VTHDRPerFrameMetadataGenerationSessionGetTypeID": (b"Q",),
@@ -210,10 +196,7 @@ functions = {
210
196
  "VTRAWProcessingSessionCreate": (
211
197
  b"i^{__CFAllocator=}^{opaqueCMFormatDescription=}^{__CFDictionary=}^{__CFDictionary=}^^{OpaqueVTRAWProcessingSession=}",
212
198
  "",
213
- {
214
- "retval": {"already_cfretained": True},
215
- "arguments": {4: {"already_cfretained": True, "type_modifier": "o"}},
216
- },
199
+ {"arguments": {4: {"already_cfretained": True, "type_modifier": "o"}}},
217
200
  ),
218
201
  "VTCompressionSessionPrepareToEncodeFrames": (b"i^{OpaqueVTCompressionSession=}",),
219
202
  "VTCompressionSessionInvalidate": (b"v^{OpaqueVTCompressionSession=}",),
@@ -284,18 +267,12 @@ functions = {
284
267
  "VTSessionCopyProperty": (
285
268
  b"i@^{__CFString=}^{__CFAllocator=}^@",
286
269
  "",
287
- {
288
- "retval": {"already_cfretained": True},
289
- "arguments": {3: {"already_cfretained": True, "type_modifier": "o"}},
290
- },
270
+ {"arguments": {3: {"already_cfretained": True, "type_modifier": "o"}}},
291
271
  ),
292
272
  "VTCopyRAWProcessorExtensionProperties": (
293
273
  b"i^{opaqueCMFormatDescription=}^^{__CFDictionary=}",
294
274
  "",
295
- {
296
- "retval": {"already_cfretained": True},
297
- "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
298
- },
275
+ {"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}}},
299
276
  ),
300
277
  "VTCompressionSessionBeginPass": (
301
278
  b"i^{OpaqueVTCompressionSession=}I^I",
@@ -305,10 +282,7 @@ functions = {
305
282
  "VTMotionEstimationSessionCreate": (
306
283
  b"i^{__CFAllocator=}^{__CFDictionary=}II^^{OpaqueVTMotionEstimationSession=}",
307
284
  "",
308
- {
309
- "retval": {"already_cfretained": True},
310
- "arguments": {4: {"already_cfretained": True, "type_modifier": "o"}},
311
- },
285
+ {"arguments": {4: {"already_cfretained": True, "type_modifier": "o"}}},
312
286
  ),
313
287
  "VTRegisterProfessionalVideoWorkflowVideoDecoders": (b"v",),
314
288
  "VTRAWProcessingSessionProcessFrame": (
@@ -382,10 +356,7 @@ functions = {
382
356
  "VTMotionEstimationSessionCopySourcePixelBufferAttributes": (
383
357
  b"i^{OpaqueVTMotionEstimationSession=}^^{__CFDictionary=}",
384
358
  "",
385
- {
386
- "retval": {"already_cfretained": True},
387
- "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
388
- },
359
+ {"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}}},
389
360
  ),
390
361
  "VTCompressionSessionEncodeFrameWithOutputHandler": (
391
362
  b"i^{OpaqueVTCompressionSession=}^{__CVBuffer=}{CMTime=qiIq}{CMTime=qiIq}^{__CFDictionary=}^I@?",
@@ -413,20 +384,16 @@ functions = {
413
384
  b"iiiI^{__CFDictionary=}^^{__CFString=}^^{__CFDictionary=}",
414
385
  "",
415
386
  {
416
- "retval": {"already_cfretained": True},
417
387
  "arguments": {
418
388
  4: {"already_cfretained": True, "type_modifier": "o"},
419
389
  5: {"already_cfretained": True, "type_modifier": "o"},
420
- },
390
+ }
421
391
  },
422
392
  ),
423
393
  "VTHDRPerFrameMetadataGenerationSessionCreate": (
424
394
  b"i^{__CFAllocator=}f^{__CFDictionary=}^^{OpaqueVTHDRPerFrameMetadataGenerationSession=}",
425
395
  "",
426
- {
427
- "retval": {"already_cfretained": True},
428
- "arguments": {3: {"already_cfretained": True, "type_modifier": "o"}},
429
- },
396
+ {"arguments": {3: {"already_cfretained": True, "type_modifier": "o"}}},
430
397
  ),
431
398
  "VTPixelRotationSessionRotateImage": (
432
399
  b"i^{OpaqueVTPixelRotationSession=}^{__CVBuffer=}^{__CVBuffer=}",
@@ -457,10 +424,7 @@ functions = {
457
424
  "VTDecompressionSessionCopyBlackPixelBuffer": (
458
425
  b"i^{OpaqueVTDecompressionSession=}^^{__CVBuffer=}",
459
426
  "",
460
- {
461
- "retval": {"already_cfretained": True},
462
- "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
463
- },
427
+ {"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}}},
464
428
  ),
465
429
  "VTPixelRotationSessionGetTypeID": (b"Q",),
466
430
  "VTRAWProcessingSessionGetTypeID": (b"Q",),
@@ -470,18 +434,12 @@ functions = {
470
434
  "VTCopyVideoEncoderList": (
471
435
  b"i^{__CFDictionary=}^^{__CFArray=}",
472
436
  "",
473
- {
474
- "retval": {"already_cfretained": True},
475
- "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
476
- },
437
+ {"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}}},
477
438
  ),
478
439
  "VTMultiPassStorageCreate": (
479
440
  b"i^{__CFAllocator=}^{__CFURL=}{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}^{__CFDictionary=}^^{OpaqueVTMultiPassStorage=}",
480
441
  "",
481
- {
482
- "retval": {"already_cfretained": True},
483
- "arguments": {4: {"already_cfretained": True, "type_modifier": "o"}},
484
- },
442
+ {"arguments": {4: {"already_cfretained": True, "type_modifier": "o"}}},
485
443
  ),
486
444
  "VTDecompressionSessionGetTypeID": (b"Q",),
487
445
  "VTSessionSetProperties": (b"i@^{__CFDictionary=}",),
@@ -518,10 +476,7 @@ functions = {
518
476
  "VTRAWProcessingSessionCopyProcessingParameters": (
519
477
  b"i^{OpaqueVTRAWProcessingSession=}^^{__CFArray=}",
520
478
  "",
521
- {
522
- "retval": {"already_cfretained": True},
523
- "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
524
- },
479
+ {"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}}},
525
480
  ),
526
481
  "VTDecompressionSessionDecodeFrameWithOutputHandler": (
527
482
  b"i^{OpaqueVTDecompressionSession=}^{opaqueCMSampleBuffer=}I^I@?",
@@ -548,10 +503,7 @@ functions = {
548
503
  "VTCopyVideoDecoderExtensionProperties": (
549
504
  b"i^{opaqueCMFormatDescription=}^^{__CFDictionary=}",
550
505
  "",
551
- {
552
- "retval": {"already_cfretained": True},
553
- "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
554
- },
506
+ {"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}}},
555
507
  ),
556
508
  "VTRAWProcessingSessionCompleteFrames": (b"i^{OpaqueVTRAWProcessingSession=}",),
557
509
  "VTCompressionSessionEncodeFrame": (
@@ -562,10 +514,7 @@ functions = {
562
514
  "VTFrameSiloCreate": (
563
515
  b"i^{__CFAllocator=}^{__CFURL=}{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}^{__CFDictionary=}^^{OpaqueVTFrameSilo=}",
564
516
  "",
565
- {
566
- "retval": {"already_cfretained": True},
567
- "arguments": {4: {"already_cfretained": True, "type_modifier": "o"}},
568
- },
517
+ {"arguments": {4: {"already_cfretained": True, "type_modifier": "o"}}},
569
518
  ),
570
519
  "VTIsStereoMVHEVCDecodeSupported": (b"Z",),
571
520
  "VTFrameSiloGetProgressOfCurrentPass": (
@@ -579,10 +528,7 @@ functions = {
579
528
  "VTSessionCopySerializableProperties": (
580
529
  b"i@^{__CFAllocator=}^^{__CFDictionary=}",
581
530
  "",
582
- {
583
- "retval": {"already_cfretained": True},
584
- "arguments": {2: {"already_cfretained": True, "type_modifier": "o"}},
585
- },
531
+ {"arguments": {2: {"already_cfretained": True, "type_modifier": "o"}}},
586
532
  ),
587
533
  "VTIsStereoMVHEVCEncodeSupported": (b"Z",),
588
534
  "VTRAWProcessingSessionSetProcessingParameters": (
@@ -592,7 +538,6 @@ functions = {
592
538
  b"i^{__CFAllocator=}iiI^{__CFDictionary=}^{__CFDictionary=}^{__CFAllocator=}^?^v^^{OpaqueVTCompressionSession=}",
593
539
  "",
594
540
  {
595
- "retval": {"already_cfretained": True},
596
541
  "arguments": {
597
542
  9: {"already_cfretained": True, "type_modifier": "o"},
598
543
  7: {
@@ -608,7 +553,7 @@ functions = {
608
553
  },
609
554
  "callable_retained": True,
610
555
  },
611
- },
556
+ }
612
557
  },
613
558
  ),
614
559
  }
@@ -947,5 +892,9 @@ objc.registerNewKeywordsFromSelector(
947
892
  b"initWithSourceFrame:nextFrames:previousFrames:destinationFrame:filterStrength:hasDiscontinuity:",
948
893
  )
949
894
  expressions = {}
895
+ formal_protocols = {
896
+ "VTFrameProcessorConfiguration": "VTFrameProcessorConfiguration",
897
+ "VTFrameProcessorParameters": "VTFrameProcessorParameters",
898
+ }
950
899
 
951
900
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-VideoToolbox
3
- Version: 12.2.1
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework VideoToolbox on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,23 +17,23 @@ Classifier: Operating System :: MacOS :: MacOS X
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
21
  Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: 3.13
24
23
  Classifier: Programming Language :: Python :: 3.14
25
24
  Classifier: Programming Language :: Python :: 3.15
25
+ Classifier: Programming Language :: Python :: 3.16
26
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
28
  Classifier: Programming Language :: Objective C
29
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
- Requires-Python: >=3.10
31
+ Requires-Python: >=3.11
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=12.2.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
35
- Requires-Dist: pyobjc-framework-Quartz>=12.2.1
36
- Requires-Dist: pyobjc-framework-CoreMedia>=12.2.1
33
+ Requires-Dist: pyobjc-core>=13.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=13.0
35
+ Requires-Dist: pyobjc-framework-Quartz>=13.0
36
+ Requires-Dist: pyobjc-framework-CoreMedia>=13.0
37
37
  Dynamic: author
38
38
  Dynamic: author-email
39
39
  Dynamic: classifier
@@ -26,7 +26,6 @@ PyObjCTest/test_vtdecompressionsession.py
26
26
  PyObjCTest/test_vterrors.py
27
27
  PyObjCTest/test_vtframeprocessor.py
28
28
  PyObjCTest/test_vtframeprocessor_framerateconversion.py
29
- PyObjCTest/test_vtframeprocessor_lowLatencyframeinterpolation.py
30
29
  PyObjCTest/test_vtframeprocessor_lowlatencyframeinterpolation.py
31
30
  PyObjCTest/test_vtframeprocessor_lowlatencysuperresolutionscaler.h
32
31
  PyObjCTest/test_vtframeprocessor_motionblur.py
@@ -53,5 +52,5 @@ PyObjCTest/test_vtutilities.py
53
52
  PyObjCTest/test_vtvideoencoderlist.py
54
53
  metadata/VideoToolbox.fwinfo
55
54
  metadata/metadata.ini
56
- metadata/raw/arm64-26.5.fwinfo
57
- metadata/raw/x86_64-26.5.fwinfo
55
+ metadata/raw/arm64-27.fwinfo
56
+ metadata/raw/x86_64-27.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 27.2 (26B123)
2
+ Apple clang version 21.0.0 (clang-2100.4.1.1)
3
+ SDK: macOS 27.2
@@ -0,0 +1,4 @@
1
+ pyobjc-core>=13.0
2
+ pyobjc-framework-Cocoa>=13.0
3
+ pyobjc-framework-Quartz>=13.0
4
+ pyobjc-framework-CoreMedia>=13.0
@@ -2,13 +2,18 @@
2
2
  #include "Python.h"
3
3
  #include "pyobjc-api.h"
4
4
 
5
+ #ifdef USE_STATIC_ANALYZER
6
+ #include "../../pyobjc-core/Modules/objc/python-api-used.h"
7
+ #endif
8
+
5
9
  #import <VideoToolbox/VideoToolbox.h>
6
10
 
7
11
  #include "_VideoToolbox_protocols.m"
8
12
 
9
- static PyObject*
10
- m_VTCompressionSessionGetTimeRangesForNextPass(PyObject* self __attribute__((__unused__)),
11
- PyObject* args, PyObject* kwds)
13
+ NS_ASSUME_NONNULL_BEGIN
14
+
15
+ static PyObject* _Nullable m_VTCompressionSessionGetTimeRangesForNextPass(
16
+ PyObject* self __attribute__((__unused__)), PyObject* args, PyObject* kwds)
12
17
  {
13
18
  static char* keywords[] = {"session", "timeRangeCountOut", "timeRangeArrayOut", NULL};
14
19
  PyObject* py_session;
@@ -52,9 +57,9 @@ m_VTCompressionSessionGetTimeRangesForNextPass(PyObject* self __attribute__((__u
52
57
  }
53
58
  }
54
59
 
55
- static PyObject*
56
- m_VTDecompressionSessionCreate(PyObject* self __attribute__((__unused__)), PyObject* args,
57
- PyObject* kwds)
60
+ static PyObject* _Nullable m_VTDecompressionSessionCreate(PyObject* self
61
+ __attribute__((__unused__)),
62
+ PyObject* args, PyObject* kwds)
58
63
  {
59
64
  static char* keywords[] = {"allocator",
60
65
  "videoFormatDescription",
@@ -188,10 +193,11 @@ static struct PyModuleDef mod_module = {
188
193
  .m_free = NULL,
189
194
  };
190
195
 
191
- PyObject* PyInit__VideoToolbox(void);
196
+ PyObject* _Nullable PyInit__VideoToolbox(void);
192
197
 
193
- PyObject* __attribute__((__visibility__("default")))
198
+ PyObject* _Nullable __attribute__((__visibility__("default")))
194
199
  PyInit__VideoToolbox(void)
195
200
  {
196
201
  return PyModuleDef_Init(&mod_module);
197
202
  }
203
+ NS_ASSUME_NONNULL_END
@@ -1,8 +1,7 @@
1
- /*
2
- * This file is generated by objective.metadata
3
- *
4
- * Last update: Sun Mar 2 11:21:54 2025
5
- */
1
+ // LCOV_EXCL_START
2
+ // This function is only present to ensure protocols are
3
+ // available at runtime.
4
+ NS_ASSUME_NONNULL_BEGIN
6
5
 
7
6
  static void __attribute__((__used__))
8
7
  use_protocols(void)
@@ -15,3 +14,6 @@ use_protocols(void)
15
14
  Py_XDECREF(p);
16
15
  #endif /* PyObjC_BUILD_RELEASE >= 1504 */
17
16
  }
17
+
18
+ NS_ASSUME_NONNULL_END
19
+ // LCOV_EXCL_STOP
@@ -60,6 +60,11 @@ typedef int(RegisterMethodMappingFunctionType)(
60
60
  PyObject* _Nonnull const* _Nonnull, size_t),
61
61
  IMP _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull));
62
62
 
63
+ #ifndef PyObjC_FUNCTION_CALL_H
64
+ typedef PyObject* _Nullable (*PyObjC_FunctionCallFunc)(
65
+ PyObject* meth, PyObject* _Nonnull const* _Nonnull args, size_t nargs);
66
+ #endif
67
+
63
68
  struct pyobjc_api {
64
69
  int api_version; /* API version */
65
70
  size_t struct_len; /* Length of this struct */
@@ -117,6 +122,9 @@ struct pyobjc_api {
117
122
 
118
123
  PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
119
124
  const char*);
125
+ int (*_Nonnull register_functioncaller)(void*, PyObjC_FunctionCallFunc);
126
+ PyObject* _Nullable (*_Nonnull create_registered_struct)(
127
+ const char*, Py_ssize_t, const char* _Nonnull* _Nullable, Py_ssize_t*);
120
128
  };
121
129
 
122
130
  #ifndef PYOBJC_BUILD
@@ -159,6 +167,8 @@ static struct pyobjc_api* PyObjC_API;
159
167
  #define PyObjC_CheckArgCount (PyObjC_API->checkargcount)
160
168
  #define PyObjC_CheckNoKwnames (PyObjC_API->checknokwnames)
161
169
  #define PyObjCCreateOpaquePointerType (PyObjC_API->createopaquepointertype)
170
+ #define PyObjCRegister_FunctionCaller (PyObjC_API->register_functioncaller)
171
+ #define PyObjC_CreateRegisteredStruct (PyObjC_API->create_registered_struct)
162
172
 
163
173
  typedef void (*PyObjC_Function_Pointer)(void);
164
174
  typedef struct PyObjC_function_map {
@@ -178,21 +188,25 @@ static inline int
178
188
  PyObjC_ImportAPI(PyObject* calling_module)
179
189
  {
180
190
  PyObjC_API = (struct pyobjc_api*)PyCapsule_Import("objc." PYOBJC_API_NAME, 0);
181
- if (PyObjC_API == NULL) {
182
- return -1;
191
+ if (PyObjC_API == NULL) { // LCOV_BR_EXCL_LINE
192
+ return -1; // LCOV_EXCL_LINE
183
193
  }
184
- if (PyObjC_API->api_version != PYOBJC_API_VERSION) {
194
+ if (PyObjC_API->api_version != PYOBJC_API_VERSION) { // LCOV_BR_EXCL_LINE
195
+ // LCOV_EXCL_START
185
196
  PyErr_Format(PyExc_RuntimeError,
186
197
  "Wrong version of PyObjC C API (got %d, expected %d)",
187
198
  (int)PyObjC_API->api_version, (int)PYOBJC_API_VERSION);
188
199
  return -1;
200
+ // LCOV_EXCL_STOP
189
201
  }
190
202
 
191
- if (PyObjC_API->struct_len < PyObjC_EXPECTED_STRUCT_SIZE) {
203
+ if (PyObjC_API->struct_len < PyObjC_EXPECTED_STRUCT_SIZE) { // LCOV_EXCL_LINE
204
+ // LCOV_EXCL_START
192
205
  PyErr_Format(PyExc_RuntimeError,
193
206
  "Wrong struct-size of PyObjC C API (got %d, expected %d)",
194
207
  (int)PyObjC_API->struct_len, (int)sizeof(struct pyobjc_api));
195
208
  return -1;
209
+ // LCOV_EXCL_STOP
196
210
  }
197
211
 
198
212
  /* Current pyobjc implementation doesn't allow deregistering
@@ -167,24 +167,6 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
167
167
  PyGILState_Release(_GILState); \
168
168
  } while (0)
169
169
 
170
- #if PY_VERSION_HEX < 0x030a0000
171
-
172
- static inline PyObject*
173
- Py_NewRef(PyObject* o)
174
- {
175
- Py_INCREF(o);
176
- return o;
177
- }
178
-
179
- static inline PyObject*
180
- Py_XNewRef(PyObject* o)
181
- {
182
- Py_XINCREF(o);
183
- return o;
184
- }
185
-
186
- #endif /* PY_VERSION_HEX < 0x030a0000 */
187
-
188
170
  #if PY_VERSION_HEX < 0x030d0000
189
171
  #define Py_BEGIN_CRITICAL_SECTION(value) \
190
172
  { \
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-VideoToolbox
3
- Version: 12.2.1
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework VideoToolbox on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,23 +17,23 @@ Classifier: Operating System :: MacOS :: MacOS X
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
21
  Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: 3.13
24
23
  Classifier: Programming Language :: Python :: 3.14
25
24
  Classifier: Programming Language :: Python :: 3.15
25
+ Classifier: Programming Language :: Python :: 3.16
26
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
28
  Classifier: Programming Language :: Objective C
29
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
- Requires-Python: >=3.10
31
+ Requires-Python: >=3.11
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=12.2.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
35
- Requires-Dist: pyobjc-framework-Quartz>=12.2.1
36
- Requires-Dist: pyobjc-framework-CoreMedia>=12.2.1
33
+ Requires-Dist: pyobjc-core>=13.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=13.0
35
+ Requires-Dist: pyobjc-framework-Quartz>=13.0
36
+ Requires-Dist: pyobjc-framework-CoreMedia>=13.0
37
37
  Dynamic: author
38
38
  Dynamic: author-email
39
39
  Dynamic: classifier
@@ -3,11 +3,11 @@ from PyObjCTools.TestSupport import TestCase, min_os_level
3
3
 
4
4
 
5
5
  class TestVTCompressionProperties(TestCase):
6
- def test_constants(self):
6
+ def test_enums(self):
7
+ # Unnamed enum:
7
8
  self.assertEqual(VideoToolbox.kVTUnlimitedFrameDelayCount, -1)
8
9
 
9
- @min_os_level("10.8")
10
- def test_constants10_8(self):
10
+ def test_constants(self):
11
11
  self.assertIsInstance(
12
12
  VideoToolbox.kVTCompressionPropertyKey_NumberOfPendingFrames, str
13
13
  )
@@ -113,8 +113,6 @@ class TestVTCompressionProperties(TestCase):
113
113
  )
114
114
  self.assertIsInstance(VideoToolbox.kVTProfileLevel_H264_High_5_0, str)
115
115
 
116
- @min_os_level("10.9")
117
- def test_constants10_9(self):
118
116
  self.assertIsInstance(VideoToolbox.kVTProfileLevel_H264_Baseline_4_0, str)
119
117
  self.assertIsInstance(VideoToolbox.kVTProfileLevel_H264_Baseline_4_2, str)
120
118
  self.assertIsInstance(VideoToolbox.kVTProfileLevel_H264_Baseline_5_0, str)
@@ -535,3 +533,14 @@ class TestVTCompressionProperties(TestCase):
535
533
  self.assertIsInstance(VideoToolbox.kVTCompressionPreset_Balanced, str)
536
534
  self.assertIsInstance(VideoToolbox.kVTCompressionPreset_HighSpeed, str)
537
535
  self.assertIsInstance(VideoToolbox.kVTCompressionPreset_VideoConferencing, str)
536
+
537
+ @min_os_level("27.0")
538
+ def test_constants27_0(self):
539
+ self.assertIsInstance(
540
+ VideoToolbox.kVTCompressionPropertyKey_LogTransferFunction, str
541
+ )
542
+ self.assertIsInstance(VideoToolbox.kVTProjectionKind_AppleImmersiveVideo, str)
543
+ self.assertIsInstance(
544
+ VideoToolbox.kVTCompressionPropertyKey_ConstantQualityFactor, str
545
+ )
546
+ self.assertIsInstance(VideoToolbox.kVTCompressionPreset_ConsistentQuality, str)