Home
last modified time | relevance | path

Searched refs:sensor (Results 1 – 11 of 11) sorted by relevance

/hardware/ti/omap4xxx/camera/
DSensorListener.cpp197 Sensor const* sensor; in enableSensor() local
205 sensor = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in enableSensor()
206 CAMHAL_LOGDB("orientation = %p (%s)", sensor, sensor->getName().string()); in enableSensor()
207 mSensorEventQueue->enableSensor(sensor); in enableSensor()
208 mSensorEventQueue->setEventRate(sensor, ms2ns(100)); in enableSensor()
216 Sensor const* sensor; in disableSensor() local
224 sensor = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in disableSensor()
225 CAMHAL_LOGDB("orientation = %p (%s)", sensor, sensor->getName().string()); in disableSensor()
226 mSensorEventQueue->disableSensor(sensor); in disableSensor()
/hardware/invensense/libsensors_iio/software/core/mllite/
Ddata_builder.c70 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias);
172 void set_sensor_orientation_and_scale(struct inv_single_sensor_t *sensor, in set_sensor_orientation_and_scale() argument
175 sensor->sensitivity = sensitivity; in set_sensor_orientation_and_scale()
176 sensor->orientation = orientation; in set_sensor_orientation_and_scale()
423 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias) in inv_apply_calibration() argument
428 raw32[0] = (long)sensor->raw[0] << 15; in inv_apply_calibration()
429 raw32[1] = (long)sensor->raw[1] << 15; in inv_apply_calibration()
430 raw32[2] = (long)sensor->raw[2] << 15; in inv_apply_calibration()
432 …inv_convert_to_body_with_scale(sensor->orientation, sensor->sensitivity << 1, raw32, sensor->raw_d… in inv_apply_calibration()
438 …inv_convert_to_body_with_scale(sensor->orientation, sensor->sensitivity << 1, raw32, sensor->calib… in inv_apply_calibration()
[all …]
Dresults_holder.c45 struct inv_sensor_cal_t *sensor; member
274 rh.sensor = sensor_cal; in inv_generate_results()
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.cpp443 …->internal_shot.shot.ctl.request.frameCount, currentEntry->internal_shot.shot.dm.sensor.timeStamp); in PrepareFrame()
514 shot_ext->shot.ctl.sensor.exposureTime = 0; in MarkProcessingRequest()
515 shot_ext->shot.ctl.sensor.frameDuration = 33*1000*1000; in MarkProcessingRequest()
516 shot_ext->shot.ctl.sensor.sensitivity = 0; in MarkProcessingRequest()
625 timeStamp = request_shot->shot.dm.sensor.timeStamp; in ApplyDynamicMetadata()
627 request_shot->shot.dm.sensor.timeStamp = timeStamp; in ApplyDynamicMetadata()
772 index, frameCnt, currentEntry->internal_shot.shot.dm.sensor.timeStamp); in RegisterTimestamp()
774 currentEntry->internal_shot.shot.dm.sensor.timeStamp = *((uint64_t*)frameTime); in RegisterTimestamp()
776 index, frameCnt, currentEntry->internal_shot.shot.dm.sensor.timeStamp); in RegisterTimestamp()
801 nsecs_t frameTime = currentEntry->internal_shot.shot.dm.sensor.timeStamp; in GetTimestamp()
[all …]
DMetadataConverter.cpp137 dst->dm.sensor.timeStamp = curr_entry.data.i64[0]; in ToInternalShot()
150 dst->dm.sensor.exposureTime = curr_entry.data.i64[0]; in ToInternalShot()
532 &metadata->dm.sensor.timeStamp, 1)) in ToDynamicMetadata()
536 &metadata->dm.sensor.exposureTime, 1)) in ToDynamicMetadata()
549 metadata->dm.sensor.timeStamp, metadata->dm.sensor.exposureTime, metadata->dm.lens.aperture); in ToDynamicMetadata()
Dfimc-is-metadata.h662 struct camera2_sensor_ctl sensor; member
685 struct camera2_sensor_dm sensor; member
706 struct camera2_sensor_sm sensor; member
DExynosCameraHWInterface2.h209 node_info_t sensor; member
/hardware/invensense/libsensors/
DMPLSensor.cpp221 mPendingEvents[RotationVector].sensor = ID_RV; in MPLSensor()
227 mPendingEvents[LinearAccel].sensor = ID_LA; in MPLSensor()
233 mPendingEvents[Gravity].sensor = ID_GR; in MPLSensor()
238 mPendingEvents[Gyro].sensor = ID_GY; in MPLSensor()
243 mPendingEvents[Accelerometer].sensor = ID_A; in MPLSensor()
249 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()
254 mPendingEvents[Orientation].sensor = ID_O; in MPLSensor()
/hardware/libhardware/include/hardware/
Dsensors.h333 int32_t sensor; member
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
Dfimc-is-metadata.h715 struct camera2_sensor_ctl sensor; member
734 struct camera2_sensor_dm sensor; member
752 struct camera2_sensor_sm sensor; member
/hardware/invensense/libsensors_iio/
DMPLSensor.cpp266 mPendingEvents[RotationVector].sensor = ID_RV; in MPLSensor()
272 mPendingEvents[LinearAccel].sensor = ID_LA; in MPLSensor()
278 mPendingEvents[Gravity].sensor = ID_GR; in MPLSensor()
283 mPendingEvents[Gyro].sensor = ID_GY; in MPLSensor()
288 mPendingEvents[RawGyro].sensor = ID_RG; in MPLSensor()
293 mPendingEvents[Accelerometer].sensor = ID_A; in MPLSensor()
300 mPendingEvents[MagneticField].sensor = ID_M; in MPLSensor()
306 mPendingEvents[Orientation].sensor = ID_O; in MPLSensor()
2327 temp.sensor = ID_SO; in readDmpOrientEvents()