commit | 0897d5989447a8f7a4591ac5863406462f8edf70 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Fri Apr 07 12:48:05 2023 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Wed May 31 23:25:56 2023 +0000 |
tree | 964638b8975861a22515e27fd0db2b73bfb01b9f | |
parent | c10125de38c27c26b2c30e17370a4114350ee15a [diff] |
Camera: Handle release fence when syncing preview to display If release fence is enabled by the HAL, the time when a frame becomes available isn't necessarily the time when processCaptureResult() is called. The fence may signal sometime after processCaptureResult(). Support this use case by checking the reference frame's fence signal time and update the captureToPresentOffset. Test: Vendor testing Bug: 276280239 Change-Id: I5278c2e2f9961af2cf667235254ad32eea126895