diff options
author | James O'Leary <jamesoleary@google.com> | 2021-06-02 10:35:05 -0400 |
---|---|---|
committer | James O'Leary <jamesoleary@google.com> | 2021-06-09 11:31:57 -0400 |
commit | 87c669d95973f61aa451733183d683d41fe4cbb5 (patch) | |
tree | bc7ce29468e1e8decae251e94bb9e681932b28e0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d4b3a8faebfa0b505dc02014041de3625c614d2c (diff) |
Don't interpolate image input to quantizer
With `false`, nearest neighbor is used during scaling, with `true`,
bilinear interpolation is used. Bilinear interpolation can introduce
colors that weren't in the original image (ex. overemphasizing red/brown
highlights in a mostly B+W image of the Mandolorian). Better to avoid
that.
Bug: 189931209
Test: Test tons and tons of wallpapers over a couple days.
Change-Id: I425f95793ca593dbbc5008ef59f4baedaea318a6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions