Lines Matching refs:Sensor
43 const nsecs_t Sensor::kExposureTimeRange[2] =
45 const nsecs_t Sensor::kFrameDurationRange[2] =
48 const nsecs_t Sensor::kMinVerticalBlank = 10000L;
50 const uint8_t Sensor::kColorFilterArrangement =
54 const uint32_t Sensor::kMaxRawValue = 4000;
55 const uint32_t Sensor::kBlackLevel = 1000;
58 const float Sensor::kSaturationVoltage = 0.520f;
59 const uint32_t Sensor::kSaturationElectrons = 2000;
60 const float Sensor::kVoltsPerLuxSecond = 0.100f;
62 const float Sensor::kElectronsPerLuxSecond =
63 Sensor::kSaturationElectrons / Sensor::kSaturationVoltage
64 * Sensor::kVoltsPerLuxSecond;
66 const float Sensor::kBaseGainFactor = (float)Sensor::kMaxRawValue /
67 Sensor::kSaturationElectrons;
69 const float Sensor::kReadNoiseStddevBeforeGain = 1.177; // in electrons
70 const float Sensor::kReadNoiseStddevAfterGain = 2.100; // in digital counts
71 const float Sensor::kReadNoiseVarBeforeGain =
72 Sensor::kReadNoiseStddevBeforeGain *
73 Sensor::kReadNoiseStddevBeforeGain;
74 const float Sensor::kReadNoiseVarAfterGain =
75 Sensor::kReadNoiseStddevAfterGain *
76 Sensor::kReadNoiseStddevAfterGain;
78 const int32_t Sensor::kSensitivityRange[2] = {100, 1600};
79 const uint32_t Sensor::kDefaultSensitivity = 100;
101 Sensor::Sensor(uint32_t width, uint32_t height): in Sensor() function in android::Sensor
121 Sensor::~Sensor() { in ~Sensor()
125 status_t Sensor::startUp() { in startUp()
139 status_t Sensor::shutDown() { in shutDown()
150 Scene &Sensor::getScene() { in getScene()
154 void Sensor::setExposureTime(uint64_t ns) { in setExposureTime()
160 void Sensor::setFrameDuration(uint64_t ns) { in setFrameDuration()
166 void Sensor::setSensitivity(uint32_t gain) { in setSensitivity()
172 void Sensor::setDestinationBuffers(Buffers *buffers) { in setDestinationBuffers()
177 void Sensor::setFrameNumber(uint32_t frameNumber) { in setFrameNumber()
182 bool Sensor::waitForVSync(nsecs_t reltime) { in waitForVSync()
195 bool Sensor::waitForNewFrame(nsecs_t reltime, in waitForNewFrame()
215 Sensor::SensorListener::~SensorListener() { in ~SensorListener()
218 void Sensor::setSensorListener(SensorListener *listener) { in setSensorListener()
223 status_t Sensor::readyToRun() { in readyToRun()
231 bool Sensor::threadLoop() { in threadLoop()
392 void Sensor::captureRaw(uint8_t *img, uint32_t gain, uint32_t stride) { in captureRaw()
434 void Sensor::captureRGBA(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureRGBA()
473 void Sensor::captureRGB(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureRGB()
509 void Sensor::captureYU12(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureYU12()
568 void Sensor::captureDepth(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureDepth()
600 void Sensor::captureDepthCloud(uint8_t *img) { in captureDepthCloud()