summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJames O'Leary <jamesoleary@google.com>2021-02-18 16:47:21 -0500
committerJames O'Leary <jamesoleary@google.com>2021-02-21 23:46:08 -0500
commit00f4c53592204f7b1f79e6324da570af00f0458a (patch)
tree2f54aebcd4bd2c33ff2adefbcd24ebafcac997c0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentcaf9ae8b52c7058badd551938f657d9335ffce26 (diff)
[framework] Integrate new quantizers
- WuQuantizer, CelebiQuantizer, and WSMeansQuantizer for implementing Celebi's weighted squared means algorithm for color extraction - CentroidProvider interface added; allows easy switching of what colorspace/dimensions is used for clustering during color extraction Test: Run, switch between a bunch of wallpapers, switch dark/light theme, repeat ad nauseum. Unit tests in separate Android Studio project hosting the library pass, will add those to Android in separate CL. Fixes: 180641035 Change-Id: I0fc60a134f411845dab9d6c7d8553907849d0f8a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions