MyImageBuffer.h File Reference

Definitions for the application image buffer class. More...

#import <Foundation/Foundation.h>
#include "processing_core.h"
#include "LynkeosImageBuffer.h"

Include dependency graph for MyImageBuffer.h:

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


Classes

class  MyImageBuffer
 Class used for floating precision images. More...

Defines

#define colorValue(buf, x, y, c)   ((buf)->_data[((y)+(c)*(buf)->_h)*(buf)->_padw+(x)])
 Access to one color component of a pixel.
#define redValue(s, x, y)   colorValue(s,x,y,RED_PLANE)
 Acces the red value of a pixel.
#define greenValue(s, x, y)   colorValue(s,x,y,GREEN_PLANE)
 Acces the green value of a pixel.
#define blueValue(s, x, y)   colorValue(s,x,y,BLUE_PLANE)
 Acces the blue value of a pixel.

Detailed Description

Definitions for the application image buffer class.


Define Documentation

#define colorValue ( buf,
x,
y,
 )     ((buf)->_data[((y)+(c)*(buf)->_h)*(buf)->_padw+(x)])

Access to one color component of a pixel.

Parameters:
buf An instance of MyImageBuffer
x Pixel's x coordinate
y Pixel's y coordinate
c Color plane
Returns:
The access for this pixel (it can be used as an lvalue) This method is implemented as a macro for speed purpose


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