Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 27) sorted by relevance

12

/hardware/qcom/display/msm8996/libqdutils/
Dprofiler.cpp151 nsecs_t diff = currtime_us - oldtime_us; in calc_fps() local
156 diff > debug_fps_metadata.ignorethresh_us) { in calc_fps()
161 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff; in calc_fps()
168 (unsigned int)(diff + debug_fps_metadata.margin_us) / 16666; in calc_fps()
186 debug_fps_metadata.time_elapsed += (float)((float)diff/1000.0); in calc_fps()
/hardware/qcom/display/msm8084/libqdutils/
Dprofiler.cpp151 nsecs_t diff = currtime_us - oldtime_us; in calc_fps() local
156 diff > debug_fps_metadata.ignorethresh_us) { in calc_fps()
161 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff; in calc_fps()
168 (unsigned int)(diff + debug_fps_metadata.margin_us) / 16666; in calc_fps()
186 debug_fps_metadata.time_elapsed += (float)((float)diff/1000.0); in calc_fps()
/hardware/qcom/display/msm8998/libqdutils/
Dprofiler.cpp152 nsecs_t diff = currtime_us - oldtime_us; in calc_fps() local
157 diff > debug_fps_metadata.ignorethresh_us) { in calc_fps()
162 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff; in calc_fps()
169 (unsigned int)(diff + debug_fps_metadata.margin_us) / 16666; in calc_fps()
187 debug_fps_metadata.time_elapsed += (float)((float)diff/1000.0); in calc_fps()
/hardware/qcom/display/msm8909w_3100/libqdutils/
Dprofiler.cpp152 nsecs_t diff = currtime_us - oldtime_us; in calc_fps() local
157 diff > debug_fps_metadata.ignorethresh_us) { in calc_fps()
162 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff; in calc_fps()
169 (unsigned int)(diff + debug_fps_metadata.margin_us) / 16666; in calc_fps()
187 debug_fps_metadata.time_elapsed += (float)((float)diff/1000.0); in calc_fps()
/hardware/qcom/display/msm8909/libqdutils/
Dprofiler.cpp152 nsecs_t diff = currtime_us - oldtime_us; in calc_fps() local
157 diff > debug_fps_metadata.ignorethresh_us) { in calc_fps()
162 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff; in calc_fps()
169 (unsigned int)(diff + debug_fps_metadata.margin_us) / 16666; in calc_fps()
187 debug_fps_metadata.time_elapsed += (float)((float)diff/1000.0); in calc_fps()
/hardware/qcom/display/msm8226/libqdutils/
Dprofiler.cpp151 nsecs_t diff = currtime_us - oldtime_us; in calc_fps() local
156 diff > debug_fps_metadata.ignorethresh_us) { in calc_fps()
161 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff; in calc_fps()
168 (unsigned int)(diff + debug_fps_metadata.margin_us) / 16666; in calc_fps()
186 debug_fps_metadata.time_elapsed += (float)((float)diff/1000.0); in calc_fps()
/hardware/qcom/display/msm8994/libqdutils/
Dprofiler.cpp151 nsecs_t diff = currtime_us - oldtime_us; in calc_fps() local
156 diff > debug_fps_metadata.ignorethresh_us) { in calc_fps()
161 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff; in calc_fps()
168 (unsigned int)(diff + debug_fps_metadata.margin_us) / 16666; in calc_fps()
186 debug_fps_metadata.time_elapsed += (float)((float)diff/1000.0); in calc_fps()
/hardware/qcom/display/msm8960/libqdutils/
Dprofiler.cpp148 nsecs_t diff = currtime_us - oldtime_us; in calc_fps() local
153 diff > debug_fps_metadata.ignorethresh_us) { in calc_fps()
158 debug_fps_metadata.framearrivals[debug_fps_metadata.curr_frame] = diff; in calc_fps()
164 unsigned int currstep = (diff + debug_fps_metadata.margin_us) / 16666; in calc_fps()
181 debug_fps_metadata.time_elapsed += ((float)diff/1000.0); in calc_fps()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DREADME.md19 acme-co$ git -C device/acme/rocket-phone diff
20 diff --git a/sensor_hal/hals.conf b/sensor_hal/hals.conf
27 diff --git a/rocket-phone.mk b/rocket-phone.mk
41 diff --git a/conf/ueventd.rc b/conf/ueventd.rc
53 diff --git a/sepolicy/sensor_hal.te b/sepolicy/sensor_hal.te
71 diff --git a/sepolicy/device.te b/sepolicy/device.te
83 diff --git a/sepolicy/property.te b/sepolicy/property.te
95 diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
107 diff --git a/sepolicy/property_contexts b/sepolicy/property_contexts
/hardware/google/pixel/pixelstats/
DBatteryCapacityReporter.cpp152 const float diff = fabsf(ssoc_ - gdf_); in checkLogEvent() local
159 static_cast<int>(round(diff)) && in checkLogEvent()
160 diff >= 4.0f) { in checkLogEvent()
163 ssoc_gdf_diff_previous_ = diff; in checkLogEvent()
/hardware/google/easel/amber/camera/libhdrplusclient/
DHdrPlusClientUtils.cpp169 uint64_t diff = 0; in comparePpm() local
181 diff += abs(static_cast<int32_t>(c) - r); in comparePpm()
183 diff += abs(static_cast<int32_t>(c) - g); in comparePpm()
185 diff += abs(static_cast<int32_t>(c) - b); in comparePpm()
190 *diffRatio = diff / (static_cast<float>(width) * height * 3 * 256); in comparePpm()
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQCameraMjpegDecode.cpp478 int diff; in decoder_test() local
480 if (mjpegd_timer_get_elapsed(&os_timer, &diff, 0) < 0) { in decoder_test()
485 … ALOGI("%s: decoder_test: decoding aborted successfully after %d ms", __func__, diff); in decoder_test()
491 "decode time: %d ms", __func__, diff); in decoder_test()
496 total_time += diff; in decoder_test()
498 __func__, diff, i+1, total_time, total_time/(i+1)); in decoder_test()
665 long diff; in mjpegd_timer_get_elapsed() local
671 diff = (long)(now.tv_sec - p_timer->tv_sec) * 1000; in mjpegd_timer_get_elapsed()
672 diff += (long)(now.tv_nsec - p_timer->tv_nsec) / 1000000; in mjpegd_timer_get_elapsed()
673 *elapsed_in_ms = (int)diff; in mjpegd_timer_get_elapsed()
/hardware/libhardware/modules/camera/3_4/metadata/
Dmap_converter.h91 TMapKey diff = kv->first - raw_conversion; in MetadataToV4L2() local
96 if (raw_conversion - kv->first < diff) { in MetadataToV4L2()
/hardware/google/apf/
Dapf_run_test.sh26 if diff --color -u <(./apf_run $args) <(cat $outputpath); then
/hardware/google/av/hooks/
Dpre-commit13 if git diff --cached | grep "^\(+\| +\)" | grep -w 'ALOG[WE]\(_IF\)\?' > /dev/null; then
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_delta_panel.cpp63 int64_t diff; in deltaPanelRendering() local
/hardware/interfaces/gnss/aidl/vts/
Dgnss_hal_test.cpp57 double diff = d - mean; in computeStdev() local
58 accumulator += diff * diff; in computeStdev()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosLayer.cpp121 nsecs_t diff = now - mNextLastFpsTime; in checkFps() local
124 if (diff >= kLayerFpsStableTimeNs) { in checkFps()
139 diff = now - mLastFpsTime; in checkFps()
140 mFps = (frameDiff * float(s2ns(1))) / diff; in checkFps()
DBrightnessController.cpp432 float diff = std::abs(mPrevDisplayWhitePointNits - mDisplayWhitePointNits); in prepareFrameCommit() local
434 if (diff / min > kBrightnessSyncThreshold) { in prepareFrameCommit()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp3091 nsecs_t diff = now - mVLastFpsTime; in debugShowVideoFPS() local
3092 if (diff > ms2ns(250)) { in debugShowVideoFPS()
3094 (double)(s2ns(1))) / (double)diff; in debugShowVideoFPS()
3115 nsecs_t diff = now - mPLastFpsTime; in debugShowPreviewFPS() local
3116 if (diff > ms2ns(250)) { in debugShowPreviewFPS()
3118 (double)(s2ns(1))) / (double)diff; in debugShowPreviewFPS()
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp1102 int diff = value - strength; in setAtcStDimming() local
1103 uint32_t count = (std::abs(diff) + step - 1) / step; in setAtcStDimming()
/hardware/interfaces/radio/1.5/vts/functional/
Dradio_hidl_hal_api.cpp1383 std::set<BarringInfo::ServiceType> diff; in TEST_P() local
1386 compareTo->end(), std::inserter(diff, diff.begin())); in TEST_P()
/hardware/interfaces/radio/aidl/vts/
Dradio_network_test.cpp1369 std::set<int> diff; in TEST_P() local
1372 compareTo->end(), std::inserter(diff, diff.begin())); in TEST_P()
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c2157 double diff; in monitor_thread_loop() local
2173 diff = (now.tv_sec - stdev->adnc_strm_last_read[i].tv_sec) in monitor_thread_loop()
2177 if (diff > TUNNEL_TIMEOUT) { in monitor_thread_loop()
2178 ALOGE("%s: Waiting timeout for %f sec", __func__, diff); in monitor_thread_loop()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.cpp1834 nsecs_t diff = now - mLastFpsTime; in showDebugFPS() local
1835 if (diff > ms2ns(250)) { in showDebugFPS()
1837 (double)(s2ns(1))) / (double)diff; in showDebugFPS()

12