Searched refs:colors (Results 1 - 25 of 556) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapProcState_opts_SSSE3.h15 int count, uint32_t* colors);
18 int count, uint32_t* colors);
21 int count, uint32_t* colors);
24 int count, uint32_t* colors);
H A DSkBitmapProcState_opts_arm.cpp24 uint16_t* SK_RESTRICT colors) SK_ATTRIBUTE_OPTIMIZE_O1;
28 int count, uint16_t* SK_RESTRICT colors) {
29 SkASSERT(count > 0 && colors != NULL);
47 sk_memset16(colors, dstValue, count);
95 "stmia %[colors]!, {r5, r6, r8, r10} \n\t" // store last 8 pixels
98 : [xx] "+r" (xx), [count8] "+r" (count8), [colors] "+r" (colors)
104 src = srcAddr[*xx++]; *colors++ = table[src];
115 SkPMColor* SK_RESTRICT colors) SK_ATTRIBUTE_OPTIMIZE_O1;
119 int count, SkPMColor* SK_RESTRICT colors) {
26 SI8_D16_nofilter_DX_arm(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, uint16_t* SK_RESTRICT colors) argument
117 SI8_opaque_D32_nofilter_DX_arm(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, SkPMColor* SK_RESTRICT colors) argument
[all...]
H A DSkBitmapProcState_opts_SSE2.h15 int count, uint32_t* colors);
18 int count, uint32_t* colors);
31 int count, uint16_t* colors);
H A DSkBitmapProcState_opts_mips_dsp.cpp17 int count, uint16_t* SK_RESTRICT colors) {
18 SkASSERT(count > 0 && colors != NULL);
30 sk_memset16(colors, dstValue, count);
80 "sh $t0, 0(%[colors]) \n\t"
81 "sh $t1, 2(%[colors]) \n\t"
82 "sh $t2, 4(%[colors]) \n\t"
83 "sh $t3, 6(%[colors]) \n\t"
84 "sh $t4, 8(%[colors]) \n\t"
85 "sh $t5, 10(%[colors]) \n\t"
86 "sh $t6, 12(%[colors]) \
15 SI8_D16_nofilter_DX_mips_dsp(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, uint16_t* SK_RESTRICT colors) argument
148 SI8_opaque_D32_nofilter_DX_mips_dsp(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, SkPMColor* SK_RESTRICT colors) argument
[all...]
/external/skia/src/opts/
H A DSkBitmapProcState_opts_SSSE3.h15 int count, uint32_t* colors);
18 int count, uint32_t* colors);
21 int count, uint32_t* colors);
24 int count, uint32_t* colors);
H A DSkBitmapProcState_opts_arm.cpp23 uint16_t* SK_RESTRICT colors) SK_ATTRIBUTE_OPTIMIZE_O1;
27 int count, uint16_t* SK_RESTRICT colors) {
28 SkASSERT(count > 0 && colors != NULL);
46 sk_memset16(colors, dstValue, count);
94 "stmia %[colors]!, {r5, r6, r8, r10} \n\t" // store last 8 pixels
97 : [xx] "+r" (xx), [count8] "+r" (count8), [colors] "+r" (colors)
103 src = srcAddr[*xx++]; *colors++ = table[src];
114 SkPMColor* SK_RESTRICT colors) SK_ATTRIBUTE_OPTIMIZE_O1;
118 int count, SkPMColor* SK_RESTRICT colors) {
25 SI8_D16_nofilter_DX_arm(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, uint16_t* SK_RESTRICT colors) argument
116 SI8_opaque_D32_nofilter_DX_arm(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, SkPMColor* SK_RESTRICT colors) argument
[all...]
H A DSkBitmapProcState_opts_SSE2.h15 int count, uint32_t* colors);
18 int count, uint32_t* colors);
31 int count, uint16_t* colors);
H A DSkBitmapFilter_opts_SSE2.h15 SkPMColor *SK_RESTRICT colors, int count);
17 SkPMColor *SK_RESTRICT colors, int count);
/external/chromium_org/third_party/skia/gm/
H A Dverylargebitmap.cpp13 static void make_bm(SkBitmap* bm, int width, int height, SkColor colors[2]) { argument
18 SkShader* shader = SkGradientShader::CreateRadial(center, radius, colors, NULL, 2,
27 static void show_bm(SkCanvas* canvas, int width, int height, SkColor colors[2]) { argument
29 make_bm(&bm, width, height, colors);
77 SkColor colors[2]; variable
80 colors[0] = SK_ColorRED;
81 colors[1] = SK_ColorGREEN;
82 show_bm(canvas, small, small, colors);
85 colors[0] = SK_ColorBLUE;
86 colors[
[all...]
H A Dshallowgradient.cpp13 static SkShader* shader_linear(const SkColor colors[], int count, const SkSize& size) { argument
15 return SkGradientShader::CreateLinear(pts, colors, NULL, count,
19 static SkShader* shader_radial(const SkColor colors[], int count, const SkSize& size) { argument
21 return SkGradientShader::CreateRadial(center, size.width()/2, colors, NULL, count,
25 static SkShader* shader_conical(const SkColor colors[], int count, const SkSize& size) { argument
29 colors, NULL, count,
33 static SkShader* shader_sweep(const SkColor colors[], int count, const SkSize& size) { argument
35 colors, NULL, count);
61 const SkColor colors[] = { 0xFF555555, 0xFF444444 }; variable
62 const int colorCount = SK_ARRAY_COUNT(colors);
[all...]
H A Dcomposeshader.cpp20 SkColor colors[2]; local
24 colors[0] = SK_ColorRED;
25 colors[1] = SK_ColorBLUE;
26 SkAutoTUnref<SkShader> shaderA(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
31 colors[0] = SK_ColorBLACK;
32 colors[1] = SkColorSetARGB(0x80, 0, 0, 0);
33 SkAutoTUnref<SkShader> shaderB(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
/external/skia/gm/
H A Dverylargebitmap.cpp13 static void make_bm(SkBitmap* bm, int width, int height, SkColor colors[2]) { argument
18 SkShader* shader = SkGradientShader::CreateRadial(center, radius, colors, NULL, 2,
27 static void show_bm(SkCanvas* canvas, int width, int height, SkColor colors[2]) { argument
29 make_bm(&bm, width, height, colors);
77 SkColor colors[2]; variable
80 colors[0] = SK_ColorRED;
81 colors[1] = SK_ColorGREEN;
82 show_bm(canvas, small, small, colors);
85 colors[0] = SK_ColorBLUE;
86 colors[
[all...]
H A Dshallowgradient.cpp13 static SkShader* shader_linear(const SkColor colors[], int count, const SkSize& size) { argument
15 return SkGradientShader::CreateLinear(pts, colors, NULL, count,
19 static SkShader* shader_radial(const SkColor colors[], int count, const SkSize& size) { argument
21 return SkGradientShader::CreateRadial(center, size.width()/2, colors, NULL, count,
25 static SkShader* shader_conical(const SkColor colors[], int count, const SkSize& size) { argument
29 colors, NULL, count,
33 static SkShader* shader_sweep(const SkColor colors[], int count, const SkSize& size) { argument
35 colors, NULL, count);
61 const SkColor colors[] = { 0xFF555555, 0xFF444444 }; variable
62 const int colorCount = SK_ARRAY_COUNT(colors);
[all...]
/external/chromium_org/third_party/skia/include/effects/
H A DSkGradientShader.h23 /** By default gradients will interpolate their colors in unpremul space
25 * gradients will premultiply their colors first, and then interpolate
38 @param colors The array[count] of colors, to be distributed between the two points
40 each corresponding color in the colors array. If this is NULL,
41 the the colors are distributed evenly between the start and end point.
44 @param count Must be >=2. The number of colors (and pos if not NULL) entries.
48 const SkColor colors[], const SkScalar pos[], int count,
53 const SkColor colors[], const SkScalar pos[], int count,
55 return CreateLinear(pts, colors, po
52 CreateLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument
59 CreateLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument
88 CreateRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument
95 CreateRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument
128 CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument
137 CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument
159 CreateTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument
168 CreateTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument
197 CreateSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int count) argument
203 CreateSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int count, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument
[all...]
/external/skia/include/effects/
H A DSkGradientShader.h23 /** By default gradients will interpolate their colors in unpremul space
25 * gradients will premultiply their colors first, and then interpolate
38 @param colors The array[count] of colors, to be distributed between the two points
40 each corresponding color in the colors array. If this is NULL,
41 the the colors are distributed evenly between the start and end point.
44 @param count Must be >=2. The number of colors (and pos if not NULL) entries.
48 const SkColor colors[], const SkScalar pos[], int count,
53 const SkColor colors[], const SkScalar pos[], int count,
55 return CreateLinear(pts, colors, po
52 CreateLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument
59 CreateLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument
88 CreateRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument
95 CreateRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument
128 CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument
137 CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument
159 CreateTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode) argument
168 CreateTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkShader::TileMode mode, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument
197 CreateSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int count) argument
203 CreateSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int count, void* ignored, uint32_t flags, const SkMatrix* localMatrix) argument
[all...]
/external/chromium_org/third_party/skia/tests/
H A DShaderOpacityTest.cpp59 SkColor colors[2]; local
65 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0);
66 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0);
67 SkShader* grad = SkGradientShader::CreateLinear(pts, colors, pos, count,
74 colors[0] = SkColorSetARGB(0, 0, 0, 0);
75 colors[1] = SkColorSetARGB(0, 0, 0, 0);
76 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode);
82 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0);
83 colors[1] = SkColorSetARGB(0x40, 0, 0, 0);
84 grad = SkGradientShader::CreateLinear(pts, colors, po
[all...]
H A DFlatDataTest.cpp55 SkColor colors[2]; local
56 colors[0] = SK_ColorRED;
57 colors[1] = SK_ColorBLUE;
59 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateLinear(points, colors, NULL, 2,
/external/skia/tests/
H A DShaderOpacityTest.cpp59 SkColor colors[2]; local
65 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0);
66 colors[1] = SkColorSetARGB(0xFF, 0, 0, 0);
67 SkShader* grad = SkGradientShader::CreateLinear(pts, colors, pos, count,
74 colors[0] = SkColorSetARGB(0, 0, 0, 0);
75 colors[1] = SkColorSetARGB(0, 0, 0, 0);
76 grad = SkGradientShader::CreateLinear(pts, colors, pos, count, mode);
82 colors[0] = SkColorSetARGB(0xFF, 0, 0, 0);
83 colors[1] = SkColorSetARGB(0x40, 0, 0, 0);
84 grad = SkGradientShader::CreateLinear(pts, colors, po
[all...]
H A DFlatDataTest.cpp55 SkColor colors[2]; local
56 colors[0] = SK_ColorRED;
57 colors[1] = SK_ColorBLUE;
59 SkAutoTUnref<SkShader> shader(SkGradientShader::CreateLinear(points, colors, NULL, 2,
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapProcState_sample.h30 int count, DSTTYPE* SK_RESTRICT colors);
33 int count, DSTTYPE* SK_RESTRICT colors);
36 int count, DSTTYPE* SK_RESTRICT colors);
39 int count, DSTTYPE* SK_RESTRICT colors);
43 int count, DSTTYPE* SK_RESTRICT colors) {
44 SkASSERT(count > 0 && colors != NULL);
62 *colors++ = RETURNDST(src);
68 *colors++ = RETURNDST(src);
75 *colors++ = RETURNDST(src);
85 int count, DSTTYPE* SK_RESTRICT colors) {
41 _nofilter_DXDY(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
83 _nofilter_DX(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
138 _filter_DX(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
184 _filter_DXDY(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
[all...]
/external/skia/src/core/
H A DSkBitmapProcState_sample.h30 int count, DSTTYPE* SK_RESTRICT colors);
33 int count, DSTTYPE* SK_RESTRICT colors);
36 int count, DSTTYPE* SK_RESTRICT colors);
39 int count, DSTTYPE* SK_RESTRICT colors);
43 int count, DSTTYPE* SK_RESTRICT colors) {
44 SkASSERT(count > 0 && colors != NULL);
62 *colors++ = RETURNDST(src);
68 *colors++ = RETURNDST(src);
75 *colors++ = RETURNDST(src);
85 int count, DSTTYPE* SK_RESTRICT colors) {
41 _nofilter_DXDY(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
83 _nofilter_DX(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
138 _filter_DX(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
184 _filter_DXDY(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_pixels.c133 (format->palette)->colors = (SDL_Color *)SDL_malloc(
135 if ( (format->palette)->colors == NULL ) {
190 format->palette->colors[i].r=r;
194 format->palette->colors[i].g=g;
198 format->palette->colors[i].b=b;
203 format->palette->colors[i].unused=a;
205 format->palette->colors[i].unused=0;
210 format->palette->colors[0].r = 0xFF;
211 format->palette->colors[0].g = 0xFF;
212 format->palette->colors[
266 SDL_DitherColors(SDL_Color *colors, int bpp) argument
423 SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, int ncolors) argument
493 SDL_Color colors[256]; local
[all...]
/external/chromium_org/third_party/skia/samplecode/
H A DSampleShaders.cpp29 SkColor colors[2]; local
33 colors[0] = SK_ColorBLACK;
34 colors[1] = SkColorSetARGB(0, 0, 0, 0);
35 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode);
59 SkColor colors[2]; local
63 colors[0] = SK_ColorRED;
64 colors[1] = SK_ColorBLUE;
65 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode);
69 colors[0] = SK_ColorBLACK;
70 colors[
[all...]
/external/skia/samplecode/
H A DSampleShaders.cpp29 SkColor colors[2]; local
33 colors[0] = SK_ColorBLACK;
34 colors[1] = SkColorSetARGB(0, 0, 0, 0);
35 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode);
59 SkColor colors[2]; local
63 colors[0] = SK_ColorRED;
64 colors[1] = SK_ColorBLUE;
65 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, NULL, 2, SkShader::kClamp_TileMode);
69 colors[0] = SK_ColorBLACK;
70 colors[
[all...]
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestwin.c28 SDL_Color *colors, *cmap; local
42 /* Set the display colors -- on a hicolor display this is a no-op */
45 colors = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color));
47 memcpy(colors, picture->format->palette->colors,
54 colors = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color));
62 colors[i].r = r<<5;
63 colors[i].g = g<<5;
64 colors[i].b = b<<6;
69 NOTICE("testwin: setting colors\
[all...]

Completed in 500 milliseconds

1234567891011>>