---
title: AVAsynchronousCIImageFilteringRequest
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avasynchronousciimagefilteringrequest
---

# AVAsynchronousCIImageFilteringRequest

An object that supports using Core Image filters to process an individual video frame in a video composition.

## Declaration

```swift
class AVAsynchronousCIImageFilteringRequest
```

## Overview

Overview You use this class when creating a composition for Core Image filtering with the init(asset:applyingCIFiltersWithHandler:) method. In that method call, you provide a block to be called by AVFoundation as it processes each frame of video, and the block’s sole parameter is a AVAsynchronousCIImageFilteringRequest object. Use that object both to the video frame image to be filtered and allows you to return a filtered image to AVFoundation for display or export. The code listing below shows an example of applying a filter to an asset. tip: To use the created video composition for playback, create an AVPlayerItem object from the same asset used as the composition’s source, then assign the composition to the player item’s videoComposition property. To export the composition to a new movie file, create an AVAssetExportSession object from the same source asset, then assign the composition to the export session’s videoComposition property.

## Topics

### Getting the image to be filtered

- [sourceImage](avfoundation/avasynchronousciimagefilteringrequest/sourceimage.md)

### Getting contextual information for filtering

- [compositionTime](avfoundation/avasynchronousciimagefilteringrequest/compositiontime.md)
- [renderSize](avfoundation/avasynchronousciimagefilteringrequest/rendersize.md)

### Returning the filtered image

- [finish(with:context:)](avfoundation/avasynchronousciimagefilteringrequest/finish(with:context:).md)
- [finish(with:)](avfoundation/avasynchronousciimagefilteringrequest/finish(with:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Creating a video composition

- [init(configuration:)](avfoundation/avvideocomposition/init(configuration:).md)
- [AVVideoComposition.Configuration](avfoundation/avvideocomposition/configuration.md)
- [init(applyingFiltersTo:applier:)](avfoundation/avvideocomposition/init(applyingfiltersto:applier:).md)
- [videoComposition(with:applyingCIFiltersWithHandler:completionHandler:)](avfoundation/avvideocomposition/videocomposition(with:applyingcifilterswithhandler:completionhandler:).md)
- [AVCIImageFilteringParameters](avfoundation/avciimagefilteringparameters.md)
- [AVCIImageFilteringResult](avfoundation/avciimagefilteringresult.md)
- [videoComposition(withPropertiesOf:completionHandler:)](avfoundation/avvideocomposition/videocomposition(withpropertiesof:completionhandler:).md)
- [init(propertiesOf:)](avfoundation/avvideocomposition/init(propertiesof:).md)
- [init(asset:applyingCIFiltersWithHandler:)](avfoundation/avvideocomposition/init(asset:applyingcifilterswithhandler:).md)
