• Haixia Shi's avatar
    Video capture frame size: separate coded size and visible size. · e79241d8
    Haixia Shi authored
    The coded size should always be rounded up to multiples of 16 pixels to accomodate
    alignment requirements of HW encoders, while the visible size reflects the actual
    content size.
    
    Update video capture messages to pass visible rect from browser to renderer process.
    
    BUG=402501
    TEST=verify that non-multiple-of-16-pixel capture works and no black border is shown
    R=dalecurtis@chromium.org, hclam@chromium.org, palmer@chromium.org
    
    Review URL: https://codereview.chromium.org/500653003
    
    Cr-Commit-Position: refs/heads/master@{#292717}
    e79241d8
video_capture_messages.h 4.67 KB