Lines Matching refs:gain
166 void Sensor::setSensitivity(uint32_t gain) { in setSensitivity() argument
168 ALOGVV("Gain set to %d", gain); in setSensitivity()
169 mGainFactor = gain; in setSensitivity()
245 uint32_t gain; in threadLoop() local
253 gain = mGainFactor; in threadLoop()
315 (float)exposureDuration/1e6, gain); in threadLoop()
328 captureRaw(b.img, gain, b.stride); in threadLoop()
331 captureRGB(b.img, gain, b.width, b.height); in threadLoop()
334 captureRGBA(b.img, gain, b.width, b.height); in threadLoop()
356 captureYU12(b.img, gain, b.width, b.height); in threadLoop()
363 captureDepth(b.img, gain, b.width, b.height); in threadLoop()
392 void Sensor::captureRaw(uint8_t *img, uint32_t gain, uint32_t stride) { in captureRaw() argument
394 float totalGain = gain/100.0 * kBaseGainFactor; in captureRaw()
434 void Sensor::captureRGBA(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureRGBA() argument
436 float totalGain = gain/100.0 * kBaseGainFactor; in captureRGBA()
473 void Sensor::captureRGB(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureRGB() argument
475 float totalGain = gain/100.0 * kBaseGainFactor; in captureRGB()
509 void Sensor::captureYU12(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureYU12() argument
511 float totalGain = gain/100.0 * kBaseGainFactor; in captureYU12()
568 void Sensor::captureDepth(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureDepth() argument
570 float totalGain = gain/100.0 * kBaseGainFactor; in captureDepth()