Use libyuv::I420AlphaToARGBMatrix()
Use libyuv::I420AlphaToARGBMatrix() to convert 8-bit YUV 4:2:0 with alpha to ARGB for all four color spaces. The libyuv::I420AlphaToARGB() function we used before only works for the BT.601 color space. Change-Id: I35e714c26cd2930a9d6e5cb8276a8ceb221a2632 Bug: 1098541 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2261482 Commit-Queue: Wan-Teh Chang <wtc@google.com> Reviewed-by:Peter Kasting <pkasting@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#822819}
Showing
Please register or sign in to comment