KCMS Application Developer's Guide

icLut16

/* lut16 */
 typedef struct {
     icUInt8Number	inputChan;	/* Number of input channels */
     icUInt8Number	outputChan;	/* Number of output channels */
     icUInt8Number	clutPoints;	/* Number of clutTable grid points */
     icInt8Number	pad;		/* Padding for byte alignment */
     icS15Fixed16Number	e00;		/* e00 in the 3 * 3 */
     icS15Fixed16Number	e01;		/* e01 in the 3 * 3 */   
     icS15Fixed16Number	e02;		/* e02 in the 3 * 3 */
     icS15Fixed16Number	e10;		/* e10 in the 3 * 3 */
     icS15Fixed16Number	e11;		/* e11 in the 3 * 3 */   
     icS15Fixed16Number	e12;		/* e12 in the 3 * 3 */
     icS15Fixed16Number	e20;		/* e20 in the 3 * 3 */
     icS15Fixed16Number	e21;		/* e21 in the 3 * 3 */   
     icS15Fixed16Number	e22;		/* e22 in the 3 * 3 */
     icUInt16Number	inputEnt;	/* Number of input table entries */
     icUInt16Number	outputEnt;	/* Number of output table entries */
     icUInt16Number	data[icAny];	/* Data follows see spec for size */
 /*
  *  Data that follows is of this form
  *
  *  icUInt16Number	inputTable[inputChan][icAny];	* The input table
  *  icUInt16Number	clutTable[icAny];		* The clut table
  *  icUInt16Number	outputTable[outputChan][icAny];	* The output table
  */
 } icLut16;