Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 14c62b8c authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Camera: Address time drift in presentation time

Consecutive expected presentation times returned from VsyncEventData
may fall into the same Vsync interval due to time drift. Mitigate the
problem by sutracting 1/3 of Vsync frame interval from the expected
presentation time.

Also added a varialbe initilization.

Frame miss+drop rates in 3 min tests:
60fps: 0.3%
30fps: 0.3%
60/30 dynamic frame rate: 1.7%

Test: Inspect the frame miss/drop rate via trace
Bug: 226242194
Change-Id: I93ecaeb72cf4520e1752c6ec948895af753c140b
parent d9a5e689
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment