HomeSort by relevance Sort by last modified time
    Searched defs:colorCount (Results 1 - 16 of 16) sorted by null

  /external/skia/gm/
shallowgradient.cpp 55 const int colorCount = SK_ARRAY_COUNT(colors);
61 paint.setShader(fProc(colors, colorCount, size))->unref();
  /external/chromium_org/third_party/skia/src/effects/gradients/
SkGradientShader.cpp 39 Thus colorCount (the caller's value, and fColorCount (our value) may
41 colorCount = 2
155 int colorCount = fColorCount = buffer.getArrayCount();
156 if (colorCount > kColorStorageCount) {
158 fOrigColors = (SkColor*)sk_malloc_throw(size * colorCount);
162 buffer.readColorArray(fOrigColors, colorCount);
170 fRecs = (Rec*)(fOrigColors + colorCount);
171 if (colorCount > 2) {
174 for (int i = 1; i < colorCount; i++) {
707 const SkScalar pos[], int colorCount,
    [all...]
SkLinearGradient.cpp 511 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
513 colors, stops, colorCount,
SkRadialGradient.cpp 520 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
522 colors, stops, colorCount,
SkTwoPointConicalGradient.cpp 476 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
479 colors, stops, colorCount,
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libgif.cpp 129 if (cmap && ((unsigned)cmap->ColorCount > 256 ||
130 cmap->ColorCount != (1 << cmap->BitsPerPixel))) {
137 static int find_transpIndex(const SavedImage& image, int colorCount) {
145 if (transpIndex >= colorCount) {
285 int colorCount = 0;
292 colorCount = cmap->ColorCount;
293 if (colorCount > 256) {
294 colorCount = 256; // our kIndex8 can't support more
296 for (int index = 0; index < colorCount; index++)
    [all...]
SkImageDecoder_libico.cpp 147 int colorCount = readByte(buf, 8 + choice*16);
182 colorCount = 2;
186 colorCount = 16;
190 colorCount = 256;
194 colorCount = 0;
198 colorCount = 0;
218 if (colorCount)
220 colors = new SkPMColor[colorCount];
221 for (int j = 0; j < colorCount; j++)
236 int xorOffset = begin + colorCount*4; //beginning of the color bitma
    [all...]
SkImageDecoder_libpng.cpp 678 int colorCount = numPalette + (numPalette < 256);
732 (colorStorage, colorCount, alphaType));
    [all...]
  /external/opencv/cvaux/src/
cvcalibfilter.cpp 547 const int colorCount = sizeof(line_colors)/sizeof(line_colors[0]);
561 color = line_colors[(j/cvRound(etalonParams[0]))%colorCount];
  /external/skia/src/effects/gradients/
SkGradientShader.cpp 39 Thus colorCount (the caller's value, and fColorCount (our value) may
41 colorCount = 2
155 int colorCount = fColorCount = buffer.getArrayCount();
156 if (colorCount > kColorStorageCount) {
158 fOrigColors = (SkColor*)sk_malloc_throw(size * colorCount);
162 buffer.readColorArray(fOrigColors, colorCount);
170 fRecs = (Rec*)(fOrigColors + colorCount);
171 if (colorCount > 2) {
174 for (int i = 1; i < colorCount; i++) {
707 const SkScalar pos[], int colorCount,
    [all...]
SkLinearGradient.cpp 511 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
513 colors, stops, colorCount,
SkRadialGradient.cpp 520 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
522 colors, stops, colorCount,
SkTwoPointConicalGradient.cpp 476 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
479 colors, stops, colorCount,
  /external/skia/src/images/
SkImageDecoder_libgif.cpp 129 if (cmap && ((unsigned)cmap->ColorCount > 256 ||
130 cmap->ColorCount != (1 << cmap->BitsPerPixel))) {
137 static int find_transpIndex(const SavedImage& image, int colorCount) {
145 if (transpIndex >= colorCount) {
285 int colorCount = 0;
292 colorCount = cmap->ColorCount;
293 if (colorCount > 256) {
294 colorCount = 256; // our kIndex8 can't support more
296 for (int index = 0; index < colorCount; index++)
    [all...]
SkImageDecoder_libico.cpp 147 int colorCount = readByte(buf, 8 + choice*16);
182 colorCount = 2;
186 colorCount = 16;
190 colorCount = 256;
194 colorCount = 0;
198 colorCount = 0;
218 if (colorCount)
220 colors = new SkPMColor[colorCount];
221 for (int j = 0; j < colorCount; j++)
236 int xorOffset = begin + colorCount*4; //beginning of the color bitma
    [all...]
SkImageDecoder_libpng.cpp 677 int colorCount = numPalette + (numPalette < 256);
731 (colorStorage, colorCount, alphaType));
    [all...]

Completed in 2121 milliseconds