Lines Matching refs:gain
1018 double ref0, setup, gain;
1027 gain = 219.0 / (92.5 * ref0 / 40.0);
1032 gain = 219.0 / (100.0 * ref0 / 40.0);
1041 gain = 219.0 / (100.0 * ref0 / 43.0);
1046 gain = 0.0;
1055 int(64.0 * ((contrast + 100) / 100.0) * gain) << 0);
1059 int(16.0 * ((brightness - setup) + 16.0 / ((contrast + 100) * gain / 100.0))) & BRIGHTNESS);
1125 double gain, CRgain, CBgain;
1164 gain = 1.0 + 4.9 * saturation / 100.0;
1166 gain = 1.0 + saturation / 100.0;
1168 SetRegister(VIP_CP_ACTIVE_GAIN, CRDR_ACTIVE_GAIN, int(128 * CRgain * gain) << 0);
1169 SetRegister(VIP_CP_ACTIVE_GAIN, CBDB_ACTIVE_GAIN, int(128 * CBgain * gain) << 16);