dmColorSetSrcParams(3dm) dmColorSetSrcParams(3dm)
dmColorSetSrcParams, dmColorSetDstParams, dmColorGetSrcParams,
dmColorGetDstParams - set/get the source/destination image parameters.
#include <dmedia/dm_color.h>
DMstatus dmColorSetSrcParams (const DMcolorconverter converter,
DMparams *imageParams);
DMstatus dmColorSetDstParams (const DMcolorconverter converter,
DMparams *imageParams);
DMstatus dmColorGetSrcParams (const DMcolorconverter converter,
DMparams *imageParams);
DMstatus dmColorGetDstParams (const DMcolorconverter converter,
DMparams *imageParams);
DMcolorconverter converter
The converter upon which the action is to be applied.
DMparams *imageParams
The DMparams which provides/accepts the image parameters.
DM_COLOR_ERROR_NONE if operation is successful.
DM_COLOR_ERROR_INVALID_CONVERTER if the converter is invalid.
DM_COLOR_ERROR_INVALID_TOKEN if an invalid token exists.
DM_COLOR_ERROR_INVALID_VALUE if a component's scale == 0.
DM_COLOR_ERROR_INVALID_DIMENSION if the height or width is < 0.
All image parameters are set/get via DMparams using these calls. See
dmColor man page for more details and example code.
dmColor(3dm) dmColorCreate(3dm) dmColorDestroy(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|