Lines Matching refs:OPT_CUSTOM_GAMMA
849 if (!(strcmp(ms->val[OPT_CUSTOM_GAMMA].s, M_TABLE))) {
902 } else if (!(strcmp(ms->val[OPT_CUSTOM_GAMMA].s, M_SCALAR))) {
1340 sod[OPT_CUSTOM_GAMMA].cap |= SANE_CAP_INACTIVE;
1343 sod[OPT_CUSTOM_GAMMA].name = "gamma-mode";
1344 sod[OPT_CUSTOM_GAMMA].title = "Gamma Control Mode";
1345 sod[OPT_CUSTOM_GAMMA].desc = "How to specify gamma correction, if at all";
1346 sod[OPT_CUSTOM_GAMMA].type = SANE_TYPE_STRING;
1347 sod[OPT_CUSTOM_GAMMA].size = max_string_size(gamma_mode_list);
1348 sod[OPT_CUSTOM_GAMMA].constraint_type = SANE_CONSTRAINT_STRING_LIST;
1349 sod[OPT_CUSTOM_GAMMA].constraint.string_list = gamma_mode_list;
1351 sod[OPT_CUSTOM_GAMMA].cap |= SANE_CAP_INACTIVE;
1352 val[OPT_CUSTOM_GAMMA].s = strdup(gamma_mode_list[0]);
3305 free(ms->val[OPT_CUSTOM_GAMMA].s);
3413 case OPT_CUSTOM_GAMMA:
3504 case OPT_CUSTOM_GAMMA:
3509 } else if (option == OPT_CUSTOM_GAMMA) {
3517 if ( !(strcmp(val[OPT_CUSTOM_GAMMA].s, M_NONE)) ||
3518 !(strcmp(val[OPT_CUSTOM_GAMMA].s, M_SCALAR)) ) {
3524 if ( !(strcmp(val[OPT_CUSTOM_GAMMA].s, M_NONE)) ||
3525 !(strcmp(val[OPT_CUSTOM_GAMMA].s, M_TABLE)) ) {
3531 if (!(strcmp(val[OPT_CUSTOM_GAMMA].s, M_SCALAR))) {
3544 if (!(strcmp(val[OPT_CUSTOM_GAMMA].s, M_TABLE))) {
3557 if (!(strcmp(val[OPT_CUSTOM_GAMMA].s, M_NONE)))