Lines Matching refs:model

113     if (dev->model->asic_type==AsicType::GL847 ||
114 dev->model->asic_type==AsicType::GL845 ||
115 dev->model->asic_type==AsicType::GL846 ||
116 dev->model->asic_type==AsicType::GL124)
141 switch (dev.model->asic_type) {
232 switch (dev->model->asic_type)
259 if (dev->model->asic_type == AsicType::GL646) {
276 if (dev->model->asic_type == AsicType::GL124) {
285 if (dev->model->asic_type == AsicType::GL646) {
377 dev->model->is_cis ? 1 : session.params.channels,
378 dev->model->line_mode_color_order);
408 if (has_flag(dev->model->flags, ModelFlag::SWAP_16BIT_DATA)) {
419 if (has_flag(dev->model->flags, ModelFlag::INVERT_PIXEL_DATA)) {
423 if (dev->model->is_cis && session.params.channels == 3) {
424 pipeline.push_node<ImagePipelineNodeMergeMonoLinesToColor>(dev->model->line_mode_color_order);
450 if (dev->model->asic_type == AsicType::GL842 ||
451 dev->model->asic_type == AsicType::GL843 ||
452 dev->model->model_id == ModelId::CANON_5600F)
462 if (dev->model->asic_type == AsicType::GL842 ||
463 dev->model->asic_type == AsicType::GL843 ||
464 dev->model->model_id == ModelId::CANON_5600F)
472 dev->model->is_cis ? 1 : session.params.channels,
473 dev->model->line_mode_color_order);
478 if (dev->model->asic_type == AsicType::GL842 ||
479 dev->model->asic_type == AsicType::GL843 ||
480 dev->model->model_id == ModelId::CANON_5600F)
510 if (has_flag(dev->model->flags, ModelFlag::SWAP_16BIT_DATA)) {
521 if (has_flag(dev->model->flags, ModelFlag::INVERT_PIXEL_DATA)) {
525 if (dev->model->is_cis && session.params.channels == 3) {
526 pipeline.push_node<ImagePipelineNodeMergeMonoLinesToColor>(dev->model->line_mode_color_order);
544 if (dev->model->asic_type == AsicType::GL124) {
553 if (dev->model->asic_type == AsicType::GL646) {
555 } else if (dev->model->asic_type == AsicType::GL841) {
573 if (dev->model->asic_type == AsicType::GL841) {
574 regs_set_exposure(dev->model->asic_type, regs,
579 if (dev->model->asic_type == AsicType::GL843) {
580 regs_set_exposure(dev->model->asic_type, regs, sensor.exposure);
584 if ((dev->model->model_id == ModelId::CANON_8400F ||
585 dev->model->model_id == ModelId::CANON_8600F ||
586 dev->model->model_id == ModelId::PLUSTEK_OPTICFILM_7200I ||
587 dev->model->model_id == ModelId::PLUSTEK_OPTICFILM_7500I ||
588 dev->model->model_id == ModelId::PLUSTEK_OPTICFILM_8200I) &&
596 if (dev->model->asic_type == AsicType::GL841) {
597 regs_set_exposure(dev->model->asic_type, regs, sanei_genesys_fixup_exposure({0, 0, 0}));
600 if (dev->model->model_id == ModelId::CANON_5600F) {
601 regs_set_exposure(dev->model->asic_type, regs, sanei_genesys_fixup_exposure({0, 0, 0}));
762 if (dev->model->asic_type == AsicType::GL646) {
766 } else if (dev->model->asic_type == AsicType::GL841 ||
767 dev->model->asic_type == AsicType::GL842 ||
768 dev->model->asic_type == AsicType::GL843 ||
769 dev->model->asic_type == AsicType::GL845 ||
770 dev->model->asic_type == AsicType::GL846 ||
771 dev->model->asic_type == AsicType::GL847)
774 if (dev->model->model_id == ModelId::CANON_5600F ||
775 dev->model->model_id == ModelId::CANON_LIDE_90)
787 } else if (dev->model->asic_type == AsicType::GL124)
802 if (dev->model->model_id == ModelId::PLUSTEK_OPTICFILM_7200 ||
803 dev->model->model_id == ModelId::PLUSTEK_OPTICFILM_7200I ||
804 dev->model->model_id == ModelId::PLUSTEK_OPTICFILM_7300 ||
805 dev->model->model_id == ModelId::PLUSTEK_OPTICFILM_7500I)
818 if (dev.model->model_id == ModelId::CANON_5600F) {
828 if (dev.model->asic_type == AsicType::GL841 ||
829 dev.model->asic_type == AsicType::GL842)
834 if (dev.model->asic_type == AsicType::GL646 && output_xresolution == 400) {
838 if (dev.model->asic_type == AsicType::GL843) {
843 if (dev.model->model_id == ModelId::PLUSTEK_OPTICFILM_7200 ||
844 dev.model->model_id == ModelId::PLUSTEK_OPTICFILM_7200I ||
845 dev.model->model_id == ModelId::PLUSTEK_OPTICFILM_7300 ||
846 dev.model->model_id == ModelId::PLUSTEK_OPTICFILM_7400 ||
847 dev.model->model_id == ModelId::PLUSTEK_OPTICFILM_7500I ||
848 dev.model->model_id == ModelId::PLUSTEK_OPTICFILM_8200I)
861 if (has_flag(dev.model->flags, ModelFlag::SIS_SENSOR) ||
862 dev.model->asic_type == AsicType::GL847 ||
863 dev.model->asic_type == AsicType::GL124 ||
864 dev.model->asic_type == AsicType::GL845 ||
865 dev.model->asic_type == AsicType::GL846 ||
866 dev.model->asic_type == AsicType::GL843)
882 dev.model->asic_type == AsicType::GL124 ||
883 dev.model->asic_type == AsicType::GL847 ||
934 if (has_flag(dev->model->flags, ModelFlag::HOST_SIDE_GRAY) && s.params.channels == 1 &&
950 s.color_shift_lines_r = dev->model->ld_shift_r;
951 s.color_shift_lines_g = dev->model->ld_shift_g;
952 s.color_shift_lines_b = dev->model->ld_shift_b;
954 if (dev->model->motor_id == MotorId::G4050 && s.params.yres > 600) {
972 s.optical_line_count = dev->model->is_cis ? s.output_line_count * s.params.channels
985 if ((dev->model->asic_type == AsicType::GL845 ||
986 dev->model->asic_type == AsicType::GL846 ||
987 dev->model->asic_type == AsicType::GL847) &&
988 dev->model->model_id != ModelId::PLUSTEK_OPTICFILM_7400 &&
989 dev->model->model_id != ModelId::PLUSTEK_OPTICFILM_8200I)
995 if (dev->model->model_id == ModelId::CANON_5600F) {
997 if (dev->model->model_id == ModelId::CANON_5600F) {
1026 if (dev->model->model_id == ModelId::CANON_5600F) {
1037 if (dev->model->asic_type == AsicType::GL841 ||
1038 dev->model->asic_type == AsicType::GL842)
1040 if (dev->model->is_cis) {
1045 if (dev->model->asic_type == AsicType::GL124) {
1046 if (dev->model->is_cis) {
1052 if (dev->model->asic_type == AsicType::GL842 ||
1053 dev->model->asic_type == AsicType::GL843)
1055 if (dev->model->is_cis) {
1065 if (dev->model->asic_type == AsicType::GL124 ||
1066 dev->model->asic_type == AsicType::GL842 ||
1067 dev->model->asic_type == AsicType::GL843)
1073 if (dev->model->model_id == ModelId::CANON_LIDE_90) {
1077 if (dev->model->asic_type == AsicType::GL845 ||
1078 dev->model->asic_type == AsicType::GL846 ||
1079 dev->model->asic_type == AsicType::GL847)
1081 if (dev->model->model_id == ModelId::CANON_5600F) {
1093 if (dev->model->model_id == ModelId::CANON_LIDE_90) {
1103 if (dev->model->asic_type == AsicType::GL124 ||
1104 dev->model->asic_type == AsicType::GL845 ||
1105 dev->model->asic_type == AsicType::GL846)
1107 s.enable_ledadd = (s.params.channels == 1 && dev->model->is_cis &&
1113 if (dev->model->asic_type == AsicType::GL841 ||
1114 dev->model->asic_type == AsicType::GL842 ||
1115 dev->model->asic_type == AsicType::GL843)
1133 dev.model->is_cis ? 1 : session.params.channels,
1134 dev.model->line_mode_color_order);
1182 if (has_flag(dev.model->flags, ModelFlag::SWAP_16BIT_DATA)) {
1197 if (has_flag(dev.model->flags, ModelFlag::INVERT_PIXEL_DATA)) {
1205 if (dev.model->is_cis && session.params.channels == 3) {
1206 pipeline.push_node<ImagePipelineNodeMergeMonoLinesToColor>(dev.model->line_mode_color_order);
1255 !has_flag(dev.model->flags, ModelFlag::DISABLE_SHADING_CALIBRATION) &&
1463 if (dev->model->model_id == ModelId::CANON_8600F) {
1480 switch (dev.model->asic_type) {
1768 const auto& resolution_settings = dev->model->get_resolution_settings(dev->settings.scan_method);
1779 const auto& resolution_settings = dev->model->get_resolution_settings(dev->settings.scan_method);
1860 && !dev->model->is_sheetfed