Lines Matching refs:OPT_CUSTOM_GAMMA
538 hndl->opt[OPT_CUSTOM_GAMMA].name = SANE_NAME_CUSTOM_GAMMA;
539 hndl->opt[OPT_CUSTOM_GAMMA].title = SANE_TITLE_CUSTOM_GAMMA;
540 hndl->opt[OPT_CUSTOM_GAMMA].desc = SANE_DESC_CUSTOM_GAMMA;
541 hndl->opt[OPT_CUSTOM_GAMMA].type = SANE_TYPE_BOOL;
542 hndl->val[OPT_CUSTOM_GAMMA].w = SANE_FALSE;
545 hndl->opt[OPT_CUSTOM_GAMMA].cap |= SANE_CAP_INACTIVE;
1318 case OPT_CUSTOM_GAMMA:
1401 case OPT_CUSTOM_GAMMA:
1404 if (w == hndl->val[OPT_CUSTOM_GAMMA].w)
1410 hndl->val[OPT_CUSTOM_GAMMA].w = w;
1453 hndl->opt[OPT_CUSTOM_GAMMA].cap |= SANE_CAP_INACTIVE;
1468 hndl->opt[OPT_CUSTOM_GAMMA].cap &= ~SANE_CAP_INACTIVE;
1470 if (hndl->val[OPT_CUSTOM_GAMMA].w == SANE_TRUE)
1563 if ((hndl->dev->caps & CAP_GAMMA_CORRECT) && (hndl->val[OPT_CUSTOM_GAMMA].w == SANE_TRUE))