Lynkeos  1.2
Instance Methods | Class Methods | Protected Attributes | List of all members
LynkeosFfmpegMovie Class Reference

#import <LynkeosFfmpegMovie.h>

Inheritance diagram for LynkeosFfmpegMovie:
Inheritance graph
[legend]

Instance Methods

(TimeValue) - getNextFrameTime
 
(id) - initWithURL:byReference:
 
(NSSize) - imageSize
 
(NSImage *) - getImageAt:
 
(void) - loadImageDataIn:
 
(void) - resetMovie
 

Class Methods

(NSArray *) + movieUnfilteredFileTypes
 

Protected Attributes

FfmpegMovie movie
 
TimeValue currentFrame
 

Method Documentation

◆ getImageAt:()

- (NSImage *) getImageAt: (TimeValue)  time

Return image of the movie at time 'time'

References currentFrame, getNextFrameTime, loadImageDataIn:, and resetMovie.

◆ getNextFrameTime()

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

◆ imageSize()

- (NSSize) imageSize

Return the size of the image movie.

References movie, and FfmpegMovie::pCodecCtx.

Referenced by loadImageDataIn:.

◆ initWithURL:byReference:()

- (id) initWithURL: (NSURL *)  url
byReference: (BOOL)  byRef 

◆ loadImageDataIn:()

- (void) loadImageDataIn: (NSMutableData*)  data

References ffmpegConvertCurrentFrame(), imageSize, and movie.

Referenced by getImageAt:.

◆ movieUnfilteredFileTypes()

+ (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\u2019s runModalForTypes: method.

◆ resetMovie()

- (void) resetMovie

Member Data Documentation

◆ currentFrame

- (TimeValue) currentFrame
protected

◆ movie

- (FfmpegMovie) movie
protected

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