<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/VTTemporalNoiseFilterParameters/init(sourceFrame:nextFrames:previousFrames:destinationFrame:filterStrength:hasDiscontinuity:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:objc(cs)VTTemporalNoiseFilterParameters(im)initWithSourceFrame:nextFrames:previousFrames:destinationFrame:filterStrength:hasDiscontinuity:"
  },
  "title" : "init(sourceFrame:nextFrames:previousFrames:destinationFrame:filterStrength:hasDiscontinuity:)"
}
-->

# init(sourceFrame:nextFrames:previousFrames:destinationFrame:filterStrength:hasDiscontinuity:)

Creates a new `VTTemporalNoiseFilterParameters` object.

```
init?(sourceFrame: VTFrameProcessorFrame, nextFrames: [VTFrameProcessorFrame], previousFrames: [VTFrameProcessorFrame], destinationFrame: VTFrameProcessorFrame, filterStrength: Float, hasDiscontinuity: Bool)
```

## Parameters

`sourceFrame`

Current source frame; must be non `nil`.

`nextFrames`

Future reference frames in presentation time order to use for processing the source frame. The number
of frames can vary from 0 to the number specified by [`nextFrameCount`](/documentation/VideoToolbox/VTTemporalNoiseFilterConfiguration/nextFrameCount) property.

`previousFrames`

Past reference frames in presentation time order to use for processing the source frame. The number
of frames can vary from 0 to the number specified by [`previousFrameCount`](/documentation/VideoToolbox/VTTemporalNoiseFilterConfiguration/previousFrameCount) property.

`destinationFrame`

User-allocated pixel buffer that receives the output frame. The pixel format of `destinationFrame`
must match with that of the `sourceFrame`.

`filterStrength`

Strength of the noise-filtering to use. The value can range from the minimum strength of 0.0 to the
maximum strength of 1.0. Change in filter strength causes the processor to flush all frames in the queue prior to
processing the source frame.

`hasDiscontinuity`

Marks sequence discontinuity, forcing the processor to reset prior to processing the source frame.

---

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)