<!--
{
  "availability" : [
    "FxPlug: 4.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxAnalyzer",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxAnalyzer"
  },
  "title" : "FxAnalyzer"
}
-->

# FxAnalyzer

A protocol you implement in your plug-in to analyze frames that the plug-in is applied to.

```
protocol FxAnalyzer
```

## Overview

Implement this protocol if your plug-in needs to analyze some or all of the frames your plug-in is applied to before being able to render.

## Topics

### Analyzing Frames in Your Plug-in

[`func desiredAnalysisTimeRange(UnsafeMutablePointer<CMTimeRange>!, forInputWith: CMTimeRange) throws`](/documentation/professional_video_applications/FxAnalyzer/desiredAnalysisTimeRange(_:forInputWith:))

Requests the specified time range of frames you want to analyze.

[`func setupAnalysis(for: CMTimeRange, frameDuration: CMTime) throws`](/documentation/professional_video_applications/FxAnalyzer/setupAnalysis(for:frameDuration:))

Completes any setup work before starting the frame analysis.

[`func analyzeFrame(FxImageTile!, at: CMTime) throws`](/documentation/professional_video_applications/FxAnalyzer/analyzeFrame(_:at:))

Analyzes the next frame.

[`func cleanupAnalysis() throws`](/documentation/professional_video_applications/FxAnalyzer/cleanupAnalysis())

Completes any necessary cleanup work after your plug-in’s frame analysis.

### Determining the Analysis State

[`typealias FxAnalysisState`](/documentation/professional_video_applications/FxAnalysisState)

The possible states of frame analysis, as reported by the host application.



---

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)