BColorQuantizer
class BColorQuantizer {
BColorQuantizer(uint32 maxColors,
virtual ~BColorQuantizer();
using BPrivate::BColorQuantizer;
BColorQuantizer::GetColorCount() const
BColorQuantizer::GetColorTable(RGBA* table) const
BColorQuantizer::_AddColor(Node** _node, uint8 r, uint8 g, uint8 b, uint8 a,
BColorQuantizer::Node*
BColorQuantizer::_CreateNode(uint32 level, uint32 bitsPerColor,
BColorQuantizer::_ReduceTree(uint32 bitsPerColor, uint32* _leafCount,
BColorQuantizer::_DeleteTree(Node** _node)
BColorQuantizer::_GetPaletteColors(Node* node, RGBA* table, uint32* _index,
struct BColorQuantizer::Node {
BColorQuantizer::BColorQuantizer(uint32 maxColors, uint32 bitsPerColor)
BColorQuantizer::~BColorQuantizer()
BColorQuantizer::ProcessImage(const uint8* const * rowPtrs, int width,
BColorQuantizer quantizer(256, 8);