diff options
| author | Leon Scroggins III <scroggo@google.com> | 2019-02-19 11:03:44 -0500 |
|---|---|---|
| committer | Leon Scroggins III <scroggo@google.com> | 2019-02-19 11:50:19 -0500 |
| commit | 28f3943fd4777fd93f8480535a09af5fa219eb64 (patch) | |
| tree | 9ebbfa56d19945182cd9df745bc2ed97f494a5ec /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | a45b41f5ab4d52ecceb45e04bc53188f8a9a22b4 (diff) | |
Make ImageDecoder.setTargetColorSpace to EXTENDED promote to F16
Bug: 117601185
Test: I5e5bc6b73d5d27ae30f00507d59896008d4cf364
ImageDecoder does not have a way to request decoding to F16 on 8 bit
images, but it does have a way to request an EXTENDED ColorSpace. Treat
that as a request to use a higher bit depth. This matches how we match
EXTENDED to F16 in other cases (createBitmap, Bitmap#copy, etc).
Change-Id: I3d31b13b56bb57a23b47ffcb2eaba11c53e0b8d9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
