<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/VTLowLatencyFrameInterpolationConfiguration/init(frameWidth:frameHeight:numberOfInterpolatedFrames:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:objc(cs)VTLowLatencyFrameInterpolationConfiguration(im)initWithFrameWidth:frameHeight:numberOfInterpolatedFrames:"
  },
  "title" : "init(frameWidth:frameHeight:numberOfInterpolatedFrames:)"
}
-->

# init(frameWidth:frameHeight:numberOfInterpolatedFrames:)

Creates a new low-latency frame interpolation configuration for frame-rate conversion.

```
init?(frameWidth: Int, frameHeight: Int, numberOfInterpolatedFrames: Int)
```

## Parameters

`frameWidth`

Width of source frame in pixels.

`frameHeight`

Height of source frame in pixels.

`numberOfInterpolatedFrames`

The number of uniformly spaced frames that you want to be used for interpolation.

## Discussion

The available interpolation points are the equal to the value of (2^x - 1), where x is equal to `numberOfInterpolatedFrames`.
For example,

- If you request 1 interpolated frame, 1 interpolation point at 0.5 is available.
- If you request 2 interpolated frames, 3 interpolation points at 0.25, 0.5 and 0.75 are available.
  You don’t need to use all available interpolation points. Setting a higher `numberOfInterpolatedFrames` increases
  the resolution of interpolation in some cases, but also increases latency.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)