skia2/include/codec
Dichen Zhang 7225b26450 Add color-depth detection
ag/16935648 added a method to detect the color depth of R/G/B channel
for input sources. This change does the following: (1) call this new method and default
SkAndroidCodec to 1010102 for 10-bit images; (2) add color-depth to
SkEncodedInfo.

Change-Id: I3ede4a7a6223da2d4c075403d6ee280db086e0be
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/512076
Reviewed-by: Leon Scroggins <scroggo@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2022-03-07 18:22:52 +00:00
..
BUILD.bazel [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
SkAndroidCodec.h Deprecate (and ignore) SkAndroidCodec::ExifOrientation 2021-01-15 23:08:46 +00:00
SkCodec.h Add color-depth detection 2022-03-07 18:22:52 +00:00
SkCodecAnimation.h Expose more info in SkCodec::FrameInfo 2020-12-02 22:37:20 +00:00
SkEncodedOrigin.h SkAnimatedImage: Always respect exif orientation 2020-12-21 16:39:12 +00:00