rc_gather.h File Reference

RAPP Compute layer 8-bit gather. More...

Go to the source code of this file.

Functions

RC_EXPORT int rc_gather_row1_u8 (uint8_t *restrict pack, const uint8_t *restrict src, int src_dim, const uint8_t *restrict map, int map_dim, int width, int height)
 8-bit image gather, one row.
RC_EXPORT int rc_gather_row2_u8 (uint8_t *restrict pack, int pack_dim, const uint8_t *restrict src, int src_dim, const uint8_t *restrict map, int map_dim, int width, int height)
 8-bit image gather, two rows.
RC_EXPORT int rc_gather_row3_u8 (uint8_t *restrict pack, int pack_dim, const uint8_t *restrict src, int src_dim, const uint8_t *restrict map, int map_dim, int width, int height)
 8-bit image gather, three rows.
RC_EXPORT int rc_gather_gen_u8 (uint8_t *restrict pack, int pack_dim, const uint8_t *restrict src, int src_dim, const uint8_t *restrict map, int map_dim, int width, int height, int rows)
 8-bit image gather, arbitrary number of rows.

Detailed Description

RAPP Compute layer 8-bit gather.


Function Documentation

RC_EXPORT int rc_gather_gen_u8 ( uint8_t *restrict  pack,
int  pack_dim,
const uint8_t *restrict  src,
int  src_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height,
int  rows 
)

8-bit image gather, arbitrary number of rows.

Parameters:
[out] pack Pixel buffer for gathered pixels.
pack_dim Row dimension of the pack buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
[in] map Binary map pixel buffer.
map_dim Row dimension of the map buffer.
width Image width in pixels.
height Image height in pixels.
rows Number of rows to gather.
Returns:
The number of pixels gathered per row.
RC_EXPORT int rc_gather_row1_u8 ( uint8_t *restrict  pack,
const uint8_t *restrict  src,
int  src_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height 
)

8-bit image gather, one row.

Parameters:
[out] pack Pixel buffer for gathered pixels.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
[in] map Binary map pixel buffer.
map_dim Row dimension of the map buffer.
width Image width in pixels.
height Image height in pixels.
Returns:
The number of pixels gathered.
RC_EXPORT int rc_gather_row2_u8 ( uint8_t *restrict  pack,
int  pack_dim,
const uint8_t *restrict  src,
int  src_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height 
)

8-bit image gather, two rows.

Parameters:
[out] pack Pixel buffer for gathered pixels.
pack_dim Row dimension of the pack buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
[in] map Binary map pixel buffer.
map_dim Row dimension of the map buffer.
width Image width in pixels.
height Image height in pixels.
Returns:
The number of pixels gathered per row.
RC_EXPORT int rc_gather_row3_u8 ( uint8_t *restrict  pack,
int  pack_dim,
const uint8_t *restrict  src,
int  src_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height 
)

8-bit image gather, three rows.

Parameters:
[out] pack Pixel buffer for gathered pixels.
pack_dim Row dimension of the pack buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the source buffer.
[in] map Binary map pixel buffer.
map_dim Row dimension of the map buffer.
width Image width in pixels.
height Image height in pixels.
Returns:
The number of pixels gathered per row.

Generated on 1 Jun 2016 for RAPP Compute by  doxygen 1.6.1