Lines Matching refs:exposure
35 int i, steps, gain, orig_gain, exposure, orig_exposure; in auto_gain_n_exposure() local
39 orig_exposure = exposure = sd->ctrls[EXPOSURE].val; in auto_gain_n_exposure()
52 else if (exposure > exposure_knee) in auto_gain_n_exposure()
53 exposure--; in auto_gain_n_exposure()
56 else if (exposure > sd->ctrls[EXPOSURE].min) in auto_gain_n_exposure()
57 exposure--; in auto_gain_n_exposure()
65 else if (exposure < exposure_knee) in auto_gain_n_exposure()
66 exposure++; in auto_gain_n_exposure()
69 else if (exposure < sd->ctrls[EXPOSURE].max) in auto_gain_n_exposure()
70 exposure++; in auto_gain_n_exposure()
83 if (exposure != orig_exposure) { in auto_gain_n_exposure()
84 sd->ctrls[EXPOSURE].val = exposure; in auto_gain_n_exposure()
91 gain, exposure); in auto_gain_n_exposure()
117 int steps, gain, orig_gain, exposure, orig_exposure; in coarse_grained_expo_autogain() local
122 orig_exposure = exposure = sd->ctrls[EXPOSURE].val; in coarse_grained_expo_autogain()
137 exposure < sd->ctrls[EXPOSURE].max) { in coarse_grained_expo_autogain()
142 exposure > sd->ctrls[EXPOSURE].min) { in coarse_grained_expo_autogain()
157 exposure--; in coarse_grained_expo_autogain()
160 exposure++; in coarse_grained_expo_autogain()
169 if (exposure != orig_exposure) { in coarse_grained_expo_autogain()
170 sd->ctrls[EXPOSURE].val = exposure; in coarse_grained_expo_autogain()
177 gain, exposure); in coarse_grained_expo_autogain()