• Jasmine Chen's avatar
    Skip 3A for still capture if ZSL is enabled · e0774b4a
    Jasmine Chen authored
    This CL skips the wait for 3A-convergence (AE, AF, AWB) when
    Zero-Shutter Lag (ZSL) is enabled. When configuring streams, camera HAL
    adapter would add a private usage flag to the configured still capture
    streams. Video Capture Device (VCD) would then use this private usage
    flag to determine if ZSL is enabled. If ZSL is enabled, we skip 3A when
    trying to construct a capture request.
    
    This is a reland of crrev.com/c/1919530. In
    Camera3AControllerTest.Stabilize3AForStillCaptureTest, we didn't
    initialize zero_shutter_lag_enabled causing 3A stabilization to be
    skipped randomly, failing postsubmit.
    
    BUG=b:130851309
    TEST=Tested on kukui and verified VCD is able to get ZSL availability
    through the private usage flag && capture_unittests.
    
    Change-Id: I8717dec6210151242240502ebd37c68c43c530ed
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2066410
    Auto-Submit: Jasmine Chen <lnishan@google.com>
    Reviewed-by: default avatarShik Chen <shik@chromium.org>
    Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
    Commit-Queue: Jasmine Chen <lnishan@google.com>
    Cr-Commit-Position: refs/heads/master@{#743471}
    e0774b4a
camera_3a_controller.cc 22.4 KB