/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_RLEaccel.c | 25 * RLE encoding for software colorkey and alpha-channel acceleration 30 * decoder. Added per-surface alpha blitter. Added per-pixel alpha 49 * binary transparency and for per-surface alpha blending, and for surfaces 50 * with per-pixel alpha. The details differ, however: 62 * Encoding of surfaces with per-pixel alpha: 69 * partially transparent (translucent) pixels (where 1 <= alpha <= 254), 73 * the alpha value occupying the highest 8 bits. The <skip> and <run> 78 * and the hole filled with the 5 most significant bits of the alpha value. 121 * Various colorkey blit methods, for opaque and per-surface alpha 783 RLEClipBlit(int w, Uint8 *srcbuf, SDL_Surface *dst, Uint8 *dstbuf, SDL_Rect *srcrect, unsigned alpha) argument 847 unsigned alpha; local 1293 unsigned alpha = dfmt->Amask ? 255 : 0; local [all...] |
H A D | SDL_blit_A.c | 63 /* Functions to perform alpha blended blitting */ 65 /* N->1 blending with per-surface alpha */ 79 const unsigned A = srcfmt->alpha; 118 /* N->1 blending with pixel alpha */ 132 /* FIXME: fix alpha bit field expansion here too? */ 171 /* colorkeyed N->1 blending with per-surface alpha */ 186 const int A = srcfmt->alpha; 228 /* fast RGB888->(A)RGB888 blending with surface alpha=128 special case */ 244 movd_m2r(dalpha, mm7); /* dst alpha mask */ 245 punpckldq_r2r(mm7, mm7); /* dst alpha mas 283 unsigned alpha = info->src->alpha; local 506 unsigned alpha = info->src->alpha; local 940 unsigned alpha = info->src->alpha; local 1257 unsigned alpha = info->src->alpha; local 1353 unsigned alpha = info->src->alpha; local 1461 unsigned alpha = info->src->alpha; local 1876 unsigned alpha = info->src->alpha; /* downscale alpha to 5 bits */ local 2015 unsigned alpha = info->src->alpha; /* downscale alpha to 5 bits */ local 2161 unsigned alpha = info->src->alpha; local 2295 unsigned alpha = info->src->alpha; local 2431 unsigned alpha = info->src->alpha; local 2467 unsigned alpha = info->src->alpha; /* downscale alpha to 5 bits */ local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/ |
H A D | SDL_dspvideo.c | 103 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/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
H A D | SDL_dx5video.c | 436 static int DX5_SetHWAlpha(_THIS, SDL_Surface *surface, Uint8 alpha); 881 /* This is only for alpha channel, and DirectX 6 882 doesn't support 2D alpha blits yet, so set it 0 1980 if ( DX5_SetHWAlpha(this, src, src->format->alpha) < 0 ) { 2047 static int DX5_SetHWAlpha(_THIS, SDL_Surface *surface, Uint8 alpha) argument
|
/external/qemu/telephony/ |
H A D | gsm.c | 1073 sim_adn_alpha_to_utf8( cbytes_t alpha, cbytes_t end, bytes_t dst ) argument 1078 while (alpha < end && end[-1] == 0xff) 1081 if (alpha >= end) 1084 if (alpha[0] == 0x80) { /* UCS/2 source encoding */ 1085 alpha += 1; 1086 result = ucs2_to_utf8( alpha, (end-alpha)/2, dst ); 1093 if (alpha+3 <= end && alpha[0] == 0x81) { 1095 len = alpha[ [all...] |
/external/skia/src/core/ |
H A D | SkBitmap.cpp | 1077 static bool GetBitmapAlpha(const SkBitmap& src, uint8_t* SK_RESTRICT alpha, argument 1079 SkASSERT(alpha != NULL); 1089 // zero out the alpha buffer and return 1091 memset(alpha, 0, w); 1092 alpha += alphaRowBytes; 1100 memcpy(alpha, s, w); 1102 alpha += alphaRowBytes; 1108 alpha[x] = SkGetPackedA32(s[x]); 1111 alpha += alphaRowBytes; 1117 alpha[ [all...] |
H A D | SkBlitter_RGB16.cpp | 59 virtual void blitV(int x, int y, int height, SkAlpha alpha); 86 virtual void blitV(int x, int y, int height, SkAlpha alpha); 213 const uint8_t* SK_RESTRICT alpha = mask.getAddr8(clip.fLeft, clip.fTop); local 227 unsigned aa = *alpha++; 232 alpha += maskRB; 383 const uint8_t* SK_RESTRICT alpha = mask.getAddr8(clip.fLeft, clip.fTop); local 407 // alpha is 8x8, widen and split to get a pair of 16x4 408 valpha = vaddw_u8(vdupq_n_u16(1), vld1_u8(alpha)); 444 alpha += UNROLL; 452 SkAlpha255To256(*alpha 474 blitV(int x, int y, int height, SkAlpha alpha) argument 633 const uint8_t* SK_RESTRICT alpha = mask.getAddr8(clip.fLeft, clip.fTop); local 655 blitV(int x, int y, int height, SkAlpha alpha) argument 697 int alpha = shaderContext->getSpan16Alpha(); local 711 int alpha = shaderContext->getSpan16Alpha(); local 759 int alpha = shaderContext->getSpan16Alpha(); local [all...] |
H A D | SkScalerContext.cpp | 532 static uint8_t pack_8_to_1(const uint8_t alpha[8]) { argument 536 bits |= convert_8_to_1(alpha[i]); 753 // now we need to extract the alpha-channel from the glyph's image
|
H A D | SkScan_Path.cpp | 347 virtual void blitV(int x, int y, int height, SkAlpha alpha) { argument
|
/external/skia/src/effects/gradients/ |
H A D | SkGradientShader.cpp | 274 // regardless of the paint's alpha 281 U8CPU alpha, const SkGradientShaderBase& shader) 282 : fCacheAlpha(alpha) 303 paint specifies a non-opaque alpha. 558 * The gradient holds a cache for the most recent value of alpha. Successive 559 * callers with the same alpha value will share the same cache. 561 SkGradientShaderBase::GradientShaderCache* SkGradientShaderBase::refCache(U8CPU alpha) const { 563 if (!fCache || fCache->getAlpha() != alpha) { 564 fCache.reset(SkNEW_ARGS(GradientShaderCache, (alpha, *this))); 582 // our caller assumes no external alpha, s 280 GradientShaderCache( U8CPU alpha, const SkGradientShaderBase& shader) argument [all...] |
/external/skia/src/opts/ |
H A D | SkBlitRow_opts_SSE2.cpp | 21 int count, U8CPU alpha) { 22 SkASSERT(alpha <= 255); 27 uint32_t src_scale = SkAlpha255To256(alpha); 68 // Get alpha and green pixels into higher byte of each word. 114 int count, U8CPU alpha) { 115 SkASSERT(alpha == 255); 143 __m128i alpha = _mm_srli_epi32(src_pixel, 24); local 145 // Copy alpha to upper 3rd byte of each quad 146 alpha = _mm_or_si128(alpha, _mm_slli_epi3 19 S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 112 S32A_Opaque_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 192 __m128i alpha = _mm_srli_epi16(src_pixel, 8); local 237 S32A_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 857 S32_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 934 S32A_D565_Opaque_SSE2(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 1053 S32_D565_Opaque_Dither_SSE2(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int x, int y) argument 1170 S32A_D565_Opaque_Dither_SSE2(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int x, int y) argument [all...] |
H A D | SkBlitRow_opts_arm_neon.cpp | 69 U8CPU alpha, int /*x*/, int /*y*/) { 70 SkASSERT(255 == alpha); 107 U8CPU alpha, int /*x*/, int /*y*/) { 108 SkASSERT(255 > alpha); 113 vscale = vdupq_n_u16(SkAlpha255To256(alpha)); 177 int scale = SkAlpha255To256(alpha); 193 U8CPU alpha, int /*x*/, int /*y*/) { 194 SkASSERT(255 == alpha); 251 // intentionally don't calculate alpha 331 // intentionally don't calculate alpha 67 S32_D565_Opaque_neon(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 105 S32_D565_Blend_neon(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 191 S32A_D565_Opaque_neon(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 376 S32A_D565_Blend_neon(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 507 S32_D565_Blend_Dither_neon(uint16_t *dst, const SkPMColor *src, int count, U8CPU alpha, int x, int y) argument 642 S32A_Opaque_BlitRow32_neon(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 745 S32A_Opaque_BlitRow32_neon_src_alpha(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 921 S32_Blend_BlitRow32_neon(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 986 S32A_Blend_BlitRow32_neon(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 1113 S32A_D565_Opaque_Dither_neon(uint16_t * SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int x, int y) argument 1314 unsigned alpha = SkAlpha255To256(a); local 1340 S32_D565_Opaque_Dither_neon(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int x, int y) argument [all...] |
H A D | SkXfermode_opts_arm_neon.cpp | 16 static inline uint8x8_t SkAlphaMulAlpha_neon8(uint8x8_t color, uint8x8_t alpha) { argument 20 tmp = vmull_u8(color, alpha); 29 static inline uint16x8_t SkAlphaMulAlpha_neon8_16(uint8x8_t color, uint8x8_t alpha) { argument 32 ret = vmull_u8(color, alpha); 338 // First calc alpha
|
/external/skia/src/pdf/ |
H A D | SkPDFShader.cpp | 780 // Create resource dict with alpha graphics state as G0 and 1291 * Create a copy of this gradient state with alpha assigned to RGB luminousity. 1300 SkAlpha alpha = SkColorGetA(fInfo.fColors[i]); local 1301 newState->fInfo.fColors[i] = SkColorSetARGB(255, alpha, alpha, alpha); 1308 * Create a copy of this gradient state with alpha set to fully opaque 1324 * Returns true if state is a gradient and the gradient has alpha. 1332 SkAlpha alpha = SkColorGetA(fInfo.fColors[i]); local 1333 if (alpha ! [all...] |
/external/speex/libspeex/ |
H A D | mdf.c | 704 spx_float_t alpha, alpha_1; local 1083 alpha = FLOAT_DIV32(tmp32, See); 1084 alpha_1 = FLOAT_SUB(FLOAT_ONE, alpha); 1086 st->Pey = FLOAT_ADD(FLOAT_MULT(alpha_1,st->Pey) , FLOAT_MULT(alpha,Pey)); 1087 st->Pyy = FLOAT_ADD(FLOAT_MULT(alpha_1,st->Pyy) , FLOAT_MULT(alpha,Pyy));
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | lpc_masking_model.c | 725 WebRtc_Word16 alpha=328; //0.01 in Q15 local 734 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(alpha, tmp); 737 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, (sh-shMem)), tmp); // Shift alpha the number of times required to get tmp in QdomLO 740 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, 6), tmp); // Shift alpha as much as possible without overflow the number of times required to get tmp in QdomHI 772 WebRtc_Word16 alpha=328; //0.01 in Q15 local 780 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(alpha, tmp); 787 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, (sh-shMem)), tmp); // Shift alpha th [all...] |
/external/aac/libSBRdec/src/ |
H A D | env_calc.cpp | 374 FIXP_DBL alpha = degreeAlias[k]; local 376 if (degreeAlias[k + 1] > alpha) 377 alpha = degreeAlias[k + 1]; 381 FDK_add_MantExp( fMult(alpha,groupGain), groupGain_e, 382 fMult(/*FL2FXCONST_DBL(1.0f)*/ (FIXP_DBL)MAXVAL_DBL - alpha,nrgGain[k]), nrgGain_e[k],
|
/external/bison/ |
H A D | maint.mk | 124 RELEASE_TYPES = alpha beta stable 128 # Use alpha.gnu.org for alpha and beta releases. 130 gnu_ftp_host-alpha = alpha.gnu.org 131 gnu_ftp_host-beta = alpha.gnu.org 1165 # Check that 'make alpha' will not fail at the end of the process, 1410 .PHONY: alpha beta stable release 1411 ALL_RECURSIVE_TARGETS += alpha beta stable 1412 alpha bet [all...] |
/external/chromium_org/cc/test/ |
H A D | test_web_graphics_context_3d.h | 96 GLclampf alpha) {} 93 clearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument
|
/external/chromium_org/chrome/browser/themes/ |
H A D | browser_theme_pack.cc | 1058 double alpha; local 1060 if (color_list->GetDouble(3, &alpha)) { 1061 color = SkColorSetARGB(static_cast<int>(alpha * 255), r, g, b);
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | tab.cc | 1049 int alpha = 255; local 1051 alpha = pulse_animation_->CurrentValueBetween( 1060 canvas->FillRect(bar_rect, SkColorSetA(color, alpha)); 1066 const SkColor kEyeColor = SkColorSetARGB(alpha, 71, 138, 217); 1155 uint8 alpha = mini_title_change_animation_->CurrentValueBetween(255, 0); local 1156 canvas->DrawImageInt(hover_image, 0, 0, alpha); 1212 TabImage* alpha = &tab_alpha_; local 1230 gfx::ImageSkiaOperations::CreateMaskedImage(tab_l, *alpha->image_l); 1241 gfx::ImageSkiaOperations::CreateMaskedImage(tab_r, *alpha->image_r); 1284 TabImage* alpha local [all...] |
/external/chromium_org/content/common/gpu/client/ |
H A D | gl_helper_unittest.cc | 1137 bool alpha = ColorComponentsClose(SkColorGetA(color1), local 1142 return red && blue && green && alpha;
|
/external/chromium_org/content/renderer/media/android/ |
H A D | webmediaplayer_android.cc | 577 unsigned char alpha) { 578 paint(canvas, rect, alpha, SkXfermode::kSrcOver_Mode); 583 unsigned char alpha, 620 paint.setAlpha(alpha); 575 paint(blink::WebCanvas* canvas, const blink::WebRect& rect, unsigned char alpha) argument 581 paint(blink::WebCanvas* canvas, const blink::WebRect& rect, unsigned char alpha, SkXfermode::Mode mode) argument
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | gles2_implementation_impl_autogen.h | 89 GLclampf alpha) { 92 << green << ", " << blue << ", " << alpha << ")"); 93 helper_->BlendColor(red, green, blue, alpha); 168 GLclampf alpha) { 171 << green << ", " << blue << ", " << alpha << ")"); 172 helper_->ClearColor(red, green, blue, alpha); 193 GLboolean alpha) { 199 << GLES2Util::GetStringBool(alpha) << ")"); 200 helper_->ColorMask(red, green, blue, alpha); 86 BlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument 165 ClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument 190 ColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) argument
|
/external/chromium_org/mojo/examples/pepper_container_app/ |
H A D | ppb_opengles2_thunk.cc | 84 GLclampf alpha) { 87 glBlendColor(red, green, blue, alpha); 167 GLclampf alpha) { 170 glClearColor(red, green, blue, alpha); 192 GLboolean alpha) { 195 glColorMask(red, green, blue, alpha); 80 BlendColor(PP_Resource context_id, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument 163 ClearColor(PP_Resource context_id, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument 188 ColorMask(PP_Resource context_id, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) argument
|