[Hp5400backend-cvs-update] hp5400/hp5400 hp5400.c,1.17,1.18
Status: Alpha
Brought to you by:
soumarmt
From: <sou...@us...> - 2003-03-06 14:00:34
|
Update of /cvsroot/hp5400backend/hp5400/hp5400 In directory sc8-pr-cvs1:/tmp/cvs-serv27233 Modified Files: hp5400.c Log Message: modified the way calibration scans are used for calibration so that it should be completely correct at 300 dpi and somehow better at other resolutions Index: hp5400.c =================================================================== RCS file: /cvsroot/hp5400backend/hp5400/hp5400/hp5400.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** hp5400.c 6 Mar 2003 11:03:33 -0000 1.17 --- hp5400.c 6 Mar 2003 14:00:28 -0000 1.18 *************** *** 207,211 **** --- 207,216 ---- for( j=0; j< numLoop * numCalBlock * CALPIXBYBLOCK ; j++ ) { struct CalPixel *pixel = & calinfo[ j / CALPIXBYBLOCK ].pixels[ j % CALPIXBYBLOCK ]; + + /* i = ( j % (int)( 0.80 * numPixels ) ) + (int)(0.10 * numPixels ); + */ + /* better solution : stretch the actual scan size to the calibration size */ + i = j / numLoop; /* This is obviously not quite right. The values on |