Searched refs:Sensor (Results 1 - 19 of 19) sorted by relevance

/device/generic/goldfish/camera/fake-pipeline2/
H A DSensor.cpp30 #include "Sensor.h"
37 //const nsecs_t Sensor::kExposureTimeRange[2] =
39 //const nsecs_t Sensor::kFrameDurationRange[2] =
41 const nsecs_t Sensor::kExposureTimeRange[2] =
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;
55 // Sensor sensitivit
98 Sensor::Sensor(uint32_t width, uint32_t height): function in class:android::Sensor
[all...]
H A DSensor.h89 class Sensor: private Thread, public virtual RefBase { class in namespace:android
94 Sensor(uint32_t width, uint32_t height);
95 ~Sensor();
174 // Sensor sensitivity, approximate
/device/google/cuttlefish_common/guest/hals/camera/fake-pipeline2/
H A DSensor.cpp32 #include "Sensor.h"
38 // const nsecs_t Sensor::kExposureTimeRange[2] =
40 // const nsecs_t Sensor::kFrameDurationRange[2] =
42 const nsecs_t Sensor::kExposureTimeRange[2] = {1000L,
44 const nsecs_t Sensor::kFrameDurationRange[2] = {
47 const nsecs_t Sensor::kMinVerticalBlank = 10000L;
49 const uint8_t Sensor::kColorFilterArrangement =
53 const uint32_t Sensor::kMaxRawValue = 4000;
54 const uint32_t Sensor::kBlackLevel = 1000;
56 // Sensor sensitivit
95 Sensor::Sensor(uint32_t width, uint32_t height) function in class:android::Sensor
[all...]
H A DSensor.h89 class Sensor : private Thread, public virtual RefBase { class in namespace:android
93 Sensor(uint32_t width, uint32_t height);
94 ~Sensor();
172 // Sensor sensitivity, approximate
/device/google/contexthub/firmware/os/core/
H A Dsensors.c32 static struct Sensor mSensors[MAX_REGISTERED_SENSORS];
64 struct Sensor* sensorFindByHandle(uint32_t handle)
93 struct Sensor *s;
146 struct Sensor *s = sensorFindByHandle(handle);
159 struct Sensor *s = sensorFindByHandle(handle);
189 static bool sensorCallFuncPower(struct Sensor* s, bool on)
212 static bool sensorCallAsOwner(struct Sensor* s, bool (*callback)(void*))
217 static bool sensorCallFuncFwUpld(struct Sensor* s)
230 static bool sensorCallFuncSetRate(struct Sensor* s, uint32_t rate, uint64_t latency)
252 static bool sensorCallFuncCalibrate(struct Sensor*
[all...]
H A Dnanohub_chre.c263 struct Sensor *s = sensorFindByHandle(sensorHandle);
283 struct Sensor *s = sensorFindByHandle(sensorHandle);
333 struct Sensor *s = sensorFindByHandle(sensorHandle);
378 struct Sensor *s = sensorFindByHandle(sensorHandle);
/device/google/contexthub/firmware/os/inc/
H A Dsensors_priv.h24 struct Sensor { struct
74 struct Sensor* sensorFindByHandle(uint32_t handle);
/device/generic/goldfish/camera/
H A DEmulatedFakeCamera3.cpp35 #include "fake-pipeline2/Sensor.h"
153 mSensor = new Sensor(mSensorWidth, mSensorHeight);
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;
1039 ALOGE("%s: Request %d: Sensor sync timed out after %" PRId64 " ms",
1185 Sensor::kExposureTimeRange, 2);
1188 &Sensor::kFrameDurationRange[1], 1);
1191 Sensor
[all...]
H A DEmulatedFakeCamera3.h28 #include "fake-pipeline2/Sensor.h"
49 private Sensor::SensorListener {
191 sp<Sensor> mSensor;
H A DEmulatedFakeCamera2.cpp56 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
70 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
85 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
175 mSensor = new Sensor(mSensorWidth, mSensorHeight);
907 mNextExposureTime + Sensor::kMinVerticalBlank) {
908 mNextFrameDuration = mNextExposureTime + Sensor::kMinVerticalBlank;
2120 Sensor::kExposureTimeRange, 2);
2123 &Sensor::kFrameDurationRange[1], 1);
2126 Sensor::kSensitivityRange,
2127 sizeof(Sensor
[all...]
H A DAndroid.mk75 fake-pipeline2/Sensor.cpp \
H A DEmulatedFakeCamera2.h28 #include "fake-pipeline2/Sensor.h"
420 sp<Sensor> mSensor;
H A DExif.cpp35 #include "fake-pipeline2/Sensor.h"
466 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0];
487 entry.data.i32[0] : Sensor::kSensitivityRange[0];
/device/google/cuttlefish_common/guest/hals/camera/
H A DEmulatedFakeCamera3.cpp37 #include "fake-pipeline2/Sensor.h"
139 mSensor = new Sensor(mSensorWidth, mSensorHeight);
841 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0];
844 (entry.count > 0) ? entry.data.i64[0] : Sensor::kFrameDurationRange[0];
847 (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0];
850 frameDuration = exposureTime + Sensor::kMinVerticalBlank;
970 ALOGE("%s: Request %d: Sensor sync timed out after %" PRId64 " ms",
1109 Sensor::kExposureTimeRange, 2);
1112 &Sensor::kFrameDurationRange[1], 1);
1115 Sensor
[all...]
H A DEmulatedFakeCamera3.h41 #include "fake-pipeline2/Sensor.h"
55 private Sensor::SensorListener {
193 sp<Sensor> mSensor;
H A DEmulatedFakeCamera2.cpp60 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])};
73 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])};
86 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])};
201 mSensor = new Sensor(mSensorWidth, mSensorHeight);
901 if (mNextFrameDuration < mNextExposureTime + Sensor::kMinVerticalBlank) {
902 mNextFrameDuration = mNextExposureTime + Sensor::kMinVerticalBlank;
2076 Sensor::kExposureTimeRange, 2);
2079 &Sensor::kFrameDurationRange[1], 1);
2081 ADD_OR_SIZE(ANDROID_SENSOR_INFO_SENSITIVITY_RANGE, Sensor::kSensitivityRange,
2082 sizeof(Sensor
[all...]
H A DAndroid.mk87 fake-pipeline2/Sensor.cpp \
H A DEmulatedFakeCamera2.h35 #include "fake-pipeline2/Sensor.h"
410 sp<Sensor> mSensor;
/device/google/contexthub/sensorhal/
H A DAndroid.mk26 # # Sensor HAL name override (optional)

Completed in 63 milliseconds