Lines Matching refs:OPT_CUSTOM_GAMMA
730 s->opt[OPT_CUSTOM_GAMMA].name = SANE_NAME_CUSTOM_GAMMA;
731 s->opt[OPT_CUSTOM_GAMMA].title = SANE_TITLE_CUSTOM_GAMMA;
732 s->opt[OPT_CUSTOM_GAMMA].desc = SANE_DESC_CUSTOM_GAMMA;
733 s->opt[OPT_CUSTOM_GAMMA].type = SANE_TYPE_BOOL;
734 s->val[OPT_CUSTOM_GAMMA].w = SANE_FALSE;
856 s->opt[OPT_CUSTOM_GAMMA].cap |= SANE_CAP_INACTIVE;
1448 case OPT_CUSTOM_GAMMA:
1533 case OPT_CUSTOM_GAMMA:
1592 s->opt[OPT_CUSTOM_GAMMA].cap &= ~SANE_CAP_INACTIVE;
1596 s->opt[OPT_CUSTOM_GAMMA].cap |= SANE_CAP_INACTIVE;
1601 s->opt[OPT_CUSTOM_GAMMA].cap |= SANE_CAP_INACTIVE;
1609 if( s->val[OPT_CUSTOM_GAMMA].w &&
1610 !(s->opt[OPT_CUSTOM_GAMMA].cap & SANE_CAP_INACTIVE)) {