/external/webrtc/src/common_audio/vad/ |
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);
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
sbr_aliasing_reduction.cpp | 273 Int32 alpha; local 277 alpha = degreeAlias[temp1 + 1] > degreeAlias[temp1 ] ? 282 alpha = degreeAlias[temp1]; 286 * nrg_gain[k] = alpha*newGain + (1.0f-alpha)*nrg_gain[k]*nrg_gain[k]; 292 tmp_q3 = fxp_mul32_Q30(alpha, quotient.quotient); 293 tmp_q4 = fxp_mul32_Q30(Q30fmt(1.0f) - alpha, nrg_gain_man[k]);
|
/frameworks/base/libs/hwui/ |
Snapshot.h | 212 * Current alpha value. This value is 1 by default, but may be set by a DisplayList which 214 * the renderer to set the alpha in the current color being used for ensuing drawing 217 * the base alpha value which should be applied to the child DisplayLists used for drawing 220 float alpha; member in class:android::uirenderer::Snapshot
|
/frameworks/native/include/private/gui/ |
LayerState.h | 39 alpha(0), tint(0), flags(0), mask(0), 63 float alpha; member in struct:android::layer_state_t
|
/gdk/samples/PhotoEditor/jni/ |
redeye.cpp | 92 int32_t alpha = src->rgba8[3]; local 97 *dst = alpha << 24 | (blue << 16) | (green << 8) | red;
|
vignetting.cpp | 78 uint32_t alpha = src->rgba8[3]; local 79 *dst = (alpha << 24) | (blue << 16) | (green << 8) | red;
|
whiteblack.cpp | 79 int32_t alpha = src->rgba8[3]; local 102 *dst = (alpha << 24) | (blue << 16) | (green << 8) | red;
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
PaletteTexture.cpp | 23 Color(unsigned char r, unsigned char g,unsigned char b, unsigned char a):red(r),green(g),blue(b),alpha(a){}; 27 unsigned char alpha; member in struct:Color 165 pixelsOut[indexOut+3] = c.alpha;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 110 int alpha = (int) ((1d - delta) * Color.alpha(colors[i1]) + local 111 delta * Color.alpha(colors[i2])); 118 color = Color.argb(alpha, red, green, blue); 124 assertEquals(Color.alpha(color), Color.alpha(pixel), tolerance);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationSetTest.java | 348 // Add first animation, this is an alpha animation and will not change 363 final Animation alpha = new AlphaAnimation(0.0f, 1.0f); local 364 alpha.setInterpolator(new AccelerateInterpolator()); 365 alpha.initialize(INITIAL_SIZE, INITIAL_SIZE, INITIAL_SIZE, INITIAL_SIZE); 368 animationSet.addAnimation(alpha);
|
/bootable/recovery/minui/ |
resources.c | 124 int alpha = 0; local 130 alpha = 1; 134 if (channels == 3 || (channels == 1 && !alpha)) {
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ColorStateListTest.java | 41 final int alpha = 36; local 42 final ColorStateList c1 = c.withAlpha(alpha); 44 // check alpha 45 assertEquals(alpha, c1.getDefaultColor() >>> 24);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
ShapeHolder.java | 34 private float alpha = 1f; field in class:ShapeHolder 76 public void setAlpha(float alpha) { 77 this.alpha = alpha; 78 shape.setAlpha((int)((alpha * 255f) + .5f));
|
/external/clang/test/CodeGenCXX/ |
mangle-ms.cpp | 81 static void __stdcall alpha(float a, double b) throw() {} function 84 alpha(0.f, 0.0); 88 // CHECK: @"\01?alpha@@YGXMN@Z"
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TexturePixel.java | 19 public float intensity, red, green, blue, alpha;
field in class:TexturePixel 32 this.alpha = pixel.alpha;
45 this.alpha = colorRGBA.a;
52 * the alpha value
61 this.alpha = a;
75 this.alpha = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
101 this.alpha = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
118 this.alpha = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
128 this.alpha = 1.0f; [all...] |
/external/libpng/contrib/pngminus/ |
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) 258 /* transform transparency maps into full alpha-channel * [all...] |
/external/skia/src/core/ |
SkBitmapSampler.cpp | 279 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));
|
SkBitmapShader16BilerpTemplate.h | 25 U8CPU alpha = this->getPaintAlpha(); local 73 *dstC++ = expanded_rgb16_to_8888(c, alpha); 123 *dstC++ = expanded_rgb16_to_8888(c, alpha);
|
SkBlitter_A8.cpp | 143 const uint8_t* alpha = mask.getAddr8(x, y); local 149 // scale our src by the alpha value 151 int aa = alpha[i]; 170 alpha += mask.fRowBytes; 176 void SkA8_Blitter::blitV(int x, int y, int height, SkAlpha alpha) { 181 unsigned sa = SkAlphaMul(fSrcA, SkAlpha255To256(alpha)); 331 const uint8_t* alpha = mask.getAddr8(x, y); local 338 fXfermode->xferA8(device, span, width, alpha); 343 alpha += mask.fRowBytes;
|
SkSpriteBlitter_ARGB32.cpp | 22 Sprite_D32_S32(const SkBitmap& src, U8CPU alpha) : INHERITED(src) { 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, but not xfermode or filte [all...] |
/external/skia/src/effects/ |
SkEmbossMask.cpp | 95 uint8_t* alpha = mask->fImage; local 96 uint8_t* multiply = (uint8_t*)alpha + planeSize; 108 if (alpha[x]) { 109 int nx = alpha[x + neq_to_one(x, maxx)] - alpha[x - nonzero_to_one(x)]; 110 int ny = alpha[x + next_row] - alpha[x - prev_row]; 155 // ((uint8_t*)alpha)[x] = alpha[x] * multiply[x] >> 8; 158 alpha += rowBytes [all...] |
/external/skia/src/images/ |
SkScaledBitmapSampler.cpp | 45 unsigned alpha = src[3]; local 46 dst[x] = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); 48 alphaMask &= alpha; 172 unsigned alpha = src[3]; local 173 SkPMColor c = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); 176 alphaMask &= alpha; 189 unsigned alpha = src[3]; local 190 SkPMColor c = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); 193 alphaMask &= alpha; 344 // 565 (no alpha distinction [all...] |
/external/skia/src/pdf/ |
SkPDFGraphicState.cpp | 144 sMaskDict->insertName("S", "Alpha"); 203 SkRefPtr<SkPDFScalar> alpha = local 205 alpha->unref(); // SkRefPtr and new both took a reference. 206 insert("CA", alpha.get()); 207 insert("ca", alpha.get());
|
SkPDFImage.cpp | 28 SkMemoryStream* alpha = NULL; local 62 alpha = new SkMemoryStream(alphaRowBytes * srcRect.height()); 64 uint8_t* alphaDst = (uint8_t*)alpha->getMemoryBase(); 122 alpha = new SkMemoryStream(srcRect.width() * srcRect.height()); 124 uint8_t* alphaDst = (uint8_t*)alpha->getMemoryBase(); 150 alpha = new SkMemoryStream(alphaRowBytes * srcRect.height()); 151 uint8_t* alphaDst = (uint8_t*)alpha->getMemoryBase(); 192 alpha = new SkMemoryStream(alphaRowBytes * srcRect.height()); 193 uint8_t* alphaDst = (uint8_t*)alpha->getMemoryBase(); 221 SkSafeUnref(alpha); [all...] |
/external/stlport/stlport/stl/ |
_ctype.h | 47 alpha = _Locale_ALPHA, enumerator in enum:ctype_base::mask 51 alnum = alpha | digit,
|