Home
last modified time | relevance | path

Searched refs:num_sample (Results 1 – 7 of 7) sorted by relevance

/hardware/google/camera/common/sensor_listener/
Dgoog_sensor_environment.cc95 int num_sample, std::vector<int64_t>* event_timestamps, in GetLatestNSensorEvents() argument
102 if (num_sample < 0) { in GetLatestNSensorEvents()
107 std::max(0, static_cast<int>(event_buffer_.size()) - num_sample); in GetLatestNSensorEvents()
114 if (event_arrival_timestamps->size() >= num_sample) { in GetLatestNSensorEvents()
Dgoog_sensor_motion.cc111 int num_sample, std::vector<int64_t>* event_timestamps, in GetLatestNSensorEvents() argument
121 if (num_sample < 0) { in GetLatestNSensorEvents()
126 std::max(0, static_cast<int>(event_buffer_.size()) - num_sample); in GetLatestNSensorEvents()
Dgoog_sensor_sync.cc96 int num_sample, std::vector<int64_t>* latest_n_vsync_timestamps, in GetLatestNSamples() argument
110 if (num_sample < 0) { in GetLatestNSamples()
115 std::max(0, static_cast<int>(event_buffer_.size()) - num_sample); in GetLatestNSamples()
Dgoog_sensor_environment.h105 int num_sample, std::vector<int64_t>* latest_n_timestamps,
Dgoog_sensor_sync.h71 void GetLatestNSamples(int num_sample,
Dgoog_sensor_motion.h129 int num_sample, std::vector<int64_t>* latest_n_timestamps,
/hardware/google/camera/common/sensor_listener/tests/
Dgoog_gyro_test.cc139 int num_sample = gyro_timestamp_ns.size(); in CheckGyroSampleLatency() local
140 EXPECT_GT(num_sample, 0) << "Get zero gyro events"; in CheckGyroSampleLatency()
142 for (int i = 0; i < num_sample; ++i) { in CheckGyroSampleLatency()
153 static_cast<float>(num_sample) / 1000000.f; in CheckGyroSampleLatency()
156 static_cast<float>(num_latency_10ms) / static_cast<float>(num_sample); in CheckGyroSampleLatency()
158 static_cast<float>(num_latency_15ms) / static_cast<float>(num_sample); in CheckGyroSampleLatency()