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. | |
RAPP Compute type conversions.
| 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.
| [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.
| [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. |
1.6.1