Camera: Reduce latency for dejittering
There is a tradeoff between dejittering and latency. The more we delay the presentation of frames, the longer latency there is. - Only look ahead for 2 frames in the vsync timeline. And do not exceed 2+1 vsync timestamps when spacing out fixed frame rates in lockstep with display vsync. - Disable synchronizing presentation time to vsync for variable frame rate. Fixed frame rate and video mode is typically more tolerant to higher latency and prefers smoother user experience. - Reduce the upper bound of holding onto buffers to 10ms. Test: Measure photon-to-photon latency Bug: 239775097 Change-Id: I601a0fadf89529922fd1bd5d0a17ba80832b4cab
Loading
Please register or sign in to comment