/external/chromium_org/third_party/skia/tools/lua/ |
H A D | gradients.lua | 16 --io.write(g.type, " gradient with ", g.colorCount, " colors\n") 18 if g.colorCount == 3 then
|
/external/skia/tools/lua/ |
H A D | gradients.lua | 16 --io.write(g.type, " gradient with ", g.colorCount, " colors\n") 18 if g.colorCount == 3 then
|
/external/chromium_org/third_party/angle/tests/angle_tests/ |
H A D | BlendMinMaxTest.cpp | 33 const size_t colorCount = 1024; local 34 Color colors[colorCount]; 35 for (size_t i = 0; i < colorCount; i++) 44 for (size_t i = 0; i < colorCount; i++)
|
/external/chromium_org/third_party/skia/src/lazy/ |
H A D | SkDiscardablePixelRef.cpp | 65 int colorCount = 0; local 70 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) { 83 if (colorCount > 0) { 84 fCTable.reset(SkNEW_ARGS(SkColorTable, (colors, colorCount)));
|
/external/skia/src/lazy/ |
H A D | SkDiscardablePixelRef.cpp | 65 int colorCount = 0; local 70 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) { 83 if (colorCount > 0) { 84 fCTable.reset(SkNEW_ARGS(SkColorTable, (colors, colorCount)));
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
H A D | SkGradientShader.cpp | 33 Thus colorCount (the caller's value, and fColorCount (our value) may 35 colorCount = 2 148 int colorCount = fColorCount = buffer.getArrayCount(); local 149 if (colorCount > kColorStorageCount) { 150 size_t allocSize = (sizeof(SkColor) + sizeof(SkPMColor) + sizeof(Rec)) * colorCount; 155 colorCount = fColorCount = 0; 160 buffer.readColorArray(fOrigColors, colorCount); 168 fRecs = (Rec*)(fOrigColors + colorCount); 169 if (colorCount > 2) { 172 for (int i = 1; i < colorCount; 715 desc_init(SkGradientShaderBase::Descriptor* desc, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags) argument 726 CreateLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 742 CreateRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 758 CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 779 CreateTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 827 CreateSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int colorCount, uint32_t flags, const SkMatrix* localMatrix) argument [all...] |
H A D | SkTwoPointConicalGradient_gpu.cpp | 200 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 203 colors, stops, colorCount, 474 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 477 colors, stops, colorCount, 686 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 689 colors, stops, colorCount, 931 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 934 colors, stops, colorCount, 1162 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 1165 colors, stops, colorCount, [all...] |
H A D | SkSweepGradient.cpp | 247 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored); local 249 colors, stops, colorCount));
|
H A D | SkLinearGradient.cpp | 526 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 528 colors, stops, colorCount,
|
H A D | SkRadialGradient.cpp | 537 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 539 colors, stops, colorCount,
|
/external/skia/src/effects/gradients/ |
H A D | SkGradientShader.cpp | 33 Thus colorCount (the caller's value, and fColorCount (our value) may 35 colorCount = 2 148 int colorCount = fColorCount = buffer.getArrayCount(); local 149 if (colorCount > kColorStorageCount) { 150 size_t allocSize = (sizeof(SkColor) + sizeof(SkPMColor) + sizeof(Rec)) * colorCount; 155 colorCount = fColorCount = 0; 160 buffer.readColorArray(fOrigColors, colorCount); 168 fRecs = (Rec*)(fOrigColors + colorCount); 169 if (colorCount > 2) { 172 for (int i = 1; i < colorCount; 715 desc_init(SkGradientShaderBase::Descriptor* desc, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags) argument 726 CreateLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 742 CreateRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 758 CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 779 CreateTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 827 CreateSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int colorCount, uint32_t flags, const SkMatrix* localMatrix) argument [all...] |
H A D | SkTwoPointConicalGradient_gpu.cpp | 200 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 203 colors, stops, colorCount, 474 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 477 colors, stops, colorCount, 686 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 689 colors, stops, colorCount, 931 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 934 colors, stops, colorCount, 1162 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 1165 colors, stops, colorCount, [all...] |
H A D | SkSweepGradient.cpp | 247 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored); local 249 colors, stops, colorCount));
|
H A D | SkLinearGradient.cpp | 526 int colorCount = RandomGradientParams(random, colors, &stops, &tm); local 528 colors, stops, colorCount,
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkImageDecoder_libgif.cpp | 137 static int find_transpIndex(const SavedImage& image, int colorCount) { argument 145 if (transpIndex >= colorCount) { 330 int colorCount = 0; local 338 colorCount = cmap->ColorCount; 339 if (colorCount > 256) { 340 colorCount = 256; // our kIndex8 can't support more 342 for (int index = 0; index < colorCount; index++) { 352 colorCount = 256; 353 sk_memset32(colorPtr, SK_ColorWHITE, colorCount); 355 transpIndex = find_transpIndex(temp_save, colorCount); [all...] |
H A D | SkImageDecoder_libico.cpp | 151 int colorCount = readByte(buf, 8 + choice*16); local 186 colorCount = 2; 190 colorCount = 16; 194 colorCount = 256; 198 colorCount = 0; 202 colorCount = 0; 222 if (colorCount) 224 colors = new SkPMColor[colorCount]; 225 for (int j = 0; j < colorCount; j++) 240 int xorOffset = begin + colorCount* [all...] |
H A D | SkImageDecoder_libpng.cpp | 668 int colorCount = numPalette + (numPalette < 256); local 722 (colorStorage, colorCount, alphaType)); 1033 static int computeBitDepth(int colorCount) { argument 1035 int bits = SkNextLog2(colorCount);
|
/external/skia/src/images/ |
H A D | SkImageDecoder_libgif.cpp | 137 static int find_transpIndex(const SavedImage& image, int colorCount) { argument 145 if (transpIndex >= colorCount) { 330 int colorCount = 0; local 338 colorCount = cmap->ColorCount; 339 if (colorCount > 256) { 340 colorCount = 256; // our kIndex8 can't support more 342 for (int index = 0; index < colorCount; index++) { 352 colorCount = 256; 353 sk_memset32(colorPtr, SK_ColorWHITE, colorCount); 355 transpIndex = find_transpIndex(temp_save, colorCount); [all...] |
H A D | SkImageDecoder_libico.cpp | 151 int colorCount = readByte(buf, 8 + choice*16); local 192 colorCount = 2; 196 colorCount = 16; 200 colorCount = 256; 204 colorCount = 0; 208 colorCount = 0; 228 if (colorCount) 230 colors = new SkPMColor[colorCount]; 231 for (int j = 0; j < colorCount; j++) 246 int xorOffset = begin + colorCount* [all...] |
H A D | SkImageDecoder_libpng.cpp | 668 int colorCount = numPalette + (numPalette < 256); local 722 (colorStorage, colorCount, alphaType)); 1031 static int computeBitDepth(int colorCount) { argument 1033 int bits = SkNextLog2(colorCount);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ico/ |
H A D | 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/gm/ |
H A D | shallowgradient.cpp | 62 const int colorCount = SK_ARRAY_COUNT(colors); variable 68 paint.setShader(fProc(colors, colorCount, size))->unref();
|
/external/skia/gm/ |
H A D | shallowgradient.cpp | 62 const int colorCount = SK_ARRAY_COUNT(colors); variable 68 paint.setShader(fProc(colors, colorCount, size))->unref();
|
/external/deqp/modules/egl/ |
H A D | teglNativeColorMappingTests.cpp | 318 bool testNativeWindow (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, int waitFrames, size_t colorCount, const tcu::Vec4* colors) argument 332 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++) 360 bool testNativePixmap (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) argument 374 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++) 400 bool testNativePixmapCopy (TestLog& log, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) argument 414 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++)
|
/external/opencv/cvaux/src/ |
H A D | cvcalibfilter.cpp | 547 const int colorCount = sizeof(line_colors)/sizeof(line_colors[0]); local 561 color = line_colors[(j/cvRound(etalonParams[0]))%colorCount];
|