Scroll prediction use actual predict timestamp
In scroll prediction, we set the resampled event time to the prediction_time (frame time or the timestamp we try to predict to). However some predictor (linear resampling) may change the sample time. LinearResampling changes it to frame_time - 5ms. This causes the prediction metrics (introduced in crrev.com/c/1764409) comparing the predicted result with wrong interpolated point. This CL makes the predictors' return value (InputData type) also applies the actual predict time. Change-Id: Ib84db552f7e41976b9418e57056d9948781c2c92 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1848111Reviewed-by:Ella Ge <eirage@chromium.org> Reviewed-by:
Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Ella Ge <eirage@chromium.org> Cr-Commit-Position: refs/heads/master@{#707964}
Showing
Please register or sign in to comment