• Dale Curtis's avatar
    Enable support for I420A VideoFrame objects. · 8477ed3e
    Dale Curtis authored
    This always uses the unaccelerated path right now, if we find these
    cases are common, we will need to improve VideoFrameYUVConverter so the
    hardware based conversion process works.
    
    Note: This inlines the preferAcceleratedImageBitmap() function to make
    it more clear when the accelerated path is preferred.
    
    R=sandersd
    
    Bug: 1148800
    Change-Id: I8f669ade90d9f4133ffe15a63c8c47d22a1dc286
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2542671
    Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
    Reviewed-by: default avatarDan Sanders <sandersd@chromium.org>
    Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#828025}
    8477ed3e
video_frame.cc 19.8 KB