| commit | b1c20eea9e53c2ae1147ce44ed25e524a4e51cc1 | [log] [tgz] |
|---|---|---|
| author | John Reck <jreck@google.com> | Wed Jun 07 17:58:16 2023 -0400 |
| committer | John Reck <jreck@google.com> | Thu Jun 08 12:36:46 2023 -0400 |
| tree | 9e6809591c424d3b15fbb4a2776515e95bb8728b | |
| parent | 64d7bea91622ce5f17f9d2c0ee0c16626846ba5a [diff] |
Transform & preserve gainmaps Have Bitmap.createBitmap(sourceBitmap, ...) preserve any gainmaps if present, transforming the gainmaps in the same way. This addresses 2 common usages: 1) Rotating bitmaps to handle EXIF orientations 2) Bitmap.createScaledBitmap() to do "static" scaling Bug: 286131154 Test: SilkFX GainmapTransformsTest Change-Id: I5a62dccbb2c70bc38cca581b161eef792c8b2a78