Searched refs:alpha (Results 201 - 225 of 548) sorted by relevance

1234567891011>>

/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DTileGrid.cpp320 background ? (background->hasAlpha() && background->alpha() > 0) : false;
406 Color postAlpha = Color(background->red() * background->alpha() / 255,
407 background->green() * background->alpha() / 255,
408 background->blue() * background->alpha() / 255,
409 background->alpha() );
/external/webkit/Source/WebCore/platform/graphics/gtk/
H A DFontGtk.cpp302 float red, green, blue, alpha; local
303 context->fillColor().getRGBA(red, green, blue, alpha);
304 cairo_set_source_rgba(cr, red, green, blue, alpha);
312 strokeColor.getRGBA(red, green, blue, alpha);
313 cairo_set_source_rgba(cr, red, green, blue, alpha);
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DImageBufferSkia.cpp230 // Do conversion of byte order and alpha divide (if necessary)
323 unsigned char alpha = srcPixel[3];
324 unsigned char r = SkMulDiv255Ceiling(srcPixel[0], alpha);
325 unsigned char g = SkMulDiv255Ceiling(srcPixel[1], alpha);
326 unsigned char b = SkMulDiv255Ceiling(srcPixel[2], alpha);
327 destRow[x] = SkPackARGB32(alpha, r, g, b);
/external/webkit/Source/WebCore/platform/image-decoders/bmp/
H A DBMPImageReader.cpp84 // setSize() calls eraseARGB(), which resets the alpha flag, so we force
106 // If the image has an AND mask and there was no alpha data, process the
249 // NOTE: We allow alpha here. Microsoft doesn't really document this well,
255 // *Except the alpha channel. Bizarrely, some RGB bitmaps expect decoders
256 // to pay attention to the alpha mask here, so there's a special case in
389 // For Windows V4+ 32-bit RGB, don't overwrite the alpha mask from the
410 // No alpha in anything other than Windows V4+.
425 // specify a bogus alpha channel in bits that don't exist in the pixel
430 // For empty masks (common on the alpha channel, especially after the
521 // framebuffer that we have alpha
703 int alpha = getAlpha(pixel); local
717 getComponent(pixel, 2), alpha); local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/
H A DSDL_dspvideo.c103 DSP_TRY_CC_AND_AA - Define if you want to try HWA color-key and alpha blitters
105 but hw alpha is neck-and-neck with SDL's soft bitter.
168 static int DSp_SetHWAlpha(_THIS, SDL_Surface *surface, UInt8 alpha);
209 RGBColor alpha; // alpha color member in struct:private_hwdata
1018 static int DSp_SetHWAlpha(_THIS, SDL_Surface *surface, UInt8 alpha) argument
1020 surface->hwdata->alpha.red = (alpha / 255.0) * 65535;
1021 surface->hwdata->alpha.blue = (alpha / 255.
[all...]
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontCGWin.cpp138 if (!fillColor.alpha())
141 drawIntoBitmap = fillColor.alpha() != 255 || graphicsContext->inTransparencyLayer();
289 UInt8 alpha = (255 - buffer[i + 1]) * fillColor.alpha() / 255; local
293 buffer[i + 3] = alpha;
369 Color shadowFillColor(shadowColor.red(), shadowColor.green(), shadowColor.blue(), shadowColor.alpha() * fillColor.alpha() / 255);
/external/opencv/cv/src/
H A Dcvstereogc.cpp661 static int64 icvAlphaExpand( int64 Eprev, int alpha, CvStereoGCState* state, CvStereoGCState2* state2 ) argument
683 int aa[] = { alpha, -alpha };
732 if( d != alpha && d != OCCLUDED && (unsigned)x1 < (unsigned)cols )
739 delta = IS_BLOCKED(alpha, d) ? INFINITY : 0;
745 else if( IS_BLOCKED(alpha, d) )
749 // (left + x, right + x + alpha)
750 x1 = x + alpha;
756 E0a = IS_BLOCKED(d, alpha) ? INFINITY : 0;
757 Ea0 = IS_BLOCKED(-d1, alpha)
940 int alpha = disp[i]; local
[all...]
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DGraphicsContextWinCE.cpp294 // Set alpha channel
448 TransparentLayerDC(GraphicsContextPlatformPrivate* data, IntRect& origRect, const IntRect* rectBeforeTransform = 0, int alpha = 255, bool paintImage = false);
470 TransparentLayerDC::TransparentLayerDC(GraphicsContextPlatformPrivate* data, IntRect& origRect, const IntRect* rectBeforeTransform, int alpha, bool paintImage) argument
477 m_data->m_opacity *= alpha / 255.;
643 if (fillColor().alpha()) {
672 if (!m_data->m_opacity || paintingDisabled() || strokeStyle() == NoStroke || !strokeColor().alpha())
684 TransparentLayerDC transparentDC(m_data, lineRect, 0, strokeColor().alpha());
702 if (!m_data->m_opacity || paintingDisabled() || (!fillColor().alpha() && strokeStyle() == NoStroke))
718 if (fillColor().alpha()) {
900 if (fillColor().alpha()) {
937 int alpha = color.alpha(); local
1182 setAlpha(float alpha) argument
[all...]
/external/opencv/ml/include/
H A Dml.h358 double alpha, double beta );
398 int alpha_count, double* alpha, double Cp, double Cn,
402 int alpha_count, double* alpha, double Cp, double Cn,
412 CvSVMKernel* kernel, double* alpha, CvSVMSolutionInfo& si );
415 double* alpha, CvSVMSolutionInfo& si );
418 double* alpha, CvSVMSolutionInfo& si );
422 double* alpha, CvSVMSolutionInfo& si );
426 double* alpha, CvSVMSolutionInfo& si );
444 double* alpha; member in class:CvSVMSolver
476 double* alpha; member in struct:CvSVMDecisionFunc
692 double alpha; member in struct:CvDTreeNode
[all...]
/external/skia/src/core/
H A DSkBitmap.cpp557 isOpaque() for configs that can't support per-pixel alpha.
938 // if the src has alpha, we have to clear the dst first
1224 static bool GetBitmapAlpha(const SkBitmap& src, uint8_t* SK_RESTRICT alpha, argument
1226 SkASSERT(alpha != NULL);
1236 // zero out the alpha buffer and return
1238 memset(alpha, 0, w);
1239 alpha += alphaRowBytes;
1247 memcpy(alpha, s, w);
1249 alpha += alphaRowBytes;
1255 alpha[
[all...]
H A DSkAAClip.h109 virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE;
H A DSkBitmapSampler.cpp279 int alpha = proc(*p00, *p01, *p10, *p11); local
280 return SkAlphaMulQ(fColor, SkAlpha255To256(alpha));
305 int alpha = *fBitmap.getAddr8(fTileProcX(ix, fMaxX), fTileProcY(iy, fMaxY)); local
306 return SkAlphaMulQ(fColor, SkAlpha255To256(alpha));
/external/chromium/chrome/browser/ui/views/tabs/
H A Dtab.cc463 TabImage* alpha = &tab_alpha_; local
481 SkBitmapOperations::CreateMaskedBitmap(tab_l, *alpha->image_l);
492 SkBitmapOperations::CreateMaskedBitmap(tab_r, *alpha->image_r);
540 TabImage* alpha = &tab_alpha_; local
546 SkBitmapOperations::CreateMaskedBitmap(tab_l, *alpha->image_l);
553 SkBitmapOperations::CreateMaskedBitmap(tab_r, *alpha->image_r);
/external/mesa3d/docs/OLD/
H A DMESA_packed_depth_stencil.spec178 RGBA red green blue alpha
179 BGRA blue green red alpha
180 ABGR_EXT alpha blue green red
/external/icu4c/test/intltest/
H A Ducdtest.cpp293 UnicodeSet alpha(UNICODE_STRING_SIMPLE("[:Alphabetic:]"), errorCode);
312 if(set!=alpha) {
325 if(set!=alpha) {
/external/opencv/cvaux/src/
H A Dcvhmm1d.cpp80 /* alpha is matrix
84 double* alpha = icvAlloc( num_states*num_obs * sizeof( double ) );
98 alpha[i] = m_pi[i] * m_b[ i];
116 sum += alpha[(t - 1) * num_states + i] * A[i * num_states + j];
119 alpha[(t - 1) * num_states + j] = sum * B[t * num_states + j];
121 /* add computed alpha to scale factor */
122 sum_alpha += alpha[(t - 1) * num_states + j];
127 /* scale alpha */
130 alpha[(t - 1) * num_states + j] *= scale;
/external/skia/tests/
H A DBlitRowTest.cpp242 uint8_t alpha = (k & 2) ? 0x80 : 0xFF; local
244 paint.setAlpha(alpha);
260 str.printf("Diagonal config=%s bg=0x%x dither=%d alpha=0x%x src=0x%x",
261 gConfigName[gDstConfig[i]], bgColor, dither, alpha, c);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DGLES2Canvas.cpp112 // Helper function for applying the state's alpha value to the given input
123 int a = (c.alpha() * s) >> 8;
128 return m_shadowColor.alpha() > 0 && (m_shadowBlur || m_shadowOffset.width() || m_shadowOffset.height());
304 void GLES2Canvas::setAlpha(float alpha) argument
306 m_state->m_alpha = alpha;
414 void GLES2Canvas::drawTexturedRect(Texture* texture, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform& transform, float alpha, ColorSpace colorSpace, CompositeOperator compositeOp, bool clip) argument
426 drawTexturedRectTile(texture, tiles.tileIndex(x, y), srcRect, dstRect, transform, alpha);
430 void GLES2Canvas::drawTexturedRectTile(Texture* texture, int tile, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform& transform, float alpha) argument
445 drawTexturedQuad(tileBoundsWithBorder.size(), srcRectClippedInTileSpace, dstRectIntersected, transform, alpha);
490 void GLES2Canvas::drawTexturedQuad(const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform& transform, float alpha) argument
508 drawTexturedQuadMitchell(const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform& transform, float alpha) argument
[all...]
/external/webkit/Source/WebCore/platform/image-decoders/png/
H A DPNGImageDecoder.cpp407 unsigned alpha = hasAlpha ? pixel[3] : 255; local
408 buffer.setRGBA(x, destY, pixel[0], pixel[1], pixel[2], alpha);
409 nonTrivialAlpha |= alpha < 255;
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
H A DTerrainGridAlphaMapTest.java193 Texture alpha = null;
195 alpha = assetManager.loadTexture("TerrainAlphaTest/alpha_" + (int)cell.x+ "_" + (int)cell.z + ".png");
197 alpha = assetManager.loadTexture("TerrainAlphaTest/alpha_default.png");
199 quad.getMaterial().setTexture("AlphaMap", alpha);
/external/qemu/android/skin/
H A Dwindow.c270 * alpha = MINALPHA + (1-MINALPHA)*(level-MIN)/(LOW-MIN)
278 * alpha = MAXALPHA*(level-HIGH)/(MAX-HIGH)
301 unsigned alpha = brightness; local
305 if (alpha <= b_min)
306 alpha = b_min;
307 else if (alpha > b_max)
308 alpha = b_max;
312 if (alpha < b_low)
317 alpha = alpha_min + ((alpha
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_video.h68 Uint32 alpha; member in struct:ColourMasks
/external/qemu/telephony/
H A Dgsm.h159 #define SIM_ADN_MAX_ALPHA 20 /* maximum number of characters in ADN alpha tag */
163 byte_t alpha [ SIM_ADN_MAX_ALPHA*3+1 ]; /* alpha tag in zero-terminated utf-8 */ member in struct:__anon11211
/external/skia/include/core/
H A DSkColor.h20 /** 8-bit type for an alpha value. 0xFF is 100% opaque, 0x00 is 100% transparent.
57 of 0xFF for alpha (fully opaque)
61 /** return the alpha byte from a SkColor value */
106 @param color the argb color to convert. Note: the alpha component is ignored.
114 /** Convert HSV components to an ARGB color. The alpha component is passed through unchanged.
119 @param alpha the alpha component of the returned argb color.
123 SK_API SkColor SkHSVToColor(U8CPU alpha, const SkScalar hsv[3]);
125 /** Convert HSV components to an ARGB color. The alpha component set to 0xFF.
150 components by the color's alpha, an
[all...]
H A DSkShader.h92 * alpha your shader will return. The default implementation returns 0.
102 * alpha value. Subclasses should override this to allow some
109 * Return the alpha associated with the data returned by shadeSpan16(). If
124 * set the appropriate colors (with premultiplied alpha) that correspond
136 * Similar to shadeSpan, but only returns the alpha-channel for a span.
137 * The default implementation calls shadeSpan() and then extracts the alpha
140 virtual void shadeSpanAlpha(int x, int y, uint8_t alpha[], int count);

Completed in 1387 milliseconds

1234567891011>>