dmColorGetSrcSize(3dm) dmColorGetSrcSize(3dm)
dmColorGetSrcSize, dmColorGetDstSize - get the source/destination image
size in bytes.
#include <dmedia/dm_color.h>
DMstatus dmColorGetSrcSize (const DMcolorconverter converter,
int *size);
DMstatus dmColorGetDstSize (const DMcolorconverter converter,
int *size);
DMcolorconverter converter
The converter upon which the action is to be applied.
int *size
The expected size in bytes of the source/destination image.
DM_COLOR_ERROR_NONE if operation is successful.
DM_COLOR_ERROR_INVALID_CONVERTER if the converter is invalid.
DM_COLOR_ERROR_INVALID_DIMENSION if the height or width is < 0.
The size of the source/destination image depends on several factors.
These are: the image dimensions, packing, and datatype.
dmColor(3dm) dmColorSetSrc
PPPPaaaaggggeeee 1111 [ Back ]
|