/external/skia/bench/ |
H A D | MathBench.cpp | 113 static inline uint32_t QMul64(uint32_t value, U8CPU alpha) { argument 114 SkASSERT((uint8_t)alpha == alpha); 119 tmp *= alpha;
|
/external/skia/src/core/ |
H A D | SkBlitter_4444.cpp | 38 virtual void blitV(int x, int y, int height, SkAlpha alpha); 151 void SkARGB4444_Blitter::blitV(int x, int y, int height, SkAlpha alpha) { argument 152 if (0 == alpha || 0 == fScale16) { 165 if (16 == fScale16 && 255 == alpha) { 172 unsigned alphaScale = SkAlpha255To256(alpha); 338 const uint8_t* alpha = mask.getAddr8(x, y); local 346 unsigned aa = *alpha++; 351 alpha += maskRB;
|
H A D | SkShader.cpp | 123 void SkShader::shadeSpanAlpha(int x, int y, uint8_t alpha[], int count) { argument 140 *alpha++ = SkToU8(a0); 141 *alpha++ = SkToU8(a1); 142 *alpha++ = SkToU8(a2); 143 *alpha++ = SkToU8(a3); 153 *alpha++ = *srcA; 170 *alpha++ = *srcA; 226 return true; // using paint's alpha 285 // we want this before we apply any alpha 314 void SkColorShader::shadeSpanAlpha(int x, int y, uint8_t alpha[], in argument 356 shadeSpanAlpha(int x, int y, uint8_t alpha[], int count) argument [all...] |
H A D | SkScan_AntiPath.cpp | 61 virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE { 162 *accumulates* SCALE pixels worth of "alpha" in [0,(256/SCALE)] 164 itself, with the same (alpha - (alpha >> 8)) correction as 181 int alpha = (256 >> SHIFT) * aa; local 183 return alpha - (alpha >> 8); 322 // xrite/SCALE should give us alpha. 439 static void add_aa_span(uint8_t* alpha, U8CPU startAlpha) { argument 440 /* I should be able to just add alpha[ 458 add_aa_span(uint8_t* alpha, U8CPU startAlpha, int middleCount, U8CPU stopAlpha, U8CPU maxValue) argument [all...] |
/external/skia/src/opts/ |
H A D | SkBitmapProcState_opts_SSE2.cpp | 160 // ( alpha, alpha, alpha, alpha, alpha, alpha, alpha, alpha ) 161 __m128i alpha = _mm_set1_epi16(s.fAlphaScale); local 222 // Multiply by alpha [all...] |
H A D | SkBlitRow_opts_SSE2.cpp | 20 int count, U8CPU alpha) { 21 SkASSERT(alpha <= 255); 26 uint32_t src_scale = SkAlpha255To256(alpha); 67 // Get alpha and green pixels into higher byte of each word. 113 int count, U8CPU alpha) { 114 SkASSERT(alpha == 255); 142 __m128i alpha = _mm_srli_epi32(src_pixel, 24); local 144 // Copy alpha to upper 3rd byte of each quad 145 alpha = _mm_or_si128(alpha, _mm_slli_epi3 18 S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 111 S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 191 __m128i alpha = _mm_srli_epi16(src_pixel, 8); local 236 S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument [all...] |
/external/svox/pico/tts/ |
H A D | svox_ssml_parser.cpp | 166 int alpha = 1; /* set to 1 if alphabet is ipa */ local 179 alpha = 0; 195 if (alpha)
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
H A D | PlatformGraphicsContext.cpp | 97 , alpha(1) 115 , alpha(other.alpha) 179 int s = RoundToInt(alpha * 256); 229 void PlatformGraphicsContext::setAlpha(float alpha) argument 231 m_state->alpha = alpha; 236 int alpha = roundf(m_state->alpha * 256); local 237 if (alpha > 25 [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | FontChromiumWin.cpp | 94 bool m_createdTransparencyLayer; // We created a layer to give the font some alpha. 285 ASSERT(shadowColor.alpha() == 255); 286 ASSERT(m_graphicsContext->fillColor().alpha() == 255); 453 unsigned char alpha = SkColorGetA(color); local 455 if (!alpha && graphicsContext->platformContext()->getStrokeStyle() == NoStroke && !graphicsContext->hasShadow()) 490 unsigned char alpha = SkColorGetA(color); local 492 if (!alpha && graphicsContext->platformContext()->getStrokeStyle() == NoStroke)
|
H A D | TransparencyWin.cpp | 474 // The alpha is the average of the R, G, and B channels. 475 int alpha = (SkGetPackedR32(row[x]) + SkGetPackedG32(row[x]) + SkGetPackedB32(row[x])) / 3; local 477 // Apply that alpha to the text color and write the result. 478 row[x] = SkAlphaMulQ(textColor, SkAlpha255To256(255 - alpha));
|
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
H A D | FontGtk.cpp | 302 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/qt/ |
H A D | ImageBufferQt.cpp | 246 int alpha = qAlpha(pixel); local 248 if (alpha == 255) 253 else if (alpha > 0) 254 destRows[x] = ((alpha << 24) 255 | (((255 * qBlue(pixel)) / alpha)) << 16) 256 | (((255 * qGreen(pixel)) / alpha) << 8) 257 | ((255 * qRed(pixel)) / alpha);
|
/external/webkit/Source/WebCore/platform/image-decoders/ |
H A D | ImageDecoder.cpp | 215 void ImageFrame::setHasAlpha(bool alpha) argument 217 m_hasAlpha = alpha;
|
/external/webkit/Source/WebCore/platform/image-decoders/bmp/ |
H A D | BMPImageReader.h | 232 // For images without alpha, return alpha of 0xff. 248 unsigned alpha) 250 m_buffer->setRGBA(m_coord.x(), m_coord.y(), red, green, blue, alpha); 262 unsigned alpha) 265 setRGBA(red, green, blue, alpha); 339 // Variables that track whether we've seen pixels with alpha values != 0 245 setRGBA(unsigned red, unsigned green, unsigned blue, unsigned alpha) argument 258 fillRGBA(int endCoord, unsigned red, unsigned green, unsigned blue, unsigned alpha) argument
|
/external/webkit/Source/WebCore/platform/image-decoders/png/ |
H A D | PNGImageDecoder.cpp | 407 unsigned alpha = hasAlpha ? pixel[3] : 255; local 408 buffer.setRGBA(x, destY, pixel[0], pixel[1], pixel[2], alpha); 409 nonTrivialAlpha |= alpha < 255;
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
H A D | ImageDiff.cpp | 307 uint32_t alpha = basePixel & rgbaAlpha; local 308 uint32_t newPixel = basePixel - ((alpha / 2) & rgbaAlpha);
|
/external/webp/src/enc/ |
H A D | analysis.c | 26 static int ClipAlpha(int alpha) { argument 27 return alpha < 0 ? 0 : alpha > 255 ? 255 : alpha; 137 const int alpha = 255 * (centers[n] - mid) / (max - min); local 139 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); 145 // Simplified k-Means, to assign Nb segments based on alpha-histogram 211 const int alpha = mb->alpha_; local 212 mb->segment_ = map[alpha]; 213 mb->alpha_ = centers[map[alpha]]; // jus 244 const int alpha = VP8CollectHistogram(it->yuv_in_ + Y_OFF, local 269 const int alpha = VP8CollectHistogram(src, local 295 const int alpha = VP8CollectHistogram(it->yuv_in_ + U_OFF, local [all...] |
/external/qemu/android/skin/ |
H A D | argb.h | 56 mmx_interp255( mmx_t m1, mmx_t m2, mmx_t zero, int alpha ) 62 alpha = (alpha << 16) | (alpha ^ 255); 63 mult = _mm_cvtsi32_si64( alpha ); // mult = [ 0 | 0 | a | 1-a ] 94 #define ARGB_INTERP255(x1,x2,x3,alpha) \ 95 x1 = mmx_interp255( x2, x3, _zero, (alpha)) 162 #define ARGB_INTERP255(x1,x2,x3,alpha) \ 164 int _alpha = (alpha); \ 490 int ex1, ex2, ey1, ey2, alpha; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_surface.c | 224 /* This function sets the alpha channel of a surface */ 228 Uint32 oldalpha = surface->format->alpha; 255 surface->format->alpha = value; 269 surface->format->alpha = SDL_ALPHA_OPAQUE; 273 * per-surface alpha, so no need to invalidate the blit mapping 274 * if just the alpha value was changed. (If either is 255, we still 291 SDL_SetError("Unsupported surface alpha mask format"); 309 /* Quickly set the alpha channel of an RGBA or ARGB surface */ 796 Uint8 alpha = 0; local 815 /* Only create hw surfaces with alpha channe [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
H A D | SDL_DirectFB_video.c | 71 static int DirectFB_SetHWAlpha(_THIS, SDL_Surface *surface, Uint8 alpha); 890 surface->SetColor (surface, 0xff, 0xff, 0xff, src->format->alpha); 935 static int DirectFB_SetHWAlpha(_THIS, SDL_Surface *surface, Uint8 alpha) argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/gem/ |
H A D | SDL_gemvideo.h | 64 Uint32 red, green, blue, alpha; /* Screen components */ member in struct:SDL_PrivateVideoData 113 #define VDI_alphamask (this->hidden->alpha)
|
/external/skia/src/images/ |
H A D | SkImageDecoder_libwebp.cpp | 63 int* alpha) { 80 *alpha = features.has_alpha; 151 // For images that have alpha, choose appropriate color mode (MODE_rgbA, 153 // factor (alpha). 62 webp_parse_header(SkStream* stream, int* width, int* height, int* alpha) argument
|
/external/srec/srec/EventLog/src/ |
H A D | EventLogImpl.c | 393 LCHAR alpha[MAX_INT_DIGITS+1]; local 398 CHK(rc, litostr(value, alpha, &size, 10)); 399 return self->token(self, token, alpha); 408 LCHAR alpha[MAX_INT_DIGITS+1]; local 413 CHK(rc, lultostr(value, alpha, &size, 10)); 414 return self->token(self, token, alpha); 423 LCHAR alpha[MAX_UINT_DIGITS+1]; local 428 CHK(rc, lultostr(value, alpha, &size, 10)); 429 return self->token(self, token, alpha); 445 LCHAR alpha[MAX_INT_DIGIT local [all...] |
/external/svox/pico/lib/ |
H A D | picosig2.c | 1537 function makeEnhWind(alpha) 1539 s=(bilinmap(alpha,N)); 3623 * - alpha : warping factor 3635 picoos_single alpha; local 3642 alpha = sig_inObj->warp_p;
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
H A D | utilities.cpp | 431 gl::unorm<8>(color.alpha)); 531 DWORD ConvertColorMask(bool red, bool green, bool blue, bool alpha) argument 536 (alpha ? D3DCOLORWRITEENABLE_ALPHA : 0);
|