@octane-xplat/macos-renderer 0.13.0 → 0.15.0
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.
- package/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,907 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
|
|
3
|
+
declare const kVTVideoEncoderList_IsHardwareAccelerated: interop.Pointer
|
|
4
|
+
|
|
5
|
+
declare const kVTVideoEncoderList_InstanceLimit: interop.Pointer
|
|
6
|
+
|
|
7
|
+
declare const kVTVideoEncoderList_PerformanceRating: interop.Pointer
|
|
8
|
+
|
|
9
|
+
declare const kVTVideoEncoderList_SupportedSelectionProperties: interop.Pointer
|
|
10
|
+
|
|
11
|
+
declare const kVTVideoEncoderList_GPURegistryID: interop.Pointer
|
|
12
|
+
|
|
13
|
+
declare const kVTVideoEncoderList_DisplayName: interop.Pointer
|
|
14
|
+
|
|
15
|
+
declare const kVTVideoEncoderList_CodecType: interop.Pointer
|
|
16
|
+
|
|
17
|
+
declare const kVTPixelTransferPropertyKey_RealTime: interop.Pointer
|
|
18
|
+
|
|
19
|
+
declare const kVTPixelTransferPropertyKey_DestinationColorPrimaries: interop.Pointer
|
|
20
|
+
|
|
21
|
+
declare const kVTDownsamplingMode_Average: interop.Pointer
|
|
22
|
+
|
|
23
|
+
declare const kVTPixelTransferPropertyKey_DestinationCleanAperture: interop.Pointer
|
|
24
|
+
|
|
25
|
+
declare const kVTScalingMode_Trim: interop.Pointer
|
|
26
|
+
|
|
27
|
+
declare const kVTScalingMode_Letterbox: interop.Pointer
|
|
28
|
+
|
|
29
|
+
declare const kVTScalingMode_CropSourceToCleanAperture: interop.Pointer
|
|
30
|
+
|
|
31
|
+
declare const kVTPixelTransferPropertyKey_ScalingMode: interop.Pointer
|
|
32
|
+
|
|
33
|
+
declare const kVTDecompressionPropertyKey_PropagatePerFrameHDRDisplayMetadata: interop.Pointer
|
|
34
|
+
|
|
35
|
+
declare const kVTDecompressionPropertyKey_UsingGPURegistryID: interop.Pointer
|
|
36
|
+
|
|
37
|
+
declare const kVTVideoDecoderSpecification_RequiredDecoderGPURegistryID: interop.Pointer
|
|
38
|
+
|
|
39
|
+
declare const kVTDecompressionPropertyKey_SupportedPixelFormatsOrderedByQuality: interop.Pointer
|
|
40
|
+
|
|
41
|
+
declare const kVTDecompressionProperty_OnlyTheseFrames_KeyFrames: interop.Pointer
|
|
42
|
+
|
|
43
|
+
declare const kVTDecompressionProperty_OnlyTheseFrames_IFrames: interop.Pointer
|
|
44
|
+
|
|
45
|
+
declare const kVTDecompressionProperty_OnlyTheseFrames_NonDroppableFrames: interop.Pointer
|
|
46
|
+
|
|
47
|
+
declare const kVTDecompressionProperty_OnlyTheseFrames_AllFrames: interop.Pointer
|
|
48
|
+
|
|
49
|
+
declare const kVTDecompressionPropertyKey_ReducedFrameDelivery: interop.Pointer
|
|
50
|
+
|
|
51
|
+
declare const kVTDecompressionResolutionKey_Height: interop.Pointer
|
|
52
|
+
|
|
53
|
+
declare const kVTDecompressionResolutionKey_Width: interop.Pointer
|
|
54
|
+
|
|
55
|
+
declare const kVTDecompressionProperty_DeinterlaceMode_VerticalFilter: interop.Pointer
|
|
56
|
+
|
|
57
|
+
declare const kVTDecompressionPropertyKey_DeinterlaceMode: interop.Pointer
|
|
58
|
+
|
|
59
|
+
declare const kVTDecompressionProperty_FieldMode_DeinterlaceFields: interop.Pointer
|
|
60
|
+
|
|
61
|
+
declare const kVTDecompressionProperty_FieldMode_SingleField: interop.Pointer
|
|
62
|
+
|
|
63
|
+
declare const kVTDecompressionProperty_FieldMode_BothFields: interop.Pointer
|
|
64
|
+
|
|
65
|
+
declare const kVTDecompressionPropertyKey_ThreadCount: interop.Pointer
|
|
66
|
+
|
|
67
|
+
declare const kVTDecompressionPropertyKey_MaximizePowerEfficiency: interop.Pointer
|
|
68
|
+
|
|
69
|
+
declare const kVTDecompressionPropertyKey_RealTime: interop.Pointer
|
|
70
|
+
|
|
71
|
+
declare const kVTDecompressionPropertyKey_UsingHardwareAcceleratedVideoDecoder: interop.Pointer
|
|
72
|
+
|
|
73
|
+
declare const kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder: interop.Pointer
|
|
74
|
+
|
|
75
|
+
declare const kVTDecompressionPropertyKey_MaxOutputPresentationTimeStampOfFramesBeingDecoded: interop.Pointer
|
|
76
|
+
|
|
77
|
+
declare const kVTDecompressionPropertyKey_NumberOfFramesBeingDecoded: interop.Pointer
|
|
78
|
+
|
|
79
|
+
declare const kVTDecompressionPropertyKey_OutputPoolRequestedMinimumBufferCount: interop.Pointer
|
|
80
|
+
|
|
81
|
+
declare const kVTVideoEncoderList_EncoderName: interop.Pointer
|
|
82
|
+
|
|
83
|
+
declare const kVTDownsamplingMode_Decimate: interop.Pointer
|
|
84
|
+
|
|
85
|
+
declare const kVTPixelTransferPropertyKey_DownsamplingMode: interop.Pointer
|
|
86
|
+
|
|
87
|
+
declare const kVTVideoDecoderSpecification_PreferredDecoderGPURegistryID: interop.Pointer
|
|
88
|
+
|
|
89
|
+
declare const kVTDecompressionPropertyKey_PixelBufferPoolIsShared: interop.Pointer
|
|
90
|
+
|
|
91
|
+
declare const kVTDecompressionPropertyKey_SuggestedQualityOfServiceTiers: interop.Pointer
|
|
92
|
+
|
|
93
|
+
declare const kVTCompressionPropertyKey_AllowFrameReordering: interop.Pointer
|
|
94
|
+
|
|
95
|
+
declare const kVTVideoEncoderSpecification_EncoderID: interop.Pointer
|
|
96
|
+
|
|
97
|
+
declare const kVTQPModulationLevel_Default: number
|
|
98
|
+
|
|
99
|
+
declare const kVTCompressionPropertyKey_EncoderID: interop.Pointer
|
|
100
|
+
|
|
101
|
+
declare const kVTCompressionPropertyKey_GammaLevel: interop.Pointer
|
|
102
|
+
|
|
103
|
+
declare const kVTCompressionPropertyKey_ContentLightLevelInfo: interop.Pointer
|
|
104
|
+
|
|
105
|
+
declare const kVTCompressionPropertyKey_ICCProfile: interop.Pointer
|
|
106
|
+
|
|
107
|
+
declare const kVTCompressionPropertyKey_FieldDetail: interop.Pointer
|
|
108
|
+
|
|
109
|
+
declare const kVTEncodeFrameOptionKey_ForceKeyFrame: interop.Pointer
|
|
110
|
+
|
|
111
|
+
declare const kVTCompressionPropertyKey_UsingGPURegistryID: interop.Pointer
|
|
112
|
+
|
|
113
|
+
declare const kVTVideoEncoderSpecification_RequiredEncoderGPURegistryID: interop.Pointer
|
|
114
|
+
|
|
115
|
+
declare const kVTCompressionPropertyKey_UsingHardwareAcceleratedVideoEncoder: interop.Pointer
|
|
116
|
+
|
|
117
|
+
declare const kVTVideoEncoderSpecification_RequireHardwareAcceleratedVideoEncoder: interop.Pointer
|
|
118
|
+
|
|
119
|
+
declare const kVTCompressionPropertyKey_BaseLayerFrameRate: interop.Pointer
|
|
120
|
+
|
|
121
|
+
declare const kVTCompressionPropertyKey_ExpectedDuration: interop.Pointer
|
|
122
|
+
|
|
123
|
+
declare const kVTCompressionPropertyKey_ExpectedFrameRate: interop.Pointer
|
|
124
|
+
|
|
125
|
+
declare const kVTCompressionPropertyKey_Depth: interop.Pointer
|
|
126
|
+
|
|
127
|
+
declare const kVTHDRMetadataInsertionMode_Auto: interop.Pointer
|
|
128
|
+
|
|
129
|
+
declare const kVTCompressionPropertyKey_HDRMetadataInsertionMode: interop.Pointer
|
|
130
|
+
|
|
131
|
+
declare const kVTProfileLevel_MP4V_AdvancedSimple_L4: interop.Pointer
|
|
132
|
+
|
|
133
|
+
declare const kVTProfileLevel_MP4V_AdvancedSimple_L1: interop.Pointer
|
|
134
|
+
|
|
135
|
+
declare const kVTProfileLevel_MP4V_Main_L3: interop.Pointer
|
|
136
|
+
|
|
137
|
+
declare const kVTProfileLevel_MP4V_Main_L2: interop.Pointer
|
|
138
|
+
|
|
139
|
+
declare const kVTProfileLevel_MP4V_Simple_L3: interop.Pointer
|
|
140
|
+
|
|
141
|
+
declare const kVTProfileLevel_MP4V_Simple_L1: interop.Pointer
|
|
142
|
+
|
|
143
|
+
declare const kVTProfileLevel_H264_High_5_2: interop.Pointer
|
|
144
|
+
|
|
145
|
+
declare const kVTProfileLevel_H264_High_5_1: interop.Pointer
|
|
146
|
+
|
|
147
|
+
declare const kVTProfileLevel_H264_High_4_1: interop.Pointer
|
|
148
|
+
|
|
149
|
+
declare const kVTProfileLevel_H264_High_3_1: interop.Pointer
|
|
150
|
+
|
|
151
|
+
declare const kVTProfileLevel_H264_Extended_AutoLevel: interop.Pointer
|
|
152
|
+
|
|
153
|
+
declare const kVTProfileLevel_H264_Main_4_2: interop.Pointer
|
|
154
|
+
|
|
155
|
+
declare const kVTProfileLevel_H264_Main_4_1: interop.Pointer
|
|
156
|
+
|
|
157
|
+
declare const kVTProfileLevel_H264_Main_3_2: interop.Pointer
|
|
158
|
+
|
|
159
|
+
declare const kVTProfileLevel_H264_Main_3_1: interop.Pointer
|
|
160
|
+
|
|
161
|
+
declare const kVTProfileLevel_H264_Main_3_0: interop.Pointer
|
|
162
|
+
|
|
163
|
+
declare const kVTProfileLevel_H264_Baseline_5_2: interop.Pointer
|
|
164
|
+
|
|
165
|
+
declare const kVTProfileLevel_H264_Baseline_3_0: interop.Pointer
|
|
166
|
+
|
|
167
|
+
declare const kVTProfileLevel_HEVC_Monochrome10_AutoLevel: interop.Pointer
|
|
168
|
+
|
|
169
|
+
declare const kVTCompressionPropertyKey_PrioritizeEncodingSpeedOverQuality: interop.Pointer
|
|
170
|
+
|
|
171
|
+
declare const kVTCompressionPropertyKey_MoreFramesAfterEnd: interop.Pointer
|
|
172
|
+
|
|
173
|
+
declare const kVTCompressionPropertyKey_AverageBitRate: interop.Pointer
|
|
174
|
+
|
|
175
|
+
declare const kVTCompressionPropertyKey_AllowTemporalCompression: interop.Pointer
|
|
176
|
+
|
|
177
|
+
declare const kVTCompressionPropertyKey_VideoEncoderPixelBufferAttributes: interop.Pointer
|
|
178
|
+
|
|
179
|
+
declare const kVTCompressionPropertyKey_NumberOfPendingFrames: interop.Pointer
|
|
180
|
+
|
|
181
|
+
declare const kVTPropertySupportedValueListKey: interop.Pointer
|
|
182
|
+
|
|
183
|
+
declare const kVTPropertySupportedValueMaximumKey: interop.Pointer
|
|
184
|
+
|
|
185
|
+
declare const kVTPropertySupportedValueMinimumKey: interop.Pointer
|
|
186
|
+
|
|
187
|
+
declare const kVTPropertyReadWriteStatus_ReadWrite: interop.Pointer
|
|
188
|
+
|
|
189
|
+
declare const kVTPropertyReadWriteStatus_ReadOnly: interop.Pointer
|
|
190
|
+
|
|
191
|
+
declare const kVTPropertyType_Boolean: interop.Pointer
|
|
192
|
+
|
|
193
|
+
declare const kVTPropertyType_Enumeration: interop.Pointer
|
|
194
|
+
|
|
195
|
+
declare const kVTPropertyTypeKey: interop.Pointer
|
|
196
|
+
|
|
197
|
+
declare const kVTCouldNotFindExtensionErr: number
|
|
198
|
+
|
|
199
|
+
declare const kVTCouldNotOutputTaggedBufferGroupErr: number
|
|
200
|
+
|
|
201
|
+
declare const kVTVideoDecoderNeedsRosettaErr: number
|
|
202
|
+
|
|
203
|
+
declare const kVTCouldNotFindTemporalFilterErr: number
|
|
204
|
+
|
|
205
|
+
declare const kVTFrameSiloInvalidTimeStampErr: number
|
|
206
|
+
|
|
207
|
+
declare const kVTColorCorrectionPixelTransferFailedErr: number
|
|
208
|
+
|
|
209
|
+
declare const kVTVideoEncoderAuthorizationErr: number
|
|
210
|
+
|
|
211
|
+
declare const kVTColorSyncTransformConvertFailedErr: number
|
|
212
|
+
|
|
213
|
+
declare const kVTCouldNotCreateColorCorrectionDataErr: number
|
|
214
|
+
|
|
215
|
+
declare const kVTInsufficientSourceColorDataErr: number
|
|
216
|
+
|
|
217
|
+
declare const kVTVideoEncoderNotAvailableNowErr: number
|
|
218
|
+
|
|
219
|
+
declare const kVTPixelRotationNotSupportedErr: number
|
|
220
|
+
|
|
221
|
+
declare const kVTVideoEncoderMalfunctionErr: number
|
|
222
|
+
|
|
223
|
+
declare const kVTVideoDecoderBadDataErr: number
|
|
224
|
+
|
|
225
|
+
declare const kVTCouldNotCreateInstanceErr: number
|
|
226
|
+
|
|
227
|
+
declare const kVTPixelTransferNotSupportedErr: number
|
|
228
|
+
|
|
229
|
+
declare const kVTAllocationFailedErr: number
|
|
230
|
+
|
|
231
|
+
declare const kVTProfileLevel_H264_High_4_0: interop.Pointer
|
|
232
|
+
|
|
233
|
+
declare const kVTDecompressionProperty_FieldMode_BottomFieldOnly: interop.Pointer
|
|
234
|
+
|
|
235
|
+
declare const kVTVideoDecoderNotAvailableNowErr: number
|
|
236
|
+
|
|
237
|
+
declare const kVTDecompressionPropertyKey_SupportedPixelFormatsOrderedByPerformance: interop.Pointer
|
|
238
|
+
|
|
239
|
+
declare const kVTImageRotationNotSupportedErr: number
|
|
240
|
+
|
|
241
|
+
declare const kVTCompressionPropertyKey_FieldCount: interop.Pointer
|
|
242
|
+
|
|
243
|
+
declare const kVTProfileLevel_MP4V_Simple_L0: interop.Pointer
|
|
244
|
+
|
|
245
|
+
declare const kVTProfileLevel_H264_High_3_0: interop.Pointer
|
|
246
|
+
|
|
247
|
+
declare const kVTCompressionPropertyKey_SourceFrameCount: interop.Pointer
|
|
248
|
+
|
|
249
|
+
declare const kVTPixelTransferPropertyKey_DestinationICCProfile: interop.Pointer
|
|
250
|
+
|
|
251
|
+
declare const kVTCompressionPropertyKey_AspectRatio16x9: interop.Pointer
|
|
252
|
+
|
|
253
|
+
declare const kVTProfileLevel_MP4V_AdvancedSimple_L0: interop.Pointer
|
|
254
|
+
|
|
255
|
+
declare const kVTCompressionPropertyKey_DataRateLimits: interop.Pointer
|
|
256
|
+
|
|
257
|
+
declare const kVTVideoDecoderRemovedErr: number
|
|
258
|
+
|
|
259
|
+
declare const kVTCompressionPropertyKey_PixelBufferPoolIsShared: interop.Pointer
|
|
260
|
+
|
|
261
|
+
declare const kVTUnlimitedFrameDelayCount: number
|
|
262
|
+
|
|
263
|
+
declare const kVTVideoEncoderList_SupportsFrameReordering: interop.Pointer
|
|
264
|
+
|
|
265
|
+
declare const kVTCompressionPropertyKey_MaxKeyFrameInterval: interop.Pointer
|
|
266
|
+
|
|
267
|
+
declare const kVTDecompressionPropertyKey_OnlyTheseFrames: interop.Pointer
|
|
268
|
+
|
|
269
|
+
declare const kVTProfileLevel_H264_Baseline_5_1: interop.Pointer
|
|
270
|
+
|
|
271
|
+
declare const kVTDecompressionPropertyKey_PixelBufferPool: interop.Pointer
|
|
272
|
+
|
|
273
|
+
declare const kVTCompressionPropertyKey_PixelTransferProperties: interop.Pointer
|
|
274
|
+
|
|
275
|
+
declare const kVTProfileLevel_H264_Extended_5_0: interop.Pointer
|
|
276
|
+
|
|
277
|
+
declare const kVTVideoEncoderAutoWhiteBalanceNotLockedErr: number
|
|
278
|
+
|
|
279
|
+
declare const kVTProfileLevel_H264_High_5_0: interop.Pointer
|
|
280
|
+
|
|
281
|
+
declare const kVTProfileLevel_MP4V_AdvancedSimple_L3: interop.Pointer
|
|
282
|
+
|
|
283
|
+
declare const kVTProfileLevel_H264_High_AutoLevel: interop.Pointer
|
|
284
|
+
|
|
285
|
+
declare const kVTProfileLevel_HEVC_Main_AutoLevel: interop.Pointer
|
|
286
|
+
|
|
287
|
+
declare const kVTProfileLevel_H264_Main_AutoLevel: interop.Pointer
|
|
288
|
+
|
|
289
|
+
declare const kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration: interop.Pointer
|
|
290
|
+
|
|
291
|
+
declare const kVTVideoEncoderSpecification_EnableHardwareAcceleratedVideoEncoder: interop.Pointer
|
|
292
|
+
|
|
293
|
+
declare const kVTPropertyNotSupportedErr: number
|
|
294
|
+
|
|
295
|
+
declare const kVTProfileLevel_H264_Main_4_0: interop.Pointer
|
|
296
|
+
|
|
297
|
+
declare const kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder: interop.Pointer
|
|
298
|
+
|
|
299
|
+
declare const kVTCompressionPropertyKey_Quality: interop.Pointer
|
|
300
|
+
|
|
301
|
+
declare const kVTLogTransferFunctionMismatchErr: number
|
|
302
|
+
|
|
303
|
+
declare const kVTCompressionPropertyKey_TransferFunction: interop.Pointer
|
|
304
|
+
|
|
305
|
+
declare const kVTProfileLevel_MP4V_AdvancedSimple_L2: interop.Pointer
|
|
306
|
+
|
|
307
|
+
declare const kVTProfileLevel_H263_Profile0_Level45: interop.Pointer
|
|
308
|
+
|
|
309
|
+
declare const kVTFormatDescriptionChangeNotSupportedErr: number
|
|
310
|
+
|
|
311
|
+
declare const kVTProfileLevel_H264_Main_5_0: interop.Pointer
|
|
312
|
+
|
|
313
|
+
declare const kVTProfileLevel_H264_Baseline_AutoLevel: interop.Pointer
|
|
314
|
+
|
|
315
|
+
declare const kVTCompressionPropertyKey_ProgressiveScan: interop.Pointer
|
|
316
|
+
|
|
317
|
+
declare const kVTProfileLevel_H264_Baseline_3_1: interop.Pointer
|
|
318
|
+
|
|
319
|
+
declare const kVTProfileLevel_HEVC_Monochrome_AutoLevel: interop.Pointer
|
|
320
|
+
|
|
321
|
+
declare const kVTCompressionPropertyKey_MoreFramesBeforeStart: interop.Pointer
|
|
322
|
+
|
|
323
|
+
declare const kVTMultiPassStorageInvalidErr: number
|
|
324
|
+
|
|
325
|
+
declare const kVTDecompressionPropertyKey_MinOutputPresentationTimeStampOfFramesBeingDecoded: interop.Pointer
|
|
326
|
+
|
|
327
|
+
declare const kVTProfileLevel_H264_Main_5_2: interop.Pointer
|
|
328
|
+
|
|
329
|
+
declare const kVTExtensionDisabledErr: number
|
|
330
|
+
|
|
331
|
+
declare const kVTCompressionPropertyKey_RealTime: interop.Pointer
|
|
332
|
+
|
|
333
|
+
declare const kVTMultiPassStorageCreationOption_DoNotDelete: interop.Pointer
|
|
334
|
+
|
|
335
|
+
declare const kVTProfileLevel_H264_Baseline_4_0: interop.Pointer
|
|
336
|
+
|
|
337
|
+
declare const kVTCompressionPropertyKey_AlphaChannelMode: interop.Pointer
|
|
338
|
+
|
|
339
|
+
declare const kVTPixelTransferPropertyKey_DestinationPixelAspectRatio: interop.Pointer
|
|
340
|
+
|
|
341
|
+
declare const kVTSessionMalfunctionErr: number
|
|
342
|
+
|
|
343
|
+
declare const kVTVideoEncoderSpecification_PreferredEncoderGPURegistryID: interop.Pointer
|
|
344
|
+
|
|
345
|
+
declare const kVTCompressionPropertyKey_YCbCrMatrix: interop.Pointer
|
|
346
|
+
|
|
347
|
+
declare const kVTCompressionPropertyKey_MaxFrameDelayCount: interop.Pointer
|
|
348
|
+
|
|
349
|
+
declare const kVTCouldNotFindVideoEncoderErr: number
|
|
350
|
+
|
|
351
|
+
declare const kVTProfileLevel_H264_High_3_2: interop.Pointer
|
|
352
|
+
|
|
353
|
+
declare const kVTVideoDecoderMalfunctionErr: number
|
|
354
|
+
|
|
355
|
+
declare const kVTDecompressionPropertyKey_ContentHasInterframeDependencies: interop.Pointer
|
|
356
|
+
|
|
357
|
+
declare const kVTCompressionPropertyKey_ProfileLevel: interop.Pointer
|
|
358
|
+
|
|
359
|
+
declare const kVTCompressionPropertyKey_PreserveDynamicHDRMetadata: interop.Pointer
|
|
360
|
+
|
|
361
|
+
declare const kVTVideoDecoderUnsupportedDataFormatErr: number
|
|
362
|
+
|
|
363
|
+
declare const kVTCompressionPropertyKey_MaximizePowerEfficiency: interop.Pointer
|
|
364
|
+
|
|
365
|
+
declare const kVTCompressionPropertyKey_AllowOpenGOP: interop.Pointer
|
|
366
|
+
|
|
367
|
+
declare const kVTParameterErr: number
|
|
368
|
+
|
|
369
|
+
declare const kVTScalingMode_Normal: interop.Pointer
|
|
370
|
+
|
|
371
|
+
declare const kVTMultiPassStorageIdentifierMismatchErr: number
|
|
372
|
+
|
|
373
|
+
declare const kVTProfileLevel_H264_Baseline_3_2: interop.Pointer
|
|
374
|
+
|
|
375
|
+
declare const kVTVideoDecoderAuthorizationErr: number
|
|
376
|
+
|
|
377
|
+
declare const kVTHDRMetadataInsertionMode_None: interop.Pointer
|
|
378
|
+
|
|
379
|
+
declare const kVTDecompressionPropertyKey_FieldMode: interop.Pointer
|
|
380
|
+
|
|
381
|
+
declare const kVTH264EntropyMode_CABAC: interop.Pointer
|
|
382
|
+
|
|
383
|
+
declare const kVTProfileLevel_MP4V_Main_L4: interop.Pointer
|
|
384
|
+
|
|
385
|
+
declare const kVTVideoEncoderList_QualityRating: interop.Pointer
|
|
386
|
+
|
|
387
|
+
declare const kVTProfileLevel_HEVC_Main10_AutoLevel: interop.Pointer
|
|
388
|
+
|
|
389
|
+
declare const kVTCompressionPropertyKey_MasteringDisplayColorVolume: interop.Pointer
|
|
390
|
+
|
|
391
|
+
declare const kVTProfileLevel_H264_Baseline_4_1: interop.Pointer
|
|
392
|
+
|
|
393
|
+
declare const kVTVideoEncoderMVHEVCVideoLayerIDsMismatchErr: number
|
|
394
|
+
|
|
395
|
+
declare const kVTCompressionPropertyKey_H264EntropyMode: interop.Pointer
|
|
396
|
+
|
|
397
|
+
declare const kVTVideoEncoderList_EncoderID: interop.Pointer
|
|
398
|
+
|
|
399
|
+
declare const kVTCompressionPropertyKey_TargetQualityForAlpha: interop.Pointer
|
|
400
|
+
|
|
401
|
+
declare const kVTDecompressionPropertyKey_PixelTransferProperties: interop.Pointer
|
|
402
|
+
|
|
403
|
+
declare const kVTCouldNotFindVideoDecoderErr: number
|
|
404
|
+
|
|
405
|
+
declare const kVTProfileLevel_H264_High_4_2: interop.Pointer
|
|
406
|
+
|
|
407
|
+
declare const kVTDecompressionPropertyKey_PixelFormatsWithReducedResolutionSupport: interop.Pointer
|
|
408
|
+
|
|
409
|
+
declare const kVTAlphaChannelMode_PremultipliedAlpha: interop.Pointer
|
|
410
|
+
|
|
411
|
+
declare const kVTAlphaChannelMode_StraightAlpha: interop.Pointer
|
|
412
|
+
|
|
413
|
+
declare const kVTCompressionPropertyKey_CleanAperture: interop.Pointer
|
|
414
|
+
|
|
415
|
+
declare const kVTColorCorrectionImageRotationFailedErr: number
|
|
416
|
+
|
|
417
|
+
declare const kVTDecompressionProperty_DeinterlaceMode_Temporal: interop.Pointer
|
|
418
|
+
|
|
419
|
+
declare const kVTPropertyShouldBeSerializedKey: interop.Pointer
|
|
420
|
+
|
|
421
|
+
declare const kVTInvalidSessionErr: number
|
|
422
|
+
|
|
423
|
+
declare const kVTPropertyType_Number: interop.Pointer
|
|
424
|
+
|
|
425
|
+
declare const kVTPropertyDocumentationKey: interop.Pointer
|
|
426
|
+
|
|
427
|
+
declare const kVTPropertyReadWriteStatusKey: interop.Pointer
|
|
428
|
+
|
|
429
|
+
declare const kVTVideoDecoderReferenceMissingErr: number
|
|
430
|
+
|
|
431
|
+
declare const kVTProfileLevel_H263_Profile3_Level45: interop.Pointer
|
|
432
|
+
|
|
433
|
+
declare const kVTVideoDecoderCallbackMessagingErr: number
|
|
434
|
+
|
|
435
|
+
declare const kVTProfileLevel_H264_Baseline_1_3: interop.Pointer
|
|
436
|
+
|
|
437
|
+
declare const kVTVideoEncoderNeedsRosettaErr: number
|
|
438
|
+
|
|
439
|
+
declare const kVTProfileLevel_H264_Baseline_5_0: interop.Pointer
|
|
440
|
+
|
|
441
|
+
declare const kVTPixelTransferPropertyKey_DestinationTransferFunction: interop.Pointer
|
|
442
|
+
|
|
443
|
+
declare const kVTVideoDecoderUnknownErr: number
|
|
444
|
+
|
|
445
|
+
declare const kVTVideoEncoderList_CodecName: interop.Pointer
|
|
446
|
+
|
|
447
|
+
declare const kVTCompressionPropertyKey_PixelAspectRatio: interop.Pointer
|
|
448
|
+
|
|
449
|
+
declare const kVTPropertyReadOnlyErr: number
|
|
450
|
+
|
|
451
|
+
declare const kVTQPModulationLevel_Disable: number
|
|
452
|
+
|
|
453
|
+
declare const kVTProfileLevel_H264_Baseline_4_2: interop.Pointer
|
|
454
|
+
|
|
455
|
+
declare const kVTDecompressionPropertyKey_ReducedCoefficientDecode: interop.Pointer
|
|
456
|
+
|
|
457
|
+
declare const kVTPixelTransferPropertyKey_DestinationYCbCrMatrix: interop.Pointer
|
|
458
|
+
|
|
459
|
+
declare const kVTDecompressionPropertyKey_ReducedResolutionDecode: interop.Pointer
|
|
460
|
+
|
|
461
|
+
declare const kVTProfileLevel_H263_Profile0_Level10: interop.Pointer
|
|
462
|
+
|
|
463
|
+
declare const kVTPixelTransferNotPermittedErr: number
|
|
464
|
+
|
|
465
|
+
declare const kVTCompressionPropertyKey_ColorPrimaries: interop.Pointer
|
|
466
|
+
|
|
467
|
+
declare const kVTCompressionPropertyKey_MaxH264SliceBytes: interop.Pointer
|
|
468
|
+
|
|
469
|
+
declare const kVTExtensionConflictErr: number
|
|
470
|
+
|
|
471
|
+
declare const kVTDecompressionProperty_TemporalLevelLimit: interop.Pointer
|
|
472
|
+
|
|
473
|
+
declare const kVTProfileLevel_H264_Main_5_1: interop.Pointer
|
|
474
|
+
|
|
475
|
+
declare const kVTH264EntropyMode_CAVLC: interop.Pointer
|
|
476
|
+
|
|
477
|
+
declare const kVTDecompressionProperty_FieldMode_TopFieldOnly: interop.Pointer
|
|
478
|
+
|
|
479
|
+
declare const kVTCompressionPropertyKey_MultiPassStorage: interop.Pointer
|
|
480
|
+
|
|
481
|
+
declare const kVTFrameSiloInvalidTimeRangeErr: number
|
|
482
|
+
|
|
483
|
+
declare const kVTProfileLevel_MP4V_Simple_L2: interop.Pointer
|
|
484
|
+
|
|
485
|
+
declare const VTSuperResolutionScalerParametersSubmissionMode: {
|
|
486
|
+
Random: 1
|
|
487
|
+
Sequential: 2
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
declare const VTSuperResolutionScalerConfigurationInputType: {
|
|
491
|
+
Video: 1
|
|
492
|
+
Image: 2
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
declare const VTSuperResolutionScalerConfigurationRevision: {
|
|
496
|
+
VTSuperResolutionScalerConfigurationRevision1: 1
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
declare const VTOpticalFlowConfigurationRevision: {
|
|
500
|
+
VTOpticalFlowConfigurationRevision1: 1
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
declare const VTFrameRateConversionConfigurationRevision: {
|
|
504
|
+
VTFrameRateConversionConfigurationRevision1: 1
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
declare const VTMotionEstimationFrameFlags: {
|
|
508
|
+
kVTMotionEstimationFrameFlags_CurrentBufferWillBeNextReferenceBuffer: 1
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
declare const VTMotionBlurParametersSubmissionMode: {
|
|
512
|
+
Random: 1
|
|
513
|
+
Sequential: 2
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
declare const VTFrameRateConversionParametersSubmissionMode: {
|
|
517
|
+
Random: 1
|
|
518
|
+
Sequential: 2
|
|
519
|
+
SequentialReferencesUnchanged: 3
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
declare const VTFrameProcessorError: {
|
|
523
|
+
UnknownError: -19730
|
|
524
|
+
UnsupportedResolution: -19731
|
|
525
|
+
SessionNotStarted: -19732
|
|
526
|
+
SessionAlreadyActive: -19733
|
|
527
|
+
FatalError: -19734
|
|
528
|
+
SessionLevelError: -19735
|
|
529
|
+
InitializationFailed: -19736
|
|
530
|
+
UnsupportedInput: -19737
|
|
531
|
+
MemoryAllocationFailure: -19738
|
|
532
|
+
RevisionNotSupported: -19739
|
|
533
|
+
ProcessingError: -19740
|
|
534
|
+
InvalidParameterError: -19741
|
|
535
|
+
InvalidFrameTiming: -19742
|
|
536
|
+
AssetDownloadFailed: -19743
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
declare const VTEncodeInfoFlags: {
|
|
540
|
+
Asynchronous: 1
|
|
541
|
+
FrameDropped: 2
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
declare const VTDecodeInfoFlags: {
|
|
545
|
+
Asynchronous: 1
|
|
546
|
+
FrameDropped: 2
|
|
547
|
+
ImageBufferModifiable: 4
|
|
548
|
+
SkippedLeadingFrameDropped: 8
|
|
549
|
+
FrameInterrupted: 16
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
declare const VTDecodeFrameFlags: {
|
|
553
|
+
Frame_EnableAsynchronousDecompression: 1
|
|
554
|
+
Frame_DoNotOutputFrame: 2
|
|
555
|
+
Frame_1xRealTimePlayback: 4
|
|
556
|
+
Frame_EnableTemporalProcessing: 8
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
declare const VTMotionBlurConfigurationRevision: {
|
|
560
|
+
VTMotionBlurConfigurationRevision1: 1
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
declare const VTCompressionSessionOptionFlags: {
|
|
564
|
+
kVTCompressionSessionBeginFinalPass: 1
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
declare const VTOpticalFlowConfigurationQualityPrioritization: {
|
|
568
|
+
Normal: 1
|
|
569
|
+
Quality: 2
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
declare const VTFrameRateConversionConfigurationQualityPrioritization: {
|
|
573
|
+
Normal: 1
|
|
574
|
+
Quality: 2
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
declare const VTSuperResolutionScalerConfigurationQualityPrioritization: {
|
|
578
|
+
VTSuperResolutionScalerConfigurationQualityPrioritizationNormal: 1
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare const VTMotionEstimationInfoFlags: {
|
|
582
|
+
kVTMotionEstimationInfoFlags_Reserved0: 1
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
declare const VTMotionBlurConfigurationQualityPrioritization: {
|
|
586
|
+
Normal: 1
|
|
587
|
+
Quality: 2
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
declare const VTOpticalFlowParametersSubmissionMode: {
|
|
591
|
+
Random: 1
|
|
592
|
+
Sequential: 2
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
declare const VTSuperResolutionScalerConfigurationModelStatus: {
|
|
596
|
+
DownloadRequired: 0
|
|
597
|
+
Downloading: 1
|
|
598
|
+
Ready: 2
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
declare class OpaqueVTMotionEstimationSession {
|
|
602
|
+
constructor(init?: OpaqueVTMotionEstimationSession)
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
declare class OpaqueVTHDRPerFrameMetadataGenerationSession {
|
|
606
|
+
constructor(init?: OpaqueVTHDRPerFrameMetadataGenerationSession)
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
declare class OpaqueVTMultiPassStorage {
|
|
610
|
+
constructor(init?: OpaqueVTMultiPassStorage)
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
declare class OpaqueVTFrameSilo {
|
|
614
|
+
constructor(init?: OpaqueVTFrameSilo)
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
declare class OpaqueVTDecompressionSession {
|
|
618
|
+
constructor(init?: OpaqueVTDecompressionSession)
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
declare class VTDecompressionOutputCallbackRecord {
|
|
622
|
+
constructor(init?: VTDecompressionOutputCallbackRecord)
|
|
623
|
+
decompressionOutputCallback: (
|
|
624
|
+
p1: interop.PointerConvertible,
|
|
625
|
+
p2: interop.PointerConvertible,
|
|
626
|
+
p3: number,
|
|
627
|
+
p4: interop.Enum<typeof VTDecodeInfoFlags>,
|
|
628
|
+
p5: interop.PointerConvertible,
|
|
629
|
+
p6: CMTime,
|
|
630
|
+
p7: CMTime,
|
|
631
|
+
) => void | null
|
|
632
|
+
decompressionOutputRefCon: interop.Pointer
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
declare class OpaqueVTRAWProcessingSession {
|
|
636
|
+
constructor(init?: OpaqueVTRAWProcessingSession)
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
declare class OpaqueVTCompressionSession {
|
|
640
|
+
constructor(init?: OpaqueVTCompressionSession)
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
declare class OpaqueVTPixelTransferSession {
|
|
644
|
+
constructor(init?: OpaqueVTPixelTransferSession)
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
declare class VTInt32Size {
|
|
648
|
+
constructor(init?: VTInt32Size)
|
|
649
|
+
width: number
|
|
650
|
+
height: number
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
declare class VTInt32Point {
|
|
654
|
+
constructor(init?: VTInt32Point)
|
|
655
|
+
x: number
|
|
656
|
+
y: number
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
declare class OpaqueVTPixelRotationSession {
|
|
660
|
+
constructor(init?: OpaqueVTPixelRotationSession)
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
declare function VTSessionCopySupportedPropertyDictionary(
|
|
664
|
+
session: interop.Object,
|
|
665
|
+
supportedPropertyDictionaryOut: interop.PointerConvertible,
|
|
666
|
+
): number
|
|
667
|
+
|
|
668
|
+
declare function VTSessionSetProperty(
|
|
669
|
+
session: interop.Object,
|
|
670
|
+
propertyKey: interop.Object,
|
|
671
|
+
propertyValue: interop.Object,
|
|
672
|
+
): number
|
|
673
|
+
|
|
674
|
+
declare function VTSessionCopyProperty(
|
|
675
|
+
session: interop.Object,
|
|
676
|
+
propertyKey: interop.Object,
|
|
677
|
+
allocator: interop.Object,
|
|
678
|
+
propertyValueOut: interop.PointerConvertible,
|
|
679
|
+
): number
|
|
680
|
+
|
|
681
|
+
declare function VTSessionSetProperties(
|
|
682
|
+
session: interop.Object,
|
|
683
|
+
propertyDictionary: interop.Object,
|
|
684
|
+
): number
|
|
685
|
+
|
|
686
|
+
declare function VTSessionCopySerializableProperties(
|
|
687
|
+
session: interop.Object,
|
|
688
|
+
allocator: interop.Object,
|
|
689
|
+
dictionaryOut: interop.PointerConvertible,
|
|
690
|
+
): number
|
|
691
|
+
|
|
692
|
+
declare function VTCompressionSessionCreate(
|
|
693
|
+
allocator: interop.Object,
|
|
694
|
+
width: number,
|
|
695
|
+
height: number,
|
|
696
|
+
codecType: number,
|
|
697
|
+
encoderSpecification: interop.Object,
|
|
698
|
+
sourceImageBufferAttributes: interop.Object,
|
|
699
|
+
compressedDataAllocator: interop.Object,
|
|
700
|
+
outputCallback: (
|
|
701
|
+
p1: interop.PointerConvertible,
|
|
702
|
+
p2: interop.PointerConvertible,
|
|
703
|
+
p3: number,
|
|
704
|
+
p4: interop.Enum<typeof VTEncodeInfoFlags>,
|
|
705
|
+
p5: interop.PointerConvertible,
|
|
706
|
+
) => void,
|
|
707
|
+
outputCallbackRefCon: interop.PointerConvertible,
|
|
708
|
+
compressionSessionOut: interop.PointerConvertible,
|
|
709
|
+
): number
|
|
710
|
+
|
|
711
|
+
declare function VTCompressionSessionInvalidate(session: interop.Object): void
|
|
712
|
+
|
|
713
|
+
declare function VTCompressionSessionGetTypeID(): number
|
|
714
|
+
|
|
715
|
+
declare function VTCompressionSessionGetPixelBufferPool(session: interop.Object): interop.Object
|
|
716
|
+
|
|
717
|
+
declare function VTCompressionSessionPrepareToEncodeFrames(session: interop.Object): number
|
|
718
|
+
|
|
719
|
+
declare function VTCompressionSessionEncodeFrame(
|
|
720
|
+
session: interop.Object,
|
|
721
|
+
imageBuffer: interop.Object,
|
|
722
|
+
presentationTimeStamp: CMTime,
|
|
723
|
+
duration: CMTime,
|
|
724
|
+
frameProperties: interop.Object,
|
|
725
|
+
sourceFrameRefcon: interop.PointerConvertible,
|
|
726
|
+
infoFlagsOut: interop.PointerConvertible,
|
|
727
|
+
): number
|
|
728
|
+
|
|
729
|
+
declare function VTCompressionSessionEncodeFrameWithOutputHandler(
|
|
730
|
+
session: interop.Object,
|
|
731
|
+
imageBuffer: interop.Object,
|
|
732
|
+
presentationTimeStamp: CMTime,
|
|
733
|
+
duration: CMTime,
|
|
734
|
+
frameProperties: interop.Object,
|
|
735
|
+
infoFlagsOut: interop.PointerConvertible,
|
|
736
|
+
outputHandler: (
|
|
737
|
+
p1: number,
|
|
738
|
+
p2: interop.Enum<typeof VTEncodeInfoFlags>,
|
|
739
|
+
p3: interop.PointerConvertible,
|
|
740
|
+
) => void,
|
|
741
|
+
): number
|
|
742
|
+
|
|
743
|
+
declare function VTCompressionSessionCompleteFrames(
|
|
744
|
+
session: interop.Object,
|
|
745
|
+
completeUntilPresentationTimeStamp: CMTime,
|
|
746
|
+
): number
|
|
747
|
+
|
|
748
|
+
declare function VTCompressionSessionBeginPass(
|
|
749
|
+
session: interop.Object,
|
|
750
|
+
beginPassFlags: interop.Enum<typeof VTCompressionSessionOptionFlags>,
|
|
751
|
+
reserved: interop.PointerConvertible,
|
|
752
|
+
): number
|
|
753
|
+
|
|
754
|
+
declare function VTCompressionSessionEndPass(
|
|
755
|
+
session: interop.Object,
|
|
756
|
+
furtherPassesRequestedOut: interop.PointerConvertible,
|
|
757
|
+
reserved: interop.PointerConvertible,
|
|
758
|
+
): number
|
|
759
|
+
|
|
760
|
+
declare function VTCompressionSessionGetTimeRangesForNextPass(
|
|
761
|
+
session: interop.Object,
|
|
762
|
+
timeRangeCountOut: interop.PointerConvertible,
|
|
763
|
+
timeRangeArrayOut: interop.PointerConvertible,
|
|
764
|
+
): number
|
|
765
|
+
|
|
766
|
+
declare function VTDecompressionSessionCreate(
|
|
767
|
+
allocator: interop.Object,
|
|
768
|
+
videoFormatDescription: interop.Object,
|
|
769
|
+
videoDecoderSpecification: interop.Object,
|
|
770
|
+
destinationImageBufferAttributes: interop.Object,
|
|
771
|
+
outputCallback: interop.PointerConvertible,
|
|
772
|
+
decompressionSessionOut: interop.PointerConvertible,
|
|
773
|
+
): number
|
|
774
|
+
|
|
775
|
+
declare function VTDecompressionSessionInvalidate(session: interop.Object): void
|
|
776
|
+
|
|
777
|
+
declare function VTDecompressionSessionGetTypeID(): number
|
|
778
|
+
|
|
779
|
+
declare function VTDecompressionSessionDecodeFrame(
|
|
780
|
+
session: interop.Object,
|
|
781
|
+
sampleBuffer: interop.Object,
|
|
782
|
+
decodeFlags: interop.Enum<typeof VTDecodeFrameFlags>,
|
|
783
|
+
sourceFrameRefCon: interop.PointerConvertible,
|
|
784
|
+
infoFlagsOut: interop.PointerConvertible,
|
|
785
|
+
): number
|
|
786
|
+
|
|
787
|
+
declare function VTDecompressionSessionDecodeFrameWithOutputHandler(
|
|
788
|
+
session: interop.Object,
|
|
789
|
+
sampleBuffer: interop.Object,
|
|
790
|
+
decodeFlags: interop.Enum<typeof VTDecodeFrameFlags>,
|
|
791
|
+
infoFlagsOut: interop.PointerConvertible,
|
|
792
|
+
outputHandler: (
|
|
793
|
+
p1: number,
|
|
794
|
+
p2: interop.Enum<typeof VTDecodeInfoFlags>,
|
|
795
|
+
p3: interop.PointerConvertible,
|
|
796
|
+
p4: CMTime,
|
|
797
|
+
p5: CMTime,
|
|
798
|
+
) => void,
|
|
799
|
+
): number
|
|
800
|
+
|
|
801
|
+
declare function VTDecompressionSessionFinishDelayedFrames(session: interop.Object): number
|
|
802
|
+
|
|
803
|
+
declare function VTDecompressionSessionCanAcceptFormatDescription(
|
|
804
|
+
session: interop.Object,
|
|
805
|
+
newFormatDesc: interop.Object,
|
|
806
|
+
): number
|
|
807
|
+
|
|
808
|
+
declare function VTDecompressionSessionWaitForAsynchronousFrames(session: interop.Object): number
|
|
809
|
+
|
|
810
|
+
declare function VTDecompressionSessionCopyBlackPixelBuffer(
|
|
811
|
+
session: interop.Object,
|
|
812
|
+
pixelBufferOut: interop.PointerConvertible,
|
|
813
|
+
): number
|
|
814
|
+
|
|
815
|
+
declare function VTIsHardwareDecodeSupported(codecType: number): number
|
|
816
|
+
|
|
817
|
+
declare function VTPixelTransferSessionCreate(
|
|
818
|
+
allocator: interop.Object,
|
|
819
|
+
pixelTransferSessionOut: interop.PointerConvertible,
|
|
820
|
+
): number
|
|
821
|
+
|
|
822
|
+
declare function VTPixelTransferSessionInvalidate(session: interop.Object): void
|
|
823
|
+
|
|
824
|
+
declare function VTPixelTransferSessionGetTypeID(): number
|
|
825
|
+
|
|
826
|
+
declare function VTPixelTransferSessionTransferImage(
|
|
827
|
+
session: interop.Object,
|
|
828
|
+
sourceBuffer: interop.Object,
|
|
829
|
+
destinationBuffer: interop.Object,
|
|
830
|
+
): number
|
|
831
|
+
|
|
832
|
+
declare function VTCopyVideoEncoderList(
|
|
833
|
+
options: interop.Object,
|
|
834
|
+
listOfVideoEncodersOut: interop.PointerConvertible,
|
|
835
|
+
): number
|
|
836
|
+
|
|
837
|
+
declare function VTCopySupportedPropertyDictionaryForEncoder(
|
|
838
|
+
width: number,
|
|
839
|
+
height: number,
|
|
840
|
+
codecType: number,
|
|
841
|
+
encoderSpecification: interop.Object,
|
|
842
|
+
encoderIDOut: interop.PointerConvertible,
|
|
843
|
+
supportedPropertiesOut: interop.PointerConvertible,
|
|
844
|
+
): number
|
|
845
|
+
|
|
846
|
+
declare function VTFrameSiloGetTypeID(): number
|
|
847
|
+
|
|
848
|
+
declare function VTFrameSiloCreate(
|
|
849
|
+
allocator: interop.Object,
|
|
850
|
+
fileURL: interop.Object,
|
|
851
|
+
timeRange: CMTimeRange,
|
|
852
|
+
options: interop.Object,
|
|
853
|
+
frameSiloOut: interop.PointerConvertible,
|
|
854
|
+
): number
|
|
855
|
+
|
|
856
|
+
declare function VTFrameSiloAddSampleBuffer(
|
|
857
|
+
silo: interop.Object,
|
|
858
|
+
sampleBuffer: interop.Object,
|
|
859
|
+
): number
|
|
860
|
+
|
|
861
|
+
declare function VTFrameSiloSetTimeRangesForNextPass(
|
|
862
|
+
silo: interop.Object,
|
|
863
|
+
timeRangeCount: number,
|
|
864
|
+
timeRangeArray: interop.PointerConvertible,
|
|
865
|
+
): number
|
|
866
|
+
|
|
867
|
+
declare function VTFrameSiloGetProgressOfCurrentPass(
|
|
868
|
+
silo: interop.Object,
|
|
869
|
+
progressOut: interop.PointerConvertible,
|
|
870
|
+
): number
|
|
871
|
+
|
|
872
|
+
declare function VTFrameSiloCallFunctionForEachSampleBuffer(
|
|
873
|
+
silo: interop.Object,
|
|
874
|
+
timeRange: CMTimeRange,
|
|
875
|
+
refcon: interop.PointerConvertible,
|
|
876
|
+
callback: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => number,
|
|
877
|
+
): number
|
|
878
|
+
|
|
879
|
+
declare function VTFrameSiloCallBlockForEachSampleBuffer(
|
|
880
|
+
silo: interop.Object,
|
|
881
|
+
timeRange: CMTimeRange,
|
|
882
|
+
handler: (p1: interop.PointerConvertible) => number,
|
|
883
|
+
): number
|
|
884
|
+
|
|
885
|
+
declare function VTMultiPassStorageGetTypeID(): number
|
|
886
|
+
|
|
887
|
+
declare function VTMultiPassStorageCreate(
|
|
888
|
+
allocator: interop.Object,
|
|
889
|
+
fileURL: interop.Object,
|
|
890
|
+
timeRange: CMTimeRange,
|
|
891
|
+
options: interop.Object,
|
|
892
|
+
multiPassStorageOut: interop.PointerConvertible,
|
|
893
|
+
): number
|
|
894
|
+
|
|
895
|
+
declare function VTMultiPassStorageClose(multiPassStorage: interop.Object): number
|
|
896
|
+
|
|
897
|
+
declare function VTCreateCGImageFromCVPixelBuffer(
|
|
898
|
+
pixelBuffer: interop.Object,
|
|
899
|
+
options: interop.Object,
|
|
900
|
+
imageOut: interop.PointerConvertible,
|
|
901
|
+
): number
|
|
902
|
+
|
|
903
|
+
declare function VTRegisterSupplementalVideoDecoderIfAvailable(codecType: number): void
|
|
904
|
+
|
|
905
|
+
declare function VTRegisterProfessionalVideoWorkflowVideoDecoders(): void
|
|
906
|
+
|
|
907
|
+
declare function VTRegisterProfessionalVideoWorkflowVideoEncoders(): void
|