Searched refs:QUANTIZE_WORD_WIDTH (Results 1 – 1 of 1) sorted by relevance
73 private static final int QUANTIZE_WORD_WIDTH = 5; field in ColorCutQuantizer74 private static final int QUANTIZE_WORD_MASK = (1 << QUANTIZE_WORD_WIDTH) - 1;95 final int[] hist = mHistogram = new int[1 << (QUANTIZE_WORD_WIDTH * 3)]; in quantize()433 a[i] = quantizedGreen(color) << (QUANTIZE_WORD_WIDTH + QUANTIZE_WORD_WIDTH) in modifySignificantOctet()434 | quantizedRed(color) << QUANTIZE_WORD_WIDTH in modifySignificantOctet()442 a[i] = quantizedBlue(color) << (QUANTIZE_WORD_WIDTH + QUANTIZE_WORD_WIDTH) in modifySignificantOctet()443 | quantizedGreen(color) << QUANTIZE_WORD_WIDTH in modifySignificantOctet()485 int r = modifyWordWidth(Color.red(color), 8, QUANTIZE_WORD_WIDTH); in quantizeFromRgb888()486 int g = modifyWordWidth(Color.green(color), 8, QUANTIZE_WORD_WIDTH); in quantizeFromRgb888()487 int b = modifyWordWidth(Color.blue(color), 8, QUANTIZE_WORD_WIDTH); in quantizeFromRgb888()[all …]