Home
last modified time | relevance | path

Searched refs:currentexp (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/media/usb/gspca/
Dcpia1.c1024 int currentexp = sd->params.exposure.coarseExpLo + in set_flicker() local
1036 currentexp = currentexp << sd->params.exposure.gain; in set_flicker()
1039 startexp = (currentexp + ROUND_UP_EXP_FOR_FLICKER) / cj; in set_flicker()
1051 if (currentexp > startexp) { in set_flicker()
1052 if (currentexp > (2 * startexp)) in set_flicker()
1053 currentexp = 2 * startexp; in set_flicker()
1055 COMPGAIN(COMP_RED, currentexp, startexp); in set_flicker()
1057 COMPGAIN(COMP_GREEN1, currentexp, startexp); in set_flicker()
1059 COMPGAIN(COMP_GREEN2, currentexp, startexp); in set_flicker()
1061 COMPGAIN(COMP_BLUE, currentexp, startexp); in set_flicker()
[all …]