rc_cond.h File Reference

RAPP Compute layer conditional operations. More...

Go to the source code of this file.

Functions

RC_EXPORT void rc_cond_set_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict map, int map_dim, int width, int height, unsigned value)
 Conditional set.
RC_EXPORT void rc_cond_addc_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict map, int map_dim, int width, int height, unsigned value)
 Conditional addition with unsigned constant.
RC_EXPORT void rc_cond_subc_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict map, int map_dim, int width, int height, unsigned value)
 Conditional subtraction of unsigned constant.
RC_EXPORT void rc_cond_copy_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, const uint8_t *restrict map, int map_dim, int width, int height)
 Conditional copy.
RC_EXPORT void rc_cond_add_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, const uint8_t *restrict map, int map_dim, int width, int height)
 Conditional addition.

Detailed Description

RAPP Compute layer conditional operations.


Function Documentation

RC_EXPORT void rc_cond_add_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height 
)

Conditional addition.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the destination 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.
RC_EXPORT void rc_cond_addc_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height,
unsigned  value 
)

Conditional addition with unsigned constant.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination 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.
value Unsigned constant term.
RC_EXPORT void rc_cond_copy_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height 
)

Conditional copy.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination buffer.
[in] src Source pixel buffer.
src_dim Row dimension of the destination 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.
RC_EXPORT void rc_cond_set_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height,
unsigned  value 
)

Conditional set.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination 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.
value The value to set, in the range 0-255.
RC_EXPORT void rc_cond_subc_u8 ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  map,
int  map_dim,
int  width,
int  height,
unsigned  value 
)

Conditional subtraction of unsigned constant.

Parameters:
[out] dst Destination pixel buffer.
dst_dim Row dimension of the destination 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.
value Unsigned constant term.

Generated on 1 Jun 2016 for RAPP Compute by  doxygen 1.6.1