Lines Matching refs:gain
2241 void setSingleExpGainPreset(ShotParameters ¶ms, int idx, int exp, int gain) { in setSingleExpGainPreset() argument
2256 val.appendFormat(",%+d)", gain); in setSingleExpGainPreset()
2258 val.appendFormat(",%u)", (unsigned int) gain); in setSingleExpGainPreset()
2318 void calcNextSingleExpGainPreset(int idx, int &exp, int &gain) { in calcNextSingleExpGainPreset() argument
2321 if ( (0 == exp) && (0 == gain) ) { in calcNextSingleExpGainPreset()
2323 gain = 150; in calcNextSingleExpGainPreset()
2324 printf("Streaming: Init default absolute exp./gain: %d,%d\n", exp, gain); in calcNextSingleExpGainPreset()
2330 gain += 50; in calcNextSingleExpGainPreset()
2331 if(400 < gain) { in calcNextSingleExpGainPreset()
2332 gain = 50; in calcNextSingleExpGainPreset()
2340 gain += 50; in calcNextSingleExpGainPreset()
2341 if(200 < gain) { in calcNextSingleExpGainPreset()
2342 gain = -200; in calcNextSingleExpGainPreset()