/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkBitmapProcState_opts_SSSE3.h | 15 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 D | SkBitmapProcState_opts_arm.cpp | 23 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 D | SkBitmapProcState_opts_SSE2.h | 15 int count, uint32_t* colors); 18 int count, uint32_t* colors); 31 int count, uint16_t* colors);
|
H A D | SkBitmapFilter_opts_SSE2.h | 15 SkPMColor *SK_RESTRICT colors, int count); 17 SkPMColor *SK_RESTRICT colors, int count);
|
/external/skia/src/opts/ |
H A D | SkBitmapProcState_opts_SSSE3.h | 15 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 D | SkBitmapProcState_opts_arm.cpp | 23 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 D | SkBitmapProcState_opts_SSE2.h | 15 int count, uint32_t* colors); 18 int count, uint32_t* colors); 31 int count, uint16_t* colors);
|
H A D | SkBitmapFilter_opts_SSE2.h | 15 SkPMColor *SK_RESTRICT colors, int count); 17 SkPMColor *SK_RESTRICT colors, int count);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | verylargebitmap.cpp | 13 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 D | shallowgradient.cpp | 13 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 D | composeshader.cpp | 20 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 D | verylargebitmap.cpp | 13 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 D | shallowgradient.cpp | 13 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 D | SkGradientShader.h | 23 /** 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 D | SkGradientShader.h | 23 /** 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 D | ShaderOpacityTest.cpp | 59 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 D | FlatDataTest.cpp | 55 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 D | ShaderOpacityTest.cpp | 59 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 D | FlatDataTest.cpp | 55 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 D | SkBitmapProcState_sample.h | 30 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 D | SkBitmapProcState_sample.h | 30 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 D | SDL_pixels.c | 133 (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 D | SampleShaders.cpp | 29 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 D | SampleShaders.cpp | 29 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 D | testwin.c | 28 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...] |