@octane-xplat/macos-renderer 0.14.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,1162 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
|
|
3
|
+
declare const kCVImageBufferPixelAspectRatioKey: interop.Object
|
|
4
|
+
|
|
5
|
+
declare const kCVPixelFormatType_16VersatileBayer: number
|
|
6
|
+
|
|
7
|
+
declare const kCVBufferPropagatedAttachmentsKey: interop.Object
|
|
8
|
+
|
|
9
|
+
declare const kCVPixelFormatType_96VersatileBayerPacked12: number
|
|
10
|
+
|
|
11
|
+
declare const kCVPixelBufferProResRAWKey_ColorMatrix: interop.Object
|
|
12
|
+
|
|
13
|
+
declare const kCVPixelFormatType_40ARGBLEWideGamutPremultiplied: number
|
|
14
|
+
|
|
15
|
+
declare const kCVImageBufferTransferFunction_Linear: interop.Object
|
|
16
|
+
|
|
17
|
+
declare const kCVPixelFormatType_32RGBA: number
|
|
18
|
+
|
|
19
|
+
declare const kCVPixelFormatContainsRGB: interop.Object
|
|
20
|
+
|
|
21
|
+
declare const kCVImageBufferColorPrimaries_SMPTE_C: interop.Object
|
|
22
|
+
|
|
23
|
+
declare const kCVPixelFormatType_16LE565: number
|
|
24
|
+
|
|
25
|
+
declare const kCVMetalTextureUsage: interop.Object
|
|
26
|
+
|
|
27
|
+
declare const kCVOpenGLTextureCacheChromaSamplingModeAutomatic: interop.Object
|
|
28
|
+
|
|
29
|
+
declare const kCVPixelFormatConstant: interop.Object
|
|
30
|
+
|
|
31
|
+
declare const kCVImageBufferTransferFunction_SMPTE_C: interop.Object
|
|
32
|
+
|
|
33
|
+
declare const kCVPixelFormatFillExtendedPixelsCallback: interop.Object
|
|
34
|
+
|
|
35
|
+
declare const kCVPixelBufferPoolFreeBufferNotification: interop.Object
|
|
36
|
+
|
|
37
|
+
declare const kCVPixelFormatType_422YpCbCr8FullRange: number
|
|
38
|
+
|
|
39
|
+
declare const kCVPixelFormatType_444YpCbCr10: number
|
|
40
|
+
|
|
41
|
+
declare const kCVReturnInvalidPoolAttributes: number
|
|
42
|
+
|
|
43
|
+
declare const kCVImageBufferChromaLocation_BottomLeft: interop.Object
|
|
44
|
+
|
|
45
|
+
declare const kCVPixelBufferExtendedPixelsBottomKey: interop.Object
|
|
46
|
+
|
|
47
|
+
declare const kCVMetalTextureCacheMaximumTextureAgeKey: interop.Object
|
|
48
|
+
|
|
49
|
+
declare const kCVMetalTextureStorageMode: interop.Object
|
|
50
|
+
|
|
51
|
+
declare const kCVPixelFormatOpenGLCompatibility: interop.Object
|
|
52
|
+
|
|
53
|
+
declare const kCVPixelFormatOpenGLInternalFormat: interop.Object
|
|
54
|
+
|
|
55
|
+
declare const kCVPixelFormatHorizontalSubsampling: interop.Object
|
|
56
|
+
|
|
57
|
+
declare const kCVPixelFormatBlackBlock: interop.Object
|
|
58
|
+
|
|
59
|
+
declare const kCVPixelFormatBlockHeight: interop.Object
|
|
60
|
+
|
|
61
|
+
declare const kCVPixelFormatComponentRange_WideRange: interop.Object
|
|
62
|
+
|
|
63
|
+
declare const kCVPixelFormatComponentRange_FullRange: interop.Object
|
|
64
|
+
|
|
65
|
+
declare const kCVPixelFormatComponentRange_VideoRange: interop.Object
|
|
66
|
+
|
|
67
|
+
declare const kCVPixelFormatContainsYCbCr: interop.Object
|
|
68
|
+
|
|
69
|
+
declare const kCVPixelFormatContainsAlpha: interop.Object
|
|
70
|
+
|
|
71
|
+
declare const kCVOpenGLTextureCacheChromaSamplingModeBestPerformance: interop.Object
|
|
72
|
+
|
|
73
|
+
declare const kCVOpenGLTextureCacheChromaSamplingModeHighestQuality: interop.Object
|
|
74
|
+
|
|
75
|
+
declare const kCVOpenGLTextureCacheChromaSamplingModeKey: interop.Object
|
|
76
|
+
|
|
77
|
+
declare const kCVOpenGLBufferMaximumMipmapLevel: interop.Object
|
|
78
|
+
|
|
79
|
+
declare const kCVOpenGLBufferInternalFormat: interop.Object
|
|
80
|
+
|
|
81
|
+
declare const kCVOpenGLBufferTarget: interop.Object
|
|
82
|
+
|
|
83
|
+
declare const kCVOpenGLBufferHeight: interop.Object
|
|
84
|
+
|
|
85
|
+
declare const kCVOpenGLBufferWidth: interop.Object
|
|
86
|
+
|
|
87
|
+
declare const kCVPixelBufferPoolAllocationThresholdKey: interop.Object
|
|
88
|
+
|
|
89
|
+
declare const kCVPixelBufferPoolMaximumBufferAgeKey: interop.Object
|
|
90
|
+
|
|
91
|
+
declare const kCVPixelBufferIOSurfaceOpenGLTextureCompatibilityKey: interop.Object
|
|
92
|
+
|
|
93
|
+
declare const kCVPixelBufferProResRAWKey_GainFactor: interop.Object
|
|
94
|
+
|
|
95
|
+
declare const kCVPixelBufferProResRAWKey_WhiteBalanceCCT: interop.Object
|
|
96
|
+
|
|
97
|
+
declare const kCVPixelBufferProResRAWKey_WhiteLevel: interop.Object
|
|
98
|
+
|
|
99
|
+
declare const kCVVersatileBayer_BayerPattern_GBRG: number
|
|
100
|
+
|
|
101
|
+
declare const kCVVersatileBayer_BayerPattern_RGGB: number
|
|
102
|
+
|
|
103
|
+
declare const kCVPixelBufferVersatileBayerKey_BayerPattern: interop.Object
|
|
104
|
+
|
|
105
|
+
declare const kCVPixelBufferOpenGLTextureCacheCompatibilityKey: interop.Object
|
|
106
|
+
|
|
107
|
+
declare const kCVPixelBufferIOSurfacePropertiesKey: interop.Object
|
|
108
|
+
|
|
109
|
+
declare const kCVPixelBufferOpenGLCompatibilityKey: interop.Object
|
|
110
|
+
|
|
111
|
+
declare const kCVPixelBufferBytesPerRowAlignmentKey: interop.Object
|
|
112
|
+
|
|
113
|
+
declare const kCVPixelBufferExtendedPixelsRightKey: interop.Object
|
|
114
|
+
|
|
115
|
+
declare const kCVPixelBufferHeightKey: interop.Object
|
|
116
|
+
|
|
117
|
+
declare const kCVPixelBufferWidthKey: interop.Object
|
|
118
|
+
|
|
119
|
+
declare const kCVPixelBufferMemoryAllocatorKey: interop.Object
|
|
120
|
+
|
|
121
|
+
declare const kCVPixelFormatType_Lossy_420YpCbCr8BiPlanarFullRange: number
|
|
122
|
+
|
|
123
|
+
declare const kCVPixelFormatType_Lossy_32BGRA: number
|
|
124
|
+
|
|
125
|
+
declare const kCVPixelFormatType_Lossless_420YpCbCr10PackedBiPlanarFullRange: number
|
|
126
|
+
|
|
127
|
+
declare const kCVPixelFormatType_Lossless_420YpCbCr10PackedBiPlanarVideoRange: number
|
|
128
|
+
|
|
129
|
+
declare const kCVPixelFormatType_Lossless_420YpCbCr8BiPlanarFullRange: number
|
|
130
|
+
|
|
131
|
+
declare const kCVPixelFormatType_Lossless_420YpCbCr8BiPlanarVideoRange: number
|
|
132
|
+
|
|
133
|
+
declare const kCVPixelFormatType_Lossless_64RGBAHalf: number
|
|
134
|
+
|
|
135
|
+
declare const kCVPixelFormatType_30RGBLE_8A_BiPlanar: number
|
|
136
|
+
|
|
137
|
+
declare const kCVPixelFormatType_444YpCbCr16VideoRange_16A_TriPlanar: number
|
|
138
|
+
|
|
139
|
+
declare const kCVPixelFormatType_64RGBA_DownscaledProResRAW: number
|
|
140
|
+
|
|
141
|
+
declare const kCVPixelFormatType_444YpCbCr10BiPlanarFullRange: number
|
|
142
|
+
|
|
143
|
+
declare const kCVPixelFormatType_444YpCbCr10BiPlanarVideoRange: number
|
|
144
|
+
|
|
145
|
+
declare const kCVPixelFormatType_DepthFloat32: number
|
|
146
|
+
|
|
147
|
+
declare const kCVPixelFormatType_DepthFloat16: number
|
|
148
|
+
|
|
149
|
+
declare const kCVPixelFormatType_DisparityFloat16: number
|
|
150
|
+
|
|
151
|
+
declare const kCVPixelFormatType_14Bayer_GBRG: number
|
|
152
|
+
|
|
153
|
+
declare const kCVPixelFormatType_14Bayer_BGGR: number
|
|
154
|
+
|
|
155
|
+
declare const kCVPixelFormatType_14Bayer_RGGB: number
|
|
156
|
+
|
|
157
|
+
declare const kCVPixelFormatType_14Bayer_GRBG: number
|
|
158
|
+
|
|
159
|
+
declare const kCVPixelFormatType_64RGBAHalf: number
|
|
160
|
+
|
|
161
|
+
declare const kCVPixelFormatType_TwoComponent16: number
|
|
162
|
+
|
|
163
|
+
declare const kCVPixelFormatType_OneComponent12: number
|
|
164
|
+
|
|
165
|
+
declare const kCVPixelFormatType_30RGBLEPackedWideGamut: number
|
|
166
|
+
|
|
167
|
+
declare const kCVPixelFormatType_444YpCbCr8BiPlanarFullRange: number
|
|
168
|
+
|
|
169
|
+
declare const kCVPixelFormatType_444YpCbCr8BiPlanarVideoRange: number
|
|
170
|
+
|
|
171
|
+
declare const kCVPixelFormatType_422YpCbCr8BiPlanarVideoRange: number
|
|
172
|
+
|
|
173
|
+
declare const kCVPixelFormatType_422YpCbCr_4A_8BiPlanar: number
|
|
174
|
+
|
|
175
|
+
declare const kCVPixelFormatType_420YpCbCr8PlanarFullRange: number
|
|
176
|
+
|
|
177
|
+
declare const kCVPixelFormatType_422YpCbCr10: number
|
|
178
|
+
|
|
179
|
+
declare const kCVPixelFormatType_422YpCbCr16: number
|
|
180
|
+
|
|
181
|
+
declare const kCVPixelFormatType_444YpCbCr8: number
|
|
182
|
+
|
|
183
|
+
declare const kCVPixelFormatType_4444AYpCbCr16: number
|
|
184
|
+
|
|
185
|
+
declare const kCVPixelFormatType_4444YpCbCrA8R: number
|
|
186
|
+
|
|
187
|
+
declare const kCVPixelFormatType_4444YpCbCrA8: number
|
|
188
|
+
|
|
189
|
+
declare const kCVPixelFormatType_30RGB_r210: number
|
|
190
|
+
|
|
191
|
+
declare const kCVPixelFormatType_30RGB: number
|
|
192
|
+
|
|
193
|
+
declare const kCVPixelFormatType_32AlphaGray: number
|
|
194
|
+
|
|
195
|
+
declare const kCVPixelFormatType_32ABGR: number
|
|
196
|
+
|
|
197
|
+
declare const kCVPixelFormatType_32BGRA: number
|
|
198
|
+
|
|
199
|
+
declare const kCVPixelFormatType_32ARGB: number
|
|
200
|
+
|
|
201
|
+
declare const kCVPixelFormatType_24RGB: number
|
|
202
|
+
|
|
203
|
+
declare const kCVPixelFormatType_16BE565: number
|
|
204
|
+
|
|
205
|
+
declare const kCVPixelFormatType_16LE5551: number
|
|
206
|
+
|
|
207
|
+
declare const kCVPixelFormatType_16BE555: number
|
|
208
|
+
|
|
209
|
+
declare const kCVPixelFormatType_8IndexedGray_WhiteIsZero: number
|
|
210
|
+
|
|
211
|
+
declare const kCVPixelFormatType_2IndexedGray_WhiteIsZero: number
|
|
212
|
+
|
|
213
|
+
declare const kCVPixelFormatType_1IndexedGray_WhiteIsZero: number
|
|
214
|
+
|
|
215
|
+
declare const kCVPixelFormatType_8Indexed: number
|
|
216
|
+
|
|
217
|
+
declare const kCVPixelFormatType_2Indexed: number
|
|
218
|
+
|
|
219
|
+
declare const kCVPixelFormatType_1Monochrome: number
|
|
220
|
+
|
|
221
|
+
declare const kCVImageBufferContentLightLevelInfoKey: interop.Object
|
|
222
|
+
|
|
223
|
+
declare const kCVImageBufferMasteringDisplayColorVolumeKey: interop.Object
|
|
224
|
+
|
|
225
|
+
declare const kCVImageBufferAlphaChannelMode_PremultipliedAlpha: interop.Object
|
|
226
|
+
|
|
227
|
+
declare const kCVImageBufferChromaSubsampling_420: interop.Object
|
|
228
|
+
|
|
229
|
+
declare const kCVImageBufferChromaSubsamplingKey: interop.Object
|
|
230
|
+
|
|
231
|
+
declare const kCVImageBufferChromaLocation_DV420: interop.Object
|
|
232
|
+
|
|
233
|
+
declare const kCVImageBufferChromaLocation_TopLeft: interop.Object
|
|
234
|
+
|
|
235
|
+
declare const kCVImageBufferChromaLocationBottomFieldKey: interop.Object
|
|
236
|
+
|
|
237
|
+
declare const kCVImageBufferTransferFunction_SMPTE_ST_2084_PQ: interop.Object
|
|
238
|
+
|
|
239
|
+
declare const kCVImageBufferTransferFunction_EBU_3213: interop.Object
|
|
240
|
+
|
|
241
|
+
declare const kCVImageBufferColorPrimaries_ITU_R_2020: interop.Object
|
|
242
|
+
|
|
243
|
+
declare const kCVImageBufferColorPrimaries_DCI_P3: interop.Object
|
|
244
|
+
|
|
245
|
+
declare const kCVImageBufferColorPrimaries_P22: interop.Object
|
|
246
|
+
|
|
247
|
+
declare const kCVImageBufferColorPrimariesKey: interop.Object
|
|
248
|
+
|
|
249
|
+
declare const kCVImageBufferYCbCrMatrix_ITU_R_2020: interop.Object
|
|
250
|
+
|
|
251
|
+
declare const kCVImageBufferYCbCrMatrix_P3_D65: interop.Object
|
|
252
|
+
|
|
253
|
+
declare const kCVImageBufferYCbCrMatrix_DCI_P3: interop.Object
|
|
254
|
+
|
|
255
|
+
declare const kCVImageBufferDisplayWidthKey: interop.Object
|
|
256
|
+
|
|
257
|
+
declare const kCVImageBufferFieldDetailSpatialFirstLineLate: interop.Object
|
|
258
|
+
|
|
259
|
+
declare const kCVImageBufferFieldDetailSpatialFirstLineEarly: interop.Object
|
|
260
|
+
|
|
261
|
+
declare const kCVImageBufferFieldDetailTemporalBottomFirst: interop.Object
|
|
262
|
+
|
|
263
|
+
declare const kCVImageBufferFieldDetailKey: interop.Object
|
|
264
|
+
|
|
265
|
+
declare const kCVImageBufferFieldCountKey: interop.Object
|
|
266
|
+
|
|
267
|
+
declare const kCVImageBufferCleanApertureHorizontalOffsetKey: interop.Object
|
|
268
|
+
|
|
269
|
+
declare const kCVBufferTimeScaleKey: interop.Object
|
|
270
|
+
|
|
271
|
+
declare const kCVBufferMovieTimeKey: interop.Object
|
|
272
|
+
|
|
273
|
+
declare const kCVBufferNonPropagatedAttachmentsKey: interop.Object
|
|
274
|
+
|
|
275
|
+
declare const kCVReturnLast: number
|
|
276
|
+
|
|
277
|
+
declare const kCVReturnRetry: number
|
|
278
|
+
|
|
279
|
+
declare const kCVReturnPoolAllocationFailed: number
|
|
280
|
+
|
|
281
|
+
declare const kCVReturnPixelBufferNotMetalCompatible: number
|
|
282
|
+
|
|
283
|
+
declare const kCVReturnPixelBufferNotOpenGLCompatible: number
|
|
284
|
+
|
|
285
|
+
declare const kCVReturnInvalidPixelBufferAttributes: number
|
|
286
|
+
|
|
287
|
+
declare const kCVReturnInvalidSize: number
|
|
288
|
+
|
|
289
|
+
declare const kCVReturnInvalidPixelFormat: number
|
|
290
|
+
|
|
291
|
+
declare const kCVReturnDisplayLinkNotRunning: number
|
|
292
|
+
|
|
293
|
+
declare const kCVReturnInvalidDisplay: number
|
|
294
|
+
|
|
295
|
+
declare const kCVReturnUnsupported: number
|
|
296
|
+
|
|
297
|
+
declare const kCVReturnAllocationFailed: number
|
|
298
|
+
|
|
299
|
+
declare const kCVReturnInvalidArgument: number
|
|
300
|
+
|
|
301
|
+
declare const kCVReturnError: number
|
|
302
|
+
|
|
303
|
+
declare const kCVIndefiniteTime: CVTime
|
|
304
|
+
|
|
305
|
+
declare const kCVImageBufferChromaLocationTopFieldKey: interop.Object
|
|
306
|
+
|
|
307
|
+
declare const kCVPixelFormatType_4IndexedGray_WhiteIsZero: number
|
|
308
|
+
|
|
309
|
+
declare const kCVReturnFirst: number
|
|
310
|
+
|
|
311
|
+
declare const kCVPixelFormatCGImageCompatibility: interop.Object
|
|
312
|
+
|
|
313
|
+
declare const kCVImageBufferColorPrimaries_EBU_3213: interop.Object
|
|
314
|
+
|
|
315
|
+
declare const kCVImageBufferCleanApertureWidthKey: interop.Object
|
|
316
|
+
|
|
317
|
+
declare const kCVVersatileBayer_BayerPattern_GRBG: number
|
|
318
|
+
|
|
319
|
+
declare const kCVImageBufferColorPrimaries_ITU_R_709_2: interop.Object
|
|
320
|
+
|
|
321
|
+
declare const kCVPixelFormatType_420YpCbCr8Planar: number
|
|
322
|
+
|
|
323
|
+
declare const kCVImageBufferChromaLocation_Bottom: interop.Object
|
|
324
|
+
|
|
325
|
+
declare const kCVPixelFormatType_420YpCbCr8VideoRange_8A_TriPlanar: number
|
|
326
|
+
|
|
327
|
+
declare const kCVPixelFormatType_TwoComponent32Float: number
|
|
328
|
+
|
|
329
|
+
declare const kCVPixelFormatBlockHorizontalAlignment: interop.Object
|
|
330
|
+
|
|
331
|
+
declare const kCVPixelFormatType_Lossless_30RGBLEPackedWideGamut: number
|
|
332
|
+
|
|
333
|
+
declare const kCVPixelFormatType_OneComponent32Float: number
|
|
334
|
+
|
|
335
|
+
declare const kCVOpenGLBufferPoolMaximumBufferAgeKey: interop.Object
|
|
336
|
+
|
|
337
|
+
declare const kCVPixelFormatType_ARGB2101010LEPacked: number
|
|
338
|
+
|
|
339
|
+
declare const kCVPixelFormatType_4444AYpCbCr8: number
|
|
340
|
+
|
|
341
|
+
declare const kCVPixelFormatType_16LE555: number
|
|
342
|
+
|
|
343
|
+
declare const kCVImageBufferICCProfileKey: interop.Object
|
|
344
|
+
|
|
345
|
+
declare const kCVPixelFormatCodecType: interop.Object
|
|
346
|
+
|
|
347
|
+
declare const kCVPixelFormatType_OneComponent16Half: number
|
|
348
|
+
|
|
349
|
+
declare const kCVImageBufferTransferFunction_ITU_R_2020: interop.Object
|
|
350
|
+
|
|
351
|
+
declare const kCVPixelBufferProResRAWKey_BlackLevel: interop.Object
|
|
352
|
+
|
|
353
|
+
declare const kCVPixelFormatType_420YpCbCr8BiPlanarFullRange: number
|
|
354
|
+
|
|
355
|
+
declare const kCVPixelFormatContainsGrayscale: interop.Object
|
|
356
|
+
|
|
357
|
+
declare const kCVReturnDisplayLinkAlreadyRunning: number
|
|
358
|
+
|
|
359
|
+
declare const kCVPixelFormatBitsPerBlock: interop.Object
|
|
360
|
+
|
|
361
|
+
declare const kCVPixelFormatType_24BGR: number
|
|
362
|
+
|
|
363
|
+
declare const kCVImageBufferAlphaChannelModeKey: interop.Object
|
|
364
|
+
|
|
365
|
+
declare const kCVImageBufferPixelAspectRatioVerticalSpacingKey: interop.Object
|
|
366
|
+
|
|
367
|
+
declare const kCVPixelFormatType_OneComponent8: number
|
|
368
|
+
|
|
369
|
+
declare const kCVPixelFormatType_OneComponent10: number
|
|
370
|
+
|
|
371
|
+
declare const kCVImageBufferPreferredCleanApertureKey: interop.Object
|
|
372
|
+
|
|
373
|
+
declare const kCVPixelFormatType_Lossy_420YpCbCr10PackedBiPlanarVideoRange: number
|
|
374
|
+
|
|
375
|
+
declare const kCVPixelFormatType_420YpCbCr10BiPlanarFullRange: number
|
|
376
|
+
|
|
377
|
+
declare const kCVImageBufferAlphaChannelIsOpaque: interop.Object
|
|
378
|
+
|
|
379
|
+
declare const kCVPixelBufferProResRAWKey_WhiteBalanceRedFactor: interop.Object
|
|
380
|
+
|
|
381
|
+
declare const kCVPixelFormatCGBitmapInfo: interop.Object
|
|
382
|
+
|
|
383
|
+
declare const kCVPixelBufferProResRAWKey_WhiteBalanceBlueFactor: interop.Object
|
|
384
|
+
|
|
385
|
+
declare const kCVImageBufferCleanApertureHeightKey: interop.Object
|
|
386
|
+
|
|
387
|
+
declare const kCVImageBufferCleanApertureKey: interop.Object
|
|
388
|
+
|
|
389
|
+
declare const kCVPixelFormatVerticalSubsampling: interop.Object
|
|
390
|
+
|
|
391
|
+
declare const kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange: number
|
|
392
|
+
|
|
393
|
+
declare const kCVPixelBufferProResRAWKey_RecommendedCrop: interop.Object
|
|
394
|
+
|
|
395
|
+
declare const kCVPixelFormatType_422YpCbCr10BiPlanarVideoRange: number
|
|
396
|
+
|
|
397
|
+
declare const kCVImageBufferFieldDetailTemporalTopFirst: interop.Object
|
|
398
|
+
|
|
399
|
+
declare const kCVPixelBufferProResRAWKey_SenselSitingOffsets: interop.Object
|
|
400
|
+
|
|
401
|
+
declare const kCVImageBufferGammaLevelKey: interop.Object
|
|
402
|
+
|
|
403
|
+
declare const kCVPixelFormatType_444YpCbCr16BiPlanarVideoRange: number
|
|
404
|
+
|
|
405
|
+
declare const kCVImageBufferChromaLocation_Center: interop.Object
|
|
406
|
+
|
|
407
|
+
declare const kCVPixelFormatType_Lossless_422YpCbCr10PackedBiPlanarVideoRange: number
|
|
408
|
+
|
|
409
|
+
declare const kCVPixelBufferIOSurfaceOpenGLFBOCompatibilityKey: interop.Object
|
|
410
|
+
|
|
411
|
+
declare const kCVPixelFormatType_64RGBALE: number
|
|
412
|
+
|
|
413
|
+
declare const kCVPixelFormatType_4444AYpCbCrFloat: number
|
|
414
|
+
|
|
415
|
+
declare const kCVImageBufferTransferFunction_SMPTE_ST_428_1: interop.Object
|
|
416
|
+
|
|
417
|
+
declare const kCVImageBufferTransferFunction_SMPTE_240M_1995: interop.Object
|
|
418
|
+
|
|
419
|
+
declare const kCVImageBufferTransferFunction_UseGamma: interop.Object
|
|
420
|
+
|
|
421
|
+
declare const kCVPixelBufferIOSurfaceCoreAnimationCompatibilityKey: interop.Object
|
|
422
|
+
|
|
423
|
+
declare const kCVImageBufferDisplayHeightKey: interop.Object
|
|
424
|
+
|
|
425
|
+
declare const kCVPixelBufferCGBitmapContextCompatibilityKey: interop.Object
|
|
426
|
+
|
|
427
|
+
declare const kCVPixelFormatOpenGLFormat: interop.Object
|
|
428
|
+
|
|
429
|
+
declare const kCVPixelBufferPlaneAlignmentKey: interop.Object
|
|
430
|
+
|
|
431
|
+
declare const kCVPixelFormatType_40ARGBLEWideGamut: number
|
|
432
|
+
|
|
433
|
+
declare const kCVPixelFormatType_48RGB: number
|
|
434
|
+
|
|
435
|
+
declare const kCVPixelBufferCGImageCompatibilityKey: interop.Object
|
|
436
|
+
|
|
437
|
+
declare const kCVPixelFormatType_422YpCbCr8_yuvs: number
|
|
438
|
+
|
|
439
|
+
declare const kCVPixelFormatType_Lossy_420YpCbCr8BiPlanarVideoRange: number
|
|
440
|
+
|
|
441
|
+
declare const kCVImageBufferChromaLocation_Left: interop.Object
|
|
442
|
+
|
|
443
|
+
declare const kCVImageBufferChromaLocation_Top: interop.Object
|
|
444
|
+
|
|
445
|
+
declare const kCVPixelFormatBlockWidth: interop.Object
|
|
446
|
+
|
|
447
|
+
declare const kCVImageBufferTransferFunctionKey: interop.Object
|
|
448
|
+
|
|
449
|
+
declare const kCVImageBufferCGColorSpaceKey: interop.Object
|
|
450
|
+
|
|
451
|
+
declare const kCVPixelBufferPoolMinimumBufferCountKey: interop.Object
|
|
452
|
+
|
|
453
|
+
declare const kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange: number
|
|
454
|
+
|
|
455
|
+
declare const kCVReturnSuccess: number
|
|
456
|
+
|
|
457
|
+
declare const kCVReturnDisplayLinkCallbacksNotSet: number
|
|
458
|
+
|
|
459
|
+
declare const kCVPixelFormatPlanes: interop.Object
|
|
460
|
+
|
|
461
|
+
declare const kCVPixelFormatType_64ARGB: number
|
|
462
|
+
|
|
463
|
+
declare const kCVOpenGLBufferPoolMinimumBufferCountKey: interop.Object
|
|
464
|
+
|
|
465
|
+
declare const kCVPixelFormatType_128RGBAFloat: number
|
|
466
|
+
|
|
467
|
+
declare const kCVPixelBufferPixelFormatTypeKey: interop.Object
|
|
468
|
+
|
|
469
|
+
declare const kCVPixelFormatType_OneComponent16: number
|
|
470
|
+
|
|
471
|
+
declare const kCVPixelFormatType_422YpCbCr10BiPlanarFullRange: number
|
|
472
|
+
|
|
473
|
+
declare const kCVImageBufferAlphaChannelMode_StraightAlpha: interop.Object
|
|
474
|
+
|
|
475
|
+
declare const kCVPixelFormatBlockVerticalAlignment: interop.Object
|
|
476
|
+
|
|
477
|
+
declare const kCVImageBufferChromaSubsampling_422: interop.Object
|
|
478
|
+
|
|
479
|
+
declare const kCVPixelFormatType_422YpCbCr8: number
|
|
480
|
+
|
|
481
|
+
declare const kCVPixelFormatType_TwoComponent8: number
|
|
482
|
+
|
|
483
|
+
declare const kCVImageBufferTransferFunction_sRGB: interop.Object
|
|
484
|
+
|
|
485
|
+
declare const kCVPixelFormatName: interop.Object
|
|
486
|
+
|
|
487
|
+
declare const kCVImageBufferCleanApertureVerticalOffsetKey: interop.Object
|
|
488
|
+
|
|
489
|
+
declare const kCVImageBufferDisplayDimensionsKey: interop.Object
|
|
490
|
+
|
|
491
|
+
declare const kCVPixelFormatQDCompatibility: interop.Object
|
|
492
|
+
|
|
493
|
+
declare const kCVPixelBufferExtendedPixelsLeftKey: interop.Object
|
|
494
|
+
|
|
495
|
+
declare const kCVImageBufferYCbCrMatrix_SMPTE_240M_1995: interop.Object
|
|
496
|
+
|
|
497
|
+
declare const kCVVersatileBayer_BayerPattern_BGGR: number
|
|
498
|
+
|
|
499
|
+
declare const kCVPixelFormatComponentRange: interop.Object
|
|
500
|
+
|
|
501
|
+
declare const kCVPixelFormatType_Lossless_30RGBLE_8A_BiPlanar: number
|
|
502
|
+
|
|
503
|
+
declare const kCVPixelFormatType_TwoComponent16Half: number
|
|
504
|
+
|
|
505
|
+
declare const kCVPixelFormatType_Lossless_32BGRA: number
|
|
506
|
+
|
|
507
|
+
declare const kCVImageBufferPixelAspectRatioHorizontalSpacingKey: interop.Object
|
|
508
|
+
|
|
509
|
+
declare const kCVImageBufferTransferFunction_ITU_R_2100_HLG: interop.Object
|
|
510
|
+
|
|
511
|
+
declare const kCVImageBufferYCbCrMatrix_ITU_R_709_2: interop.Object
|
|
512
|
+
|
|
513
|
+
declare const kCVPixelFormatOpenGLType: interop.Object
|
|
514
|
+
|
|
515
|
+
declare const kCVPixelFormatType_DisparityFloat32: number
|
|
516
|
+
|
|
517
|
+
declare const kCVPixelFormatType_4Indexed: number
|
|
518
|
+
|
|
519
|
+
declare const kCVPixelFormatType_422YpCbCr16BiPlanarVideoRange: number
|
|
520
|
+
|
|
521
|
+
declare const kCVPixelFormatType_16Gray: number
|
|
522
|
+
|
|
523
|
+
declare const kCVPixelFormatType_Lossy_422YpCbCr10PackedBiPlanarVideoRange: number
|
|
524
|
+
|
|
525
|
+
declare const kCVImageBufferYCbCrMatrix_ITU_R_601_4: interop.Object
|
|
526
|
+
|
|
527
|
+
declare const kCVImageBufferColorPrimaries_P3_D65: interop.Object
|
|
528
|
+
|
|
529
|
+
declare const kCVPixelFormatCGBitmapContextCompatibility: interop.Object
|
|
530
|
+
|
|
531
|
+
declare const kCVPixelBufferExtendedPixelsTopKey: interop.Object
|
|
532
|
+
|
|
533
|
+
declare const kCVReturnWouldExceedAllocationThreshold: number
|
|
534
|
+
|
|
535
|
+
declare const kCVZeroTime: CVTime
|
|
536
|
+
|
|
537
|
+
declare const kCVImageBufferChromaSubsampling_411: interop.Object
|
|
538
|
+
|
|
539
|
+
declare const kCVImageBufferYCbCrMatrixKey: interop.Object
|
|
540
|
+
|
|
541
|
+
declare const kCVBufferTimeValueKey: interop.Object
|
|
542
|
+
|
|
543
|
+
declare const kCVImageBufferTransferFunction_ITU_R_709_2: interop.Object
|
|
544
|
+
|
|
545
|
+
declare const kCVPixelBufferMetalCompatibilityKey: interop.Object
|
|
546
|
+
|
|
547
|
+
declare const kCVPixelFormatType_422YpCbCr8BiPlanarFullRange: number
|
|
548
|
+
|
|
549
|
+
declare const kCVPixelFormatFourCC: interop.Object
|
|
550
|
+
|
|
551
|
+
declare const CVAttachmentMode: {
|
|
552
|
+
Not: 0
|
|
553
|
+
kCVAttachmentMode_ShouldPropagate: 1
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
declare const CVSMPTETimeType: {
|
|
557
|
+
Type24: 0
|
|
558
|
+
Type25: 1
|
|
559
|
+
Type30Drop: 2
|
|
560
|
+
Type30: 3
|
|
561
|
+
Type2997: 4
|
|
562
|
+
Type2997Drop: 5
|
|
563
|
+
Type60: 6
|
|
564
|
+
Type5994: 7
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
declare const CVPixelBufferPoolFlushFlags: {
|
|
568
|
+
kCVPixelBufferPoolFlushExcessBuffers: 1
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
declare const CVTimeStampFlags: {
|
|
572
|
+
VideoTimeValid: 1
|
|
573
|
+
HostTimeValid: 2
|
|
574
|
+
SMPTETimeValid: 4
|
|
575
|
+
VideoRefreshPeriodValid: 8
|
|
576
|
+
RateScalarValid: 16
|
|
577
|
+
TopField: 65536
|
|
578
|
+
BottomField: 131072
|
|
579
|
+
VideoHostTimeValid: 3
|
|
580
|
+
IsInterlaced: 196608
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
declare const CVTimeFlags: {
|
|
584
|
+
kCVTimeIsIndefinite: 1
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
declare const CVSMPTETimeFlags: {
|
|
588
|
+
Valid: 1
|
|
589
|
+
Running: 2
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
declare const CVPixelBufferLockFlags: {
|
|
593
|
+
kCVPixelBufferLock_ReadOnly: 1
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
declare class __CVDisplayLink {
|
|
597
|
+
constructor(init?: __CVDisplayLink)
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
declare class CVTimeStamp {
|
|
601
|
+
constructor(init?: CVTimeStamp)
|
|
602
|
+
version: number
|
|
603
|
+
videoTimeScale: number
|
|
604
|
+
videoTime: number
|
|
605
|
+
hostTime: number
|
|
606
|
+
rateScalar: number
|
|
607
|
+
videoRefreshPeriod: number
|
|
608
|
+
smpteTime: CVSMPTETime
|
|
609
|
+
flags: number
|
|
610
|
+
reserved: number
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
declare class CVPlanarPixelBufferInfo_YCbCrBiPlanar {
|
|
614
|
+
constructor(init?: CVPlanarPixelBufferInfo_YCbCrBiPlanar)
|
|
615
|
+
componentInfoY: CVPlanarComponentInfo
|
|
616
|
+
componentInfoCbCr: CVPlanarComponentInfo
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
declare class __CVMetalBufferCache {
|
|
620
|
+
constructor(init?: __CVMetalBufferCache)
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
declare class __CVMetalTextureCache {
|
|
624
|
+
constructor(init?: __CVMetalTextureCache)
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
declare class __CVOpenGLTextureCache {
|
|
628
|
+
constructor(init?: __CVOpenGLTextureCache)
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
declare class __CVPixelBufferPool {
|
|
632
|
+
constructor(init?: __CVPixelBufferPool)
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
declare class CVPlanarPixelBufferInfo_YCbCrPlanar {
|
|
636
|
+
constructor(init?: CVPlanarPixelBufferInfo_YCbCrPlanar)
|
|
637
|
+
componentInfoY: CVPlanarComponentInfo
|
|
638
|
+
componentInfoCb: CVPlanarComponentInfo
|
|
639
|
+
componentInfoCr: CVPlanarComponentInfo
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
declare class __CVBuffer {
|
|
643
|
+
constructor(init?: __CVBuffer)
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
declare class CVTime {
|
|
647
|
+
constructor(init?: CVTime)
|
|
648
|
+
timeValue: number
|
|
649
|
+
timeScale: number
|
|
650
|
+
flags: number
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
declare class CVSMPTETime {
|
|
654
|
+
constructor(init?: CVSMPTETime)
|
|
655
|
+
subframes: number
|
|
656
|
+
subframeDivisor: number
|
|
657
|
+
counter: number
|
|
658
|
+
type: number
|
|
659
|
+
flags: number
|
|
660
|
+
hours: number
|
|
661
|
+
minutes: number
|
|
662
|
+
seconds: number
|
|
663
|
+
frames: number
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
declare class CVPlanarPixelBufferInfo {
|
|
667
|
+
constructor(init?: CVPlanarPixelBufferInfo)
|
|
668
|
+
componentInfo: unknown /* const array */
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
declare class CVPlanarComponentInfo {
|
|
672
|
+
constructor(init?: CVPlanarComponentInfo)
|
|
673
|
+
offset: number
|
|
674
|
+
rowBytes: number
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
declare class __CVOpenGLBufferPool {
|
|
678
|
+
constructor(init?: __CVOpenGLBufferPool)
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
declare class CVFillExtendedPixelsCallBackData {
|
|
682
|
+
constructor(init?: CVFillExtendedPixelsCallBackData)
|
|
683
|
+
version: number
|
|
684
|
+
fillCallBack: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => number | null
|
|
685
|
+
refCon: interop.Pointer
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
declare function CVGetCurrentHostTime(): number
|
|
689
|
+
|
|
690
|
+
declare function CVGetHostClockFrequency(): number
|
|
691
|
+
|
|
692
|
+
declare function CVGetHostClockMinimumTimeDelta(): number
|
|
693
|
+
|
|
694
|
+
declare function CVDisplayLinkGetTypeID(): number
|
|
695
|
+
|
|
696
|
+
declare function CVDisplayLinkCreateWithCGDisplays(
|
|
697
|
+
displayArray: interop.PointerConvertible,
|
|
698
|
+
count: number,
|
|
699
|
+
displayLinkOut: interop.PointerConvertible,
|
|
700
|
+
): number
|
|
701
|
+
|
|
702
|
+
declare function CVDisplayLinkCreateWithOpenGLDisplayMask(
|
|
703
|
+
mask: number,
|
|
704
|
+
displayLinkOut: interop.PointerConvertible,
|
|
705
|
+
): number
|
|
706
|
+
|
|
707
|
+
declare function CVDisplayLinkCreateWithCGDisplay(
|
|
708
|
+
displayID: number,
|
|
709
|
+
displayLinkOut: interop.PointerConvertible,
|
|
710
|
+
): number
|
|
711
|
+
|
|
712
|
+
declare function CVDisplayLinkCreateWithActiveCGDisplays(
|
|
713
|
+
displayLinkOut: interop.PointerConvertible,
|
|
714
|
+
): number
|
|
715
|
+
|
|
716
|
+
declare function CVDisplayLinkSetCurrentCGDisplay(
|
|
717
|
+
displayLink: interop.Object,
|
|
718
|
+
displayID: number,
|
|
719
|
+
): number
|
|
720
|
+
|
|
721
|
+
declare function CVDisplayLinkSetCurrentCGDisplayFromOpenGLContext(
|
|
722
|
+
displayLink: interop.Object,
|
|
723
|
+
cglContext: interop.PointerConvertible,
|
|
724
|
+
cglPixelFormat: interop.PointerConvertible,
|
|
725
|
+
): number
|
|
726
|
+
|
|
727
|
+
declare function CVDisplayLinkGetCurrentCGDisplay(displayLink: interop.Object): number
|
|
728
|
+
|
|
729
|
+
declare function CVDisplayLinkSetOutputCallback(
|
|
730
|
+
displayLink: interop.Object,
|
|
731
|
+
callback: (
|
|
732
|
+
p1: interop.PointerConvertible,
|
|
733
|
+
p2: interop.PointerConvertible,
|
|
734
|
+
p3: interop.PointerConvertible,
|
|
735
|
+
p4: number,
|
|
736
|
+
p5: interop.PointerConvertible,
|
|
737
|
+
p6: interop.PointerConvertible,
|
|
738
|
+
) => number,
|
|
739
|
+
userInfo: interop.PointerConvertible,
|
|
740
|
+
): number
|
|
741
|
+
|
|
742
|
+
declare function CVDisplayLinkSetOutputHandler(
|
|
743
|
+
displayLink: interop.Object,
|
|
744
|
+
handler: (
|
|
745
|
+
p1: interop.PointerConvertible,
|
|
746
|
+
p2: interop.PointerConvertible,
|
|
747
|
+
p3: interop.PointerConvertible,
|
|
748
|
+
p4: number,
|
|
749
|
+
p5: interop.PointerConvertible,
|
|
750
|
+
) => number,
|
|
751
|
+
): number
|
|
752
|
+
|
|
753
|
+
declare function CVDisplayLinkStart(displayLink: interop.Object): number
|
|
754
|
+
|
|
755
|
+
declare function CVDisplayLinkStop(displayLink: interop.Object): number
|
|
756
|
+
|
|
757
|
+
declare function CVDisplayLinkGetNominalOutputVideoRefreshPeriod(
|
|
758
|
+
displayLink: interop.Object,
|
|
759
|
+
): CVTime
|
|
760
|
+
|
|
761
|
+
declare function CVDisplayLinkGetOutputVideoLatency(displayLink: interop.Object): CVTime
|
|
762
|
+
|
|
763
|
+
declare function CVDisplayLinkGetActualOutputVideoRefreshPeriod(displayLink: interop.Object): number
|
|
764
|
+
|
|
765
|
+
declare function CVDisplayLinkIsRunning(displayLink: interop.Object): number
|
|
766
|
+
|
|
767
|
+
declare function CVDisplayLinkGetCurrentTime(
|
|
768
|
+
displayLink: interop.Object,
|
|
769
|
+
outTime: interop.PointerConvertible,
|
|
770
|
+
): number
|
|
771
|
+
|
|
772
|
+
declare function CVDisplayLinkTranslateTime(
|
|
773
|
+
displayLink: interop.Object,
|
|
774
|
+
inTime: interop.PointerConvertible,
|
|
775
|
+
outTime: interop.PointerConvertible,
|
|
776
|
+
): number
|
|
777
|
+
|
|
778
|
+
declare function CVDisplayLinkRetain(displayLink: interop.Object): interop.Object
|
|
779
|
+
|
|
780
|
+
declare function CVDisplayLinkRelease(displayLink: interop.Object): void
|
|
781
|
+
|
|
782
|
+
declare function CVBufferRetain(buffer: interop.Object): interop.Object
|
|
783
|
+
|
|
784
|
+
declare function CVBufferRelease(buffer: interop.Object): void
|
|
785
|
+
|
|
786
|
+
declare function CVBufferSetAttachment(
|
|
787
|
+
buffer: interop.Object,
|
|
788
|
+
key: interop.Object,
|
|
789
|
+
value: interop.Object,
|
|
790
|
+
attachmentMode: interop.Enum<typeof CVAttachmentMode>,
|
|
791
|
+
): void
|
|
792
|
+
|
|
793
|
+
declare function CVBufferGetAttachment(
|
|
794
|
+
buffer: interop.Object,
|
|
795
|
+
key: interop.Object,
|
|
796
|
+
attachmentMode: interop.PointerConvertible,
|
|
797
|
+
): interop.Object
|
|
798
|
+
|
|
799
|
+
declare function CVBufferRemoveAttachment(buffer: interop.Object, key: interop.Object): void
|
|
800
|
+
|
|
801
|
+
declare function CVBufferRemoveAllAttachments(buffer: interop.Object): void
|
|
802
|
+
|
|
803
|
+
declare function CVBufferGetAttachments(
|
|
804
|
+
buffer: interop.Object,
|
|
805
|
+
attachmentMode: interop.Enum<typeof CVAttachmentMode>,
|
|
806
|
+
): interop.Object
|
|
807
|
+
|
|
808
|
+
declare function CVBufferSetAttachments(
|
|
809
|
+
buffer: interop.Object,
|
|
810
|
+
theAttachments: interop.Object,
|
|
811
|
+
attachmentMode: interop.Enum<typeof CVAttachmentMode>,
|
|
812
|
+
): void
|
|
813
|
+
|
|
814
|
+
declare function CVBufferPropagateAttachments(
|
|
815
|
+
sourceBuffer: interop.Object,
|
|
816
|
+
destinationBuffer: interop.Object,
|
|
817
|
+
): void
|
|
818
|
+
|
|
819
|
+
declare function CVYCbCrMatrixGetIntegerCodePointForString(
|
|
820
|
+
yCbCrMatrixString: interop.Object,
|
|
821
|
+
): number
|
|
822
|
+
|
|
823
|
+
declare function CVColorPrimariesGetIntegerCodePointForString(
|
|
824
|
+
colorPrimariesString: interop.Object,
|
|
825
|
+
): number
|
|
826
|
+
|
|
827
|
+
declare function CVTransferFunctionGetIntegerCodePointForString(
|
|
828
|
+
transferFunctionString: interop.Object,
|
|
829
|
+
): number
|
|
830
|
+
|
|
831
|
+
declare function CVYCbCrMatrixGetStringForIntegerCodePoint(
|
|
832
|
+
yCbCrMatrixCodePoint: number,
|
|
833
|
+
): interop.Object
|
|
834
|
+
|
|
835
|
+
declare function CVColorPrimariesGetStringForIntegerCodePoint(
|
|
836
|
+
colorPrimariesCodePoint: number,
|
|
837
|
+
): interop.Object
|
|
838
|
+
|
|
839
|
+
declare function CVTransferFunctionGetStringForIntegerCodePoint(
|
|
840
|
+
transferFunctionCodePoint: number,
|
|
841
|
+
): interop.Object
|
|
842
|
+
|
|
843
|
+
declare function CVImageBufferGetEncodedSize(imageBuffer: interop.Object): CGSize
|
|
844
|
+
|
|
845
|
+
declare function CVImageBufferGetDisplaySize(imageBuffer: interop.Object): CGSize
|
|
846
|
+
|
|
847
|
+
declare function CVImageBufferGetCleanRect(imageBuffer: interop.Object): CGRect
|
|
848
|
+
|
|
849
|
+
declare function CVImageBufferIsFlipped(imageBuffer: interop.Object): number
|
|
850
|
+
|
|
851
|
+
declare function CVImageBufferGetColorSpace(imageBuffer: interop.Object): interop.Object
|
|
852
|
+
|
|
853
|
+
declare function CVImageBufferCreateColorSpaceFromAttachments(
|
|
854
|
+
attachments: interop.Object,
|
|
855
|
+
): interop.Object
|
|
856
|
+
|
|
857
|
+
declare function CVPixelBufferGetTypeID(): number
|
|
858
|
+
|
|
859
|
+
declare function CVPixelBufferRetain(texture: interop.Object): interop.Object
|
|
860
|
+
|
|
861
|
+
declare function CVPixelBufferRelease(texture: interop.Object): void
|
|
862
|
+
|
|
863
|
+
declare function CVPixelBufferCreateResolvedAttributesDictionary(
|
|
864
|
+
allocator: interop.Object,
|
|
865
|
+
attributes: interop.Object,
|
|
866
|
+
resolvedDictionaryOut: interop.PointerConvertible,
|
|
867
|
+
): number
|
|
868
|
+
|
|
869
|
+
declare function CVPixelBufferCreate(
|
|
870
|
+
allocator: interop.Object,
|
|
871
|
+
width: number,
|
|
872
|
+
height: number,
|
|
873
|
+
pixelFormatType: number,
|
|
874
|
+
pixelBufferAttributes: interop.Object,
|
|
875
|
+
pixelBufferOut: interop.PointerConvertible,
|
|
876
|
+
): number
|
|
877
|
+
|
|
878
|
+
declare function CVPixelBufferCreateWithBytes(
|
|
879
|
+
allocator: interop.Object,
|
|
880
|
+
width: number,
|
|
881
|
+
height: number,
|
|
882
|
+
pixelFormatType: number,
|
|
883
|
+
baseAddress: interop.PointerConvertible,
|
|
884
|
+
bytesPerRow: number,
|
|
885
|
+
releaseCallback: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => void,
|
|
886
|
+
releaseRefCon: interop.PointerConvertible,
|
|
887
|
+
pixelBufferAttributes: interop.Object,
|
|
888
|
+
pixelBufferOut: interop.PointerConvertible,
|
|
889
|
+
): number
|
|
890
|
+
|
|
891
|
+
declare function CVPixelBufferCreateWithPlanarBytes(
|
|
892
|
+
allocator: interop.Object,
|
|
893
|
+
width: number,
|
|
894
|
+
height: number,
|
|
895
|
+
pixelFormatType: number,
|
|
896
|
+
dataPtr: interop.PointerConvertible,
|
|
897
|
+
dataSize: number,
|
|
898
|
+
numberOfPlanes: number,
|
|
899
|
+
planeBaseAddress: interop.PointerConvertible,
|
|
900
|
+
planeWidth: interop.PointerConvertible,
|
|
901
|
+
planeHeight: interop.PointerConvertible,
|
|
902
|
+
planeBytesPerRow: interop.PointerConvertible,
|
|
903
|
+
releaseCallback: (
|
|
904
|
+
p1: interop.PointerConvertible,
|
|
905
|
+
p2: interop.PointerConvertible,
|
|
906
|
+
p3: number,
|
|
907
|
+
p4: number,
|
|
908
|
+
p5: interop.PointerConvertible,
|
|
909
|
+
) => void,
|
|
910
|
+
releaseRefCon: interop.PointerConvertible,
|
|
911
|
+
pixelBufferAttributes: interop.Object,
|
|
912
|
+
pixelBufferOut: interop.PointerConvertible,
|
|
913
|
+
): number
|
|
914
|
+
|
|
915
|
+
declare function CVPixelBufferLockBaseAddress(
|
|
916
|
+
pixelBuffer: interop.Object,
|
|
917
|
+
lockFlags: interop.Enum<typeof CVPixelBufferLockFlags>,
|
|
918
|
+
): number
|
|
919
|
+
|
|
920
|
+
declare function CVPixelBufferUnlockBaseAddress(
|
|
921
|
+
pixelBuffer: interop.Object,
|
|
922
|
+
unlockFlags: interop.Enum<typeof CVPixelBufferLockFlags>,
|
|
923
|
+
): number
|
|
924
|
+
|
|
925
|
+
declare function CVPixelBufferGetWidth(pixelBuffer: interop.Object): number
|
|
926
|
+
|
|
927
|
+
declare function CVPixelBufferGetHeight(pixelBuffer: interop.Object): number
|
|
928
|
+
|
|
929
|
+
declare function CVPixelBufferGetPixelFormatType(pixelBuffer: interop.Object): number
|
|
930
|
+
|
|
931
|
+
declare function CVPixelBufferGetBaseAddress(pixelBuffer: interop.Object): interop.Pointer
|
|
932
|
+
|
|
933
|
+
declare function CVPixelBufferGetBytesPerRow(pixelBuffer: interop.Object): number
|
|
934
|
+
|
|
935
|
+
declare function CVPixelBufferGetDataSize(pixelBuffer: interop.Object): number
|
|
936
|
+
|
|
937
|
+
declare function CVPixelBufferIsPlanar(pixelBuffer: interop.Object): number
|
|
938
|
+
|
|
939
|
+
declare function CVPixelBufferGetPlaneCount(pixelBuffer: interop.Object): number
|
|
940
|
+
|
|
941
|
+
declare function CVPixelBufferGetWidthOfPlane(
|
|
942
|
+
pixelBuffer: interop.Object,
|
|
943
|
+
planeIndex: number,
|
|
944
|
+
): number
|
|
945
|
+
|
|
946
|
+
declare function CVPixelBufferGetHeightOfPlane(
|
|
947
|
+
pixelBuffer: interop.Object,
|
|
948
|
+
planeIndex: number,
|
|
949
|
+
): number
|
|
950
|
+
|
|
951
|
+
declare function CVPixelBufferGetBaseAddressOfPlane(
|
|
952
|
+
pixelBuffer: interop.Object,
|
|
953
|
+
planeIndex: number,
|
|
954
|
+
): interop.Pointer
|
|
955
|
+
|
|
956
|
+
declare function CVPixelBufferGetBytesPerRowOfPlane(
|
|
957
|
+
pixelBuffer: interop.Object,
|
|
958
|
+
planeIndex: number,
|
|
959
|
+
): number
|
|
960
|
+
|
|
961
|
+
declare function CVPixelBufferGetExtendedPixels(
|
|
962
|
+
pixelBuffer: interop.Object,
|
|
963
|
+
extraColumnsOnLeft: interop.PointerConvertible,
|
|
964
|
+
extraColumnsOnRight: interop.PointerConvertible,
|
|
965
|
+
extraRowsOnTop: interop.PointerConvertible,
|
|
966
|
+
extraRowsOnBottom: interop.PointerConvertible,
|
|
967
|
+
): void
|
|
968
|
+
|
|
969
|
+
declare function CVPixelBufferFillExtendedPixels(pixelBuffer: interop.Object): number
|
|
970
|
+
|
|
971
|
+
declare function CVPixelBufferIsCompatibleWithAttributes(
|
|
972
|
+
pixelBuffer: interop.Object,
|
|
973
|
+
attributes: interop.Object,
|
|
974
|
+
): number
|
|
975
|
+
|
|
976
|
+
declare function CVPixelBufferGetIOSurface(pixelBuffer: interop.Object): interop.Object
|
|
977
|
+
|
|
978
|
+
declare function CVPixelBufferCreateWithIOSurface(
|
|
979
|
+
allocator: interop.Object,
|
|
980
|
+
surface: interop.Object,
|
|
981
|
+
pixelBufferAttributes: interop.Object,
|
|
982
|
+
pixelBufferOut: interop.PointerConvertible,
|
|
983
|
+
): number
|
|
984
|
+
|
|
985
|
+
declare function CVPixelBufferPoolGetTypeID(): number
|
|
986
|
+
|
|
987
|
+
declare function CVPixelBufferPoolRetain(pixelBufferPool: interop.Object): interop.Object
|
|
988
|
+
|
|
989
|
+
declare function CVPixelBufferPoolRelease(pixelBufferPool: interop.Object): void
|
|
990
|
+
|
|
991
|
+
declare function CVPixelBufferPoolCreate(
|
|
992
|
+
allocator: interop.Object,
|
|
993
|
+
poolAttributes: interop.Object,
|
|
994
|
+
pixelBufferAttributes: interop.Object,
|
|
995
|
+
poolOut: interop.PointerConvertible,
|
|
996
|
+
): number
|
|
997
|
+
|
|
998
|
+
declare function CVPixelBufferPoolGetAttributes(pool: interop.Object): interop.Object
|
|
999
|
+
|
|
1000
|
+
declare function CVPixelBufferPoolGetPixelBufferAttributes(pool: interop.Object): interop.Object
|
|
1001
|
+
|
|
1002
|
+
declare function CVPixelBufferPoolCreatePixelBuffer(
|
|
1003
|
+
allocator: interop.Object,
|
|
1004
|
+
pixelBufferPool: interop.Object,
|
|
1005
|
+
pixelBufferOut: interop.PointerConvertible,
|
|
1006
|
+
): number
|
|
1007
|
+
|
|
1008
|
+
declare function CVPixelBufferPoolCreatePixelBufferWithAuxAttributes(
|
|
1009
|
+
allocator: interop.Object,
|
|
1010
|
+
pixelBufferPool: interop.Object,
|
|
1011
|
+
auxAttributes: interop.Object,
|
|
1012
|
+
pixelBufferOut: interop.PointerConvertible,
|
|
1013
|
+
): number
|
|
1014
|
+
|
|
1015
|
+
declare function CVPixelBufferPoolFlush(
|
|
1016
|
+
pool: interop.Object,
|
|
1017
|
+
options: interop.Enum<typeof CVPixelBufferPoolFlushFlags>,
|
|
1018
|
+
): void
|
|
1019
|
+
|
|
1020
|
+
declare function CVOpenGLBufferGetTypeID(): number
|
|
1021
|
+
|
|
1022
|
+
declare function CVOpenGLBufferRetain(buffer: interop.Object): interop.Object
|
|
1023
|
+
|
|
1024
|
+
declare function CVOpenGLBufferRelease(buffer: interop.Object): void
|
|
1025
|
+
|
|
1026
|
+
declare function CVOpenGLBufferCreate(
|
|
1027
|
+
allocator: interop.Object,
|
|
1028
|
+
width: number,
|
|
1029
|
+
height: number,
|
|
1030
|
+
attributes: interop.Object,
|
|
1031
|
+
bufferOut: interop.PointerConvertible,
|
|
1032
|
+
): number
|
|
1033
|
+
|
|
1034
|
+
declare function CVOpenGLBufferGetAttributes(openGLBuffer: interop.Object): interop.Object
|
|
1035
|
+
|
|
1036
|
+
declare function CVOpenGLBufferAttach(
|
|
1037
|
+
openGLBuffer: interop.Object,
|
|
1038
|
+
cglContext: interop.PointerConvertible,
|
|
1039
|
+
face: number,
|
|
1040
|
+
level: number,
|
|
1041
|
+
screen: number,
|
|
1042
|
+
): number
|
|
1043
|
+
|
|
1044
|
+
declare function CVOpenGLBufferPoolGetTypeID(): number
|
|
1045
|
+
|
|
1046
|
+
declare function CVOpenGLBufferPoolRetain(openGLBufferPool: interop.Object): interop.Object
|
|
1047
|
+
|
|
1048
|
+
declare function CVOpenGLBufferPoolRelease(openGLBufferPool: interop.Object): void
|
|
1049
|
+
|
|
1050
|
+
declare function CVOpenGLBufferPoolCreate(
|
|
1051
|
+
allocator: interop.Object,
|
|
1052
|
+
poolAttributes: interop.Object,
|
|
1053
|
+
openGLBufferAttributes: interop.Object,
|
|
1054
|
+
poolOut: interop.PointerConvertible,
|
|
1055
|
+
): number
|
|
1056
|
+
|
|
1057
|
+
declare function CVOpenGLBufferPoolGetAttributes(pool: interop.Object): interop.Object
|
|
1058
|
+
|
|
1059
|
+
declare function CVOpenGLBufferPoolGetOpenGLBufferAttributes(pool: interop.Object): interop.Object
|
|
1060
|
+
|
|
1061
|
+
declare function CVOpenGLBufferPoolCreateOpenGLBuffer(
|
|
1062
|
+
allocator: interop.Object,
|
|
1063
|
+
openGLBufferPool: interop.Object,
|
|
1064
|
+
openGLBufferOut: interop.PointerConvertible,
|
|
1065
|
+
): number
|
|
1066
|
+
|
|
1067
|
+
declare function CVOpenGLTextureGetTypeID(): number
|
|
1068
|
+
|
|
1069
|
+
declare function CVOpenGLTextureRetain(texture: interop.Object): interop.Object
|
|
1070
|
+
|
|
1071
|
+
declare function CVOpenGLTextureRelease(texture: interop.Object): void
|
|
1072
|
+
|
|
1073
|
+
declare function CVOpenGLTextureGetTarget(image: interop.Object): number
|
|
1074
|
+
|
|
1075
|
+
declare function CVOpenGLTextureGetName(image: interop.Object): number
|
|
1076
|
+
|
|
1077
|
+
declare function CVOpenGLTextureIsFlipped(image: interop.Object): number
|
|
1078
|
+
|
|
1079
|
+
declare function CVOpenGLTextureGetCleanTexCoords(
|
|
1080
|
+
image: interop.Object,
|
|
1081
|
+
lowerLeft: interop.PointerConvertible,
|
|
1082
|
+
lowerRight: interop.PointerConvertible,
|
|
1083
|
+
upperRight: interop.PointerConvertible,
|
|
1084
|
+
upperLeft: interop.PointerConvertible,
|
|
1085
|
+
): void
|
|
1086
|
+
|
|
1087
|
+
declare function CVOpenGLTextureCacheGetTypeID(): number
|
|
1088
|
+
|
|
1089
|
+
declare function CVOpenGLTextureCacheRetain(textureCache: interop.Object): interop.Object
|
|
1090
|
+
|
|
1091
|
+
declare function CVOpenGLTextureCacheRelease(textureCache: interop.Object): void
|
|
1092
|
+
|
|
1093
|
+
declare function CVOpenGLTextureCacheCreate(
|
|
1094
|
+
allocator: interop.Object,
|
|
1095
|
+
cacheAttributes: interop.Object,
|
|
1096
|
+
cglContext: interop.PointerConvertible,
|
|
1097
|
+
cglPixelFormat: interop.PointerConvertible,
|
|
1098
|
+
textureAttributes: interop.Object,
|
|
1099
|
+
cacheOut: interop.PointerConvertible,
|
|
1100
|
+
): number
|
|
1101
|
+
|
|
1102
|
+
declare function CVOpenGLTextureCacheCreateTextureFromImage(
|
|
1103
|
+
allocator: interop.Object,
|
|
1104
|
+
textureCache: interop.Object,
|
|
1105
|
+
sourceImage: interop.Object,
|
|
1106
|
+
attributes: interop.Object,
|
|
1107
|
+
textureOut: interop.PointerConvertible,
|
|
1108
|
+
): number
|
|
1109
|
+
|
|
1110
|
+
declare function CVOpenGLTextureCacheFlush(textureCache: interop.Object, options: number): void
|
|
1111
|
+
|
|
1112
|
+
declare function CVPixelFormatDescriptionCreateWithPixelFormatType(
|
|
1113
|
+
allocator: interop.Object,
|
|
1114
|
+
pixelFormat: number,
|
|
1115
|
+
): interop.Object
|
|
1116
|
+
|
|
1117
|
+
declare function CVPixelFormatDescriptionArrayCreateWithAllPixelFormatTypes(
|
|
1118
|
+
allocator: interop.Object,
|
|
1119
|
+
): interop.Object
|
|
1120
|
+
|
|
1121
|
+
declare function CVPixelFormatDescriptionRegisterDescriptionWithPixelFormatType(
|
|
1122
|
+
description: interop.Object,
|
|
1123
|
+
pixelFormat: number,
|
|
1124
|
+
): void
|
|
1125
|
+
|
|
1126
|
+
declare function CVMetalTextureGetTypeID(): number
|
|
1127
|
+
|
|
1128
|
+
declare function CVMetalTextureGetTexture(image: interop.Object): MTLTexture
|
|
1129
|
+
|
|
1130
|
+
declare function CVMetalTextureIsFlipped(image: interop.Object): number
|
|
1131
|
+
|
|
1132
|
+
declare function CVMetalTextureGetCleanTexCoords(
|
|
1133
|
+
image: interop.Object,
|
|
1134
|
+
lowerLeft: interop.PointerConvertible,
|
|
1135
|
+
lowerRight: interop.PointerConvertible,
|
|
1136
|
+
upperRight: interop.PointerConvertible,
|
|
1137
|
+
upperLeft: interop.PointerConvertible,
|
|
1138
|
+
): void
|
|
1139
|
+
|
|
1140
|
+
declare function CVMetalTextureCacheGetTypeID(): number
|
|
1141
|
+
|
|
1142
|
+
declare function CVMetalTextureCacheCreate(
|
|
1143
|
+
allocator: interop.Object,
|
|
1144
|
+
cacheAttributes: interop.Object,
|
|
1145
|
+
metalDevice: MTLDevice,
|
|
1146
|
+
textureAttributes: interop.Object,
|
|
1147
|
+
cacheOut: interop.PointerConvertible,
|
|
1148
|
+
): number
|
|
1149
|
+
|
|
1150
|
+
declare function CVMetalTextureCacheCreateTextureFromImage(
|
|
1151
|
+
allocator: interop.Object,
|
|
1152
|
+
textureCache: interop.Object,
|
|
1153
|
+
sourceImage: interop.Object,
|
|
1154
|
+
textureAttributes: interop.Object,
|
|
1155
|
+
pixelFormat: interop.Enum<typeof MTLPixelFormat>,
|
|
1156
|
+
width: number,
|
|
1157
|
+
height: number,
|
|
1158
|
+
planeIndex: number,
|
|
1159
|
+
textureOut: interop.PointerConvertible,
|
|
1160
|
+
): number
|
|
1161
|
+
|
|
1162
|
+
declare function CVMetalTextureCacheFlush(textureCache: interop.Object, options: number): void
|