Lines Matching refs:mode_list
143 static SANE_String_Const mode_list[6];
1331 mode_list[0]=SANE_VALUE_SCAN_MODE_LINEART;
1332 mode_list[1]=SANE_VALUE_SCAN_MODE_HALFTONE;
1333 mode_list[2]="Gray16";
1334 mode_list[3]=NULL;
1337 mode_list[0]=SANE_VALUE_SCAN_MODE_LINEART;
1338 mode_list[1]=SANE_VALUE_SCAN_MODE_HALFTONE;
1339 mode_list[2]="Gray16";
1340 mode_list[3]=SANE_VALUE_SCAN_MODE_GRAY;
1341 mode_list[4]=NULL;
1347 mode_list[0]=SANE_VALUE_SCAN_MODE_LINEART;
1348 mode_list[1]="Gray16";
1349 mode_list[2]=SANE_VALUE_SCAN_MODE_GRAY;
1350 mode_list[3]="BiColor";
1351 mode_list[4]=SANE_VALUE_SCAN_MODE_COLOR;
1352 mode_list[5]=NULL;
1365 s->opt[OPT_MODE].size = max_string_size (mode_list);
1366 s->opt[OPT_MODE].constraint.string_list = mode_list;
1367 s->val[OPT_MODE].s = strdup (mode_list[0]);