skia2/infra
Leon Scroggins III 65f4aeae92 Fix bug decoding JCS_RGB jpeg files
Bug: chromium:897031
Bug: chromium:896776

Prior to this fix, we would treat the output from such a JPEG
as if it were a 16 bit per component RGB PNG. We hit an assert
in debug, but in release mode we do the wrong thing.

Split up SkSwizzler::CreateSwizzler into two public factories
(and a private one) based on whether format conversion is desired.
Without format conversion, we may have already converted (as is
the case with this JPEG), so the SkEncodedInfo::Color is not relevant.
That flavor of the factory just needs to know the bytes per pixel,
so provide that info instead.

Add a test file to Google Storage: apron.jpg, from Chromium's
benchmark files.

Change-Id: If1337d58a508466299f9e4666778727c6cdc879a
Reviewed-on: https://skia-review.googlesource.com/c/164619
Auto-Submit: Leon Scroggins <scroggo@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-10-26 16:40:16 +00:00
..
bots Fix bug decoding JCS_RGB jpeg files 2018-10-26 16:40:16 +00:00
branch-config add BonusConfigs bot to CQ 2018-10-02 20:50:04 +00:00
canvaskit [canvaskit] Add perf jobs 2018-10-17 19:41:16 +00:00
config Roll recipe dependencies (trivial). 2018-10-24 18:20:26 +00:00
cts Test SKQP on Firebase Testlab and Upload 2018-03-07 20:44:50 +00:00
lottiecap Run lottie-web Gold collection at ToT 2018-09-05 12:06:01 +00:00
pathkit Add Correctness tests for CanvasKit 2018-10-16 14:32:28 +00:00
project-config Delete swarm_trigger recipe 2016-12-13 12:53:00 +00:00
skqp SkQP-on-GCE: use fold to make output more legible, remove unnecessary status line 2018-10-22 19:07:07 +00:00
README.md Added CQ config to skia repo 2015-06-08 05:12:56 -07:00

This directory contains infra-specific files. The branch-config/ directory contains configs that are specific to the master branch (e.g. config for the CQ committing to the master branch), while project-config/ directory contains project-wide configuration (e.g. list of buckets for cr-buildbucket service and list of refs known to the infra services).