MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / feedWithRgbaColor

Method feedWithRgbaColor

src/render/quantization.cpp:381–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void PaletteOptimizer::feedWithRgbaColor(color_t color)
382{
383 m_histogram.addSamples(color, 1);
384}
385
386void PaletteOptimizer::calculate(Palette& palette, int maskIndex,
387 PaletteOptimizerDelegate* delegate)

Callers 2

Calls 1

addSamplesMethod · 0.80

Tested by

no test coverage detected