Skip to content
Commit a106ff51 authored by Madeleine Barowsky's avatar Madeleine Barowsky Committed by Commit Bot
Browse files

Blink: Implement WebP YUV decoding and conditionally go down the path.

This change defines the logic to do WebP YUV decoding only
for lossy, non-alpha images without color profiles and only when
the kDecodeLossyWebPImagesToYUV flag is on. For now, we continue to
veto YUV decoding until all data is received because supporting
"incremental" YUV decoding in Chromium is a separate task
crbug.com/943519. It also adds a few initialization calls to
ImageFrameGenerator to set up plane sizes.

The YUV decoding path will initially be implemented for in-process
GPU rasterization and later for OOPR (Out of Process Rasterization).

See bit.ly/webp-decoding-into-yuv for the design document and
crrev.com/c/1338461 for a prototype CL summarizing all changes.

Bug: 900589
Change-Id: I7f40517273a62288a9bf0060176f864bf30d5aca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1393003


Commit-Queue: Madeleine Barowsky <mbarowsky@chromium.org>
Reviewed-by: default avatarKhushal <khushalsagar@chromium.org>
Reviewed-by: default avatarLeon Scroggins <scroggo@chromium.org>
Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#660545}
parent 000c3a43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment