Home
last modified time | relevance | path

Searched refs:Sensor (Results 1 – 23 of 23) sorted by relevance

/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/
DSensor.cpp41 const nsecs_t Sensor::kExposureTimeRange[2] = {1000L,
43 const nsecs_t Sensor::kFrameDurationRange[2] = {
46 const nsecs_t Sensor::kMinVerticalBlank = 10000L;
48 const uint8_t Sensor::kColorFilterArrangement =
52 const uint32_t Sensor::kMaxRawValue = 4000;
53 const uint32_t Sensor::kBlackLevel = 1000;
56 const float Sensor::kSaturationVoltage = 0.520f;
57 const uint32_t Sensor::kSaturationElectrons = 2000;
58 const float Sensor::kVoltsPerLuxSecond = 0.100f;
60 const float Sensor::kElectronsPerLuxSecond = Sensor::kSaturationElectrons /
[all …]
DSensor.h89 class Sensor : private Thread, public virtual RefBase {
93 Sensor(uint32_t width, uint32_t height);
94 ~Sensor();
/device/generic/goldfish/camera/fake-pipeline2/
DSensor.cpp43 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 =
[all …]
DSensor.h89 class Sensor: private Thread, public virtual RefBase {
94 Sensor(uint32_t width, uint32_t height);
95 ~Sensor();
/device/google/contexthub/firmware/os/core/
Dsensors.c32 static struct Sensor mSensors[MAX_REGISTERED_SENSORS];
64 struct Sensor* sensorFindByHandle(uint32_t handle) in sensorFindByHandle()
93 struct Sensor *s; in sensorRegisterEx()
146 struct Sensor *s = sensorFindByHandle(handle); in sensorRegisterInitComplete()
159 struct Sensor *s = sensorFindByHandle(handle); in sensorUnregister()
189 static bool sensorCallFuncPower(struct Sensor* s, bool on) in sensorCallFuncPower()
212 static bool sensorCallAsOwner(struct Sensor* s, bool (*callback)(void*)) in sensorCallAsOwner()
217 static bool sensorCallFuncFwUpld(struct Sensor* s) in sensorCallFuncFwUpld()
230 static bool sensorCallFuncSetRate(struct Sensor* s, uint32_t rate, uint64_t latency) in sensorCallFuncSetRate()
252 static bool sensorCallFuncCalibrate(struct Sensor* s) in sensorCallFuncCalibrate()
[all …]
Dnanohub_chre.c263 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorGetInfoOld()
283 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorGetInfo()
333 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorGetSamplingStatus()
378 struct Sensor *s = sensorFindByHandle(sensorHandle); in osChreSensorConfigure()
/device/generic/goldfish/camera/
DEmulatedFakeCamera3.cpp152 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera()
890 exposureTime = (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in processCaptureRequest()
892 frameDuration = (entry.count > 0)? entry.data.i64[0] : Sensor::kFrameDurationRange[0]; in processCaptureRequest()
894 sensitivity = (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0]; in processCaptureRequest()
897 frameDuration = exposureTime + Sensor::kMinVerticalBlank; in processCaptureRequest()
1184 Sensor::kExposureTimeRange, 2); in constructStaticInfo()
1187 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo()
1190 Sensor::kSensitivityRange, in constructStaticInfo()
1191 sizeof(Sensor::kSensitivityRange) in constructStaticInfo()
1195 &Sensor::kSensitivityRange[1], 1); in constructStaticInfo()
[all …]
DEmulatedFakeCamera3.h49 private Sensor::SensorListener {
193 sp<Sensor> mSensor;
DEmulatedFakeCamera2.cpp57 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
71 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
86 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
178 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera()
909 mNextExposureTime + Sensor::kMinVerticalBlank) { in setupCapture()
910 mNextFrameDuration = mNextExposureTime + Sensor::kMinVerticalBlank; in setupCapture()
2120 Sensor::kExposureTimeRange, 2); in constructStaticInfo()
2123 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo()
2126 Sensor::kSensitivityRange, in constructStaticInfo()
2127 sizeof(Sensor::kSensitivityRange) in constructStaticInfo()
[all …]
DAndroid.bp40 "fake-pipeline2/Sensor.cpp",
DExif.cpp466 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in createExifData()
487 entry.data.i32[0] : Sensor::kSensitivityRange[0]; in createExifData()
DEmulatedFakeCamera2.h423 sp<Sensor> mSensor;
/device/google/cuttlefish/guest/hals/camera/
DEmulatedFakeCamera3.cpp140 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera()
840 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in processCaptureRequest()
843 (entry.count > 0) ? entry.data.i64[0] : Sensor::kFrameDurationRange[0]; in processCaptureRequest()
846 (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0]; in processCaptureRequest()
849 frameDuration = exposureTime + Sensor::kMinVerticalBlank; in processCaptureRequest()
1125 Sensor::kExposureTimeRange, 2); in constructStaticInfo()
1128 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo()
1131 Sensor::kSensitivityRange, in constructStaticInfo()
1132 sizeof(Sensor::kSensitivityRange) / sizeof(int32_t)); in constructStaticInfo()
1135 &Sensor::kSensitivityRange[1], 1); in constructStaticInfo()
[all …]
DEmulatedFakeCamera3.h49 private Sensor::SensorListener {
187 sp<Sensor> mSensor;
DEmulatedFakeCamera2.cpp66 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])};
79 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])};
92 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])};
207 mSensor = new Sensor(mSensorWidth, mSensorHeight); in connectCamera()
901 if (mNextFrameDuration < mNextExposureTime + Sensor::kMinVerticalBlank) { in setupCapture()
902 mNextFrameDuration = mNextExposureTime + Sensor::kMinVerticalBlank; in setupCapture()
2096 Sensor::kExposureTimeRange, 2); in constructStaticInfo()
2099 &Sensor::kFrameDurationRange[1], 1); in constructStaticInfo()
2101 ADD_OR_SIZE(ANDROID_SENSOR_INFO_SENSITIVITY_RANGE, Sensor::kSensitivityRange, in constructStaticInfo()
2102 sizeof(Sensor::kSensitivityRange) / sizeof(int32_t)); in constructStaticInfo()
[all …]
DAndroid.mk90 fake-pipeline2/Sensor.cpp \
DEmulatedFakeCamera2.h410 sp<Sensor> mSensor;
/device/google/contexthub/firmware/os/inc/
Dsensors_priv.h24 struct Sensor { struct
74 struct Sensor* sensorFindByHandle(uint32_t handle);
/device/google/wahoo/
Dsec_config14 /* Allow Sensor services to be used by sensor process */
/device/google/bonito/
Dsec_config14 /* Allow Sensor services to be used by sensor process */
/device/google/crosshatch/
Dsec_config14 /* Allow Sensor services to be used by sensor process */
/device/google/coral/
Dsec_config16 /* Allow Sensor services to be used by sensor process */
/device/google/coral-sepolicy/vendor/qcom/common/
Dfile.te63 # Sensor file types