/external/deqp/modules/egl/ |
H A D | teglNativeColorMappingTests.cpp | 21 * \brief Test for mapping client color values to native surface colors 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 335 render(gl, program, colors[colorNdx]); 337 clear(gl, colors[colorNdx]); 344 if (!validate(log, display, config, result, colors[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 377 render(gl, program, colors[colorNdx]); 379 clear(gl, colors[colorNdx]); 384 if (!validate(log, display, config, result, colors[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 471 const tcu::Vec4 colors[] = local [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
H A D | output.c | 597 ColorsToPipe(VdpColor const *colors, uint32_t flags, struct vertex4f result[4]) argument 602 if (!colors) 606 dst->x = colors->red; 607 dst->y = colors->green; 608 dst->z = colors->blue; 609 dst->w = colors->alpha; 613 ++colors; 627 VdpColor const *colors, 667 ColorsToPipe(colors, flags, vlcolors)); 686 VdpColor const *colors, 623 vlVdpOutputSurfaceRenderOutputSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpOutputSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) argument 682 vlVdpOutputSurfaceRenderBitmapSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpBitmapSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) argument [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
H A D | fpdf_parser_filters.cpp | 442 CPDF_PredictorFilter::CPDF_PredictorFilter(int predictor, int colors, int bpc, int cols)
argument 449 m_Bpp = (colors * bpc + 7) / 8;
450 m_Pitch = (colors * bpc * cols + 7) / 8;
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
H A D | SDL_sysvideo.cc | 50 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/macrom/ |
H A D | SDL_romvideo.c | 60 SDL_Color *colors); 671 static int ROM_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 683 /* Verify the range of colors */ 692 (**cTab).ctTable[j].rgb.red = colors[i].r << 8 | colors[i].r; 693 (**cTab).ctTable[j].rgb.green = colors[i].g << 8 | colors[i].g; 694 (**cTab).ctTable[j].rgb.blue = colors[i].b << 8 | colors[i].b;
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/ |
H A D | SDL_gsvideo.c | 48 static int GS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 661 static int GS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
H A D | SDL_riscosFullScreenVideo.c | 65 static int FULLSCREEN_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 533 int FULLSCREEN_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 547 palette[firstcolor] = ((colors->b) << 24) | ((colors->g) << 16) | ((colors->r) << 8); 549 colors++;
|
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
H A D | SDL_wsconsvideo.c | 56 static int WSCONS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 572 int WSCONS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/ |
H A D | SDL_xbios.c | 77 static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors); 975 static int XBIOS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 986 r = colors[i].r; 987 v = colors[i].g; 988 b = colors[i].b; 997 r = colors[i].r; 998 v = colors[i].g; 999 b = colors[i].b; 1009 r = colors[i].r; 1010 v = colors[ [all...] |
/external/skia/bench/ |
H A D | BitmapBench.cpp | 35 SkPMColor* colors = storage; local 43 *colors++ = SkPreMultiplyARGB(0xFF, rr, gg, bb);
|
H A D | GradientBench.cpp | 34 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/skia/gm/ |
H A D | gradients.cpp | 271 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorGREEN, SK_ColorRED }; local 279 SkShader* s = SkGradientShader::CreateTwoPointRadial(c0, r0, c1, r1, colors, 360 const SkColor colors[] = { 0x7f7f7f7f, 0x7f7f7f7f, 0xb2000000 }; local 365 SkGradientShader::CreateRadial(center, radius, colors,
|
/external/skia/samplecode/ |
H A D | SampleRegion.cpp | 74 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/skia/src/core/ |
H A D | SkBBoxRecord.cpp | 272 const SkColor colors[], SkXfermode* xfer, 279 colors, xfer, indices, indexCount, paint); 270 drawVertices(VertexMode mode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], const SkColor colors[], SkXfermode* xfer, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
|
H A D | SkShader.cpp | 143 SkPMColor colors[kTempColorCount]; local 146 this->shadeSpan(x, y, colors, kTempColorCount); 149 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); 166 this->shadeSpan(x, y, colors, count); 168 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT); 181 this->shadeSpan(x, y, colors, n); 185 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT);
|
H A D | SkValidatingReadBuffer.cpp | 191 bool SkValidatingReadBuffer::readColorArray(SkColor* colors, size_t size) { argument 192 return readArray(colors, size, sizeof(SkColor));
|
/external/skia/src/effects/gradients/ |
H A D | SkSweepGradient.cpp | 243 SkColor colors[kMaxRandomGradientColors]; local 247 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored); 249 colors, stops, colorCount));
|
/external/skia/src/gpu/ |
H A D | GrBitmapTextContext.cpp | 598 GrColor* colors = reinterpret_cast<GrColor*>(positions + 1); local 600 *colors = fPaint.getColor(); 601 colors = reinterpret_cast<GrColor*>(reinterpret_cast<intptr_t>(colors) + vertSize);
|
/external/skia/src/images/ |
H A D | SkImageDecoder_libico.cpp | 47 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 50 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 53 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 56 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 59 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors); 196 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) = NULL; 235 SkPMColor* colors = NULL; local 239 colors = new SkPMColor[colorCount]; 246 colors[j] = SkPackARGB32(0xFF, red & 0xFF, green & 0xFF, blue & 0xFF); 271 delete[] colors; 312 editPixelBit1(const int pixelNo, const unsigned char* buf, const int xorOffset, int& x, int y, const int w, SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) argument 341 editPixelBit4(const int pixelNo, const unsigned char* buf, const int xorOffset, int& x, int y, const int w, SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) argument 361 editPixelBit8(const int pixelNo, const unsigned char* buf, const int xorOffset, int& x, int y, const int w, SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) argument 371 editPixelBit24(const int pixelNo, const unsigned char* buf, const int xorOffset, int& x, int y, const int w, SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) argument 385 editPixelBit32(const int pixelNo, const unsigned char* buf, const int xorOffset, int& x, int y, const int w, SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) argument [all...] |
/external/skia/src/opts/ |
H A D | SkBitmapFilter_opts_SSE2.cpp | 47 SkPMColor* SK_RESTRICT colors, int count) { 105 *colors++ = SkPackARGB32(a, r, g, b); 112 SkPMColor *SK_RESTRICT colors, int count) { 170 *colors++ = SkPackARGB32(a, r, g, b); 46 highQualityFilter_SSE2(const SkBitmapProcState& s, int x, int y, SkPMColor* SK_RESTRICT colors, int count) argument 111 highQualityFilter_ScaleOnly_SSE2(const SkBitmapProcState &s, int x, int y, SkPMColor *SK_RESTRICT colors, int count) argument
|
H A D | SkBitmapProcState_opts_SSE2.cpp | 16 int count, uint32_t* colors) { 17 SkASSERT(count > 0 && colors != NULL); 116 *colors++ = _mm_cvtsi128_si32(sum); 122 int count, uint32_t* colors) { 123 SkASSERT(count > 0 && colors != NULL); 232 *colors++ = _mm_cvtsi128_si32(sum); 642 int count, uint16_t* colors) { 643 SkASSERT(count > 0 && colors != NULL); 746 *colors++ = SkPixel32ToPixel16(dstColor); 14 S32_opaque_D32_filter_DX_SSE2(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 120 S32_alpha_D32_filter_DX_SSE2(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 640 S32_D16_filter_DX_SSE2(const SkBitmapProcState& s, const uint32_t* xy, int count, uint16_t* colors) argument
|
H A D | SkBitmapProcState_opts_SSSE3.cpp | 395 int count, uint32_t* colors) { 396 SkASSERT(count > 0 && colors != NULL); 467 _mm_storeu_si128(reinterpret_cast<__m128i *>(colors), sum0); 469 colors += 4; 494 *colors++ = _mm_cvtsi128_si32(sum); 541 _mm_storeu_si128(reinterpret_cast<__m128i *>(colors), sum0); 543 colors += 4; 575 *colors++ = _mm_cvtsi128_si32(sum0); 587 int count, uint32_t* colors) { 588 SkASSERT(count > 0 && colors ! 393 S32_generic_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 585 S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 711 S32_opaque_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 717 S32_alpha_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 723 S32_opaque_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 729 S32_alpha_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 737 S32_opaque_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 743 S32_alpha_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 749 S32_opaque_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument 755 S32_alpha_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument [all...] |
/external/skia/src/utils/ |
H A D | SkLuaCanvas.cpp | 279 const SkColor colors[], SkXfermode* xmode, 277 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
|
H A D | SkProxyCanvas.cpp | 145 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 D | BitmapCopyTest.cpp | 65 static const SkColor colors[] = { local 68 return new SkColorTable(colors, SK_ARRAY_COUNT(colors), alphaType);
|