Instance Property

sourceImage

The current video frame image.

Declaration

@property(nonatomic, readonly) CIImage *sourceImage;

Discussion

To apply a Core Image filter to this image, assign it to the inputImage parameter of a CIFilter object, or use a CIImage convenience method such as the imageByApplyingFilter:withInputParameters: method.

The pixel format for this image is the kCIFormatBGRA8 format (of the kCVPixelFormatType_32BGRA type). Unlike when processing video with the AVAsynchronousVideoCompositionRequest class, the renderContext object’s renderTransform property is already applied to this image.