rapp_pixop.h File Reference

RAPP pixelwise operations. More...

Go to the source code of this file.

Functions

int rapp_pixop_set_u8 (uint8_t *buf, int dim, int width, int height, unsigned value)
 Set all pixels to a constant value.
int rapp_pixop_not_u8 (uint8_t *buf, int dim, int width, int height)
 Negate all pixels.
int rapp_pixop_flip_u8 (uint8_t *buf, int dim, int width, int height)
 Flip the sign bit.
int rapp_pixop_lut_u8 (uint8_t *restrict buf, int dim, int width, int height, const uint8_t *restrict lut)
 Lookup-table transformation.
int rapp_pixop_abs_u8 (uint8_t *buf, int dim, int width, int height)
 Absolute value.
int rapp_pixop_addc_u8 (uint8_t *buf, int dim, int width, int height, int value)
 Add signed constant.
int rapp_pixop_lerpc_u8 (uint8_t *buf, int dim, int width, int height, unsigned value, unsigned alpha8)
 Linear interpolation with constant.
int rapp_pixop_lerpnc_u8 (uint8_t *buf, int dim, int width, int height, unsigned value, unsigned alpha8)
 Linear interpolation with a constant, rounded towards the constant value.
int rapp_pixop_copy_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 Copy all pixels.
int rapp_pixop_add_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 Saturated addition.
int rapp_pixop_avg_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 Average value.
int rapp_pixop_sub_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 Saturated subtraction.
int rapp_pixop_subh_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 Halved subtraction.
int rapp_pixop_suba_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 Absolute-value subtraction.
int rapp_pixop_lerp_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, unsigned alpha8)
 Linear interpolation.
int rapp_pixop_lerpn_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, unsigned alpha8)
 Linear interpolation with non-zero update, i.e., rounded towards src.
int rapp_pixop_lerpi_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height, unsigned alpha8)
 Linear interpolation with inverted second operand, or generalized subtraction.
int rapp_pixop_norm_u8 (uint8_t *restrict dst, int dst_dim, const uint8_t *restrict src, int src_dim, int width, int height)
 L1 norm.

Detailed Description

RAPP pixelwise operations.


Generated on 1 Jun 2016 for RAPP by  doxygen 1.6.1