Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Version: 1.0

Posted: 2007-12-13

Build Requirements: Xcode 3.0

Runtime Requirements: Mac OS X 10.5

View Source Code:

Download Sample (“MyMovieFilter.zip”, 263.9K)
Download Sample (“MyMovieFilter.dmg”, 329.2K)



Description

QTKit for Mac OS X v10.5 introduces a new QTMovieView delegate method willDisplayImage:

- (CIImage *)view:(QTMovieView *)view willDisplayImage:(CIImage *)image

Before QTMovieView draws a frame in it's view, it gives you a chance to modify it if you implement this delegate method in your application. You are passed an image, and you can perform whatever modifications you want on the image before passing it back to QTKit. The returned image is then displayed in the QTMovieView by QTKit.

In this sample code project a user selected filter is applied on the image in the delegate before it is passed back to QTKit for display in the QTMovieView class.

Document Revision History

Date Notes
2007-12-13Demonstrates the QTKit QTMovieView delegate method willDisplayImage: to apply one of an array of CIFilters on a movie.



Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.