diff options
| author | Emilian Peev <epeev@google.com> | 2021-02-25 15:34:39 -0800 | 
|---|---|---|
| committer | Emilian Peev <epeev@google.com> | 2021-02-25 16:11:08 -0800 | 
| commit | c0880b85d01ff1c77b255e7b8fe3caab620fa009 (patch) | |
| tree | 38a401f47291136c78f7bed787395c81faf21d73 /docs/html/sdk/api_diff/7 | |
| parent | 360c3626e95f02d77fefce5a75679b47aad96639 (diff) | |
Camera: Don't switch image callbacks during extension sessions
- Relying on camera capture callbacks to switch appropriate
  camera output surface image callbacks can result in timing
  issues. For example a capture started callback from a new
  capture request can execute before the sequence complete
  callback gets scheduled for the old request. This can result
  in images from the new request getting redirected to the
  wrong/old callback.
  Avoid this by using a single image callback instance per
  camera output for the entire duration of the capture session
  and allow individual images to be redirected to appropriate
  handlers on a precise timestamp basis.
- Additionally refactor an odd looking if-else case within
  'ImageWriter'.
Bug: 180451857
Bug: 180451435
Test: Camera CTS
Change-Id: Iae497ff2eefacc00ea45ff5e598581156aa64c0d
Diffstat (limited to 'docs/html/sdk/api_diff/7')
0 files changed, 0 insertions, 0 deletions
