One Logo Pool Ball
VideoToolbox · IOS API REFERENCE

VTMotionEstimationSession

class · iOS 26.0+ · SDK 27.1

final class VTMotionEstimationSession

Members (6)

get · iOS 26.0+

motionVectorSize

TypeScript
get motionVectorSize(): VTMotionEstimationSession_BlockSize
Swift declaration
final var motionVectorSize: VTMotionEstimationSession.BlockSize { get throws }
get · iOS 26.0+

useMultiPassSearch

TypeScript
get useMultiPassSearch(): boolean
Swift declaration
final var useMultiPassSearch: Bool { get }
get · iOS 26.0+

sourcePixelBufferAttributes

TypeScript
get sourcePixelBufferAttributes(): Record<string, SDKHandle>
Swift declaration
final var sourcePixelBufferAttributes: [String : any Sendable] { get }
get · iOS 26.0+

label

TypeScript
get label(): (string) | null
Swift declaration
final var label: String? { get }
init · iOS 26.0+

init

TypeScript
static init(width: number, height: number, motionVectorSize?: VTMotionEstimationSession_BlockSize, useMultiPassSearch?: boolean, label?: (string) | null): VTMotionEstimationSession
Swift declaration
init(width: UInt32, height: UInt32, motionVectorSize: VTMotionEstimationSession.BlockSize = .blockSize16x16, useMultiPassSearch: Bool = false, label: String? = nil) throws
method · iOS 26.0+

motion

TypeScript
motion(currentImage: _CoreVideo_CVReadOnlyPixelBuffer, referenceImage: _CoreVideo_CVReadOnlyPixelBuffer, flags?: VTMotionEstimationSession_FrameFlags): Promise<VTMotionEstimationSession_Motion>
Swift declaration
final func motion(of currentImage: CVReadOnlyPixelBuffer, comparedTo referenceImage: CVReadOnlyPixelBuffer, flags: VTMotionEstimationSession.FrameFlags = .init(rawValue:0)) async throws -> VTMotionEstimationSession.Motion

Skipped declarations

No declarations were skipped in this snapshot.

All VideoToolbox types →