Lynkeos
1.2
|
#import <LynkeosFfmpegMovie.h>
Public Member Functions | |
(TimeValue) | - getNextFrameTime |
(id) | - initWithURL:byReference: |
(NSSize) | - imageSize |
(NSImage *) | - getImageAt: |
(void) | - loadImageDataIn: |
(void) | - resetMovie |
Static Public Member Functions | |
(NSArray *) | + movieUnfilteredFileTypes |
Protected Attributes | |
FfmpegMovie | movie |
TimeValue | currentFrame |
- (NSImage *) getImageAt: | (TimeValue) | time |
Return image of the movie at time 'time'
References currentFrame, getNextFrameTime, loadImageDataIn:, and resetMovie.
- (TimeValue) getNextFrameTime |
Go to the next frame, return the frame time (in other word ... the frame number) or (-1) if no frame left.
References currentFrame, ffmpegNextFrame(), movie, and resetMovie.
Referenced by getImageAt:.
- (NSSize) imageSize |
Return the size of the image movie.
References movie, and FfmpegMovie::pCodecCtx.
Referenced by loadImageDataIn:.
- (id) initWithURL: | (NSURL *) | url | |
byReference: | (BOOL) | byRef | |
References currentFrame, ffmpegLoadMovie(), and movie.
- (void) loadImageDataIn: | (NSMutableData*) | data |
References ffmpegConvertCurrentFrame(), imageSize, and movie.
Referenced by getImageAt:.
+ (NSArray *) movieUnfilteredFileTypes |
Returns an array of strings representing those file types that contain supported movie data. The array returned by this method may be passed directly to NSOpenPanel runModalForTypes: method.
- (void) resetMovie |
References currentFrame, ffmpegMovieBackToStart(), and movie.
Referenced by getImageAt:, and getNextFrameTime.
- (TimeValue) currentFrame [protected] |
Referenced by getImageAt:, getNextFrameTime, initWithURL:byReference:, and resetMovie.
- (FfmpegMovie) movie [protected] |
Referenced by getNextFrameTime, imageSize, initWithURL:byReference:, loadImageDataIn:, and resetMovie.