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


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. | |
| #define colorValue | ( | buf, | |||
| x, | |||||
| y, | |||||
| c | ) | ((buf)->_data[((y)+(c)*(buf)->_h)*(buf)->_padw+(x)]) |
Access to one color component of a pixel.
| buf | An instance of MyImageBuffer | |
| x | Pixel's x coordinate | |
| y | Pixel's y coordinate | |
| c | Color plane |
1.5.4