HomeSort by relevance Sort by last modified time
    Searched full:colorcount (Results 1 - 25 of 34) sorted by null

1 2

  /external/skia/tools/lua/
gradients.lua 16 --io.write(g.type, " gradient with ", g.colorCount, " colors\n")
18 if g.colorCount == 3 then
  /external/giflib/
gifalloc.c 40 GifMakeMapObject(int ColorCount, const GifColorType *ColorMap)
44 /*** FIXME: Our ColorCount has to be a power of two. Is it necessary to
46 if (ColorCount != (1 << GifBitSize(ColorCount))) {
55 Object->Colors = (GifColorType *)calloc(ColorCount, sizeof(GifColorType));
61 Object->ColorCount = ColorCount;
62 Object->BitsPerPixel = GifBitSize(ColorCount);
66 (char *)ColorMap, ColorCount * sizeof(GifColorType));
90 int i, j, Len = Object->ColorCount;
    [all...]
gif_lib.h 40 int ColorCount;
236 extern ColorMapObject *GifMakeMapObject(int ColorCount,
dgif_lib.c 269 for (i = 0; i < GifFile->SColorMap->ColorCount; i++) {
374 for (i = 0; i < GifFile->Image.ColorMap->ColorCount; i++) {
406 GifFile->Image.ColorMap->ColorCount,
    [all...]
  /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/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...]
  /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,
SkSweepGradient.cpp 461 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored);
463 colors, stops, colorCount));
SkTwoPointConicalGradient.cpp 476 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
479 colors, stops, colorCount,
SkTwoPointRadialGradient.cpp 517 int colorCount = RandomGradientParams(random, colors, &stops, &tm);
520 colors, stops, 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,
SkSweepGradient.cpp 461 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored);
463 colors, stops, colorCount));
  /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/WebKit/Source/platform/image-decoders/ico/
ICOImageDecoder.cpp 324 int colorCount = static_cast<uint8_t>(m_data->data()[m_decodedOffset + 2]);
325 if (!colorCount)
326 colorCount = 256; // Vague in the spec, needed by real-world icons.
327 for (--colorCount; colorCount; colorCount >>= 1)
  /external/chromium_org/third_party/skia/include/effects/
SkGradientShader.h 58 It is an error for colorCount to be < 2, or for radius to be <= 0.
81 It is an error for colorCount to be < 2, for startRadius or endRadius to be < 0, or for
127 It is an error for colorCount to be < 2.
  /external/skia/include/effects/
SkGradientShader.h 58 It is an error for colorCount to be < 2, or for radius to be <= 0.
81 It is an error for colorCount to be < 2, for startRadius or endRadius to be < 0, or for
127 It is an error for colorCount to be < 2.
  /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];

Completed in 897 milliseconds

1 2