• Wei Lee's avatar
    VCD: Avoid wrong orientation for reprocess request · 0e9f7563
    Wei Lee authored
    Originally, for reprocess request, we will put the Jpeg orientation
    information when constructing the second request. However, the frame
    data is actually filled when processing the first request. If the
    orientation changes between these two requests, we might put the wrong
    orientation into the second request which is inconsistant to the actual
    image data.
    
    Therefore, this CL stores the orientation information when constructing
    the first request and use that info for the second request.
    
    Bug: b/153828264
    Test: Manually test on Kukui and it works as expectation
    Change-Id: Ic19a395b21ed934efca46b160ae18fd223ded6fb
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2143179
    Commit-Queue: Wei Lee <wtlee@chromium.org>
    Reviewed-by: default avatarShik Chen <shik@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#759140}
    0e9f7563
request_manager.h 17.6 KB