img_dtransform_apply()

Apply a data transform

Synopsis:

#include <img/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:

libimg

Use the -l img option to qcc to link against this library.

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