Lines Matching defs:sensor

66 /* sensor general configuration for each scanner */
71 static void hp3800_refvoltages(SANE_Int usb, SANE_Int sensor, SANE_Byte *vrts, SANE_Byte *vrms, SANE_Byte *vrbs);
72 static void hp3970_refvoltages(SANE_Int usb, SANE_Int sensor, SANE_Byte *vrts, SANE_Byte *vrms, SANE_Byte *vrbs);
78 static void hp3970_offset(SANE_Int sensor, SANE_Int resolution, SANE_Int scantype, SANE_Int *left, SANE_Int *width);
88 static SANE_Int hp3970_effectivepixel(SANE_Int sensor, SANE_Int resolution);
96 static SANE_Int hp3970_gainoffset(SANE_Int usb, SANE_Int sensor, struct st_gain_offset *myreg);
110 static SANE_Int hp3970_fixedpwm(SANE_Int scantype, SANE_Int usb, SANE_Int sensor);
116 static void hp3970_vrefs(SANE_Int usb, SANE_Int sensor, SANE_Int res, SANE_Int *ser, SANE_Int *ler);
635 struct st_sensorcfg sensor;
663 memcpy(reg, &myreg[a].sensor, sizeof(struct st_sensorcfg));
676 static void hp3800_refvoltages(SANE_Int usb, SANE_Int sensor, SANE_Byte *vrts, SANE_Byte *vrms, SANE_Byte *vrbs)
682 SANE_Int sensor;
688 /* usb, sensor , {vrts, vrms, vrbs} */
702 if ((myreg[a].usb == usb)&&(myreg[a].sensor == sensor))
712 static void hp3970_refvoltages(SANE_Int usb, SANE_Int sensor, SANE_Byte *vrts, SANE_Byte *vrms, SANE_Byte *vrbs)
718 SANE_Int sensor;
724 /* usb, sensor , {vrts, vrms, vrbs} */
740 if ((myreg[a].usb == usb)&&(myreg[a].sensor == sensor))
816 static void hp3970_offset(SANE_Int sensor, SANE_Int resolution, SANE_Int scantype, SANE_Int *left, SANE_Int *width)
828 SANE_Int sensor;
835 /* sensor , res , {ref(L,W), tma(L,W), neg(L,W)} */
843 /* sensor , res , {ref(L,W), tma(L,W), neg(L,W)} */
859 if ((myreg[a].sensor == sensor)&&(myreg[a].resolution == resolution))
1153 static SANE_Int hp3970_effectivepixel(SANE_Int sensor, SANE_Int resolution)
1180 rst = (sensor == CCD_SENSOR)? reg[a].pixel[0] : reg[a].pixel[1];
1361 static SANE_Int hp3970_gainoffset(SANE_Int usb, SANE_Int sensor, struct st_gain_offset *myreg)
1366 SANE_Int sensor;
1372 /* usb , sensor , {{edcg1 }, {edcg2 }, {odcg1 }, {odcg2 }, {pag }, {vgag1 }, {vgag2 }}} */
1389 if ((reg[a].usb == usb)&&(reg[a].sensor == sensor))
1708 static SANE_Int hp3970_fixedpwm(SANE_Int scantype, SANE_Int usb, SANE_Int sensor)
1713 SANE_Int sensor;
1719 /* usb , sensor , { ST_NORMAL, ST_TA, ST_NEG} */
1732 if ((reg[a].usb == usb)&&(reg[a].sensor == sensor))
1901 static void hp3970_vrefs(SANE_Int usb, SANE_Int sensor, SANE_Int res, SANE_Int *ser, SANE_Int *ler)
1906 SANE_Int sensor;
1912 all sensor types but windows driver has some different values in some cases.
1917 /* usb , sensor , res, { ser, ler} */
1925 /* usb , sensor , res, { ser, ler} */
1933 /* usb , sensor , res, { ser, ler} */
1941 /* usb , sensor , res, { ser, ler} */
1960 if ((reg[a].usb == usb)&&(reg[a].sensor == sensor)&&(reg[a].resolution == res))
2090 SANE_Int sensor;
2098 /* usb, sensor , {systemclock, ctpc, steptype, motorcurve } */
2119 if ((mv[a].usbtype == usb)&&(mv[a].sensor == ccd))
2175 SANE_Int sensor;
2181 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2196 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2211 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2226 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2241 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2256 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2271 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2286 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2301 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2316 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2331 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2346 /* usb, sensor , {scantype , colormode, res , timing, curve, samplerate, clock, ctpc , backstp, steptype, dummyline, {expt }, {mexpt }, motorplus, mexpt16, mexptfull, mexposure, mri , msi , mmtir, mmtirh, skips } */
2374 if ((md->usb == usb)&&(md->sensor == ccd))
2822 SANE_Int sensor;
2831 /*usb , sensor , depth, res , {transparent }, {negative} */
2846 /*usb , sensor , depth, res , {transparent }, {negative } */
2861 /*usb , sensor , depth, res , {transparent }, {negative } */
2876 /*usb , sensor , depth, res , {transparent }, {negative} */
2916 if ((rf->usb == usb)&&(rf->sensor == ccd)&&(rf->depth == depth)&&(rf->res == res))
3276 SANE_Int sensor;
3286 /*usb , sensor , depth, res , {reflective }, {transparent }, {negative} */
3301 /*usb , sensor , depth, res , {reflective }, {transparent }, {negative} */
3316 /*usb , sensor , depth, res , {reflective }, {transparent }, {negative} */
3331 /*usb , sensor , depth, res , {reflective }, {transparent }, {negative} */
3369 if ((ct->usb == usb)&&(ct->sensor == ccd)&&(ct->depth == depth)&&(ct->res == res))
3592 /* bq5550 sensor timing values for each resolution and color mode */
3619 /* Toshiba T2905 sensor timing values for each resolution and color mode */
3666 /* Toshiba T2952 sensor timing values for each resolution and color mode */
3687 /* Sony S575 sensor timing values for each resolution and color mode
3688 I haven't found any hp3970 scanner using sony sensor but windows drivers support this case */
3720 /* Toshiba T2958 sensor timing values for each resolution and color mode */
3755 /* Sony S575 sensor timing values for each resolution and color mode */