Home | History | Annotate | Download | only in camera

Lines Matching refs:Sensor

35 #include "fake-pipeline2/Sensor.h"
153 mSensor = new Sensor(mSensorWidth, mSensorHeight);
192 ALOGE("%s: Unable to shut down sensor: %d", __FUNCTION__, res);
473 /** android.sensor */
882 * Get ready for sensor config
891 exposureTime = (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0];
893 frameDuration = (entry.count > 0)? entry.data.i64[0] : Sensor::kFrameDurationRange[0];
895 sensitivity = (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0];
898 frameDuration = exposureTime + Sensor::kMinVerticalBlank;
1029 * Wait until sensor's ready. This waits for lengthy amounts of time with
1039 ALOGE("%s: Request %d: Sensor sync timed out after %" PRId64 " ms",
1048 * Configure sensor and queue up the request to the readout thread
1180 // android.sensor
1185 Sensor::kExposureTimeRange, 2);
1188 &Sensor::kFrameDurationRange[1], 1);
1191 Sensor::kSensitivityRange,
1192 sizeof(Sensor::kSensitivityRange)
1196 &Sensor::kSensitivityRange[1], 1);
1223 (int32_t*)&Sensor::kMaxRawValue, 1);
1226 (int32_t)Sensor::kBlackLevel, (int32_t)Sensor::kBlackLevel,
1227 (int32_t)Sensor::kBlackLevel, (int32_t)Sensor::kBlackLevel
1235 &Sensor::kColorFilterArrangement, 1);
1425 HAL_PIXEL_FORMAT_BLOB, width, height, Sensor::kFrameDurationRange[0],
1426 HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, 320, 240, Sensor::kFrameDurationRange[0],
1427 HAL_PIXEL_FORMAT_YCbCr_420_888, 320, 240, Sensor::kFrameDurationRange[0],
1428 HAL_PIXEL_FORMAT_BLOB, 320, 240, Sensor::kFrameDurationRange[0],
1429 HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, 176, 144, Sensor::kFrameDurationRange[0],
1430 HAL_PIXEL_FORMAT_YCbCr_420_888, 176, 144, Sensor::kFrameDurationRange[0],
1431 HAL_PIXEL_FORMAT_BLOB, 176, 144, Sensor::kFrameDurationRange[0],
1432 HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, 1280, 720, Sensor::kFrameDurationRange[0],
1433 HAL_PIXEL_FORMAT_YCbCr_420_888, 1280, 720, Sensor::kFrameDurationRange[0],
1434 HAL_PIXEL_FORMAT_BLOB, 1280, 720, Sensor::kFrameDurationRange[0],
1439 HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, 640, 480, Sensor::kFrameDurationRange[0],
1440 HAL_PIXEL_FORMAT_YCbCr_420_888, 640, 480, Sensor::kFrameDurationRange[0],
1441 HAL_PIXEL_FORMAT_BLOB, 640, 480, Sensor::kFrameDurationRange[0]
1445 HAL_PIXEL_FORMAT_RAW16, width, height, Sensor::kFrameDurationRange[0],
1449 HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, width, height, Sensor::kFrameDurationRange[0],
1450 HAL_PIXEL_FORMAT_YCbCr_420_888, width, height, Sensor::kFrameDurationRange[0],
1451 HAL_PIXEL_FORMAT_RGBA_8888, width, height, Sensor::kFrameDurationRange[0],
1484 HAL_PIXEL_FORMAT_BLOB, width, height, Sensor::kFrameDurationRange[0],
1500 HAL_PIXEL_FORMAT_BLOB, 640, 480, Sensor::kFrameDurationRange[0]
1504 HAL_PIXEL_FORMAT_RAW16, 640, 480, Sensor::kFrameDurationRange[0]
1797 HAL_PIXEL_FORMAT_Y16, 160, 120, Sensor::kFrameDurationRange[0],
1798 HAL_PIXEL_FORMAT_BLOB, maxDepthSamples,1, Sensor::kFrameDurationRange[0]
1805 HAL_PIXEL_FORMAT_Y16, 160, 120, Sensor::kFrameDurationRange[0],
1806 HAL_PIXEL_FORMAT_BLOB, maxDepthSamples,1, Sensor::kFrameDurationRange[0]
2455 case Sensor::SensorListener::EXPOSURE_START: {
2456 ALOGVV("%s: Frame %d: Sensor started exposure at %lld",
2467 ALOGW("%s: Unexpected sensor event %d at %" PRId64, __FUNCTION__,
2550 // Then wait for it to be delivered from the sensor
2551 ALOGVV("%s: ReadoutThread: Wait for frame to be delivered from sensor",
2558 ALOGVV("%s: ReadoutThread: Timed out waiting for sensor frame",
2563 ALOGVV("Sensor done with readout for frame %d, captured at %lld ",
2626 nsecs_t rollingShutterSkew = Sensor::kFrameDurationRange[0];