Home
last modified time | relevance | path

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

/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/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/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/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/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/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/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/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/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/av/media/codecs/hevc/
DC2SoftHevcDec.h45 #define TIME_DIFF(start, end, diff) \ argument
46 diff = (((end).tv_sec - (start).tv_sec) * 1000000) + \
/hardware/google/apf/
Dapf_run_test.sh26 if diff --color -u <(apf_run $args) <(cat $outputpath); then
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.h47 #define TIME_DIFF(start, end, diff) \ argument
48 diff = (((end).tv_sec - (start).tv_sec) * 1000000) + \
DC2SoftAvcEnc.h115 #define TIME_DIFF(start, end, diff) \ argument
116 diff = (((end).tv_sec - (start).tv_sec) * 1000000) + \
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.h45 #define TIME_DIFF(start, end, diff) \ argument
46 diff = (((end).tv_sec - (start).tv_sec) * 1000000) + \
/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/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/interfaces/radio/1.5/vts/functional/
Dradio_hidl_hal_api.cpp1334 std::set<BarringInfo::ServiceType> diff; in TEST_P() local
1337 compareTo->end(), std::inserter(diff, diff.begin())); in TEST_P()
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c2159 double diff; in monitor_thread_loop() local
2175 diff = (now.tv_sec - stdev->adnc_strm_last_read[i].tv_sec) in monitor_thread_loop()
2179 if (diff > TUNNEL_TIMEOUT) { in monitor_thread_loop()
2180 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()