Home
last modified time | relevance | path

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

123

/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/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/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/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/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/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/google/gfxstream/third-party/glm/include/glm/gtx/
Dintersect.inl113 genType diff = sphereCenter - rayStarting; local
114 typename genType::value_type t0 = dot(diff, rayNormalizedDirection);
115 typename genType::value_type dSquared = dot(diff, diff) - t0 * t0;
154 genType diff = sphereCenter - point0; local
155 typename genType::value_type t0 = dot(diff, dir);
156 typename genType::value_type dSquared = dot(diff, diff) - t0 * t0;
/hardware/libhardware/modules/sensors/dynamic_sensor/
DREADME.md22 acme-co$ git -C device/acme/rocket-phone diff
23 diff --git a/sensor_hal/hals.conf b/sensor_hal/hals.conf
30 diff --git a/rocket-phone.mk b/rocket-phone.mk
44 diff --git a/conf/ueventd.rc b/conf/ueventd.rc
56 diff --git a/sepolicy/sensor_hal.te b/sepolicy/sensor_hal.te
74 diff --git a/sepolicy/property.te b/sepolicy/property.te
86 diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
98 diff --git a/sepolicy/property_contexts b/sepolicy/property_contexts
/hardware/interfaces/scripts/
Danapic_release_diff.sh25 git diff "$1".."$2" android | git apply
28 git diff HEAD~1 --stat
Danapic_hidl2aidl_review.sh33 git diff HEAD~1 --stat
/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/google/gfxstream/codegen/vulkan/vulkan-docs-next/
DtestBuild53 if ! diff build_tests/expectations/$build.html build_tests/gen-$build/out/html/vkspec.html; then
60 if ! diff build_tests/expectations/validusage.json build_tests/gen-validusage/out/validation/validu…
/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/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_ideal_endpoints_and_weights.cpp707 vfloat diff = current_values - actual_values; in compute_error_of_weight_set_1plane() local
709 vfloat error = diff * diff * significance; in compute_error_of_weight_set_1plane()
723 vfloat diff = current_values - actual_values; in compute_error_of_weight_set_1plane() local
725 vfloat error = diff * diff * significance; in compute_error_of_weight_set_1plane()
739 vfloat diff = current_values - actual_values; in compute_error_of_weight_set_1plane() local
741 vfloat error = diff * diff * significance; in compute_error_of_weight_set_1plane()
773 vfloat diff = current_values1 - actual_values1; in compute_error_of_weight_set_2planes() local
774 vfloat error1 = diff * diff * loada(eai1.weight_error_scale + i); in compute_error_of_weight_set_2planes()
782 diff = current_values2 - actual_values2; in compute_error_of_weight_set_2planes()
783 vfloat error2 = diff * diff * loada(eai2.weight_error_scale + i); in compute_error_of_weight_set_2planes()
[all …]
Dastcenc_find_best_partitioning.cpp83 vfloat4 diff = color - center_color; in kmeans_init() local
84 float distance = dot_s(diff * diff, blk.channel_weight); in kmeans_init()
128 vfloat4 diff = color - center_color; in kmeans_init() local
129 float distance = dot_s(diff * diff, blk.channel_weight); in kmeans_init()
167 vfloat4 diff = color - cluster_centers[j]; in kmeans_assign() local
168 float distance = dot_s(diff * diff, blk.channel_weight); in kmeans_assign()
Dastcenc_weight_align.cpp183 vfloat diff = sval - svalrte; in compute_lowest_and_highest_weight() local
184 errval += diff * diff; in compute_lowest_and_highest_weight()
193 vfloat accum = cut_low_weight_err + vfloat(1.0f) - vfloat(2.0f) * diff; in compute_lowest_and_highest_weight()
203 accum = cut_high_weight_err + vfloat(1.0f) + vfloat(2.0f) * diff; in compute_lowest_and_highest_weight()
/hardware/google/aemu/base/
DSystem.cpp246 uint64_t diff = absTimeUs - current; in sleepToUs() local
249 ts.tv_sec = diff / 1000000ULL; in sleepToUs()
250 ts.tv_nsec = diff * 1000ULL - ts.tv_sec * 1000000000ULL; in sleepToUs()
294 uint64_t diff = absTimeUs - current; in sleepToUs()
300 Thread::sleepUs(diff); in sleepToUs()
305 dueTime.QuadPart = -1LL * diff * 10LL; // 1 us = 1x 100ns in sleepToUs()
/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/gfxstream/codegen/vulkan/vulkan-docs-next/build_tests/
DREADME.adoc36 succeed but the output does not match the expectations, the diff is output for
39 In some cases, the diff is small enough to be verified. Otherwise, each output
/hardware/google/apf/v7/
Dapf_interpreter_assemble.sh61 diff -q <(do_assemble) apf_interpreter.c
/hardware/google/av/hooks/
Dpre-commit13 if git diff --cached | grep "^\(+\| +\)" | grep -w 'ALOG[WE]\(_IF\)\?' > /dev/null; then

123