Searched refs:colors (Results 276 - 300 of 531) sorted by relevance

<<11121314151617181920>>

/external/skia/src/utils/
H A DSkProxyCanvas.cpp145 const SkColor colors[], SkXfermode* xmode,
148 fProxy->drawVertices(vmode, vertexCount, vertices, texs, colors,
143 drawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
/external/skia/tests/
H A DGradientTest.cpp137 SkColor colors[] = { SK_ColorBLUE, SK_ColorBLUE }; local
140 colors,
/external/chromium_org/skia/ext/
H A Dimage_operations_unittest.cc46 // Computes the average pixel (/color) value for the given colors.
47 SkColor AveragePixel(const SkColor colors[], size_t color_count) { argument
50 const SkColor cur = colors[i];
78 // Returns the euclidian distance between two RGBA colors interpreted
104 // Returns true if each channel of the given two colors are "close." This is
105 // used for comparing colors where rounding errors may cause off-by-one.
157 // The colors alternate between color1 and color2, color1 being used
495 const SkColor colors[] = { checker_color1, checker_color2 }; local
496 const SkColor average_color = AveragePixel(colors, arraysize(colors));
[all...]
H A Danalysis_canvas.h66 const SkColor colors[],
/external/chromium_org/third_party/skia/samplecode/
H A DSampleRegion.cpp74 const SkColor colors[] = { SK_ColorBLACK, SK_ColorBLACK, 0 }; local
80 SkShader* s = SkGradientShader::CreateLinear(pts, colors, pos, 3,
105 const SkColor colors[] = { SK_ColorBLACK, SK_ColorBLACK, 0 }; local
107 SkShader* s = SkGradientShader::CreateLinear(pts, colors, pos,
108 SK_ARRAY_COUNT(colors),
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysvideo.cc50 static int BE_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
788 int BE_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
797 palette->colors[i].r = cmap->color_list[i].red;
798 palette->colors[i].g = cmap->color_list[i].green;
799 palette->colors[i].b = cmap->color_list[i].blue;
/external/qemu/distrib/sdl-1.2.15/src/video/vgl/
H A DSDL_vglvideo.c52 SDL_Color *colors);
438 int VGL_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
444 colors[i].r>>2,
445 colors[i].g>>2,
446 colors[i].b>>2);
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
H A DSDL_dx5video.c426 SDL_Color *colors);
1414 /* First 10 colors are reserved by Windows */
1427 /* Last 10 colors are reserved by Windows */
2165 /* Compress a full palette into the limited number of colors given to us
2168 The "best" way to do this is to sort the colors by diversity and place
2169 the most diverse colors into the limited palette. Unfortunately this
2170 results in widely varying colors being displayed in the interval during
2175 full palette, and use that as the limited palette. This allows colors
2178 distinct and widely varying areas, expecting all colors to be available.
2191 static void DX5_CompressPalette(_THIS, SDL_Color *colors, in argument
2270 DX5_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
[all...]
/external/skia/samplecode/
H A DSampleRegion.cpp74 const SkColor colors[] = { SK_ColorBLACK, SK_ColorBLACK, 0 }; local
80 SkShader* s = SkGradientShader::CreateLinear(pts, colors, pos, 3,
105 const SkColor colors[] = { SK_ColorBLACK, SK_ColorBLACK, 0 }; local
107 SkShader* s = SkGradientShader::CreateLinear(pts, colors, pos,
108 SK_ARRAY_COUNT(colors),
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_driver.c684 int *indices, LOCO *colors, VisualPtr pVisual)
696 ms->lut_r[index * 8 + j] = colors[index].red << 8;
697 ms->lut_g[index * 8 + j] = colors[index].green << 8;
698 ms->lut_b[index * 8 + j] = colors[index].blue << 8;
708 ms->lut_r[index * 8 + j] = colors[index].red << 8;
709 ms->lut_b[index * 8 + j] = colors[index].blue << 8;
714 ms->lut_g[index * 4 + j] = colors[index].green << 8;
721 ms->lut_r[index] = colors[index].red << 8;
722 ms->lut_g[index] = colors[index].green << 8;
723 ms->lut_b[index] = colors[inde
683 drv_load_palette(ScrnInfoPtr pScrn, int numColors, int *indices, LOCO *colors, VisualPtr pVisual) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_driver.c684 int *indices, LOCO *colors, VisualPtr pVisual)
696 ms->lut_r[index * 8 + j] = colors[index].red << 8;
697 ms->lut_g[index * 8 + j] = colors[index].green << 8;
698 ms->lut_b[index * 8 + j] = colors[index].blue << 8;
708 ms->lut_r[index * 8 + j] = colors[index].red << 8;
709 ms->lut_b[index * 8 + j] = colors[index].blue << 8;
714 ms->lut_g[index * 4 + j] = colors[index].green << 8;
721 ms->lut_r[index] = colors[index].red << 8;
722 ms->lut_g[index] = colors[index].green << 8;
723 ms->lut_b[index] = colors[inde
683 drv_load_palette(ScrnInfoPtr pScrn, int numColors, int *indices, LOCO *colors, VisualPtr pVisual) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
H A DSDL_DirectFB_video.c58 SDL_Color *colors);
294 SDL_Color *colors; local
303 colors = SDL_calloc (size, sizeof(SDL_Color));
304 if (!colors)
311 palette->colors = colors;
1054 int DirectFB_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
1075 entries[i].r = colors[i].r;
1076 entries[i].g = colors[i].g;
1077 entries[i].b = colors[
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_shader_state.c347 uint32_t colors = fp->fp.colors; local
377 colors |= m << 8; /* adjust BFC0 id */
391 colors += m - 4; /* adjust FFC0 id */
417 colors |= NV50_3D_SEMANTIC_COLOR_CLMP_EN;
465 PUSH_DATA (push, colors);
475 nv50->state.semantic_color = colors;
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_libpng.cpp412 if (!sampler.begin(decodedBitmap, sc, *this, ctLock.colors())) {
617 // colors, the only supported colortype is 8888.
688 // colortype is unpremultiplied, the color table will store unpremultiplied colors.
901 if (!sampler.begin(&decodedBitmap, sc, *this, ctLock.colors())) {
1045 /* Pack palette[] with the corresponding colors, and if hasAlpha is true, also
1050 have alpha in the colortable, since png doesn't support premul colors
1056 const SkPMColor* SK_RESTRICT colors = alc.colors(); local
1064 reorder the indices and ctable so that all non-opaque colors came
1071 if (SkGetPackedA32(colors[
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fFboTestUtil.cpp220 tcu::Vec4 colors[4]; local
233 colors[fragNdx] = tcu::Vec4(0.0f);
246 colors[fragNdx] += tmpColors[fragNdx] * scale + bias;
252 const tcu::Vec4 color = colors[fragNdx] * outScale + outBias;
385 tcu::Vec4 colors[4]; local
397 tex->sample4(colors, texCoords);
401 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias;
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_shader_state.c347 uint32_t colors = fp->fp.colors; local
377 colors |= m << 8; /* adjust BFC0 id */
391 colors += m - 4; /* adjust FFC0 id */
417 colors |= NV50_3D_SEMANTIC_COLOR_CLMP_EN;
465 PUSH_DATA (push, colors);
475 nv50->state.semantic_color = colors;
/external/skia/src/images/
H A DSkImageDecoder_libpng.cpp412 if (!sampler.begin(decodedBitmap, sc, *this, ctLock.colors())) {
617 // colors, the only supported colortype is 8888.
688 // colortype is unpremultiplied, the color table will store unpremultiplied colors.
901 if (!sampler.begin(&decodedBitmap, sc, *this, ctLock.colors())) {
1043 /* Pack palette[] with the corresponding colors, and if hasAlpha is true, also
1048 have alpha in the colortable, since png doesn't support premul colors
1054 const SkPMColor* SK_RESTRICT colors = alc.colors(); local
1062 reorder the indices and ctable so that all non-opaque colors came
1069 if (SkGetPackedA32(colors[
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dalpha.c172 int colors = 0; local
183 if (color[j] > 0) ++colors;
185 return colors;
201 // For low number of colors, NONE yields better compression.
205 // For large number of colors, try FILTER_NONE in addition to the best
/external/chromium_org/third_party/skia/bench/
H A DGradientBench.cpp34 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK, // 10 lines, 50 colors
39 // We have several special-cases depending on the number (and spacing) of colors, so
373 SkColor colors[] = { local
377 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL,
378 SK_ARRAY_COUNT(colors),
/external/llvm/lib/Support/
H A Draw_ostream.cpp605 raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold, argument
610 (colors == SAVEDCOLOR) ? sys::Process::OutputBold(bg)
611 : sys::Process::OutputColor(colors, bold, bg);
615 // don't account colors towards output characters
628 // don't account colors towards output characters
641 // don't account colors towards output characters
/external/pixman/test/
H A Dcomposite.c33 static const color_t colors[] = variable
261 /* It turns out that by construction all source, mask etc. colors are
391 info->color = &colors[color];
438 return prng_rand_n (ARRAY_LENGTH (colors));
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_video.h65 SDL_Color *colors; member in struct:SDL_Palette
346 * that the colors set by SDL_SetColors() will be the colors you get.
348 * of the colors exactly the way they are requested, and you should look
350 * If SDL cannot guarantee that the colors you request can be set,
454 * If all of the colors were set as passed to SDL_SetColors(), it will
460 * display colormap will be updated with the requested colors. If
467 SDL_Color *colors, int firstcolor, int ncolors);
486 SDL_Color *colors, int firstcolor,
772 * pixel format and colors o
[all...]
/external/skia/bench/
H A DGradientBench.cpp34 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK, // 10 lines, 50 colors
39 // We have several special-cases depending on the number (and spacing) of colors, so
373 SkColor colors[] = { local
377 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL,
378 SK_ARRAY_COUNT(colors),
/external/webp/src/enc/
H A Dalpha.c172 int colors = 0; local
183 if (color[j] > 0) ++colors;
185 return colors;
201 // For low number of colors, NONE yields better compression.
205 // For large number of colors, try FILTER_NONE in addition to the best
/external/chromium_org/cc/output/
H A Drenderer_pixeltest.cc2179 SkPMColor colors[4] = { local
2186 colors[0], colors[0], colors[1], colors[1],
2187 colors[0], colors[0], colors[1], colors[1],
2188 colors[
[all...]

Completed in 4480 milliseconds

<<11121314151617181920>>