pyobjc-framework-VideoToolbox 10.1__tar.gz → 11.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.
- pyobjc_framework_videotoolbox-11.0/Lib/VideoToolbox/_metadata.py +525 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/PKG-INFO +7 -7
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/SOURCES.txt +8 -6
- pyobjc_framework_videotoolbox-11.0/Lib/pyobjc_framework_VideoToolbox.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_videotoolbox-11.0/Lib/pyobjc_framework_VideoToolbox.egg-info/requires.txt +4 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/License.txt +1 -1
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/Modules/_VideoToolbox.m +46 -13
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/Modules/pyobjc-api.h +1 -1
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/Modules/pyobjc-compat.h +80 -5
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PKG-INFO +7 -7
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtcompressionproperties.py +63 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtdecompressionproperties.py +15 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vterrors.py +2 -0
- pyobjc_framework_videotoolbox-11.0/PyObjCTest/test_vthdrperframemetadatagenerationsession.py +35 -0
- pyobjc_framework_videotoolbox-11.0/PyObjCTest/test_vtrawprocessingproperties.py +17 -0
- pyobjc_framework_videotoolbox-11.0/PyObjCTest/test_vtrawprocessingsession.py +81 -0
- pyobjc_framework_videotoolbox-11.0/PyObjCTest/test_vtutilities.py +41 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/metadata/VideoToolbox.fwinfo +65 -0
- pyobjc-framework-VideoToolbox-10.1/metadata/raw/arm64-14.2.fwinfo → pyobjc_framework_videotoolbox-11.0/metadata/raw/arm64-14.5.fwinfo +70 -8
- pyobjc-framework-VideoToolbox-10.1/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_videotoolbox-11.0/metadata/raw/arm64-15.0.fwinfo +428 -8
- pyobjc-framework-VideoToolbox-10.1/metadata/raw/x86_64-14.2.fwinfo → pyobjc_framework_videotoolbox-11.0/metadata/raw/x86_64-14.5.fwinfo +70 -8
- pyobjc-framework-VideoToolbox-10.1/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_videotoolbox-11.0/metadata/raw/x86_64-15.0.fwinfo +428 -8
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/pyobjc_setup.py +121 -27
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/setup.py +1 -3
- pyobjc-framework-VideoToolbox-10.1/Lib/VideoToolbox/_metadata.py +0 -443
- pyobjc-framework-VideoToolbox-10.1/Lib/pyobjc_framework_VideoToolbox.egg-info/requires.txt +0 -4
- pyobjc-framework-VideoToolbox-10.1/PyObjCTest/test_vtutilities.py +0 -13
- pyobjc-framework-VideoToolbox-10.1/metadata/raw/arm64-12.0.fwinfo +0 -1608
- pyobjc-framework-VideoToolbox-10.1/metadata/raw/x86_64-12.0.fwinfo +0 -1608
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/Lib/VideoToolbox/__init__.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/dependency_links.txt +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/not-zip-safe +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/Lib/pyobjc_framework_VideoToolbox.egg-info/top_level.txt +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/MANIFEST.in +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_videotoolbox.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtbase.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtcompressionsession.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtdecompressionsession.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtframesilo.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtmultipassstorage.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtpixelrotationproperties.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtpixelrotationsession.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtpixeltransferproperties.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtpixeltransfersession.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtprofessionalvideoworkflow.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtsession.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/PyObjCTest/test_vtvideoencoderlist.py +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/metadata/metadata.ini +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/metadata/raw/arm64-12.3.fwinfo +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/metadata/raw/arm64-13.0.fwinfo +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/metadata/raw/x86_64-10.14.fwinfo +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/metadata/raw/x86_64-10.15.fwinfo +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/metadata/raw/x86_64-10.16.fwinfo +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/metadata/raw/x86_64-12.3.fwinfo +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/metadata/raw/x86_64-13.0.fwinfo +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/pyproject.toml +0 -0
- {pyobjc-framework-VideoToolbox-10.1 → pyobjc_framework_videotoolbox-11.0}/setup.cfg +0 -0
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
# This file is generated by objective.metadata
|
|
2
|
+
#
|
|
3
|
+
# Last update: Fri Nov 15 11:32:16 2024
|
|
4
|
+
#
|
|
5
|
+
# flake8: noqa
|
|
6
|
+
|
|
7
|
+
import objc, sys
|
|
8
|
+
from typing import NewType
|
|
9
|
+
|
|
10
|
+
if sys.maxsize > 2**32:
|
|
11
|
+
|
|
12
|
+
def sel32or64(a, b):
|
|
13
|
+
return b
|
|
14
|
+
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
def sel32or64(a, b):
|
|
18
|
+
return a
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
if objc.arch == "arm64":
|
|
22
|
+
|
|
23
|
+
def selAorI(a, b):
|
|
24
|
+
return a
|
|
25
|
+
|
|
26
|
+
else:
|
|
27
|
+
|
|
28
|
+
def selAorI(a, b):
|
|
29
|
+
return b
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
misc = {}
|
|
33
|
+
misc.update(
|
|
34
|
+
{
|
|
35
|
+
"VTInt32Point": objc.createStructType(
|
|
36
|
+
"VideoToolbox.VTInt32Point", b"{VTInt32Point=ii}", ["x", "y"]
|
|
37
|
+
),
|
|
38
|
+
"VTInt32Size": objc.createStructType(
|
|
39
|
+
"VideoToolbox.VTInt32Size", b"{VTInt32Size=ii}", ["width", "height"]
|
|
40
|
+
),
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
constants = """$kVTAlphaChannelMode_PremultipliedAlpha$kVTAlphaChannelMode_StraightAlpha$kVTCompressionPropertyKey_AllowFrameReordering$kVTCompressionPropertyKey_AllowOpenGOP$kVTCompressionPropertyKey_AllowTemporalCompression$kVTCompressionPropertyKey_AlphaChannelMode$kVTCompressionPropertyKey_AspectRatio16x9$kVTCompressionPropertyKey_AverageBitRate$kVTCompressionPropertyKey_BaseLayerBitRateFraction$kVTCompressionPropertyKey_BaseLayerFrameRate$kVTCompressionPropertyKey_BaseLayerFrameRateFraction$kVTCompressionPropertyKey_CalculateMeanSquaredError$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_SupportsBaseFrameQP$kVTCompressionPropertyKey_TargetQualityForAlpha$kVTCompressionPropertyKey_TransferFunction$kVTCompressionPropertyKey_UsingGPURegistryID$kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder$kVTCompressionPropertyKey_VideoEncoderPixelBufferAttributes$kVTCompressionPropertyKey_ViewPackingKind$kVTCompressionPropertyKey_YCbCrMatrix$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$kVTHDRPerFrameMetadataGenerationHDRFormatType_DolbyVision$kVTHDRPerFrameMetadataGenerationOptionsKey_HDRFormats$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$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_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$"""
|
|
44
|
+
enums = """$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_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$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$kVTVideoEncoderMVHEVCVideoLayerIDsMismatchErr@-17698$kVTVideoEncoderMalfunctionErr@-12912$kVTVideoEncoderNeedsRosettaErr@-17693$kVTVideoEncoderNotAvailableNowErr@-12915$"""
|
|
45
|
+
misc.update(
|
|
46
|
+
{
|
|
47
|
+
"VTDecodeInfoFlags": NewType("VTDecodeInfoFlags", int),
|
|
48
|
+
"VTDecodeFrameFlags": NewType("VTDecodeFrameFlags", int),
|
|
49
|
+
"VTEncodeInfoFlags": NewType("VTEncodeInfoFlags", int),
|
|
50
|
+
"VTCompressionSessionOptionFlags": NewType(
|
|
51
|
+
"VTCompressionSessionOptionFlags", int
|
|
52
|
+
),
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
misc.update(
|
|
56
|
+
{
|
|
57
|
+
"VTHDRPerFrameMetadataGenerationHDRFormatType": NewType(
|
|
58
|
+
"VTHDRPerFrameMetadataGenerationHDRFormatType", str
|
|
59
|
+
),
|
|
60
|
+
"VTExtensionPropertiesKey": NewType("VTExtensionPropertiesKey", str),
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
misc.update({})
|
|
64
|
+
functions = {
|
|
65
|
+
"VTPixelTransferSessionCreate": (
|
|
66
|
+
b"i^{__CFAllocator=}^^{OpaqueVTPixelTransferSession=}",
|
|
67
|
+
"",
|
|
68
|
+
{
|
|
69
|
+
"retval": {"already_cfretained": True},
|
|
70
|
+
"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
|
|
71
|
+
},
|
|
72
|
+
),
|
|
73
|
+
"VTCreateCGImageFromCVPixelBuffer": (
|
|
74
|
+
b"i^{__CVBuffer=}^{__CFDictionary=}^^{CGImage=}",
|
|
75
|
+
"",
|
|
76
|
+
{
|
|
77
|
+
"retval": {"already_cfretained": True},
|
|
78
|
+
"arguments": {2: {"already_cfretained": True, "type_modifier": "o"}},
|
|
79
|
+
},
|
|
80
|
+
),
|
|
81
|
+
"VTCompressionSessionEndPass": (
|
|
82
|
+
b"i^{OpaqueVTCompressionSession=}^Z^I",
|
|
83
|
+
"",
|
|
84
|
+
{"arguments": {1: {"type_modifier": "o"}, 2: {"type_modifier": "o"}}},
|
|
85
|
+
),
|
|
86
|
+
"VTDecompressionSessionFinishDelayedFrames": (
|
|
87
|
+
b"i^{OpaqueVTDecompressionSession=}",
|
|
88
|
+
),
|
|
89
|
+
"VTSessionCopySupportedPropertyDictionary": (
|
|
90
|
+
b"i@^^{__CFDictionary=}",
|
|
91
|
+
"",
|
|
92
|
+
{
|
|
93
|
+
"retval": {"already_cfretained": True},
|
|
94
|
+
"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
|
|
95
|
+
},
|
|
96
|
+
),
|
|
97
|
+
"VTPixelRotationSessionCreate": (
|
|
98
|
+
b"i^{__CFAllocator=}^^{OpaqueVTPixelRotationSession=}",
|
|
99
|
+
"",
|
|
100
|
+
{
|
|
101
|
+
"retval": {"already_cfretained": True},
|
|
102
|
+
"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
|
|
103
|
+
},
|
|
104
|
+
),
|
|
105
|
+
"VTHDRPerFrameMetadataGenerationSessionGetTypeID": (b"Q",),
|
|
106
|
+
"VTCompressionSessionEncodeMultiImageFrameWithOutputHandler": (
|
|
107
|
+
b"i^{OpaqueVTCompressionSession=}^{OpaqueCMTaggedBufferGroup=}{CMTime=qiIq}{CMTime=qiIq}^{__CFDictionary=}^I@?",
|
|
108
|
+
"",
|
|
109
|
+
{
|
|
110
|
+
"arguments": {
|
|
111
|
+
5: {"type_modifier": "o"},
|
|
112
|
+
6: {
|
|
113
|
+
"callable": {
|
|
114
|
+
"retval": {"type": b"v"},
|
|
115
|
+
"arguments": {
|
|
116
|
+
0: {"type": "^v"},
|
|
117
|
+
1: {"type": "i"},
|
|
118
|
+
2: {"type": "Q"},
|
|
119
|
+
3: {"type": "^{opaqueCMSampleBuffer=}"},
|
|
120
|
+
},
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
),
|
|
126
|
+
"VTSessionSetProperty": (b"i@^{__CFString=}@",),
|
|
127
|
+
"VTPixelTransferSessionTransferImage": (
|
|
128
|
+
b"i^{OpaqueVTPixelTransferSession=}^{__CVBuffer=}^{__CVBuffer=}",
|
|
129
|
+
),
|
|
130
|
+
"VTDecompressionSessionSetMultiImageCallback": (
|
|
131
|
+
b"i^{OpaqueVTDecompressionSession=}^?^v",
|
|
132
|
+
"",
|
|
133
|
+
{
|
|
134
|
+
"arguments": {
|
|
135
|
+
1: {
|
|
136
|
+
"callable": {
|
|
137
|
+
"retval": {"type": b"v"},
|
|
138
|
+
"arguments": {
|
|
139
|
+
0: {"type": b"^v"},
|
|
140
|
+
1: {"type": b"^v"},
|
|
141
|
+
2: {"type": b"i"},
|
|
142
|
+
3: {"type": b"Q"},
|
|
143
|
+
4: {"type": b"^{OpaqueCMTaggedBufferGroup=}"},
|
|
144
|
+
5: {"type": b"{CMTime=qiIq}"},
|
|
145
|
+
6: {"type": b"{CMTime=qiIq}"},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
"callable_retained": True,
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
),
|
|
153
|
+
"VTMultiPassStorageClose": (b"i^{OpaqueVTMultiPassStorage=}",),
|
|
154
|
+
"VTIsHardwareDecodeSupported": (b"ZI",),
|
|
155
|
+
"VTCompressionSessionPrepareToEncodeFrames": (b"i^{OpaqueVTCompressionSession=}",),
|
|
156
|
+
"VTCompressionSessionInvalidate": (b"v^{OpaqueVTCompressionSession=}",),
|
|
157
|
+
"VTRAWProcessingSessionSetParameterChangedHander": (
|
|
158
|
+
b"i^{OpaqueVTRAWProcessingSession=}@?",
|
|
159
|
+
"",
|
|
160
|
+
{
|
|
161
|
+
"arguments": {
|
|
162
|
+
1: {
|
|
163
|
+
"callable": {
|
|
164
|
+
"retval": {"type": b"v"},
|
|
165
|
+
"arguments": {0: {"type": "^v"}, 1: {"type": "@"}},
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
),
|
|
171
|
+
"VTPixelRotationSessionGetTypeID": (b"Q",),
|
|
172
|
+
"VTCompressionSessionCompleteFrames": (
|
|
173
|
+
b"i^{OpaqueVTCompressionSession=}{CMTime=qiIq}",
|
|
174
|
+
),
|
|
175
|
+
"VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler": (
|
|
176
|
+
b"i^{OpaqueVTDecompressionSession=}^{opaqueCMSampleBuffer=}I^I@?",
|
|
177
|
+
"",
|
|
178
|
+
{
|
|
179
|
+
"arguments": {
|
|
180
|
+
3: {"already_cfretained": True, "type_modifier": "o"},
|
|
181
|
+
4: {
|
|
182
|
+
"callable": {
|
|
183
|
+
"retval": {"type": b"v"},
|
|
184
|
+
"arguments": {
|
|
185
|
+
0: {"type": "^v"},
|
|
186
|
+
1: {"type": "i"},
|
|
187
|
+
2: {"type": "Q"},
|
|
188
|
+
3: {"type": "^{__CVBuffer=}"},
|
|
189
|
+
4: {"type": "^{OpaqueCMTaggedBufferGroup=}"},
|
|
190
|
+
5: {"type": "{CMTime=qiIq}"},
|
|
191
|
+
6: {"type": "{CMTime=qiIq}"},
|
|
192
|
+
},
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
),
|
|
198
|
+
"VTSessionCopyProperty": (
|
|
199
|
+
b"i@^{__CFString=}^{__CFAllocator=}^@",
|
|
200
|
+
"",
|
|
201
|
+
{
|
|
202
|
+
"retval": {"already_cfretained": True},
|
|
203
|
+
"arguments": {3: {"already_cfretained": True, "type_modifier": "o"}},
|
|
204
|
+
},
|
|
205
|
+
),
|
|
206
|
+
"VTCopyRAWProcessorExtensionProperties": (
|
|
207
|
+
b"i^{opaqueCMFormatDescription=}^^{__CFDictionary=}",
|
|
208
|
+
"",
|
|
209
|
+
{
|
|
210
|
+
"retval": {"already_cfretained": True},
|
|
211
|
+
"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
|
|
212
|
+
},
|
|
213
|
+
),
|
|
214
|
+
"VTCompressionSessionBeginPass": (
|
|
215
|
+
b"i^{OpaqueVTCompressionSession=}I^I",
|
|
216
|
+
"",
|
|
217
|
+
{"arguments": {2: {"type_modifier": "o"}}},
|
|
218
|
+
),
|
|
219
|
+
"VTRegisterProfessionalVideoWorkflowVideoDecoders": (b"v",),
|
|
220
|
+
"VTRAWProcessingSessionProcessFrame": (
|
|
221
|
+
b"i^{OpaqueVTRAWProcessingSession=}^{__CVBuffer=}^{__CFDictionary=}@?",
|
|
222
|
+
"",
|
|
223
|
+
{
|
|
224
|
+
"arguments": {
|
|
225
|
+
3: {
|
|
226
|
+
"callable": {
|
|
227
|
+
"retval": {"type": b"v"},
|
|
228
|
+
"arguments": {
|
|
229
|
+
0: {"type": "^v"},
|
|
230
|
+
1: {"type": "i"},
|
|
231
|
+
2: {"type": "@"},
|
|
232
|
+
},
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
),
|
|
238
|
+
"VTDecompressionSessionDecodeFrame": (
|
|
239
|
+
b"i^{OpaqueVTDecompressionSession=}^{opaqueCMSampleBuffer=}I^v^I",
|
|
240
|
+
"",
|
|
241
|
+
{"arguments": {4: {"type_modifier": "o"}}},
|
|
242
|
+
),
|
|
243
|
+
"VTRegisterProfessionalVideoWorkflowVideoEncoders": (b"v",),
|
|
244
|
+
"VTCompressionSessionEncodeMultiImageFrame": (
|
|
245
|
+
b"i^{OpaqueVTCompressionSession=}^{OpaqueCMTaggedBufferGroup=}{CMTime=qiIq}{CMTime=qiIq}^{__CFDictionary=}^v^I",
|
|
246
|
+
"",
|
|
247
|
+
{"arguments": {6: {"type_modifier": "o"}}},
|
|
248
|
+
),
|
|
249
|
+
"VTRAWProcessingSessionCompleteFrames": (b"i^{OpaqueVTRAWProcessingSession=}",),
|
|
250
|
+
"VTCompressionSessionEncodeFrameWithOutputHandler": (
|
|
251
|
+
b"i^{OpaqueVTCompressionSession=}^{__CVBuffer=}{CMTime=qiIq}{CMTime=qiIq}^{__CFDictionary=}^I@?",
|
|
252
|
+
"",
|
|
253
|
+
{
|
|
254
|
+
"arguments": {
|
|
255
|
+
5: {"type_modifier": "o"},
|
|
256
|
+
6: {
|
|
257
|
+
"callable": {
|
|
258
|
+
"retval": {"type": b"v"},
|
|
259
|
+
"arguments": {
|
|
260
|
+
0: {"type": "^v"},
|
|
261
|
+
1: {"type": "i"},
|
|
262
|
+
2: {"type": "Q"},
|
|
263
|
+
3: {"type": "^{opaqueCMSampleBuffer=}"},
|
|
264
|
+
},
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
),
|
|
270
|
+
"VTPixelTransferSessionGetTypeID": (b"Q",),
|
|
271
|
+
"VTFrameSiloAddSampleBuffer": (b"i^{OpaqueVTFrameSilo=}^{opaqueCMSampleBuffer=}",),
|
|
272
|
+
"VTCopySupportedPropertyDictionaryForEncoder": (
|
|
273
|
+
b"iiiI^{__CFDictionary=}^^{__CFString=}^^{__CFDictionary=}",
|
|
274
|
+
"",
|
|
275
|
+
{
|
|
276
|
+
"retval": {"already_cfretained": True},
|
|
277
|
+
"arguments": {
|
|
278
|
+
4: {"already_cfretained": True, "type_modifier": "o"},
|
|
279
|
+
5: {"already_cfretained": True, "type_modifier": "o"},
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
),
|
|
283
|
+
"VTHDRPerFrameMetadataGenerationSessionCreate": (
|
|
284
|
+
b"i^{__CFAllocator=}f^{__CFDictionary=}^^{OpaqueVTHDRPerFrameMetadataGenerationSession=}",
|
|
285
|
+
"",
|
|
286
|
+
{
|
|
287
|
+
"retval": {"already_cfretained": True},
|
|
288
|
+
"arguments": {3: {"already_cfretained": True, "type_modifier": "o"}},
|
|
289
|
+
},
|
|
290
|
+
),
|
|
291
|
+
"VTPixelRotationSessionRotateImage": (
|
|
292
|
+
b"i^{OpaqueVTPixelRotationSession=}^{__CVBuffer=}^{__CVBuffer=}",
|
|
293
|
+
),
|
|
294
|
+
"VTCompressionSessionGetPixelBufferPool": (
|
|
295
|
+
b"^{__CVPixelBufferPool=}^{OpaqueVTCompressionSession=}",
|
|
296
|
+
),
|
|
297
|
+
"VTRegisterSupplementalVideoDecoderIfAvailable": (b"vI",),
|
|
298
|
+
"VTFrameSiloCallFunctionForEachSampleBuffer": (
|
|
299
|
+
b"i^{OpaqueVTFrameSilo=}{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}^v^?",
|
|
300
|
+
"",
|
|
301
|
+
{
|
|
302
|
+
"arguments": {
|
|
303
|
+
3: {
|
|
304
|
+
"callable": {
|
|
305
|
+
"retval": {"type": b"i"},
|
|
306
|
+
"arguments": {
|
|
307
|
+
0: {"type": b"^v"},
|
|
308
|
+
1: {"type": b"^{opaqueCMSampleBuffer=}"},
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
"callable_retained": False,
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
),
|
|
316
|
+
"VTMultiPassStorageGetTypeID": (b"Q",),
|
|
317
|
+
"VTDecompressionSessionCopyBlackPixelBuffer": (
|
|
318
|
+
b"i^{OpaqueVTDecompressionSession=}^^{__CVBuffer=}",
|
|
319
|
+
"",
|
|
320
|
+
{
|
|
321
|
+
"retval": {"already_cfretained": True},
|
|
322
|
+
"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
|
|
323
|
+
},
|
|
324
|
+
),
|
|
325
|
+
"VTRAWProcessingSessionCreate": (
|
|
326
|
+
b"i^{__CFAllocator=}^{opaqueCMFormatDescription=}^{__CFDictionary=}^{__CFDictionary=}^^{OpaqueVTRAWProcessingSession=}",
|
|
327
|
+
"",
|
|
328
|
+
{
|
|
329
|
+
"retval": {"already_cfretained": True},
|
|
330
|
+
"arguments": {4: {"already_cfretained": True, "type_modifier": "o"}},
|
|
331
|
+
},
|
|
332
|
+
),
|
|
333
|
+
"VTRAWProcessingSessionGetTypeID": (b"Q",),
|
|
334
|
+
"VTDecompressionSessionCanAcceptFormatDescription": (
|
|
335
|
+
b"Z^{OpaqueVTDecompressionSession=}^{opaqueCMFormatDescription=}",
|
|
336
|
+
),
|
|
337
|
+
"VTCopyVideoEncoderList": (
|
|
338
|
+
b"i^{__CFDictionary=}^^{__CFArray=}",
|
|
339
|
+
"",
|
|
340
|
+
{
|
|
341
|
+
"retval": {"already_cfretained": True},
|
|
342
|
+
"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
|
|
343
|
+
},
|
|
344
|
+
),
|
|
345
|
+
"VTMultiPassStorageCreate": (
|
|
346
|
+
b"i^{__CFAllocator=}^{__CFURL=}{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}^{__CFDictionary=}^^{OpaqueVTMultiPassStorage=}",
|
|
347
|
+
"",
|
|
348
|
+
{
|
|
349
|
+
"retval": {"already_cfretained": True},
|
|
350
|
+
"arguments": {4: {"already_cfretained": True, "type_modifier": "o"}},
|
|
351
|
+
},
|
|
352
|
+
),
|
|
353
|
+
"VTDecompressionSessionGetTypeID": (b"Q",),
|
|
354
|
+
"VTSessionSetProperties": (b"i@^{__CFDictionary=}",),
|
|
355
|
+
"VTDecompressionSessionWaitForAsynchronousFrames": (
|
|
356
|
+
b"i^{OpaqueVTDecompressionSession=}",
|
|
357
|
+
),
|
|
358
|
+
"VTFrameSiloSetTimeRangesForNextPass": (
|
|
359
|
+
b"i^{OpaqueVTFrameSilo=}q^{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}",
|
|
360
|
+
"",
|
|
361
|
+
{"arguments": {2: {"c_array_length_in_arg": 1, "type_modifier": "n"}}},
|
|
362
|
+
),
|
|
363
|
+
"VTHDRPerFrameMetadataGenerationSessionAttachMetadata": (
|
|
364
|
+
b"i^{OpaqueVTHDRPerFrameMetadataGenerationSession=}^{__CVBuffer=}Z",
|
|
365
|
+
),
|
|
366
|
+
"VTPixelRotationSessionInvalidate": (b"v^{OpaqueVTPixelRotationSession=}",),
|
|
367
|
+
"VTFrameSiloCallBlockForEachSampleBuffer": (
|
|
368
|
+
b"i^{OpaqueVTFrameSilo=}{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}@?",
|
|
369
|
+
"",
|
|
370
|
+
{
|
|
371
|
+
"arguments": {
|
|
372
|
+
2: {
|
|
373
|
+
"callable": {
|
|
374
|
+
"retval": {"type": b"i"},
|
|
375
|
+
"arguments": {
|
|
376
|
+
0: {"type": b"^v"},
|
|
377
|
+
1: {"type": b"^{opaqueCMSampleBuffer=}"},
|
|
378
|
+
},
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
),
|
|
384
|
+
"VTPixelTransferSessionInvalidate": (b"v^{OpaqueVTPixelTransferSession=}",),
|
|
385
|
+
"VTRAWProcessingSessionCopyProcessingParameters": (
|
|
386
|
+
b"i^{OpaqueVTRAWProcessingSession=}^^{__CFArray=}",
|
|
387
|
+
"",
|
|
388
|
+
{
|
|
389
|
+
"retval": {"already_cfretained": True},
|
|
390
|
+
"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
|
|
391
|
+
},
|
|
392
|
+
),
|
|
393
|
+
"VTDecompressionSessionDecodeFrameWithOutputHandler": (
|
|
394
|
+
b"i^{OpaqueVTDecompressionSession=}^{opaqueCMSampleBuffer=}I^I@?",
|
|
395
|
+
"",
|
|
396
|
+
{
|
|
397
|
+
"arguments": {
|
|
398
|
+
3: {"type_modifier": "o"},
|
|
399
|
+
4: {
|
|
400
|
+
"callable": {
|
|
401
|
+
"retval": {"type": b"v"},
|
|
402
|
+
"arguments": {
|
|
403
|
+
0: {"type": "^v"},
|
|
404
|
+
1: {"type": "i"},
|
|
405
|
+
2: {"type": "I"},
|
|
406
|
+
3: {"type": "^{__CVBuffer=}"},
|
|
407
|
+
4: {"type": "{CMTime=qiIq}"},
|
|
408
|
+
5: {"type": "{CMTime=qiIq}"},
|
|
409
|
+
},
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
),
|
|
415
|
+
"VTCopyVideoDecoderExtensionProperties": (
|
|
416
|
+
b"i^{opaqueCMFormatDescription=}^^{__CFDictionary=}",
|
|
417
|
+
"",
|
|
418
|
+
{
|
|
419
|
+
"retval": {"already_cfretained": True},
|
|
420
|
+
"arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
|
|
421
|
+
},
|
|
422
|
+
),
|
|
423
|
+
"VTRAWProcessingSessionInvalidate": (b"v^{OpaqueVTRAWProcessingSession=}",),
|
|
424
|
+
"VTCompressionSessionEncodeFrame": (
|
|
425
|
+
b"i^{OpaqueVTCompressionSession=}^{__CVBuffer=}{CMTime=qiIq}{CMTime=qiIq}^{__CFDictionary=}^v^I",
|
|
426
|
+
"",
|
|
427
|
+
{"arguments": {6: {"type_modifier": "o"}}},
|
|
428
|
+
),
|
|
429
|
+
"VTFrameSiloCreate": (
|
|
430
|
+
b"i^{__CFAllocator=}^{__CFURL=}{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}^{__CFDictionary=}^^{OpaqueVTFrameSilo=}",
|
|
431
|
+
"",
|
|
432
|
+
{
|
|
433
|
+
"retval": {"already_cfretained": True},
|
|
434
|
+
"arguments": {4: {"already_cfretained": True, "type_modifier": "o"}},
|
|
435
|
+
},
|
|
436
|
+
),
|
|
437
|
+
"VTIsStereoMVHEVCDecodeSupported": (b"Z",),
|
|
438
|
+
"VTFrameSiloGetProgressOfCurrentPass": (
|
|
439
|
+
b"i^{OpaqueVTFrameSilo=}^f",
|
|
440
|
+
"",
|
|
441
|
+
{"arguments": {1: {"type_modifier": "o"}}},
|
|
442
|
+
),
|
|
443
|
+
"VTDecompressionSessionInvalidate": (b"v^{OpaqueVTDecompressionSession=}",),
|
|
444
|
+
"VTCompressionSessionGetTypeID": (b"Q",),
|
|
445
|
+
"VTFrameSiloGetTypeID": (b"Q",),
|
|
446
|
+
"VTSessionCopySerializableProperties": (
|
|
447
|
+
b"i@^{__CFAllocator=}^^{__CFDictionary=}",
|
|
448
|
+
"",
|
|
449
|
+
{
|
|
450
|
+
"retval": {"already_cfretained": True},
|
|
451
|
+
"arguments": {2: {"already_cfretained": True, "type_modifier": "o"}},
|
|
452
|
+
},
|
|
453
|
+
),
|
|
454
|
+
"VTIsStereoMVHEVCEncodeSupported": (b"Z",),
|
|
455
|
+
"VTRAWProcessingSessionSetProcessingParameters": (
|
|
456
|
+
b"i^{OpaqueVTRAWProcessingSession=}^{__CFDictionary=}",
|
|
457
|
+
),
|
|
458
|
+
"VTCompressionSessionCreate": (
|
|
459
|
+
b"i^{__CFAllocator=}iiI^{__CFDictionary=}^{__CFDictionary=}^{__CFAllocator=}^?^v^^{OpaqueVTCompressionSession=}",
|
|
460
|
+
"",
|
|
461
|
+
{
|
|
462
|
+
"retval": {"already_cfretained": True},
|
|
463
|
+
"arguments": {
|
|
464
|
+
9: {"already_cfretained": True, "type_modifier": "o"},
|
|
465
|
+
7: {
|
|
466
|
+
"callable": {
|
|
467
|
+
"retval": {"type": b"v"},
|
|
468
|
+
"arguments": {
|
|
469
|
+
0: {"type": b"^v"},
|
|
470
|
+
1: {"type": b"^v"},
|
|
471
|
+
2: {"type": b"i"},
|
|
472
|
+
3: {"type": b"I"},
|
|
473
|
+
4: {"type": b"^{opaqueCMSampleBuffer=}"},
|
|
474
|
+
},
|
|
475
|
+
},
|
|
476
|
+
"callable_retained": True,
|
|
477
|
+
},
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
),
|
|
481
|
+
}
|
|
482
|
+
aliases = {"VT_SUPPORT_COLORSYNC_PIXEL_TRANSFER": "COREMEDIA_TRUE"}
|
|
483
|
+
cftypes = [
|
|
484
|
+
(
|
|
485
|
+
"VTMultiPassStorageRef",
|
|
486
|
+
b"^{OpaqueVTMultiPassStorage=}",
|
|
487
|
+
":VTMultiPassStorageGetTypeID",
|
|
488
|
+
None,
|
|
489
|
+
),
|
|
490
|
+
(
|
|
491
|
+
"VTRAWProcessingSessionRef",
|
|
492
|
+
b"^{OpaqueVTRAWProcessingSession=}",
|
|
493
|
+
"VTRAWProcessingSessionGetTypeID",
|
|
494
|
+
None,
|
|
495
|
+
),
|
|
496
|
+
(
|
|
497
|
+
"VTDecompressionSessionRef",
|
|
498
|
+
b"^{OpaqueVTDecompressionSession=}",
|
|
499
|
+
":VTDecompressionSessionGetTypeID",
|
|
500
|
+
None,
|
|
501
|
+
),
|
|
502
|
+
(
|
|
503
|
+
"VTPixelTransferSessionRef",
|
|
504
|
+
b"^{OpaqueVTPixelTransferSession=}",
|
|
505
|
+
"VTPixelTransferSessionGetTypeID",
|
|
506
|
+
None,
|
|
507
|
+
),
|
|
508
|
+
(
|
|
509
|
+
"VTHDRPerFrameMetadataGenerationSessionRef",
|
|
510
|
+
b"^{OpaqueVTHDRPerFrameMetadataGenerationSession=}",
|
|
511
|
+
"VTHDRPerFrameMetadataGenerationSessionGetTypeID",
|
|
512
|
+
None,
|
|
513
|
+
),
|
|
514
|
+
(
|
|
515
|
+
"VTPixelRotationSessionRef",
|
|
516
|
+
b"^{OpaqueVTPixelRotationSession=}",
|
|
517
|
+
"VTPixelRotationSessionGetTypeID",
|
|
518
|
+
None,
|
|
519
|
+
),
|
|
520
|
+
("VTFrameSiloRef", b"^{OpaqueVTFrameSilo=}", ":VTFrameSiloGetTypeID", None),
|
|
521
|
+
("VTSessionRef", b"^{OpaqueVTSession=}", ":VTSessionGetTypeID", None),
|
|
522
|
+
]
|
|
523
|
+
expressions = {}
|
|
524
|
+
|
|
525
|
+
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyobjc-framework-VideoToolbox
|
|
3
|
-
Version:
|
|
3
|
+
Version: 11.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
|
|
@@ -18,22 +18,22 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
18
18
|
Classifier: Programming Language :: Python
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
20
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
27
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
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.
|
|
31
|
+
Requires-Python: >=3.9
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
35
|
-
Requires-Dist: pyobjc-framework-Quartz>=
|
|
36
|
-
Requires-Dist: pyobjc-framework-CoreMedia>=
|
|
33
|
+
Requires-Dist: pyobjc-core>=11.0
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=11.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-Quartz>=11.0
|
|
36
|
+
Requires-Dist: pyobjc-framework-CoreMedia>=11.0
|
|
37
37
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
38
38
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
39
39
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -9,6 +9,7 @@ Lib/pyobjc_framework_VideoToolbox.egg-info/PKG-INFO
|
|
|
9
9
|
Lib/pyobjc_framework_VideoToolbox.egg-info/SOURCES.txt
|
|
10
10
|
Lib/pyobjc_framework_VideoToolbox.egg-info/dependency_links.txt
|
|
11
11
|
Lib/pyobjc_framework_VideoToolbox.egg-info/not-zip-safe
|
|
12
|
+
Lib/pyobjc_framework_VideoToolbox.egg-info/pyobjc-build-info.txt
|
|
12
13
|
Lib/pyobjc_framework_VideoToolbox.egg-info/requires.txt
|
|
13
14
|
Lib/pyobjc_framework_VideoToolbox.egg-info/top_level.txt
|
|
14
15
|
Modules/_VideoToolbox.m
|
|
@@ -23,27 +24,28 @@ PyObjCTest/test_vtdecompressionproperties.py
|
|
|
23
24
|
PyObjCTest/test_vtdecompressionsession.py
|
|
24
25
|
PyObjCTest/test_vterrors.py
|
|
25
26
|
PyObjCTest/test_vtframesilo.py
|
|
27
|
+
PyObjCTest/test_vthdrperframemetadatagenerationsession.py
|
|
26
28
|
PyObjCTest/test_vtmultipassstorage.py
|
|
27
29
|
PyObjCTest/test_vtpixelrotationproperties.py
|
|
28
30
|
PyObjCTest/test_vtpixelrotationsession.py
|
|
29
31
|
PyObjCTest/test_vtpixeltransferproperties.py
|
|
30
32
|
PyObjCTest/test_vtpixeltransfersession.py
|
|
31
33
|
PyObjCTest/test_vtprofessionalvideoworkflow.py
|
|
34
|
+
PyObjCTest/test_vtrawprocessingproperties.py
|
|
35
|
+
PyObjCTest/test_vtrawprocessingsession.py
|
|
32
36
|
PyObjCTest/test_vtsession.py
|
|
33
37
|
PyObjCTest/test_vtutilities.py
|
|
34
38
|
PyObjCTest/test_vtvideoencoderlist.py
|
|
35
39
|
metadata/VideoToolbox.fwinfo
|
|
36
40
|
metadata/metadata.ini
|
|
37
|
-
metadata/raw/arm64-12.0.fwinfo
|
|
38
41
|
metadata/raw/arm64-12.3.fwinfo
|
|
39
42
|
metadata/raw/arm64-13.0.fwinfo
|
|
40
|
-
metadata/raw/arm64-14.
|
|
41
|
-
metadata/raw/arm64-
|
|
43
|
+
metadata/raw/arm64-14.5.fwinfo
|
|
44
|
+
metadata/raw/arm64-15.0.fwinfo
|
|
42
45
|
metadata/raw/x86_64-10.14.fwinfo
|
|
43
46
|
metadata/raw/x86_64-10.15.fwinfo
|
|
44
47
|
metadata/raw/x86_64-10.16.fwinfo
|
|
45
|
-
metadata/raw/x86_64-12.0.fwinfo
|
|
46
48
|
metadata/raw/x86_64-12.3.fwinfo
|
|
47
49
|
metadata/raw/x86_64-13.0.fwinfo
|
|
48
|
-
metadata/raw/x86_64-14.
|
|
49
|
-
metadata/raw/x86_64-
|
|
50
|
+
metadata/raw/x86_64-14.5.fwinfo
|
|
51
|
+
metadata/raw/x86_64-15.0.fwinfo
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(This is the MIT license, note that libffi-src is a separate product with its own license)
|
|
2
2
|
|
|
3
3
|
Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
|
|
4
|
-
Copyright 2003-
|
|
4
|
+
Copyright 2003-2024 - Ronald Oussoren
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
7
|
|