Searched defs:colors (Results 126 - 150 of 207) sorted by relevance

123456789

/external/skia/src/opts/
H A DSkBitmapProcState_opts_SSE2.cpp16 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 DSkBitmapProcState_opts_SSSE3.cpp395 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
735 S32_D16_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint16_t* colors) argument
746 S32_D16_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint16_t* colors) argument
759 S32_opaque_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
765 S32_alpha_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
771 S32_opaque_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
777 S32_alpha_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
783 S32_D16_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint16_t* colors) argument
789 S32_D16_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint16_t* colors) argument
[all...]
/external/skia/src/pdf/
H A DSkPDFBitmap.cpp336 const SkPMColor* colors = table->readColors(); local
338 pmcolor_to_rgb24(colors[i], tablePtr);
/external/skia/src/utils/
H A DSkPaintFilterCanvas.cpp108 const SkColor colors[], SkXfermode* xmode,
112 this->INHERITED::onDrawVertices(vmode, vertexCount, vertices, texs, colors, xmode, indices,
116 void SkPaintFilterCanvas::onDrawPatch(const SkPoint cubics[], const SkColor colors[], argument
120 this->INHERITED::onDrawPatch(cubics, colors, texCoords, xmode, *apf.paint());
106 onDrawVertices(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 DSkPatchUtils.cpp193 const SkColor colors[4], const SkPoint texCoords[4], int lodX, int lodY) {
224 // if colors is not null then create array for colors
226 if (colors) {
227 // premultiply colors to avoid color bleeding.
229 colorsPM[i] = SkPreMultiplyColor(colors[i]);
279 if (colors) {
192 getVertexData(SkPatchUtils::VertexData* data, const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], int lodX, int lodY) argument
/external/skia/tests/
H A DBitmapCopyTest.cpp65 static const SkColor colors[] = { local
68 return new SkColorTable(colors, SK_ARRAY_COUNT(colors));
552 static void fill_4x4_pixels(SkPMColor colors[16]) {
555 colors[y*4+x] = SkPackARGB32(0xFF, x, y, 0x80);
571 static void clear_4x4_pixels(SkPMColor colors[16]) {
572 sk_memset32(colors, 0, 16);
/external/webp/src/enc/
H A Dalpha.c191 int colors = 0; local
202 if (color[j] > 0) ++colors;
204 return colors;
220 // For low number of colors, NONE yields better compression.
224 // For large number of colors, try FILTER_NONE in addition to the best
/external/deqp/modules/egl/
H A DteglGLES2SharingTests.cpp700 static const GLfloat colors [] = { local
730 GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, 0, colors));
757 tcu::Vec4 a(colors[0], colors[1], colors[2], colors[3]);
758 tcu::Vec4 b(colors[4 + 0], colors[4 + 1], colors[4 + 2], colors[
989 static const GLfloat colors [] = { local
[all...]
H A DteglPreservingSwapTests.cpp175 const glw::GLubyte colors[] = local
194 m_gl.vertexAttribPointer(m_colorLoc, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, colors);
/external/deqp/modules/gles3/functional/
H A Des3fFboTestUtil.cpp377 tcu::Vec4 colors[4]; local
390 colors[fragNdx] = tcu::Vec4(0.0f);
403 colors[fragNdx] += tmpColors[fragNdx] * scale + bias;
409 const tcu::Vec4 color = colors[fragNdx] * outScale + outBias;
531 tcu::Vec4 colors[4]; local
543 tex->sample4(colors, texCoords);
547 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias;
639 tcu::Vec4 colors[4]; local
651 tex->sample4(colors, texCoords);
655 const tcu::Vec4 color = colors[fragNd
747 tcu::Vec4 colors[4]; local
[all...]
H A Des3fPixelBufferObjectTests.cpp295 float colors[] = { local
322 GLU_CHECK_CALL(glVertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 0, colors));
/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/jmonkeyengine/engine/src/core/com/jme3/font/
H A DLetterQuad.java371 public void storeToArrays(float[] pos, float[] tc, short[] idx, byte[] colors, int quadIdx){ argument
390 colors[3] = (byte) (colorInt & 0xff);
391 colors[2] = (byte) ((colorInt >> 8) & 0xff);
392 colors[1] = (byte) ((colorInt >> 16) & 0xff);
393 colors[0] = (byte) ((colorInt >> 24) & 0xff);
394 System.arraycopy(colors, 0, colors, 4, 4);
395 System.arraycopy(colors, 0, colors, 8, 4);
396 System.arraycopy(colors,
[all...]
/external/libvncserver/libvncserver/
H A Dcursor.c40 rfbXCursorColors colors; local
124 colors.foreRed = (char)(pCursor->foreRed >> 8);
125 colors.foreGreen = (char)(pCursor->foreGreen >> 8);
126 colors.foreBlue = (char)(pCursor->foreBlue >> 8);
127 colors.backRed = (char)(pCursor->backRed >> 8);
128 colors.backGreen = (char)(pCursor->backGreen >> 8);
129 colors.backBlue = (char)(pCursor->backBlue >> 8);
131 memcpy(&cl->updateBuf[cl->ublen], (char *)&colors, sz_rfbXCursorColors);
/external/libvterm/src/
H A Dvterm_internal.h105 VTermColor colors[16]; // Store the 8 ANSI and the 8 ANSI high-brights only member in struct:VTermState
/external/llvm/lib/Support/
H A Draw_ostream.cpp660 raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold, argument
665 (colors == SAVEDCOLOR) ? sys::Process::OutputBold(bg)
666 : sys::Process::OutputColor(colors, bold, bg);
670 // don't account colors towards output characters
683 // don't account colors towards output characters
696 // don't account colors towards output characters
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.c600 vb[ 3].x = layer->colors[0].x;
601 vb[ 3].y = layer->colors[0].y;
602 vb[ 4].x = layer->colors[0].z;
603 vb[ 4].y = layer->colors[0].w;
610 vb[ 8].x = layer->colors[1].x;
611 vb[ 8].y = layer->colors[1].y;
612 vb[ 9].x = layer->colors[1].z;
613 vb[ 9].y = layer->colors[1].w;
620 vb[13].x = layer->colors[2].x;
621 vb[13].y = layer->colors[
951 vl_compositor_set_rgba_layer(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_sampler_view *rgba, struct u_rect *src_rect, struct u_rect *dst_rect, struct vertex4f *colors) 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/opencv/cvaux/src/
H A Dcv3dtracker.cpp345 const CvScalar* colors = img->nChannels == 3 ? rgb_colors : gray_colors; local
347 CvScalar color = colors[0];
351 color = colors[y % ARRAY_SIZEOF(rgb_colors)];
/external/skia/gm/
H A Dmultipicturedraw.cpp407 static const SkColor colors[kNumTilesX][kNumTilesY] = { local
420 SkColorFilter::CreateModeFilter(colors[x][y], SkXfermode::kModulate_Mode))->unref();
/external/skia/samplecode/
H A DSampleAll.cpp512 SkColor colors[] = { SK_ColorRED, SK_ColorBLUE }; local
513 SkShader* shaderA = SkGradientShader::CreateLinear(pts, colors, NULL,
H A DSamplePatch.cpp44 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorRED }; local
45 return SkGradientShader::CreateLinear(pts, colors, NULL,
46 SK_ARRAY_COUNT(colors), SkShader::kMirror_TileMode);
181 SkColor* colors = colorStorage.get(); local
196 colors[i*2 + 0] = make_color(s/fW, t/fH);
197 colors[i*2 + 1] = make_color(s/fW, (t + dt)/fH);
203 doColors ? colors : NULL, NULL,
/external/skia/src/core/
H A DSkBitmapDevice.cpp340 const SkColor colors[], SkXfermode* xmode,
343 draw.drawVertices(vmode, vertexCount, verts, textures, colors, xmode,
337 drawVertices(const SkDraw& draw, SkCanvas::VertexMode vmode, int vertexCount, const SkPoint verts[], const SkPoint textures[], const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint& paint) argument
H A DSkDevice.cpp110 void SkBaseDevice::drawPatch(const SkDraw& draw, const SkPoint cubics[12], const SkColor colors[4], argument
118 if (SkPatchUtils::getVertexData(&data, cubics, colors, texCoords, lod.width(), lod.height())) {
H A DSkRecorder.cpp261 const SkPoint texs[], const SkColor colors[],
269 colors ? this->copy(colors, vertexCount) : NULL,
275 void SkRecorder::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], argument
279 colors ? this->copy(colors, SkPatchUtils::kNumCorners) : NULL,
259 onDrawVertices(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

Completed in 713 milliseconds

123456789