Lines Matching refs:calibration
187 this->calibration.nHoleGray=puchBuffer[axHoles[0]];
192 this->calibration.xMargin=axHoles[0]-480;
193 this->calibration.yMargin=413;
198 this->calibration.xMargin=axHoles[0]-462;
199 this->calibration.yMargin=330;
230 if (this->calibration.bCalibrated)
232 this->calibration.bCalibrated=true;
233 if (!this->calibration.achStripeY)
235 this->calibration.achStripeY=calloc(1,MAX_PIXEL_PER_SCANLINE);
236 if (!this->calibration.achStripeY)
239 memset(this->calibration.achStripeY,0xC0,MAX_PIXEL_PER_SCANLINE);
241 this->calibration.xMargin=this->calibration.yMargin=0;
285 if (this->calibration.bCalibrated)
295 case sm3700: /* in fact, the 3600 calibration should do!!! */
306 if (!this->calibration.achStripeY)
308 this->calibration.achStripeY=calloc(1,MAX_PIXEL_PER_SCANLINE);
309 if (!this->calibration.achStripeY)
325 this->calibration.achStripeY,
335 aulSum[i]+=(long)this->calibration.achStripeY[i]*
336 (long)this->calibration.achStripeY[i];
342 this->calibration.achStripeY[i]=(unsigned char)(int)sqrt(aulSum[i]/cStripes);
351 this->calibration.achStripeY[i]=auchRow[(cStripes-1)/2];
355 memcpy(auchHanning,this->calibration.achStripeY,sizeof(auchHanning));
357 this->calibration.achStripeY[i]=(unsigned char)
363 this->calibration.bCalibrated=true;