LynkeosFileWriter.h File Reference

File writer protocols. More...

#import <Foundation/Foundation.h>
#import <AppKit/NSPanel.h>
#include "LynkeosProcessing.h"

Include dependency graph for LynkeosFileWriter.h:

This graph shows which files directly or indirectly include this file:


Classes

protocol  < LynkeosFileWriter >
 Common protocol for all file writers. More...
protocol  < LynkeosImageFileWriter >
 Protocol to conform for image file writers. More...
protocol  < LynkeosMovieFileWriterDelegate >
 This protocol describes the delegate which feed the movie writer with frame data. More...
protocol  < LynkeosMovieFileWriter >
 Protocol to conform for movie file writers. More...

Defines

#define GET_SAMPLE(s, p, x, y, w)
 Convenience macro for accessing a sample plane with the required precision.

Detailed Description

File writer protocols.


Define Documentation

#define GET_SAMPLE ( s,
p,
x,
y,
 ) 

Value:

( (p) == SINGLE_PRECISION ? \
     ((float*)s)[(y)*(w)+(x)] : ((double*)s)[(y)*(w)+(x)] )
Convenience macro for accessing a sample plane with the required precision.

These protocols will be conformed to by the classes which implements the writing of some image or movie file format.

Parameters:
s Sample plane ("planes[color]" in saveXXX context)
p precision ("precision" in saveXXX context)
x X coordinate of pixel
y Y coordinate of pixel
w The pixels line width of the samples buffer ("lineW" in saveXXX context)


Generated on Sat Mar 22 17:44:47 2008 for Lynkeos by  doxygen 1.5.4