objcjs-types 0.2.1 → 0.3.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/bin/objcjs-types.ts +31 -0
- package/dist/AVFoundation/functions.d.ts +21 -0
- package/dist/AVFoundation/functions.js +32 -0
- package/dist/AVFoundation/index.d.ts +1 -0
- package/dist/AVFoundation/index.js +1 -0
- package/dist/Accessibility/functions.d.ts +16 -0
- package/dist/Accessibility/functions.js +35 -0
- package/dist/Accessibility/index.d.ts +1 -0
- package/dist/Accessibility/index.js +1 -0
- package/dist/AddressBook/functions.d.ts +98 -0
- package/dist/AddressBook/functions.js +290 -0
- package/dist/AddressBook/index.d.ts +1 -0
- package/dist/AddressBook/index.js +1 -0
- package/dist/AppKit/functions.d.ts +112 -0
- package/dist/AppKit/functions.js +272 -0
- package/dist/AppKit/index.d.ts +1 -0
- package/dist/AppKit/index.js +1 -0
- package/dist/AudioToolbox/functions.d.ts +377 -0
- package/dist/AudioToolbox/functions.js +1124 -0
- package/dist/AudioToolbox/index.d.ts +1 -0
- package/dist/AudioToolbox/index.js +1 -0
- package/dist/AuthenticationServices/functions.d.ts +2 -0
- package/dist/AuthenticationServices/functions.js +5 -0
- package/dist/AuthenticationServices/index.d.ts +1 -0
- package/dist/AuthenticationServices/index.js +1 -0
- package/dist/BrowserEngineCore/functions.d.ts +3 -0
- package/dist/BrowserEngineCore/functions.js +11 -0
- package/dist/BrowserEngineCore/index.d.ts +1 -0
- package/dist/BrowserEngineCore/index.js +1 -0
- package/dist/CoreAudio/functions.d.ts +60 -0
- package/dist/CoreAudio/functions.js +173 -0
- package/dist/CoreAudio/index.d.ts +1 -0
- package/dist/CoreAudio/index.js +1 -0
- package/dist/CoreMIDI/functions.d.ts +96 -0
- package/dist/CoreMIDI/functions.js +287 -0
- package/dist/CoreMIDI/index.d.ts +1 -0
- package/dist/CoreMIDI/index.js +1 -0
- package/dist/CoreML/functions.d.ts +2 -0
- package/dist/CoreML/functions.js +5 -0
- package/dist/CoreML/index.d.ts +1 -0
- package/dist/CoreML/index.js +1 -0
- package/dist/CoreMediaIO/functions.d.ts +38 -0
- package/dist/CoreMediaIO/functions.js +107 -0
- package/dist/CoreMediaIO/index.d.ts +1 -0
- package/dist/CoreMediaIO/index.js +1 -0
- package/dist/CoreText/functions.d.ts +209 -0
- package/dist/CoreText/functions.js +611 -0
- package/dist/CoreText/index.d.ts +1 -0
- package/dist/CoreText/index.js +1 -0
- package/dist/CoreWLAN/functions.d.ts +23 -0
- package/dist/CoreWLAN/functions.js +56 -0
- package/dist/CoreWLAN/index.d.ts +1 -0
- package/dist/CoreWLAN/index.js +1 -0
- package/dist/DeviceDiscoveryExtension/functions.d.ts +11 -0
- package/dist/DeviceDiscoveryExtension/functions.js +17 -0
- package/dist/DeviceDiscoveryExtension/index.d.ts +1 -0
- package/dist/DeviceDiscoveryExtension/index.js +1 -0
- package/dist/DiscRecording/functions.d.ts +97 -0
- package/dist/DiscRecording/functions.js +290 -0
- package/dist/DiscRecording/index.d.ts +1 -0
- package/dist/DiscRecording/index.js +1 -0
- package/dist/DiscRecordingUI/functions.d.ts +13 -0
- package/dist/DiscRecordingUI/functions.js +38 -0
- package/dist/DiscRecordingUI/index.d.ts +1 -0
- package/dist/DiscRecordingUI/index.js +1 -0
- package/dist/ExceptionHandling/functions.d.ts +1 -0
- package/dist/ExceptionHandling/functions.js +5 -0
- package/dist/ExceptionHandling/index.d.ts +1 -0
- package/dist/ExceptionHandling/index.js +1 -0
- package/dist/FSKit/functions.d.ts +4 -0
- package/dist/FSKit/functions.js +11 -0
- package/dist/FSKit/index.d.ts +1 -0
- package/dist/FSKit/index.js +1 -0
- package/dist/Foundation/functions.d.ts +145 -0
- package/dist/Foundation/functions.js +386 -0
- package/dist/Foundation/index.d.ts +1 -0
- package/dist/Foundation/index.js +1 -0
- package/dist/GLKit/functions.d.ts +51 -0
- package/dist/GLKit/functions.js +146 -0
- package/dist/GLKit/index.d.ts +1 -0
- package/dist/GLKit/index.js +1 -0
- package/dist/GameController/functions.d.ts +18 -0
- package/dist/GameController/functions.js +44 -0
- package/dist/GameController/index.d.ts +1 -0
- package/dist/GameController/index.js +1 -0
- package/dist/HealthKit/functions.d.ts +19 -0
- package/dist/HealthKit/functions.js +35 -0
- package/dist/HealthKit/index.d.ts +1 -0
- package/dist/HealthKit/index.js +1 -0
- package/dist/IOSurface/functions.d.ts +53 -0
- package/dist/IOSurface/functions.js +155 -0
- package/dist/IOSurface/index.d.ts +1 -0
- package/dist/IOSurface/index.js +1 -0
- package/dist/IOUSBHost/functions.d.ts +44 -0
- package/dist/IOUSBHost/functions.js +131 -0
- package/dist/IOUSBHost/index.d.ts +1 -0
- package/dist/IOUSBHost/index.js +1 -0
- package/dist/InstantMessage/functions.d.ts +1 -0
- package/dist/InstantMessage/functions.js +5 -0
- package/dist/InstantMessage/index.d.ts +1 -0
- package/dist/InstantMessage/index.js +1 -0
- package/dist/JavaRuntimeSupport/functions.d.ts +40 -0
- package/dist/JavaRuntimeSupport/functions.js +113 -0
- package/dist/JavaRuntimeSupport/index.d.ts +1 -0
- package/dist/JavaRuntimeSupport/index.js +1 -0
- package/dist/JavaScriptCore/functions.d.ts +120 -0
- package/dist/JavaScriptCore/functions.js +359 -0
- package/dist/JavaScriptCore/index.d.ts +1 -0
- package/dist/JavaScriptCore/index.js +1 -0
- package/dist/MLCompute/functions.d.ts +27 -0
- package/dist/MLCompute/functions.js +41 -0
- package/dist/MLCompute/index.d.ts +1 -0
- package/dist/MLCompute/index.js +1 -0
- package/dist/MapKit/functions.d.ts +23 -0
- package/dist/MapKit/functions.js +56 -0
- package/dist/MapKit/index.d.ts +1 -0
- package/dist/MapKit/index.js +1 -0
- package/dist/Matter/functions.d.ts +17 -0
- package/dist/Matter/functions.js +26 -0
- package/dist/Matter/index.d.ts +1 -0
- package/dist/Matter/index.js +1 -0
- package/dist/MediaAccessibility/functions.d.ts +28 -0
- package/dist/MediaAccessibility/functions.js +83 -0
- package/dist/MediaAccessibility/index.d.ts +1 -0
- package/dist/MediaAccessibility/index.js +1 -0
- package/dist/MediaPlayer/functions.d.ts +3 -0
- package/dist/MediaPlayer/functions.js +11 -0
- package/dist/MediaPlayer/index.d.ts +1 -0
- package/dist/MediaPlayer/index.js +1 -0
- package/dist/Metal/functions.d.ts +14 -0
- package/dist/Metal/functions.js +26 -0
- package/dist/Metal/index.d.ts +1 -0
- package/dist/Metal/index.js +1 -0
- package/dist/MetalKit/functions.d.ts +11 -0
- package/dist/MetalKit/functions.js +20 -0
- package/dist/MetalKit/index.d.ts +1 -0
- package/dist/MetalKit/index.js +1 -0
- package/dist/MetalPerformanceShaders/functions.d.ts +7 -0
- package/dist/MetalPerformanceShaders/functions.js +14 -0
- package/dist/MetalPerformanceShaders/index.d.ts +1 -0
- package/dist/MetalPerformanceShaders/index.js +1 -0
- package/dist/NearbyInteraction/functions.d.ts +3 -0
- package/dist/NearbyInteraction/functions.js +5 -0
- package/dist/NearbyInteraction/index.d.ts +1 -0
- package/dist/NearbyInteraction/index.js +1 -0
- package/dist/ParavirtualizedGraphics/functions.d.ts +7 -0
- package/dist/ParavirtualizedGraphics/functions.js +14 -0
- package/dist/ParavirtualizedGraphics/index.d.ts +1 -0
- package/dist/ParavirtualizedGraphics/index.js +1 -0
- package/dist/QuartzCore/functions.d.ts +19 -0
- package/dist/QuartzCore/functions.js +50 -0
- package/dist/QuartzCore/index.d.ts +1 -0
- package/dist/QuartzCore/index.js +1 -0
- package/dist/SceneKit/functions.d.ts +17 -0
- package/dist/SceneKit/functions.js +38 -0
- package/dist/SceneKit/index.d.ts +1 -0
- package/dist/SceneKit/index.js +1 -0
- package/dist/SensorKit/functions.d.ts +4 -0
- package/dist/SensorKit/functions.js +14 -0
- package/dist/SensorKit/index.d.ts +1 -0
- package/dist/SensorKit/index.js +1 -0
- package/dist/ServiceManagement/functions.d.ts +7 -0
- package/dist/ServiceManagement/functions.js +20 -0
- package/dist/ServiceManagement/index.d.ts +1 -0
- package/dist/ServiceManagement/index.js +1 -0
- package/dist/StoreKit/functions.d.ts +1 -0
- package/dist/StoreKit/functions.js +5 -0
- package/dist/StoreKit/index.d.ts +1 -0
- package/dist/StoreKit/index.js +1 -0
- package/dist/VideoToolbox/functions.d.ts +81 -0
- package/dist/VideoToolbox/functions.js +236 -0
- package/dist/VideoToolbox/index.d.ts +1 -0
- package/dist/VideoToolbox/index.js +1 -0
- package/dist/Vision/functions.d.ts +16 -0
- package/dist/Vision/functions.js +38 -0
- package/dist/Vision/index.d.ts +1 -0
- package/dist/Vision/index.js +1 -0
- package/generator/ast-parser.ts +1368 -0
- package/generator/clang.ts +167 -0
- package/generator/custom.ts +936 -0
- package/generator/discover.ts +111 -0
- package/generator/emitter.ts +2026 -0
- package/generator/frameworks.ts +135 -0
- package/generator/index.ts +1334 -0
- package/generator/parse-worker.ts +263 -0
- package/generator/resolve-strings.ts +121 -0
- package/generator/struct-fields.ts +46 -0
- package/generator/templates/bind.ts +100 -0
- package/generator/templates/helpers.ts +70 -0
- package/generator/templates/nsdata.ts +97 -0
- package/generator/templates/osversion.ts +91 -0
- package/generator/type-mapper.ts +615 -0
- package/generator/worker-pool.ts +309 -0
- package/package.json +13 -4
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { NobjcObject } from "objc-js";
|
|
2
|
+
import type { CMTime } from "../structs/CMTime.js";
|
|
3
|
+
import type { CMTimeRange } from "../structs/CMTimeRange.js";
|
|
4
|
+
export declare function VTCompressionSessionBeginPass(session: NobjcObject, beginPassFlags: NobjcObject, reserved: NobjcObject | null): number;
|
|
5
|
+
export declare function VTCompressionSessionCompleteFrames(session: NobjcObject, completeUntilPresentationTimeStamp: CMTime): number;
|
|
6
|
+
export declare function VTCompressionSessionCreate(allocator: NobjcObject | null, width: number, height: number, codecType: number, encoderSpecification: NobjcObject | null, sourceImageBufferAttributes: NobjcObject | null, compressedDataAllocator: NobjcObject | null, outputCallback: NobjcObject | null, outputCallbackRefCon: Uint8Array | null, compressionSessionOut: NobjcObject | null): number;
|
|
7
|
+
export declare function VTCompressionSessionEncodeFrame(session: NobjcObject, imageBuffer: NobjcObject, presentationTimeStamp: CMTime, duration: CMTime, frameProperties: NobjcObject | null, sourceFrameRefcon: Uint8Array | null, infoFlagsOut: NobjcObject | null): number;
|
|
8
|
+
export declare function VTCompressionSessionEncodeFrameWithOutputHandler(session: NobjcObject, imageBuffer: NobjcObject, presentationTimeStamp: CMTime, duration: CMTime, frameProperties: NobjcObject | null, infoFlagsOut: NobjcObject | null, outputHandler: NobjcObject): number;
|
|
9
|
+
export declare function VTCompressionSessionEncodeMultiImageFrame(session: NobjcObject, taggedBufferGroup: NobjcObject, presentationTimeStamp: CMTime, duration: CMTime, frameProperties: NobjcObject | null, sourceFrameRefcon: Uint8Array | null, infoFlagsOut: NobjcObject | null): number;
|
|
10
|
+
export declare function VTCompressionSessionEncodeMultiImageFrameWithOutputHandler(session: NobjcObject, taggedBufferGroup: NobjcObject, presentationTimeStamp: CMTime, duration: CMTime, frameProperties: NobjcObject | null, infoFlagsOut: NobjcObject | null, outputHandler: NobjcObject): number;
|
|
11
|
+
export declare function VTCompressionSessionEndPass(session: NobjcObject, furtherPassesRequestedOut: NobjcObject | null, reserved: NobjcObject | null): number;
|
|
12
|
+
export declare function VTCompressionSessionGetPixelBufferPool(session: NobjcObject): NobjcObject | null;
|
|
13
|
+
export declare function VTCompressionSessionGetTimeRangesForNextPass(session: NobjcObject, timeRangeCountOut: NobjcObject, timeRangeArrayOut: NobjcObject | null): number;
|
|
14
|
+
export declare function VTCompressionSessionGetTypeID(): number;
|
|
15
|
+
export declare function VTCompressionSessionInvalidate(session: NobjcObject): void;
|
|
16
|
+
export declare function VTCompressionSessionPrepareToEncodeFrames(session: NobjcObject): number;
|
|
17
|
+
export declare function VTCopyRAWProcessorExtensionProperties(formatDesc: NobjcObject, mediaExtensionPropertiesOut: NobjcObject | null): number;
|
|
18
|
+
export declare function VTCopySupportedPropertyDictionaryForEncoder(width: number, height: number, codecType: number, encoderSpecification: NobjcObject | null, encoderIDOut: NobjcObject | null, supportedPropertiesOut: NobjcObject | null): number;
|
|
19
|
+
export declare function VTCopyVideoDecoderExtensionProperties(formatDesc: NobjcObject, mediaExtensionPropertiesOut: NobjcObject | null): number;
|
|
20
|
+
export declare function VTCopyVideoEncoderList(options: NobjcObject | null, listOfVideoEncodersOut: NobjcObject | null): number;
|
|
21
|
+
export declare function VTCreateCGImageFromCVPixelBuffer(pixelBuffer: NobjcObject, options: NobjcObject | null, imageOut: NobjcObject | null): number;
|
|
22
|
+
export declare function VTDecompressionSessionCanAcceptFormatDescription(session: NobjcObject, newFormatDesc: NobjcObject): NobjcObject;
|
|
23
|
+
export declare function VTDecompressionSessionCopyBlackPixelBuffer(session: NobjcObject, pixelBufferOut: NobjcObject | null): number;
|
|
24
|
+
export declare function VTDecompressionSessionCreate(allocator: NobjcObject | null, videoFormatDescription: NobjcObject, videoDecoderSpecification: NobjcObject | null, destinationImageBufferAttributes: NobjcObject | null, outputCallback: NobjcObject | null, decompressionSessionOut: NobjcObject | null): number;
|
|
25
|
+
export declare function VTDecompressionSessionDecodeFrame(session: NobjcObject, sampleBuffer: NobjcObject, decodeFlags: NobjcObject, sourceFrameRefCon: Uint8Array | null, infoFlagsOut: NobjcObject | null): number;
|
|
26
|
+
export declare function VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler(session: NobjcObject, sampleBuffer: NobjcObject, decodeFlags: NobjcObject, infoFlagsOut: NobjcObject | null, multiImageCapableOutputHandler: NobjcObject): number;
|
|
27
|
+
export declare function VTDecompressionSessionDecodeFrameWithOptions(session: NobjcObject, sampleBuffer: NobjcObject, decodeFlags: NobjcObject, frameOptions: NobjcObject | null, sourceFrameRefCon: Uint8Array | null, infoFlagsOut: NobjcObject | null): number;
|
|
28
|
+
export declare function VTDecompressionSessionDecodeFrameWithOptionsAndOutputHandler(session: NobjcObject, sampleBuffer: NobjcObject, decodeFlags: NobjcObject, frameOptions: NobjcObject | null, infoFlagsOut: NobjcObject | null, outputHandler: NobjcObject): number;
|
|
29
|
+
export declare function VTDecompressionSessionDecodeFrameWithOutputHandler(session: NobjcObject, sampleBuffer: NobjcObject, decodeFlags: NobjcObject, infoFlagsOut: NobjcObject | null, outputHandler: NobjcObject): number;
|
|
30
|
+
export declare function VTDecompressionSessionFinishDelayedFrames(session: NobjcObject): number;
|
|
31
|
+
export declare function VTDecompressionSessionGetTypeID(): number;
|
|
32
|
+
export declare function VTDecompressionSessionInvalidate(session: NobjcObject): void;
|
|
33
|
+
export declare function VTDecompressionSessionSetMultiImageCallback(decompressionSession: NobjcObject, outputMultiImageCallback: NobjcObject, outputMultiImageRefcon: Uint8Array | null): number;
|
|
34
|
+
export declare function VTDecompressionSessionWaitForAsynchronousFrames(session: NobjcObject): number;
|
|
35
|
+
export declare function VTFrameSiloAddSampleBuffer(silo: NobjcObject, sampleBuffer: NobjcObject): number;
|
|
36
|
+
export declare function VTFrameSiloCallBlockForEachSampleBuffer(silo: NobjcObject, timeRange: CMTimeRange, handler: NobjcObject): number;
|
|
37
|
+
export declare function VTFrameSiloCallFunctionForEachSampleBuffer(silo: NobjcObject, timeRange: CMTimeRange, refcon: Uint8Array | null, callback: NobjcObject | null): number;
|
|
38
|
+
export declare function VTFrameSiloCreate(allocator: NobjcObject | null, fileURL: NobjcObject | null, timeRange: CMTimeRange, options: NobjcObject | null, frameSiloOut: NobjcObject | null): number;
|
|
39
|
+
export declare function VTFrameSiloGetProgressOfCurrentPass(silo: NobjcObject, progressOut: NobjcObject): number;
|
|
40
|
+
export declare function VTFrameSiloGetTypeID(): number;
|
|
41
|
+
export declare function VTFrameSiloSetTimeRangesForNextPass(silo: NobjcObject, timeRangeCount: number, timeRangeArray: NobjcObject): number;
|
|
42
|
+
export declare function VTHDRPerFrameMetadataGenerationSessionAttachMetadata(hdrPerFrameMetadataGenerationSession: NobjcObject, pixelBuffer: NobjcObject, sceneChange: NobjcObject): number;
|
|
43
|
+
export declare function VTHDRPerFrameMetadataGenerationSessionCreate(allocator: NobjcObject | null, framesPerSecond: number, options: NobjcObject | null, hdrPerFrameMetadataGenerationSessionOut: NobjcObject | null): number;
|
|
44
|
+
export declare function VTHDRPerFrameMetadataGenerationSessionGetTypeID(): number;
|
|
45
|
+
export declare function VTIsHardwareDecodeSupported(codecType: number): NobjcObject;
|
|
46
|
+
export declare function VTIsStereoMVHEVCDecodeSupported(): NobjcObject;
|
|
47
|
+
export declare function VTIsStereoMVHEVCEncodeSupported(): NobjcObject;
|
|
48
|
+
export declare function VTMotionEstimationSessionCompleteFrames(session: NobjcObject): number;
|
|
49
|
+
export declare function VTMotionEstimationSessionCopySourcePixelBufferAttributes(motionEstimationSession: NobjcObject, attributesOut: NobjcObject | null): number;
|
|
50
|
+
export declare function VTMotionEstimationSessionCreate(allocator: NobjcObject | null, motionVectorProcessorSelectionOptions: NobjcObject | null, width: number, height: number, motionEstimationSessionOut: NobjcObject | null): number;
|
|
51
|
+
export declare function VTMotionEstimationSessionEstimateMotionVectors(session: NobjcObject, referenceImage: NobjcObject, currentImage: NobjcObject, motionEstimationFrameFlags: NobjcObject, additionalFrameOptions: NobjcObject | null, outputHandler: NobjcObject): number;
|
|
52
|
+
export declare function VTMotionEstimationSessionGetTypeID(): number;
|
|
53
|
+
export declare function VTMotionEstimationSessionInvalidate(session: NobjcObject): void;
|
|
54
|
+
export declare function VTMultiPassStorageClose(multiPassStorage: NobjcObject): number;
|
|
55
|
+
export declare function VTMultiPassStorageCreate(allocator: NobjcObject | null, fileURL: NobjcObject | null, timeRange: CMTimeRange, options: NobjcObject | null, multiPassStorageOut: NobjcObject | null): number;
|
|
56
|
+
export declare function VTMultiPassStorageGetTypeID(): number;
|
|
57
|
+
export declare function VTPixelRotationSessionCreate(allocator: NobjcObject | null, pixelRotationSessionOut: NobjcObject | null): number;
|
|
58
|
+
export declare function VTPixelRotationSessionGetTypeID(): number;
|
|
59
|
+
export declare function VTPixelRotationSessionInvalidate(session: NobjcObject): void;
|
|
60
|
+
export declare function VTPixelRotationSessionRotateImage(session: NobjcObject, sourceBuffer: NobjcObject, destinationBuffer: NobjcObject): number;
|
|
61
|
+
export declare function VTPixelTransferSessionCreate(allocator: NobjcObject | null, pixelTransferSessionOut: NobjcObject | null): number;
|
|
62
|
+
export declare function VTPixelTransferSessionGetTypeID(): number;
|
|
63
|
+
export declare function VTPixelTransferSessionInvalidate(session: NobjcObject): void;
|
|
64
|
+
export declare function VTPixelTransferSessionTransferImage(session: NobjcObject, sourceBuffer: NobjcObject, destinationBuffer: NobjcObject): number;
|
|
65
|
+
export declare function VTRAWProcessingSessionCompleteFrames(session: NobjcObject): number;
|
|
66
|
+
export declare function VTRAWProcessingSessionCopyProcessingParameters(session: NobjcObject, outParameterArray: NobjcObject | null): number;
|
|
67
|
+
export declare function VTRAWProcessingSessionCreate(allocator: NobjcObject | null, formatDescription: NobjcObject, outputPixelBufferAttributes: NobjcObject | null, processingSessionOptions: NobjcObject | null, processingSessionOut: NobjcObject | null): number;
|
|
68
|
+
export declare function VTRAWProcessingSessionGetTypeID(): number;
|
|
69
|
+
export declare function VTRAWProcessingSessionInvalidate(session: NobjcObject): void;
|
|
70
|
+
export declare function VTRAWProcessingSessionProcessFrame(session: NobjcObject, inputPixelBuffer: NobjcObject, frameOptions: NobjcObject | null, outputHandler: NobjcObject): number;
|
|
71
|
+
export declare function VTRAWProcessingSessionSetParameterChangedHander(session: NobjcObject, parameterChangeHandler: NobjcObject | null): number;
|
|
72
|
+
export declare function VTRAWProcessingSessionSetParameterChangedHandler(session: NobjcObject, parameterChangeHandler: NobjcObject | null): number;
|
|
73
|
+
export declare function VTRAWProcessingSessionSetProcessingParameters(session: NobjcObject, processingParameters: NobjcObject): number;
|
|
74
|
+
export declare function VTRegisterProfessionalVideoWorkflowVideoDecoders(): void;
|
|
75
|
+
export declare function VTRegisterProfessionalVideoWorkflowVideoEncoders(): void;
|
|
76
|
+
export declare function VTRegisterSupplementalVideoDecoderIfAvailable(codecType: number): void;
|
|
77
|
+
export declare function VTSessionCopyProperty(session: NobjcObject, propertyKey: Uint8Array, allocator: NobjcObject | null, propertyValueOut: Uint8Array | null): number;
|
|
78
|
+
export declare function VTSessionCopySerializableProperties(session: NobjcObject, allocator: NobjcObject | null, dictionaryOut: NobjcObject | null): number;
|
|
79
|
+
export declare function VTSessionCopySupportedPropertyDictionary(session: NobjcObject, supportedPropertyDictionaryOut: NobjcObject | null): number;
|
|
80
|
+
export declare function VTSessionSetProperties(session: NobjcObject, propertyDictionary: NobjcObject): number;
|
|
81
|
+
export declare function VTSessionSetProperty(session: NobjcObject, propertyKey: Uint8Array, propertyValue: Uint8Array | null): number;
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function VTCompressionSessionBeginPass(session, beginPassFlags, reserved) {
|
|
4
|
+
return callFunction("VTCompressionSessionBeginPass", { returns: "i" }, session, beginPassFlags, reserved);
|
|
5
|
+
}
|
|
6
|
+
export function VTCompressionSessionCompleteFrames(session, completeUntilPresentationTimeStamp) {
|
|
7
|
+
return callFunction("VTCompressionSessionCompleteFrames", { returns: "i", args: ["@", "{CMTime}"] }, session, completeUntilPresentationTimeStamp);
|
|
8
|
+
}
|
|
9
|
+
export function VTCompressionSessionCreate(allocator, width, height, codecType, encoderSpecification, sourceImageBufferAttributes, compressedDataAllocator, outputCallback, outputCallbackRefCon, compressionSessionOut) {
|
|
10
|
+
return callFunction("VTCompressionSessionCreate", { returns: "i", args: ["@", "i", "i", "I", "@", "@", "@", "@", "^v", "@"] }, allocator, width, height, codecType, encoderSpecification, sourceImageBufferAttributes, compressedDataAllocator, outputCallback, outputCallbackRefCon, compressionSessionOut);
|
|
11
|
+
}
|
|
12
|
+
export function VTCompressionSessionEncodeFrame(session, imageBuffer, presentationTimeStamp, duration, frameProperties, sourceFrameRefcon, infoFlagsOut) {
|
|
13
|
+
return callFunction("VTCompressionSessionEncodeFrame", { returns: "i", args: ["@", "@", "{CMTime}", "{CMTime}", "@", "^v", "@"] }, session, imageBuffer, presentationTimeStamp, duration, frameProperties, sourceFrameRefcon, infoFlagsOut);
|
|
14
|
+
}
|
|
15
|
+
export function VTCompressionSessionEncodeFrameWithOutputHandler(session, imageBuffer, presentationTimeStamp, duration, frameProperties, infoFlagsOut, outputHandler) {
|
|
16
|
+
return callFunction("VTCompressionSessionEncodeFrameWithOutputHandler", { returns: "i", args: ["@", "@", "{CMTime}", "{CMTime}", "@", "@", "@"] }, session, imageBuffer, presentationTimeStamp, duration, frameProperties, infoFlagsOut, outputHandler);
|
|
17
|
+
}
|
|
18
|
+
export function VTCompressionSessionEncodeMultiImageFrame(session, taggedBufferGroup, presentationTimeStamp, duration, frameProperties, sourceFrameRefcon, infoFlagsOut) {
|
|
19
|
+
return callFunction("VTCompressionSessionEncodeMultiImageFrame", { returns: "i", args: ["@", "@", "{CMTime}", "{CMTime}", "@", "^v", "@"] }, session, taggedBufferGroup, presentationTimeStamp, duration, frameProperties, sourceFrameRefcon, infoFlagsOut);
|
|
20
|
+
}
|
|
21
|
+
export function VTCompressionSessionEncodeMultiImageFrameWithOutputHandler(session, taggedBufferGroup, presentationTimeStamp, duration, frameProperties, infoFlagsOut, outputHandler) {
|
|
22
|
+
return callFunction("VTCompressionSessionEncodeMultiImageFrameWithOutputHandler", { returns: "i", args: ["@", "@", "{CMTime}", "{CMTime}", "@", "@", "@"] }, session, taggedBufferGroup, presentationTimeStamp, duration, frameProperties, infoFlagsOut, outputHandler);
|
|
23
|
+
}
|
|
24
|
+
export function VTCompressionSessionEndPass(session, furtherPassesRequestedOut, reserved) {
|
|
25
|
+
return callFunction("VTCompressionSessionEndPass", { returns: "i" }, session, furtherPassesRequestedOut, reserved);
|
|
26
|
+
}
|
|
27
|
+
export function VTCompressionSessionGetPixelBufferPool(session) {
|
|
28
|
+
return callFunction("VTCompressionSessionGetPixelBufferPool", { returns: "@" }, session);
|
|
29
|
+
}
|
|
30
|
+
export function VTCompressionSessionGetTimeRangesForNextPass(session, timeRangeCountOut, timeRangeArrayOut) {
|
|
31
|
+
return callFunction("VTCompressionSessionGetTimeRangesForNextPass", { returns: "i" }, session, timeRangeCountOut, timeRangeArrayOut);
|
|
32
|
+
}
|
|
33
|
+
export function VTCompressionSessionGetTypeID() {
|
|
34
|
+
return callFunction("VTCompressionSessionGetTypeID", { returns: "L" });
|
|
35
|
+
}
|
|
36
|
+
export function VTCompressionSessionInvalidate(session) {
|
|
37
|
+
callFunction("VTCompressionSessionInvalidate", undefined, session);
|
|
38
|
+
}
|
|
39
|
+
export function VTCompressionSessionPrepareToEncodeFrames(session) {
|
|
40
|
+
return callFunction("VTCompressionSessionPrepareToEncodeFrames", { returns: "i" }, session);
|
|
41
|
+
}
|
|
42
|
+
export function VTCopyRAWProcessorExtensionProperties(formatDesc, mediaExtensionPropertiesOut) {
|
|
43
|
+
return callFunction("VTCopyRAWProcessorExtensionProperties", { returns: "i" }, formatDesc, mediaExtensionPropertiesOut);
|
|
44
|
+
}
|
|
45
|
+
export function VTCopySupportedPropertyDictionaryForEncoder(width, height, codecType, encoderSpecification, encoderIDOut, supportedPropertiesOut) {
|
|
46
|
+
return callFunction("VTCopySupportedPropertyDictionaryForEncoder", { returns: "i", args: ["i", "i", "I", "@", "@", "@"] }, width, height, codecType, encoderSpecification, encoderIDOut, supportedPropertiesOut);
|
|
47
|
+
}
|
|
48
|
+
export function VTCopyVideoDecoderExtensionProperties(formatDesc, mediaExtensionPropertiesOut) {
|
|
49
|
+
return callFunction("VTCopyVideoDecoderExtensionProperties", { returns: "i" }, formatDesc, mediaExtensionPropertiesOut);
|
|
50
|
+
}
|
|
51
|
+
export function VTCopyVideoEncoderList(options, listOfVideoEncodersOut) {
|
|
52
|
+
return callFunction("VTCopyVideoEncoderList", { returns: "i" }, options, listOfVideoEncodersOut);
|
|
53
|
+
}
|
|
54
|
+
export function VTCreateCGImageFromCVPixelBuffer(pixelBuffer, options, imageOut) {
|
|
55
|
+
return callFunction("VTCreateCGImageFromCVPixelBuffer", { returns: "i" }, pixelBuffer, options, imageOut);
|
|
56
|
+
}
|
|
57
|
+
export function VTDecompressionSessionCanAcceptFormatDescription(session, newFormatDesc) {
|
|
58
|
+
return callFunction("VTDecompressionSessionCanAcceptFormatDescription", { returns: "C" }, session, newFormatDesc);
|
|
59
|
+
}
|
|
60
|
+
export function VTDecompressionSessionCopyBlackPixelBuffer(session, pixelBufferOut) {
|
|
61
|
+
return callFunction("VTDecompressionSessionCopyBlackPixelBuffer", { returns: "i" }, session, pixelBufferOut);
|
|
62
|
+
}
|
|
63
|
+
export function VTDecompressionSessionCreate(allocator, videoFormatDescription, videoDecoderSpecification, destinationImageBufferAttributes, outputCallback, decompressionSessionOut) {
|
|
64
|
+
return callFunction("VTDecompressionSessionCreate", { returns: "i" }, allocator, videoFormatDescription, videoDecoderSpecification, destinationImageBufferAttributes, outputCallback, decompressionSessionOut);
|
|
65
|
+
}
|
|
66
|
+
export function VTDecompressionSessionDecodeFrame(session, sampleBuffer, decodeFlags, sourceFrameRefCon, infoFlagsOut) {
|
|
67
|
+
return callFunction("VTDecompressionSessionDecodeFrame", { returns: "i", args: ["@", "@", "@", "^v", "@"] }, session, sampleBuffer, decodeFlags, sourceFrameRefCon, infoFlagsOut);
|
|
68
|
+
}
|
|
69
|
+
export function VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler(session, sampleBuffer, decodeFlags, infoFlagsOut, multiImageCapableOutputHandler) {
|
|
70
|
+
return callFunction("VTDecompressionSessionDecodeFrameWithMultiImageCapableOutputHandler", { returns: "i" }, session, sampleBuffer, decodeFlags, infoFlagsOut, multiImageCapableOutputHandler);
|
|
71
|
+
}
|
|
72
|
+
export function VTDecompressionSessionDecodeFrameWithOptions(session, sampleBuffer, decodeFlags, frameOptions, sourceFrameRefCon, infoFlagsOut) {
|
|
73
|
+
return callFunction("VTDecompressionSessionDecodeFrameWithOptions", { returns: "i", args: ["@", "@", "@", "@", "^v", "@"] }, session, sampleBuffer, decodeFlags, frameOptions, sourceFrameRefCon, infoFlagsOut);
|
|
74
|
+
}
|
|
75
|
+
export function VTDecompressionSessionDecodeFrameWithOptionsAndOutputHandler(session, sampleBuffer, decodeFlags, frameOptions, infoFlagsOut, outputHandler) {
|
|
76
|
+
return callFunction("VTDecompressionSessionDecodeFrameWithOptionsAndOutputHandler", { returns: "i" }, session, sampleBuffer, decodeFlags, frameOptions, infoFlagsOut, outputHandler);
|
|
77
|
+
}
|
|
78
|
+
export function VTDecompressionSessionDecodeFrameWithOutputHandler(session, sampleBuffer, decodeFlags, infoFlagsOut, outputHandler) {
|
|
79
|
+
return callFunction("VTDecompressionSessionDecodeFrameWithOutputHandler", { returns: "i" }, session, sampleBuffer, decodeFlags, infoFlagsOut, outputHandler);
|
|
80
|
+
}
|
|
81
|
+
export function VTDecompressionSessionFinishDelayedFrames(session) {
|
|
82
|
+
return callFunction("VTDecompressionSessionFinishDelayedFrames", { returns: "i" }, session);
|
|
83
|
+
}
|
|
84
|
+
export function VTDecompressionSessionGetTypeID() {
|
|
85
|
+
return callFunction("VTDecompressionSessionGetTypeID", { returns: "L" });
|
|
86
|
+
}
|
|
87
|
+
export function VTDecompressionSessionInvalidate(session) {
|
|
88
|
+
callFunction("VTDecompressionSessionInvalidate", undefined, session);
|
|
89
|
+
}
|
|
90
|
+
export function VTDecompressionSessionSetMultiImageCallback(decompressionSession, outputMultiImageCallback, outputMultiImageRefcon) {
|
|
91
|
+
return callFunction("VTDecompressionSessionSetMultiImageCallback", { returns: "i", args: ["@", "@", "^v"] }, decompressionSession, outputMultiImageCallback, outputMultiImageRefcon);
|
|
92
|
+
}
|
|
93
|
+
export function VTDecompressionSessionWaitForAsynchronousFrames(session) {
|
|
94
|
+
return callFunction("VTDecompressionSessionWaitForAsynchronousFrames", { returns: "i" }, session);
|
|
95
|
+
}
|
|
96
|
+
export function VTFrameSiloAddSampleBuffer(silo, sampleBuffer) {
|
|
97
|
+
return callFunction("VTFrameSiloAddSampleBuffer", { returns: "i" }, silo, sampleBuffer);
|
|
98
|
+
}
|
|
99
|
+
export function VTFrameSiloCallBlockForEachSampleBuffer(silo, timeRange, handler) {
|
|
100
|
+
return callFunction("VTFrameSiloCallBlockForEachSampleBuffer", { returns: "i", args: ["@", "{CMTimeRange}", "@"] }, silo, timeRange, handler);
|
|
101
|
+
}
|
|
102
|
+
export function VTFrameSiloCallFunctionForEachSampleBuffer(silo, timeRange, refcon, callback) {
|
|
103
|
+
return callFunction("VTFrameSiloCallFunctionForEachSampleBuffer", { returns: "i", args: ["@", "{CMTimeRange}", "^v", "@"] }, silo, timeRange, refcon, callback);
|
|
104
|
+
}
|
|
105
|
+
export function VTFrameSiloCreate(allocator, fileURL, timeRange, options, frameSiloOut) {
|
|
106
|
+
return callFunction("VTFrameSiloCreate", { returns: "i", args: ["@", "@", "{CMTimeRange}", "@", "@"] }, allocator, fileURL, timeRange, options, frameSiloOut);
|
|
107
|
+
}
|
|
108
|
+
export function VTFrameSiloGetProgressOfCurrentPass(silo, progressOut) {
|
|
109
|
+
return callFunction("VTFrameSiloGetProgressOfCurrentPass", { returns: "i" }, silo, progressOut);
|
|
110
|
+
}
|
|
111
|
+
export function VTFrameSiloGetTypeID() {
|
|
112
|
+
return callFunction("VTFrameSiloGetTypeID", { returns: "L" });
|
|
113
|
+
}
|
|
114
|
+
export function VTFrameSiloSetTimeRangesForNextPass(silo, timeRangeCount, timeRangeArray) {
|
|
115
|
+
return callFunction("VTFrameSiloSetTimeRangesForNextPass", { returns: "i", args: ["@", "q", "@"] }, silo, timeRangeCount, timeRangeArray);
|
|
116
|
+
}
|
|
117
|
+
export function VTHDRPerFrameMetadataGenerationSessionAttachMetadata(hdrPerFrameMetadataGenerationSession, pixelBuffer, sceneChange) {
|
|
118
|
+
return callFunction("VTHDRPerFrameMetadataGenerationSessionAttachMetadata", { returns: "i", args: ["@", "@", "C"] }, hdrPerFrameMetadataGenerationSession, pixelBuffer, sceneChange);
|
|
119
|
+
}
|
|
120
|
+
export function VTHDRPerFrameMetadataGenerationSessionCreate(allocator, framesPerSecond, options, hdrPerFrameMetadataGenerationSessionOut) {
|
|
121
|
+
return callFunction("VTHDRPerFrameMetadataGenerationSessionCreate", { returns: "i", args: ["@", "f", "@", "@"] }, allocator, framesPerSecond, options, hdrPerFrameMetadataGenerationSessionOut);
|
|
122
|
+
}
|
|
123
|
+
export function VTHDRPerFrameMetadataGenerationSessionGetTypeID() {
|
|
124
|
+
return callFunction("VTHDRPerFrameMetadataGenerationSessionGetTypeID", { returns: "L" });
|
|
125
|
+
}
|
|
126
|
+
export function VTIsHardwareDecodeSupported(codecType) {
|
|
127
|
+
return callFunction("VTIsHardwareDecodeSupported", { returns: "C", args: ["I"] }, codecType);
|
|
128
|
+
}
|
|
129
|
+
export function VTIsStereoMVHEVCDecodeSupported() {
|
|
130
|
+
return callFunction("VTIsStereoMVHEVCDecodeSupported", { returns: "C" });
|
|
131
|
+
}
|
|
132
|
+
export function VTIsStereoMVHEVCEncodeSupported() {
|
|
133
|
+
return callFunction("VTIsStereoMVHEVCEncodeSupported", { returns: "C" });
|
|
134
|
+
}
|
|
135
|
+
export function VTMotionEstimationSessionCompleteFrames(session) {
|
|
136
|
+
return callFunction("VTMotionEstimationSessionCompleteFrames", { returns: "i" }, session);
|
|
137
|
+
}
|
|
138
|
+
export function VTMotionEstimationSessionCopySourcePixelBufferAttributes(motionEstimationSession, attributesOut) {
|
|
139
|
+
return callFunction("VTMotionEstimationSessionCopySourcePixelBufferAttributes", { returns: "i" }, motionEstimationSession, attributesOut);
|
|
140
|
+
}
|
|
141
|
+
export function VTMotionEstimationSessionCreate(allocator, motionVectorProcessorSelectionOptions, width, height, motionEstimationSessionOut) {
|
|
142
|
+
return callFunction("VTMotionEstimationSessionCreate", { returns: "i", args: ["@", "@", "I", "I", "@"] }, allocator, motionVectorProcessorSelectionOptions, width, height, motionEstimationSessionOut);
|
|
143
|
+
}
|
|
144
|
+
export function VTMotionEstimationSessionEstimateMotionVectors(session, referenceImage, currentImage, motionEstimationFrameFlags, additionalFrameOptions, outputHandler) {
|
|
145
|
+
return callFunction("VTMotionEstimationSessionEstimateMotionVectors", { returns: "i" }, session, referenceImage, currentImage, motionEstimationFrameFlags, additionalFrameOptions, outputHandler);
|
|
146
|
+
}
|
|
147
|
+
export function VTMotionEstimationSessionGetTypeID() {
|
|
148
|
+
return callFunction("VTMotionEstimationSessionGetTypeID", { returns: "L" });
|
|
149
|
+
}
|
|
150
|
+
export function VTMotionEstimationSessionInvalidate(session) {
|
|
151
|
+
callFunction("VTMotionEstimationSessionInvalidate", undefined, session);
|
|
152
|
+
}
|
|
153
|
+
export function VTMultiPassStorageClose(multiPassStorage) {
|
|
154
|
+
return callFunction("VTMultiPassStorageClose", { returns: "i" }, multiPassStorage);
|
|
155
|
+
}
|
|
156
|
+
export function VTMultiPassStorageCreate(allocator, fileURL, timeRange, options, multiPassStorageOut) {
|
|
157
|
+
return callFunction("VTMultiPassStorageCreate", { returns: "i", args: ["@", "@", "{CMTimeRange}", "@", "@"] }, allocator, fileURL, timeRange, options, multiPassStorageOut);
|
|
158
|
+
}
|
|
159
|
+
export function VTMultiPassStorageGetTypeID() {
|
|
160
|
+
return callFunction("VTMultiPassStorageGetTypeID", { returns: "L" });
|
|
161
|
+
}
|
|
162
|
+
export function VTPixelRotationSessionCreate(allocator, pixelRotationSessionOut) {
|
|
163
|
+
return callFunction("VTPixelRotationSessionCreate", { returns: "i" }, allocator, pixelRotationSessionOut);
|
|
164
|
+
}
|
|
165
|
+
export function VTPixelRotationSessionGetTypeID() {
|
|
166
|
+
return callFunction("VTPixelRotationSessionGetTypeID", { returns: "L" });
|
|
167
|
+
}
|
|
168
|
+
export function VTPixelRotationSessionInvalidate(session) {
|
|
169
|
+
callFunction("VTPixelRotationSessionInvalidate", undefined, session);
|
|
170
|
+
}
|
|
171
|
+
export function VTPixelRotationSessionRotateImage(session, sourceBuffer, destinationBuffer) {
|
|
172
|
+
return callFunction("VTPixelRotationSessionRotateImage", { returns: "i" }, session, sourceBuffer, destinationBuffer);
|
|
173
|
+
}
|
|
174
|
+
export function VTPixelTransferSessionCreate(allocator, pixelTransferSessionOut) {
|
|
175
|
+
return callFunction("VTPixelTransferSessionCreate", { returns: "i" }, allocator, pixelTransferSessionOut);
|
|
176
|
+
}
|
|
177
|
+
export function VTPixelTransferSessionGetTypeID() {
|
|
178
|
+
return callFunction("VTPixelTransferSessionGetTypeID", { returns: "L" });
|
|
179
|
+
}
|
|
180
|
+
export function VTPixelTransferSessionInvalidate(session) {
|
|
181
|
+
callFunction("VTPixelTransferSessionInvalidate", undefined, session);
|
|
182
|
+
}
|
|
183
|
+
export function VTPixelTransferSessionTransferImage(session, sourceBuffer, destinationBuffer) {
|
|
184
|
+
return callFunction("VTPixelTransferSessionTransferImage", { returns: "i" }, session, sourceBuffer, destinationBuffer);
|
|
185
|
+
}
|
|
186
|
+
export function VTRAWProcessingSessionCompleteFrames(session) {
|
|
187
|
+
return callFunction("VTRAWProcessingSessionCompleteFrames", { returns: "i" }, session);
|
|
188
|
+
}
|
|
189
|
+
export function VTRAWProcessingSessionCopyProcessingParameters(session, outParameterArray) {
|
|
190
|
+
return callFunction("VTRAWProcessingSessionCopyProcessingParameters", { returns: "i" }, session, outParameterArray);
|
|
191
|
+
}
|
|
192
|
+
export function VTRAWProcessingSessionCreate(allocator, formatDescription, outputPixelBufferAttributes, processingSessionOptions, processingSessionOut) {
|
|
193
|
+
return callFunction("VTRAWProcessingSessionCreate", { returns: "i" }, allocator, formatDescription, outputPixelBufferAttributes, processingSessionOptions, processingSessionOut);
|
|
194
|
+
}
|
|
195
|
+
export function VTRAWProcessingSessionGetTypeID() {
|
|
196
|
+
return callFunction("VTRAWProcessingSessionGetTypeID", { returns: "L" });
|
|
197
|
+
}
|
|
198
|
+
export function VTRAWProcessingSessionInvalidate(session) {
|
|
199
|
+
callFunction("VTRAWProcessingSessionInvalidate", undefined, session);
|
|
200
|
+
}
|
|
201
|
+
export function VTRAWProcessingSessionProcessFrame(session, inputPixelBuffer, frameOptions, outputHandler) {
|
|
202
|
+
return callFunction("VTRAWProcessingSessionProcessFrame", { returns: "i" }, session, inputPixelBuffer, frameOptions, outputHandler);
|
|
203
|
+
}
|
|
204
|
+
export function VTRAWProcessingSessionSetParameterChangedHander(session, parameterChangeHandler) {
|
|
205
|
+
return callFunction("VTRAWProcessingSessionSetParameterChangedHander", { returns: "i" }, session, parameterChangeHandler);
|
|
206
|
+
}
|
|
207
|
+
export function VTRAWProcessingSessionSetParameterChangedHandler(session, parameterChangeHandler) {
|
|
208
|
+
return callFunction("VTRAWProcessingSessionSetParameterChangedHandler", { returns: "i" }, session, parameterChangeHandler);
|
|
209
|
+
}
|
|
210
|
+
export function VTRAWProcessingSessionSetProcessingParameters(session, processingParameters) {
|
|
211
|
+
return callFunction("VTRAWProcessingSessionSetProcessingParameters", { returns: "i" }, session, processingParameters);
|
|
212
|
+
}
|
|
213
|
+
export function VTRegisterProfessionalVideoWorkflowVideoDecoders() {
|
|
214
|
+
callFunction("VTRegisterProfessionalVideoWorkflowVideoDecoders");
|
|
215
|
+
}
|
|
216
|
+
export function VTRegisterProfessionalVideoWorkflowVideoEncoders() {
|
|
217
|
+
callFunction("VTRegisterProfessionalVideoWorkflowVideoEncoders");
|
|
218
|
+
}
|
|
219
|
+
export function VTRegisterSupplementalVideoDecoderIfAvailable(codecType) {
|
|
220
|
+
callFunction("VTRegisterSupplementalVideoDecoderIfAvailable", { args: ["I"] }, codecType);
|
|
221
|
+
}
|
|
222
|
+
export function VTSessionCopyProperty(session, propertyKey, allocator, propertyValueOut) {
|
|
223
|
+
return callFunction("VTSessionCopyProperty", { returns: "i", args: ["^", "^", "@", "^v"] }, session, propertyKey, allocator, propertyValueOut);
|
|
224
|
+
}
|
|
225
|
+
export function VTSessionCopySerializableProperties(session, allocator, dictionaryOut) {
|
|
226
|
+
return callFunction("VTSessionCopySerializableProperties", { returns: "i", args: ["^", "@", "@"] }, session, allocator, dictionaryOut);
|
|
227
|
+
}
|
|
228
|
+
export function VTSessionCopySupportedPropertyDictionary(session, supportedPropertyDictionaryOut) {
|
|
229
|
+
return callFunction("VTSessionCopySupportedPropertyDictionary", { returns: "i", args: ["^", "@"] }, session, supportedPropertyDictionaryOut);
|
|
230
|
+
}
|
|
231
|
+
export function VTSessionSetProperties(session, propertyDictionary) {
|
|
232
|
+
return callFunction("VTSessionSetProperties", { returns: "i", args: ["^", "@"] }, session, propertyDictionary);
|
|
233
|
+
}
|
|
234
|
+
export function VTSessionSetProperty(session, propertyKey, propertyValue) {
|
|
235
|
+
return callFunction("VTSessionSetProperty", { returns: "i", args: ["^", "^", "^"] }, session, propertyKey, propertyValue);
|
|
236
|
+
}
|
|
@@ -69,3 +69,4 @@ export { VTSuperResolutionScalerConfigurationModelStatus } from "./VTSuperResolu
|
|
|
69
69
|
export { VTSuperResolutionScalerConfigurationQualityPrioritization } from "./VTSuperResolutionScalerConfigurationQualityPrioritization.js";
|
|
70
70
|
export { VTSuperResolutionScalerConfigurationRevision } from "./VTSuperResolutionScalerConfigurationRevision.js";
|
|
71
71
|
export { VTSuperResolutionScalerParametersSubmissionMode } from "./VTSuperResolutionScalerParametersSubmissionMode.js";
|
|
72
|
+
export * from "./functions.js";
|
|
@@ -33,3 +33,4 @@ export { VTSuperResolutionScalerConfigurationModelStatus } from "./VTSuperResolu
|
|
|
33
33
|
export { VTSuperResolutionScalerConfigurationQualityPrioritization } from "./VTSuperResolutionScalerConfigurationQualityPrioritization.js";
|
|
34
34
|
export { VTSuperResolutionScalerConfigurationRevision } from "./VTSuperResolutionScalerConfigurationRevision.js";
|
|
35
35
|
export { VTSuperResolutionScalerParametersSubmissionMode } from "./VTSuperResolutionScalerParametersSubmissionMode.js";
|
|
36
|
+
export * from "./functions.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { NobjcObject } from "objc-js";
|
|
2
|
+
import type { CGPoint } from "../structs/CGPoint.js";
|
|
3
|
+
import type { CGRect } from "../structs/CGRect.js";
|
|
4
|
+
import type { VNElementType } from "./VNElementType.js";
|
|
5
|
+
export declare function VNElementTypeSize(elementType: VNElementType): number;
|
|
6
|
+
export declare function VNImagePointForFaceLandmarkPoint(faceLandmarkPoint: NobjcObject, faceBoundingBox: CGRect, imageWidth: number, imageHeight: number): CGPoint;
|
|
7
|
+
export declare function VNImagePointForNormalizedPoint(normalizedPoint: CGPoint, imageWidth: number, imageHeight: number): CGPoint;
|
|
8
|
+
export declare function VNImagePointForNormalizedPointUsingRegionOfInterest(normalizedPoint: CGPoint, imageWidth: number, imageHeight: number, roi: CGRect): CGPoint;
|
|
9
|
+
export declare function VNImageRectForNormalizedRect(normalizedRect: CGRect, imageWidth: number, imageHeight: number): CGRect;
|
|
10
|
+
export declare function VNImageRectForNormalizedRectUsingRegionOfInterest(normalizedRect: CGRect, imageWidth: number, imageHeight: number, roi: CGRect): CGRect;
|
|
11
|
+
export declare function VNNormalizedFaceBoundingBoxPointForLandmarkPoint(faceLandmarkPoint: NobjcObject, faceBoundingBox: CGRect, imageWidth: number, imageHeight: number): CGPoint;
|
|
12
|
+
export declare function VNNormalizedPointForImagePoint(imagePoint: CGPoint, imageWidth: number, imageHeight: number): CGPoint;
|
|
13
|
+
export declare function VNNormalizedPointForImagePointUsingRegionOfInterest(imagePoint: CGPoint, imageWidth: number, imageHeight: number, roi: CGRect): CGPoint;
|
|
14
|
+
export declare function VNNormalizedRectForImageRect(imageRect: CGRect, imageWidth: number, imageHeight: number): CGRect;
|
|
15
|
+
export declare function VNNormalizedRectForImageRectUsingRegionOfInterest(imageRect: CGRect, imageWidth: number, imageHeight: number, roi: CGRect): CGRect;
|
|
16
|
+
export declare function VNNormalizedRectIsIdentityRect(normalizedRect: CGRect): boolean;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
import { callFunction } from "objc-js";
|
|
3
|
+
export function VNElementTypeSize(elementType) {
|
|
4
|
+
return callFunction("VNElementTypeSize", { returns: "Q", args: ["q"] }, elementType);
|
|
5
|
+
}
|
|
6
|
+
export function VNImagePointForFaceLandmarkPoint(faceLandmarkPoint, faceBoundingBox, imageWidth, imageHeight) {
|
|
7
|
+
return callFunction("VNImagePointForFaceLandmarkPoint", { returns: "{CGPoint}", args: ["@", "{CGRect}", "Q", "Q"] }, faceLandmarkPoint, faceBoundingBox, imageWidth, imageHeight);
|
|
8
|
+
}
|
|
9
|
+
export function VNImagePointForNormalizedPoint(normalizedPoint, imageWidth, imageHeight) {
|
|
10
|
+
return callFunction("VNImagePointForNormalizedPoint", { returns: "{CGPoint}", args: ["{CGPoint}", "Q", "Q"] }, normalizedPoint, imageWidth, imageHeight);
|
|
11
|
+
}
|
|
12
|
+
export function VNImagePointForNormalizedPointUsingRegionOfInterest(normalizedPoint, imageWidth, imageHeight, roi) {
|
|
13
|
+
return callFunction("VNImagePointForNormalizedPointUsingRegionOfInterest", { returns: "{CGPoint}", args: ["{CGPoint}", "Q", "Q", "{CGRect}"] }, normalizedPoint, imageWidth, imageHeight, roi);
|
|
14
|
+
}
|
|
15
|
+
export function VNImageRectForNormalizedRect(normalizedRect, imageWidth, imageHeight) {
|
|
16
|
+
return callFunction("VNImageRectForNormalizedRect", { returns: "{CGRect}", args: ["{CGRect}", "Q", "Q"] }, normalizedRect, imageWidth, imageHeight);
|
|
17
|
+
}
|
|
18
|
+
export function VNImageRectForNormalizedRectUsingRegionOfInterest(normalizedRect, imageWidth, imageHeight, roi) {
|
|
19
|
+
return callFunction("VNImageRectForNormalizedRectUsingRegionOfInterest", { returns: "{CGRect}", args: ["{CGRect}", "Q", "Q", "{CGRect}"] }, normalizedRect, imageWidth, imageHeight, roi);
|
|
20
|
+
}
|
|
21
|
+
export function VNNormalizedFaceBoundingBoxPointForLandmarkPoint(faceLandmarkPoint, faceBoundingBox, imageWidth, imageHeight) {
|
|
22
|
+
return callFunction("VNNormalizedFaceBoundingBoxPointForLandmarkPoint", { returns: "{CGPoint}", args: ["@", "{CGRect}", "Q", "Q"] }, faceLandmarkPoint, faceBoundingBox, imageWidth, imageHeight);
|
|
23
|
+
}
|
|
24
|
+
export function VNNormalizedPointForImagePoint(imagePoint, imageWidth, imageHeight) {
|
|
25
|
+
return callFunction("VNNormalizedPointForImagePoint", { returns: "{CGPoint}", args: ["{CGPoint}", "Q", "Q"] }, imagePoint, imageWidth, imageHeight);
|
|
26
|
+
}
|
|
27
|
+
export function VNNormalizedPointForImagePointUsingRegionOfInterest(imagePoint, imageWidth, imageHeight, roi) {
|
|
28
|
+
return callFunction("VNNormalizedPointForImagePointUsingRegionOfInterest", { returns: "{CGPoint}", args: ["{CGPoint}", "Q", "Q", "{CGRect}"] }, imagePoint, imageWidth, imageHeight, roi);
|
|
29
|
+
}
|
|
30
|
+
export function VNNormalizedRectForImageRect(imageRect, imageWidth, imageHeight) {
|
|
31
|
+
return callFunction("VNNormalizedRectForImageRect", { returns: "{CGRect}", args: ["{CGRect}", "Q", "Q"] }, imageRect, imageWidth, imageHeight);
|
|
32
|
+
}
|
|
33
|
+
export function VNNormalizedRectForImageRectUsingRegionOfInterest(imageRect, imageWidth, imageHeight, roi) {
|
|
34
|
+
return callFunction("VNNormalizedRectForImageRectUsingRegionOfInterest", { returns: "{CGRect}", args: ["{CGRect}", "Q", "Q", "{CGRect}"] }, imageRect, imageWidth, imageHeight, roi);
|
|
35
|
+
}
|
|
36
|
+
export function VNNormalizedRectIsIdentityRect(normalizedRect) {
|
|
37
|
+
return callFunction("VNNormalizedRectIsIdentityRect", { returns: "B", args: ["{CGRect}"] }, normalizedRect);
|
|
38
|
+
}
|
package/dist/Vision/index.d.ts
CHANGED
|
@@ -296,3 +296,4 @@ export { VNImageOption } from "./VNImageOption.js";
|
|
|
296
296
|
export { VNRecognizedPointGroupKey } from "./VNRecognizedPointGroupKey.js";
|
|
297
297
|
export { VNRecognizedPointKey } from "./VNRecognizedPointKey.js";
|
|
298
298
|
export { VNVideoProcessingOption } from "./VNVideoProcessingOption.js";
|
|
299
|
+
export * from "./functions.js";
|
package/dist/Vision/index.js
CHANGED
|
@@ -110,3 +110,4 @@ export { VNImageOption } from "./VNImageOption.js";
|
|
|
110
110
|
export { VNRecognizedPointGroupKey } from "./VNRecognizedPointGroupKey.js";
|
|
111
111
|
export { VNRecognizedPointKey } from "./VNRecognizedPointKey.js";
|
|
112
112
|
export { VNVideoProcessingOption } from "./VNVideoProcessingOption.js";
|
|
113
|
+
export * from "./functions.js";
|