RAPP Compute layer pixel access macros. More...
Go to the source code of this file.
Defines | |
#define | RC_PIXEL_GET_IDX(dim, off, x, y) |
Get the word buffer index for a binary pixel. | |
#define | RC_PIXEL_GET_BIT(dim, off, x) |
Get the word bit position for a binary pixel. | |
#define | RC_PIXEL_GET_BIN(buf, dim, off, x, y) |
Get a binary pixel value. | |
#define | RC_PIXEL_SET_BIN(buf, dim, off, x, y, pix) |
Set a binary pixel value. | |
#define | RC_PIXEL_GET_U8(buf, dim, x, y) |
Get a u8 pixel value. | |
#define | RC_PIXEL_SET_U8(buf, dim, x, y, pix) |
Set a u8 pixel value. |
RAPP Compute layer pixel access macros.
#define RC_PIXEL_GET_BIN | ( | buf, | |||
dim, | |||||
off, | |||||
x, | |||||
y | ) |
Get a binary pixel value.
#define RC_PIXEL_GET_BIT | ( | dim, | |||
off, | |||||
x | ) |
Get the word bit position for a binary pixel.
#define RC_PIXEL_GET_IDX | ( | dim, | |||
off, | |||||
x, | |||||
y | ) |
Get the word buffer index for a binary pixel.
#define RC_PIXEL_GET_U8 | ( | buf, | |||
dim, | |||||
x, | |||||
y | ) |
Get a u8 pixel value.
#define RC_PIXEL_SET_BIN | ( | buf, | |||
dim, | |||||
off, | |||||
x, | |||||
y, | |||||
pix | ) |
Set a binary pixel value.
#define RC_PIXEL_SET_U8 | ( | buf, | |||
dim, | |||||
x, | |||||
y, | |||||
pix | ) |
Set a u8 pixel value.