summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Philip Quinn <pquinn@google.com> 2023-07-14 13:07:13 -0700
committer Philip Quinn <pquinn@google.com> 2023-07-21 17:25:54 -0700
commit107ce707b5eaf8758806d456d07832c1db477555 (patch)
treed8c98491a62ffbb262c8a84adf22340770af618f /libs/ultrahdr/jpegencoderhelper.cpp
parent1bbb0a93c8fda9f7fe0384b6138030cdebdb3324 (diff)
Update motion prediction model.
Input events with no movement (r = 0) are now included in the buffer so that the model can accurately determine when the input device has become stationary, and a noise floor is added to prevent spurious predictions when this happens. Benchmark results: Old: timeRecordAndPredict_mean (ns): 17990 timeRecordAndPredict_median (ns): 18024 timeRecordAndPredict_min (ns): 17606 timeRecordAndPredict_standardDeviation: 345 New: timeRecordAndPredict_mean (ns): 38394 timeRecordAndPredict_median (ns): 38476 timeRecordAndPredict_min (ns): 38083 timeRecordAndPredict_standardDeviation: 187 Bug: 288354672 PiperOrigin-RevId: 549064247 Test: predictions are visible in the motionprediction test app Test: atest CtsInputTestCases Test: atest MotionPredictorBenchmark MotionPredictorTest Test: atest --host libinput_tests Change-Id: I6c3917591323d7117c4ee2e91abf6c6004178f19
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions