Searched defs:alpha (Results 376 - 400 of 573) sorted by relevance

<<11121314151617181920>>

/external/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp258 static uint8_t pack_8_to_1(const uint8_t alpha[8]) { argument
262 bits |= convert_8_to_1(alpha[i]);
/external/srec/srec/EventLog/src/
H A DEventLogImpl.c394 LCHAR alpha[MAX_INT_DIGITS+1]; local
399 CHK(rc, litostr(value, alpha, &size, 10));
400 return self->token(self, token, alpha);
408 LCHAR alpha[MAX_POINTER_CHARS+1]; local
412 sprintf(alpha, "%p", value);
413 return self->token(self, token, alpha);
420 LCHAR alpha[MAX_INT_DIGITS+1]; local
425 CHK(rc, lultostr(value, alpha, &size, 10));
426 return self->token(self, token, alpha);
435 LCHAR alpha[MAX_UINT_DIGIT local
457 LCHAR alpha[MAX_INT_DIGITS+1]; local
[all...]
/external/svox/pico/lib/
H A Dpicosig2.c1537 function makeEnhWind(alpha)
1539 s=(bilinmap(alpha,N));
3623 * - alpha : warping factor
3635 picoos_single alpha; local
3642 alpha = sig_inObj->warp_p;
/external/webp/src/dec/
H A Dio.c149 const uint8_t* alpha = io->a; local
156 if (alpha != NULL) {
158 memcpy(dst, alpha, mb_w * sizeof(*dst));
159 alpha += io->width;
163 // the user requested alpha, but there is none, set it to opaque.
173 const uint8_t** alpha, int* const num_rows) {
185 // Fortunately, *alpha data is persistent, so we can go back
186 // one row and finish alpha blending, now that the fancy upscaler
188 *alpha -= io->width;
199 const uint8_t* alpha local
172 GetAlphaSourceRow(const VP8Io* const io, const uint8_t** alpha, int* const num_rows) argument
232 const uint8_t* alpha = io->a; local
[all...]
/external/webp/src/enc/
H A Danalysis.c92 const int alpha = 255 * (centers[n] - mid) / (max - min); local
94 enc->dqm_[n].alpha_ = clip(alpha, -127, 127);
104 #define ALPHA_SCALE (2 * MAX_ALPHA) // scaling factor for alpha.
106 #define IS_BETTER_ALPHA(alpha, best_alpha) ((alpha) > (best_alpha))
108 static int FinalAlphaValue(int alpha) { argument
109 alpha = MAX_ALPHA - alpha;
110 return clip(alpha, 0, MAX_ALPHA);
116 int alpha; local
211 const int alpha = mb->alpha_; local
245 int alpha; local
277 int alpha; local
311 int alpha; local
325 MBAnalyze(VP8EncIterator* const it, int alphas[MAX_ALPHA + 1], int* const alpha, int* const uv_alpha) argument
392 int alpha, uv_alpha; member in struct:__anon33363
[all...]
H A Dpicture_csp.c38 // Returns true if alpha[] has non-0xff values.
39 static int CheckNonOpaque(const uint8_t* alpha, int width, int height, argument
41 if (alpha == NULL) return 0;
45 if (alpha[x] != 0xff) return 1; // TODO(skal): check 4/8 bytes at a time.
47 alpha += y_step;
52 // Checking for the presence of non-opaque alpha.
64 if (argb[x] < 0xff000000u) return 1; // test any alpha values != 0xff
315 // Insert alpha values if needed, in replacement for the default 0xff ones.
/external/aac/libAACenc/src/
H A Dmetadata_compressor.cpp788 FIXP_DBL gain, alpha, lvl2smthlvl; local
822 alpha = drcComp->fastAttack[i];
826 alpha = drcComp->slowAttack[i];
833 alpha = drcComp->fastDecay[i];
837 alpha = drcComp->slowDecay[i];
845 /* drcComp->smoothLevel[i] = (1-alpha) * drcComp->smoothLevel[i] + alpha * level; */
846 accu = fMult(((FIXP_DBL)MAXVAL_DBL-alpha), drcComp->smoothLevel[i]);
847 accu += fMult(alpha,level);
850 /* drcComp->smoothGain[i] = (1-alpha) * drcCom
[all...]
/external/chromium_org/ash/shelf/
H A Dshelf_widget.cc57 // If |disable_dimming_animations_for_test| is set, all alpha animations will
78 virtual void UpdateBackground(int alpha) OVERRIDE {
79 alpha_ = alpha;
86 // A function to test the current alpha used.
116 // The alpha to use for covering the shelf.
363 virtual void UpdateBackground(int alpha) OVERRIDE;
368 // A function to test the current alpha used by the dimming bar. If there is
607 void ShelfWidget::DelegateView::UpdateBackground(int alpha) { argument
608 alpha_ = alpha;
/external/chromium_org/cc/output/
H A Dshader.cc638 "alpha",
663 "alpha",
707 uniform float alpha; local
710 gl_FragColor = texColor * alpha;
721 uniform float alpha; local
731 gl_FragColor = texColor * alpha;
857 uniform float alpha; local
861 vec4(texColor.z, texColor.y, texColor.x, texColor.w) * alpha;
888 "alpha",
907 uniform float alpha; local
952 uniform float alpha; local
975 uniform float alpha; local
1034 uniform float alpha; local
1086 uniform float alpha; local
1153 uniform float alpha; local
1212 uniform float alpha; local
1281 uniform float alpha; local
1342 uniform float alpha; local
1405 uniform float alpha; local
1523 uniform float alpha; local
[all...]
/external/chromium_org/cc/test/
H A Dtest_gles2_interface.cc147 GLclampf alpha) {
148 test_context_->clearColor(red, green, blue, alpha);
144 ClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument
/external/chromium_org/content/shell/renderer/test_runner/
H A Dtest_plugin.cc62 float alpha,
65 color_out[i] = (color_in[i] / 255.0f) * alpha;
67 color_out[3] = alpha;
61 PremultiplyAlpha(const unsigned color_in[3], float alpha, float color_out[4]) argument
/external/chromium_org/media/blink/
H A Dwebmediaplayer_impl.cc510 unsigned char alpha) {
511 paint(canvas, rect, alpha, SkXfermode::kSrcOver_Mode);
516 unsigned char alpha,
534 alpha,
508 paint(blink::WebCanvas* canvas, const blink::WebRect& rect, unsigned char alpha) argument
514 paint(blink::WebCanvas* canvas, const blink::WebRect& rect, unsigned char alpha, SkXfermode::Mode mode) argument
/external/chromium_org/skia/ext/
H A Dvector_platform_device_emf_win.cc864 unsigned char alpha = paint.getAlpha(); local
865 if (alpha == 0)
869 if (alpha != 255) {
956 BLENDFUNCTION blend_function = {AC_SRC_OVER, 0, alpha, AC_SRC_ALPHA};
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsContext.h181 void setAlphaAsFloat(float alpha) { mutableState()->setAlphaAsFloat(alpha);} argument
184 int alpha = immutableState()->alpha(); local
185 return alpha > 255 ? 255 : alpha;
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebGraphicsContext3D.h79 : alpha(true)
95 bool alpha; member in struct:blink::WebGraphicsContext3D::Attributes
213 virtual void blendColor(WGC3Dclampf red, WGC3Dclampf green, WGC3Dclampf blue, WGC3Dclampf alpha) = 0;
224 virtual void clearColor(WGC3Dclampf red, WGC3Dclampf green, WGC3Dclampf blue, WGC3Dclampf alpha) = 0;
227 virtual void colorMask(WGC3Dboolean red, WGC3Dboolean green, WGC3Dboolean blue, WGC3Dboolean alpha) = 0;
/external/chromium_org/third_party/angle/src/libGLESv2/
H A Dangletypes.h34 T alpha; member in struct:gl::Color
36 Color() : red(0), green(0), blue(0), alpha(0) { }
37 Color(T r, T g, T b, T a) : red(r), green(g), blue(b), alpha(a) { }
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DTextureStorage11.cpp32 TextureStorage11::SwizzleCacheValue::SwizzleCacheValue(GLenum red, GLenum green, GLenum blue, GLenum alpha) argument
33 : swizzleRed(red), swizzleGreen(green), swizzleBlue(blue), swizzleAlpha(alpha)
H A Drenderer11_utils.cpp70 UINT8 ConvertColorMask(bool red, bool green, bool blue, bool alpha) argument
85 if (alpha)
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dpostproc.c545 int y_1, int u_1, int v_1, int alpha, int stride)
548 int y1_const = y_1*((1<<16)-alpha);
549 int u1_const = u_1*((1<<16)-alpha);
550 int v1_const = v_1*((1<<16)-alpha);
557 y[j] = (y[j]*alpha + y1_const)>>16;
571 u[j] = (u[j]*alpha + u1_const)>>16;
572 v[j] = (v[j]*alpha + v1_const)>>16;
583 int y_1, int u_1, int v_1, int alpha, int stride)
586 int y1_const = y_1*((1<<16)-alpha);
587 int u1_const = u_1*((1<<16)-alpha);
544 vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v, int y_1, int u_1, int v_1, int alpha, int stride) argument
582 vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v, int y_1, int u_1, int v_1, int alpha, int stride) argument
646 vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y_1, int u_1, int v_1, int alpha, int stride) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs.c36 * - alpha test
212 * Generate the fragment shader, depth/stencil test, and alpha tests.
262 if (key->alpha.enabled || shader->info.base.uses_kill)
263 /* With alpha test and kill, can do the depth test early
347 if (key->alpha.enabled) {
354 LLVMValueRef alpha = LLVMBuildLoad(builder, outputs[color0][3], "alpha"); local
362 lp_build_alpha_test(gallivm, key->alpha.func, type, cbuf_format_desc,
363 &mask, alpha, alpha_ref_value,
439 * Generate the fragment shader, depth/stencil test, and alpha test
593 LLVMValueRef alpha = LLVMBuildLoad(builder, outputs[color0][3], "alpha"); local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Darc.c562 double t, alpha; local
609 alpha = sin(d_eta) * (sqrt(4 + 3 * t * t) - 1) / 3;
636 (float) (xA + alpha * xADot), (float) (yA + alpha * yADot),
637 (float) (x_b - alpha * x_b_dot), (float) (y_b - alpha * y_b_dot),
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dmipmap.c543 const GLint alpha = (rowAa0 + rowAa1 + rowBa0 + rowBa1) >> 2; local
544 dst[i] = (alpha << 12) | (blue << 8) | (green << 4) | red;
573 const GLint alpha = (rowAa0 + rowAa1 + rowBa0 + rowBa1) >> 2; local
574 dst[i] = (alpha << 15) | (blue << 10) | (green << 5) | red;
603 const GLint alpha = (rowAa0 + rowAa1 + rowBa0 + rowBa1) >> 2; local
604 dst[i] = (red << 11) | (green << 6) | (blue << 1) | alpha;
681 const GLint alpha = (rowAa0 + rowAa1 + rowBa0 + rowBa1) >> 2; local
682 dst[i] = (alpha << 30) | (blue << 20) | (green << 10) | red;
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmap.cpp1022 static bool GetBitmapAlpha(const SkBitmap& src, uint8_t* SK_RESTRICT alpha, argument
1024 SkASSERT(alpha != NULL);
1034 // zero out the alpha buffer and return
1036 memset(alpha, 0, w);
1037 alpha += alphaRowBytes;
1045 memcpy(alpha, s, w);
1047 alpha += alphaRowBytes;
1053 alpha[x] = SkGetPackedA32(s[x]);
1056 alpha += alphaRowBytes;
1062 alpha[
[all...]
H A DSkBlitter_RGB16.cpp21 unsigned deviceRB, const uint8_t* alpha,
65 virtual void blitV(int x, int y, int height, SkAlpha alpha);
92 virtual void blitV(int x, int y, int height, SkAlpha alpha);
219 const uint8_t* SK_RESTRICT alpha = mask.getAddr8(clip.fLeft, clip.fTop); local
233 unsigned aa = *alpha++;
238 alpha += maskRB;
391 const uint8_t* SK_RESTRICT alpha = mask.getAddr8(clip.fLeft, clip.fTop); local
415 // alpha is 8x8, widen and split to get a pair of 16x4
416 valpha = vaddw_u8(vdupq_n_u16(1), vld1_u8(alpha));
452 alpha
484 blitV(int x, int y, int height, SkAlpha alpha) argument
643 const uint8_t* SK_RESTRICT alpha = mask.getAddr8(clip.fLeft, clip.fTop); local
665 blitV(int x, int y, int height, SkAlpha alpha) argument
707 int alpha = shaderContext->getSpan16Alpha(); local
721 int alpha = shaderContext->getSpan16Alpha(); local
769 int alpha = shaderContext->getSpan16Alpha(); local
[all...]
H A DSkScan_Path.cpp347 virtual void blitV(int x, int y, int height, SkAlpha alpha) { argument

Completed in 1707 milliseconds

<<11121314151617181920>>