/external/clang/test/CodeGenCXX/ |
H A D | mangle-ms.cpp | 104 static void __stdcall alpha(float a, double b) throw() {} function 107 alpha(0.f, 0.0); 111 // CHECK: @"\01?alpha@@YGXMN@Z"
|
/external/libpng/contrib/pngminus/ |
H A D | png2pnm.sh | 16 # -- gray with alpha-channel 19 # -- color with alpha-channel 20 ./png2pnm -noraw -alpha basn6a08.pgm ../pngsuite/basn6a08.png basn6a08.ppm 21 ./png2pnm -noraw -alpha basn6a16.pgm ../pngsuite/basn6a16.png basn6a16.ppm 36 # -- gray with alpha-channel 39 # -- color with alpha-channel 40 ./png2pnm -noraw -alpha rawn6a08.pgm ../pngsuite/basn6a08.png rawn6a08.ppm 41 ./png2pnm -noraw -alpha rawn6a16.pgm ../pngsuite/basn6a16.png rawn6a16.ppm
|
H A D | png2pnm.c | 54 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, BOOL raw, BOOL alpha); 66 BOOL alpha = FALSE; local 82 alpha = TRUE; 87 fprintf (stderr, "Error: can not create alpha-channel file %s\n", argv[argi]); 144 if (png2pnm (fp_rd, fp_wr, fp_al, raw, alpha) == FALSE) 155 /* close alpha file */ 156 if (alpha) 180 fprintf (stderr, " -a[lpha] <file>.pgm write PNG alpha channel as pgm-file\n"); 188 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, BOOL raw, BOOL alpha) argument 258 /* transform transparency maps into full alpha [all...] |
/external/libvpx/vp8/common/ |
H A D | postproc.c | 499 int y1, int u1, int v1, int alpha, int stride) 502 int y1_const = y1*((1<<16)-alpha); 503 int u1_const = u1*((1<<16)-alpha); 504 int v1_const = v1*((1<<16)-alpha); 511 y[j] = (y[j]*alpha + y1_const)>>16; 525 u[j] = (u[j]*alpha + u1_const)>>16; 526 v[j] = (v[j]*alpha + v1_const)>>16; 537 int y1, int u1, int v1, int alpha, int stride) 540 int y1_const = y1*((1<<16)-alpha); 541 int u1_const = u1*((1<<16)-alpha); 498 vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride) argument 536 vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride) argument 600 vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride) argument [all...] |
H A D | postproc.h | 29 int y1, int u1, int v1, int alpha, int stride) 33 int y1, int u1, int v1, int alpha, int stride) 37 int y1, int u1, int v1, int alpha, int stride)
|
/external/skia/bench/ |
H A D | SkBenchmark.h | 42 void setForceAlpha(int alpha) { argument 43 fForceAlpha = alpha;
|
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
H A D | BicubicShader.cpp | 48 , m_alphaLocation(context->getUniformLocation(program, "alpha")) 72 "uniform float alpha;\n" 112 void BicubicShader::use(const AffineTransform& transform, const AffineTransform& texTransform, const float coefficients[16], const float imageIncrement[2], float alpha) argument 129 m_context->uniform1f(m_alphaLocation, alpha);
|
H A D | TexShader.cpp | 61 void TexShader::use(const AffineTransform& transform, const AffineTransform& texTransform, int sampler, float alpha) argument 73 m_context->uniform1f(m_alphaLocation, alpha);
|
/external/webkit/Source/WebCore/platform/image-decoders/skia/ |
H A D | ImageDecoderSkia.cpp | 115 void ImageFrame::setHasAlpha(bool alpha) argument 117 m_bitmap.setIsOpaque(!alpha);
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebDeviceOrientation.cpp | 49 m_alpha = orientation->alpha(); 71 m_alpha = orientation->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/skia/gm/ |
H A D | hairmodes.cpp | 113 for (int alpha = 0; alpha < 4; ++alpha) { 127 gAlphaValue[alpha & 1], 128 gAlphaValue[alpha & 2]);
|
/external/skia/samplecode/ |
H A D | SampleAARectModes.cpp | 117 for (int alpha = 0; alpha < 4; ++alpha) { 131 gAlphaValue[alpha & 1], 132 gAlphaValue[alpha & 2]);
|
H A D | SampleHairModes.cpp | 115 for (int alpha = 0; alpha < 4; ++alpha) { 129 gAlphaValue[alpha & 1], 130 gAlphaValue[alpha & 2]);
|
/external/webrtc/src/common_audio/vad/ |
H A D | vad_sp.c | 67 int16_t alpha = 0; local 170 alpha = (int16_t) ALPHA1; // 0.2 in Q15. 172 alpha = (int16_t) ALPHA2; // 0.99 in Q15. 175 tmp32 = WEBRTC_SPL_MUL_16_16(alpha + 1, self->mean_value[channel]); 176 tmp32 += WEBRTC_SPL_MUL_16_16(WEBRTC_SPL_WORD16_MAX - alpha, current_median);
|
/external/skia/src/core/ |
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 | SkSpriteBlitter_ARGB32.cpp | 22 Sprite_D32_S32(const SkBitmap& src, U8CPU alpha) : INHERITED(src) { argument 26 if (255 != alpha) { 34 fAlpha = alpha; 45 U8CPU alpha = fAlpha; local 48 proc(dst, src, width, alpha); 275 U8CPU alpha = paint.getAlpha(); local 282 if (alpha != 0xFF) { 298 if (255 == alpha) { 299 // this can handle xfermode or filter, but not alpha 304 // this can handle alpha, bu [all...] |
/external/opencv/ml/src/ |
H A D | mlsvm.cpp | 233 double alpha, double beta ) 245 results[j] = (Qfloat)(s*alpha + beta); 339 // min [0.5(\alpha^T Q \alpha) + b^T \alpha] 341 // y^T \alpha = \delta 348 // Q, b, y, Cp, Cn, and an initial feasible point \alpha 352 // solution will be put in \alpha, objective value will be put in obj 358 alpha = 0; 418 alpha 231 calc_non_rbf_base( int vcount, int var_count, const float** vecs, const float* another, Qfloat* results, double alpha, double beta ) argument 1282 train1( int sample_count, int var_count, const float** samples, const void* _responses, double Cp, double Cn, CvMemStorage* _storage, double* alpha, double& rho ) argument 1539 double* alpha; local 1607 double* alpha; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
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/webkit/Source/WebCore/bindings/js/ |
H A D | JSHTMLCanvasElementCustom.cpp | 64 Identifier alpha(exec, "alpha"); 65 if (jsAttrs->hasProperty(exec, alpha)) 66 webGLAttrs->setAlpha(jsAttrs->get(exec, alpha).toBoolean(exec));
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
H A D | V8DeviceOrientationEventCustom.cpp | 42 INC_STATS("DOM.DeviceOrientationEvent.alpha._get"); 47 return v8::Number::New(imp->orientation()->alpha()); 76 // If alpha, beta or gamma are null or undefined, mark them as not provided. 79 double alpha = args[3]->NumberValue(); local 84 RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma);
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
H A D | GLExtras.cpp | 60 // Pull the alpha out of the color so that the shader applies it correctly. 61 // Otherwise we either don't have blending enabled, or the alpha will get 64 float alpha = color.alpha() / (float) 255; local 67 drawMat, &srcRect, alpha, false);
|
/external/qemu/android/skin/ |
H A D | trackball.c | 158 typedef struct { int x, y, offset, alpha; Fix16VectorRec f; } SphereCoordRec, *SphereCoord; member in struct:__anon10294 328 coord->alpha = 256; 333 coord->alpha = 256*(radius - r0); 351 coord->alpha = coord->alpha * scale; 358 coord->alpha = 0; 360 coord->alpha = -256*(r0 - (radius2-1.)); 400 color_blend( unsigned from, unsigned to, int alpha ) 406 unsigned result_ag = (from_ag + (alpha*(to_ag - from_ag) >> 8)) & 0xff00ff; 407 unsigned result_rb = (from_rb + (alpha*(to_r [all...] |
/external/opencv/cv/src/ |
H A D | cvaccum.cpp | 120 CvSize size, dsttype alpha ), (src, srcstep, dst, dststep, size, alpha) )\ 122 dsttype beta = (dsttype)(1 - alpha); \ 131 dsttype t0 = dst[x]*beta + cvtmacro(src[x])*alpha; \ 132 dsttype t1 = dst[x+1]*beta + cvtmacro(src[x+1])*alpha; \ 135 t0 = dst[x + 2]*beta + cvtmacro(src[x + 2])*alpha; \ 136 t1 = dst[x + 3]*beta + cvtmacro(src[x + 3])*alpha; \ 141 dst[x] = dst[x]*beta + cvtmacro(src[x])*alpha; \ 225 dsttype *dst, int dststep, CvSize size, dsttype alpha ), \ 226 (src, srcstep, mask, maskstep, dst, dststep, size, alpha )) \ 690 cvRunningAvg( const void* arrY, void* arrU, double alpha, const void* maskarr ) argument [all...] |
/external/skia/include/core/ |
H A D | SkBlitter.h | 30 /// zero-terminated run-length encoding of spans of constant alpha values. 33 /// Blit a vertical run of pixels with a constant alpha value. 34 virtual void blitV(int x, int y, int height, SkAlpha alpha); 37 /** Blit a rectangle with one alpha-blended column on the left, 38 width (zero or more) opaque pixels, and one alpha-blended column 91 virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE; 112 virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE; 139 virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE;
|