img_dtransform_apply()

Apply a data transform

Synopsis:

#include <img.h>

void img_dtransform_apply( img_dtransform_t xform,
                           const uint8_t *src,
                           uint8_t *dst,
                           unsigned n );

Arguments:

xform
An opaque img_dtransform_t filled in by img_dtransform_create().
src
The source pixel data buffer.
dst
The destination pixel data buffer.
n
The number of pixels to transform.

Library:

img

Description:

This function applies a previously created transform xform to transform n pixels of pixel data contained in src and store the results in dst. The transform can be done in place (that is, src can be the same as dst).

Classification:

Image library

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

img_t, img_dtransform_create(), img_dtransform_free()