dmColorConvert(3dm) dmColorConvert(3dm)
dmColorConvert - performs the actual image conversion.
#include <dmedia/dm_color.h>
DMstatus dmColorConvert (const DMcolorconverter converter,
void *srcImage,
void *dstImage);
DMcolorconverter converter
The converter upon which the action is to be applied.
DM_COLOR_ERROR_NONE if operation is successful.
DM_COLOR_ERROR_OUT_OF_MEMORY if insufficient memory is available.
DM_COLOR_ERROR_INVALID_CONVERTER if the converter is invalid.
DM_COLOR_ERROR_INVALID_SRC if srcImage == NULL.
DM_COLOR_ERROR_INVALID_DST if dstImage == NULL.
DM_COLOR_ERROR_INVALID_DIMENSION if the height or width < 0.
This routine performs the actual conversion taking srcImage as a pointer
to the source image, and dstImage as a pointer to the destination image.
dmColor(3dm) dmColorCreate(3dm) dmColorDestroy(3dm)
dmColorPrecompute(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|