rc_pixel.h File Reference

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.

Detailed Description

RAPP Compute layer pixel access macros.


Define Documentation

#define RC_PIXEL_GET_BIN ( buf,
dim,
off,
x,
 ) 

Get a binary pixel value.

#define RC_PIXEL_GET_BIT ( dim,
off,
 ) 

Get the word bit position for a binary pixel.

#define RC_PIXEL_GET_IDX ( dim,
off,
x,
 ) 

Get the word buffer index for a binary pixel.

#define RC_PIXEL_GET_U8 ( buf,
dim,
x,
 ) 

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.


Generated on 1 Jun 2016 for RAPP Compute by  doxygen 1.6.1