Lines Matching refs:Sensor
35 #include "fake-pipeline2/Sensor.h"
151 mSensor = new Sensor(mSensorWidth, mSensorHeight);
190 ALOGE("%s: Unable to shut down sensor: %d", __FUNCTION__, res);
438 /** android.sensor */
844 * Get ready for sensor config
854 exposureTime = (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0];
856 frameDuration = (entry.count > 0)? entry.data.i64[0] : Sensor::kFrameDurationRange[0];
858 sensitivity = (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0];
861 frameDuration = exposureTime + Sensor::kMinVerticalBlank;
974 * Wait until sensor's ready. This waits for lengthy amounts of time with
984 ALOGE("%s: Request %d: Sensor sync timed out after %" PRId64 " ms",
993 * Configure sensor and queue up the request to the readout thread
1123 // android.sensor
1128 Sensor::kExposureTimeRange, 2);
1131 &Sensor::kFrameDurationRange[1], 1);
1134 Sensor::kSensitivityRange,
1135 sizeof(Sensor::kSensitivityRange)
1139 &Sensor::kSensitivityRange[1], 1);
1161 &Sensor::kColorFilterArrangement, 1);
1164 (int32_t*)&Sensor::kMaxRawValue, 1);
1167 (int32_t)Sensor::kBlackLevel, (int32_t)Sensor::kBlackLevel,
1168 (int32_t)Sensor::kBlackLevel, (int32_t)Sensor::kBlackLevel
1345 HAL_PIXEL_FORMAT_BLOB, width, height, Sensor::kFrameDurationRange[0],
1346 HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, 320, 240, Sensor::kFrameDurationRange[0],
1347 HAL_PIXEL_FORMAT_YCbCr_420_888, 320, 240, Sensor::kFrameDurationRange[0],
1348 HAL_PIXEL_FORMAT_BLOB, 320, 240, Sensor::kFrameDurationRange[0],
1353 HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, 640, 480, Sensor::kFrameDurationRange[0],
1354 HAL_PIXEL_FORMAT_YCbCr_420_888, 640, 480, Sensor::kFrameDurationRange[0],
1355 HAL_PIXEL_FORMAT_BLOB, 640, 480, Sensor::kFrameDurationRange[0]
1359 HAL_PIXEL_FORMAT_RAW16, width, height, Sensor::kFrameDurationRange[0],
1363 Sensor::kFrameDurationRange[0],
1364 HAL_PIXEL_FORMAT_YCbCr_420_888, width, height, Sensor::kFrameDurationRange[0],
1365 HAL_PIXEL_FORMAT_RGBA_8888, width, height, Sensor::kFrameDurationRange[0],
1398 HAL_PIXEL_FORMAT_BLOB, width, height, Sensor::kFrameDurationRange[0],
1408 HAL_PIXEL_FORMAT_BLOB, 640, 480, Sensor::kFrameDurationRange[0]
1412 HAL_PIXEL_FORMAT_RAW16, 640, 480, Sensor::kFrameDurationRange[0]
1704 HAL_PIXEL_FORMAT_Y16, 160, 120, Sensor::kFrameDurationRange[0],
1705 HAL_PIXEL_FORMAT_BLOB, maxDepthSamples,1, Sensor::kFrameDurationRange[0]
1712 HAL_PIXEL_FORMAT_Y16, 160, 120, Sensor::kFrameDurationRange[0],
1713 HAL_PIXEL_FORMAT_BLOB, maxDepthSamples,1, Sensor::kFrameDurationRange[0]
2327 case Sensor::SensorListener::EXPOSURE_START: {
2328 ALOGVV("%s: Frame %d: Sensor started exposure at %lld",
2339 ALOGW("%s: Unexpected sensor event %d at %" PRId64, __FUNCTION__,
2422 // Then wait for it to be delivered from the sensor
2423 ALOGVV("%s: ReadoutThread: Wait for frame to be delivered from sensor",
2430 ALOGVV("%s: ReadoutThread: Timed out waiting for sensor frame",
2435 ALOGVV("Sensor done with readout for frame %d, captured at %lld ",
2498 nsecs_t rollingShutterSkew = Sensor::kFrameDurationRange[0];