rc_type.h File Reference

RAPP Compute type conversions. More...

Go to the source code of this file.

Functions

RC_EXPORT void rc_type_u8_to_bin (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 Convert 8-bit pixels to binary pixels.
RC_EXPORT void rc_type_bin_to_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 Convert binary pixels to 8-bit pixels.

Detailed Description

RAPP Compute type conversions.


Function Documentation

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

Convert binary pixels to 8-bit pixels.

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 source buffer.
width Image width in pixels.
height Image height in pixels.
RC_EXPORT void rc_type_u8_to_bin ( uint8_t *restrict  dst,
int  dst_dim,
const uint8_t *restrict  src,
int  src_dim,
int  width,
int  height 
)

Convert 8-bit pixels to binary pixels.

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 source buffer.
width Image width in pixels.
height Image height in pixels.

Generated on 1 Jun 2016 for RAPP Compute by  doxygen 1.6.1