Lines Matching refs:calibration
227 int vgaRed, int vgaGreen, int vgaBlue, int *calibration);
230 int vgaBlue, int *calibration);
9136 encodeCoefficient (int color, int dpi, int *calibration)
9196 calibration[3 * w + 768] = coeff[0];
9199 calibration[3 * w + 769] = coeff[1];
9556 { /* red calibration data */
10015 int *calibration)
10052 /* which are going to be used as calibration */
10061 /* get calibration data */
10080 /* 1220P/2000P shading calibration */
10146 computeCalibrationData (color, width, buffer, calibration);
10569 int calibration[3 * 5100 + 768 + 2 + 1];
10764 /* ccd calibration is always done */
10768 calibration) == 0)
10778 /* gamma or left shading calibration ? */
10783 calibration) == 0)
11022 encodeCoefficient (color, dpi, calibration);
11112 memcpy (calibration,
11113 calibration + delta, (7650 - delta) * sizeof (int));
11115 CMDSET (4, 0x20E4, calibration);
11119 CMDSET (4, 0x3EC6, calibration);
11170 /* init some buffer : default calibration data ? */
11559 /* offset calibration, scan 24 bytes of black in each color */
11791 /* offset calibration for the two other channels when in color */
11876 * generic offset calibration function
12016 /* now do VGA calibration for green (=B&W channel) */
12421 * returns 1 and PGA values in 'calibration' var on success .
12427 int *calibration)
12543 memset (calibration, 0x00, 3 * w * sizeof (int));
12563 calibration[x + 2 * w - 4] = (int) (coeff + 0.5);
12593 calibration[x + i * w - 4] = (int) (coeff + 0.5);
12602 calibration[3 * w + x] = ggRed[x];
12603 calibration[3 * w + x + 256] = ggGreen[x];
12604 calibration[3 * w + x + 512] = ggBlue[x];
12625 int vgaRed, int vgaGreen, int vgaBlue, int *calibration)
12629 vgaGreen, vgaBlue, calibration);
12631 vgaGreen, vgaBlue, calibration);
12636 * this is certainly gamma calibration
12639 * returns 1 and PGA values in 'calibration' var on success .
12645 int *calibration)
12685 x = 94 - ofst; /* left shift compared to shading calibration */
12731 /* build shading calibration data */
12735 commit[x] = calibration[x - ofst];
12736 commit[x + w] = calibration[x - ofst + w];
12737 commit[x + 2 * w] = calibration[x - ofst + 2 * w];