Processing classes


Classes

class  MyFourierBuffer
 Class used to wrap the Fourier transform with FFTW library. More...
protocol  < LynkeosProcessingParameter >
 Processing parameter. More...
class  LynkeosImageProcessingParameter
 Processing parameter for image processing. More...
protocol  < LynkeosProcessable >
 This protocol is implemented by the classes which store and provide parameters. More...
protocol  < LynkeosProcessableItem >
 This protocol is implemented by the classes that can be the target of a processing. More...
protocol  < LynkeosDocument >
 This protocol gathers the methods provided to the processing classes by the document. More...
protocol  < LynkeosProcessing >
 Common protocol for all processing classes. More...
class  MyImageBuffer
 Class used for floating precision images. More...
protocol  < LynkeosImageBuffer >
 Generic image management. More...

Defines

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

Enumerations

enum  floating_precision_t { SINGLE_PRECISION, DOUBLE_PRECISION }
 Floating point precision of images. More...

Functions

void initializeProcessing ()
 Processing initialization.

Detailed Description

The processing classes provides image processing functions to the controler classes

Define Documentation

#define SET_SAMPLE ( s,
p,
x,
y,
w,
 ) 

Value:

if ( (p) == SINGLE_PRECISION )              \
{                                           \
   ((float*)s)[(y)*(w)+(x)] = (float)(v);   \
}                                           \
else                                        \
{                                           \
   ((double*)s)[(y)*(w)+(x)] = (double)(v); \
}
Convenience macro for accessing a sample plane with the required precision.

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


Enumeration Type Documentation

enum floating_precision_t

Floating point precision of images.

This protocol will be conformed to, by the classes which implements the processing of an image or a list of images.


Function Documentation

void initializeProcessing (  ) 

Processing initialization.

Returns:
None
To initialize the processing, we need to check if the processor support Altivec instructions and configure FFTW3 calls accordingly ; and then to retrieve the number of processors.


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