Lynkeos  1.2
Public Member Functions | Static Public Member Functions | Protected Attributes
LynkeosFfmpegMovie Class Reference

#import <LynkeosFfmpegMovie.h>

Inheritance diagram for LynkeosFfmpegMovie:
Inheritance graph
[legend]

List of all members.

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

Member Function Documentation

- (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 
- (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

Member Data Documentation

- (TimeValue) currentFrame [protected]
- (FfmpegMovie) movie [protected]

The documentation for this class was generated from the following files: