HomeSort by relevance Sort by last modified time
    Searched refs:maxColors (Results 1 - 13 of 13) sorted by null

  /external/skia/tests/
CodecPriv.h 24 int maxColors = 256;
27 colorTable.reset(new SkColorTable(colors, maxColors));
29 colorCountPtr = &maxColors;
GifTest.cpp 211 int maxColors = 256;
214 colorTable.reset(new SkColorTable(colors, maxColors));
216 colorCountPtr = &maxColors;
  /external/skia/src/codec/
SkBmpStandardCodec.cpp 77 uint32_t maxColors = 1 << this->bitsPerPixel();
79 // We set the number of colors to maxColors in order to ensure
82 *numColors = maxColors;
84 // Don't bother reading more than maxColors.
86 fNumColors == 0 ? maxColors : SkTMin(fNumColors, maxColors);
122 for (; i < maxColors; i++) {
127 fColorTable.reset(new SkColorTable(colorTable, maxColors));
SkBmpRLECodec.cpp 79 uint32_t maxColors = 1 << this->bitsPerPixel();
81 // We set the number of colors to maxColors in order to ensure
84 *numColors = maxColors;
86 // Don't bother reading more than maxColors.
88 fNumColors == 0 ? maxColors : SkTMin(fNumColors, maxColors);
110 for (; i < maxColors; i++) {
115 fColorTable.reset(new SkColorTable(colorTable, maxColors));
SkGifCodec.cpp 393 const uint32_t maxColors = 256;
396 // We set the number of colors to maxColors in order to ensure
399 *inputColorCount = maxColors;
440 for (uint32_t i = colorCount; i < maxColors; i++) {
444 sk_memset32(colorPtr, 0xFF000000, maxColors);
447 fColorTable.reset(new SkColorTable(colorPtr, maxColors));
SkPngCodec.cpp 145 const int maxColors = 1 << fBitDepth;
146 if (numColors < maxColors) {
148 sk_memset32(colorPtr + numColors, lastColor, maxColors - numColors);
153 *ctableCount = maxColors;
156 fColorTable.reset(new SkColorTable(colorPtr, maxColors));
  /external/skia/src/android/
SkBitmapRegionCodec.cpp 62 int maxColors = 256;
73 colorTable.reset(new SkColorTable(colors, maxColors));
75 colorCountPtr = &maxColors;
  /frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
ColorCutQuantizer.java 68 * @param maxColors The maximum number of colors that should be in the result palette.
71 ColorCutQuantizer(final int[] pixels, final int maxColors, final Palette.Filter[] filters) {
118 if (distinctColorCount <= maxColors) {
131 mQuantizedColors = quantizePixels(maxColors);
147 private List<Swatch> quantizePixels(int maxColors) {
150 final PriorityQueue<Vbox> pq = new PriorityQueue<>(maxColors, VBOX_COMPARATOR_VOLUME);
155 // Now go through the boxes, splitting them until we have reached maxColors or there are no
157 splitBoxes(pq, maxColors);
  /external/skia/fuzz/
fuzz.cpp 142 int maxColors = 256;
145 colorTable.reset(new SkColorTable(colors, maxColors));
147 colorCountPtr = &maxColors;
  /prebuilts/sdk/current/support/v7/palette/libs/
android-support-v7-palette.jar 
  /frameworks/base/core/jni/android/graphics/
BitmapFactory.cpp 371 int maxColors = 256;
374 colorTable.reset(new SkColorTable(colors, maxColors));
382 colorCount = &maxColors;
  /external/skia/dm/
DMSrcSink.cpp 400 int maxColors = 256;
403 colorTable.reset(new SkColorTable(colors, maxColors));
405 colorCountPtr = &maxColors;
688 int maxColors = 256;
691 colorTable.reset(new SkColorTable(colors, maxColors));
693 colorCountPtr = &maxColors;
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar 

Completed in 240 milliseconds