Adapt GpuImageDecodeCache YUV plane scaling to be more general than YUV420 |
|
Issue descriptionSince WebP will be the only image type with YUV decoding fully implemented, we plan to launch with the assumption that YUV data uses YUV420 subsampling. This is because the scaling using SkYUVASizeInfo is more complicated than using simply the ratio of the RGBX data unscaled and scaled dimensions to multiply each YUV plane size. |
|
►
Sign in to add a comment |
|
Comment 1 by mcasas@chromium.org
, Dec 21