HomeSort by relevance Sort by last modified time
    Searched defs:alpha (Results 226 - 250 of 630) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/bench/
RectBench.cpp 251 U8CPU alpha = 0xFF; local
269 alpha = 0xFF;
272 alpha = 0xFF;
277 alpha = rand.nextU() & 255;
285 paint.setAlpha(alpha);
  /external/skia/src/core/
SkBlitter_ARGB32.cpp 19 U8CPU alpha = SkGetPackedA32(srcColor); local
21 if (alpha != 255) {
35 proc(dstRow, srcRow, width, alpha);
186 void SkARGB32_Blitter::blitV(int x, int y, int height, SkAlpha alpha) {
187 if (alpha == 0 || fSrcA == 0) {
194 if (alpha != 255) {
195 color = SkAlphaMulQ(color, SkAlpha255To256(alpha));
290 // we call this on the output from the shader + alpha from the aa buffer
542 void SkARGB32_Shader_Blitter::blitV(int x, int y, int height, SkAlpha alpha) {
554 if (255 == alpha) {
    [all...]
SkConvolver.cpp 206 unsigned char alpha = ClampTo8(accum[3]); local
208 // Make sure the alpha channel doesn't come out smaller than any of the
209 // color channels. We use premultipled alpha channels, so this should
218 if (alpha < maxColorChannel) {
221 outRow[byteOffset + 3] = alpha;
224 // No alpha channel, the image is opaque.
SkMaskFilter.cpp 128 uint8_t* alpha = (uint8_t*)(runs + innerW + 1); local
140 alpha[0] = *mask.getAddr8(cx, mask.fBounds.top() + y);
141 blitter->blitAntiH(r.left(), outerR.top() + y, alpha, runs);
153 alpha[0] = *mask.getAddr8(cx, mask.fBounds.bottom() - y - 1);
154 blitter->blitAntiH(r.left(), outerR.bottom() - y - 1, alpha, runs);
SkSpriteBlitter_RGB16.cpp 79 #define SkSPRITE_ARGS , uint8_t alpha
81 #define SkSPRITE_INIT fSrcAlpha = alpha;
122 #define SkSPRITE_ARGS , uint8_t alpha
124 #define SkSPRITE_INIT fSrcAlpha = alpha;
152 #define SkSPRITE_ARGS , uint8_t alpha
154 #define SkSPRITE_INIT fSrcAlpha = alpha;
244 #define SkSPRITE_ARGS , uint8_t alpha
246 #define SkSPRITE_INIT fSrcAlpha = alpha;
291 U8CPU alpha = fPaint->getAlpha(); local
294 proc(dst, src, width, alpha, x, y)
325 unsigned alpha = paint.getAlpha(); local
    [all...]
  /external/skia/src/effects/
SkColorFilters.cpp 198 unsigned alpha = SkColorGetA(color); local
206 if (0 == alpha) {
208 } else if (255 == alpha) {
216 (0 == alpha && (SkXfermode::kSrcOver_Mode == mode ||
222 (0xFF == alpha && SkXfermode::kDstIn_Mode == mode)) {
  /external/skia/src/images/
SkImageDecoder_libico.cpp 270 //check the alpha bit first, but pass it along to the function to figure out how to deal with it
361 //alphaBit == 1 => alpha = 0
362 int alpha = (alphaBit-1) & 0xFF; local
363 *address = SkPreMultiplyARGB(alpha, red, green, blue);
378 int alpha = readByte(buf, xorOffset + 4*pixelNo + 3) & ((alphaBit-1)&0xFF); local
379 *address = SkPreMultiplyARGB(alpha, red, green, blue);
  /external/skia/src/opts/
SkBitmapProcState_opts_SSSE3.cpp 19 // In this file, variations for alpha and non alpha versions are implemented
163 // by alpha when has_alpha is true.
170 const __m128i& alpha) {
175 // Multiply by alpha.
176 *pixels = _mm_mullo_epi16(*pixels, alpha);
189 // @param alpha when has_alpha is true, scale all resulting components by this
192 // ((Aa2 * (16 - x1) + Aa3 * x1) * alpha, ...,
193 // (Ra0 * (16 - x0) + Ra1 * x0) * alpha) (when has_alpha is true)
204 const __m128i& alpha) {
419 __m128i alpha = _mm_setzero_si128(); local
601 __m128i alpha; local
    [all...]
  /external/skia/src/ports/
SkFontHost_FreeType_common.cpp 189 uint8_t alpha = *src_row++; local
193 *dst_row++ = alpha;
  /external/skia/tests/
BlitRowTest.cpp 241 uint8_t alpha = (k & 2) ? 0x80 : 0xFF; local
243 paint.setAlpha(alpha);
259 str.printf("Diagonal config=%s bg=0x%x dither=%d alpha=0x%x src=0x%x",
260 gConfigName[gDstConfig[i]], bgColor, dither, alpha, c);
  /external/speex/libspeex/
scal.c 76 float *alpha; member in struct:SpeexDecorrState_
99 st->alpha = speex_alloc(channels*sizeof(float));
113 st->alpha[ch] = 0;
160 float alpha; local
166 alpha = st->alpha[ch];
185 st->y[i] = alpha*(x[i-ALLPASS_ORDER+order]-beta*x[i-ALLPASS_ORDER+order-1])*st->vorbis_win[st->frame_size+i+order]
187 - alpha*(ring[ringID]
204 alpha = alpha + .4*uni_rand(&st->seed)
    [all...]
  /external/svox/pico/tts/
svox_ssml_parser.cpp 166 int alpha = 1; /* set to 1 if alphabet is ipa */ local
179 alpha = 0;
195 if (alpha)
  /external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
lpc_analysis.c 81 double sum, alpha; local
83 alpha = 0; //warning -DH
92 alpha = r[0] + r[1] * k[0];
98 k[m] = -sum / alpha;
99 alpha += k[m] * sum;
109 return alpha;
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
vad1.cpp 762 Word16 alpha; local
846 alpha = ALPHA4;
849 alpha = 32767;
853 alpha = ALPHA5;
859 temp = mult_r(alpha, temp, pOverflow);
1259 Word16 alpha; \/* Q15 *\/ local
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
qgain795.cpp 403 alpha -- Word16 -- gain adaptor factor (>0), Q15
483 Word16 alpha, /* i : gain adaptor factor (>0), Q15 */
521 underlined = constant; alp = FLP value of alpha, alpha = FIP
558 /* 0 < alpha <= 0.5 => 0.5 <= 1-alpha < 1, i.e one_alpha is normalized */
559 one_alpha = add(sub(32767, alpha, pOverflow), 1, pOverflow); /* 32768 - alpha */
562 /* alpha <= 0.5 -> mult. by 2 to keep precision; compensate in exponent */
563 L_t1 = L_mult(alpha, frac_en[1], pOverflow)
837 Word16 ltpg, alpha, gcode0; local
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
wb_vad.c 264 Word16 alpha; local
326 alpha = ALPHA4;
329 alpha = 32767;
332 alpha = ALPHA5;
336 st->ave_level[i] = add1(st->ave_level[i], vo_mult_r(alpha, vo_sub(level[i], st->ave_level[i])));
573 Word16 alpha; local
602 alpha = ALPHA_SP_UP;
605 alpha = ALPHA_SP_DOWN;
609 st->speech_level = add1(st->speech_level, vo_mult_r(alpha, vo_sub(tmp, st->speech_level)));
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
rate_control.h 35 Int alpha; /* weight for I frame */ member in struct:__anon31544
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
armVCM4P10_DeblockingLuma_unsafe_s.s 29 alpha RN 6 label
120 ;// Since beta <= 18 and alpha <= 255 we know
219 ;// - 1 - ap0q0, 6 - alpha
228 ;// apflg = apflg && |p0-q0|<((alpha>>2)+2)
229 ;// apflg = aqflg && |p0-q0|<((alpha>>2)+2)
235 UHADD8 alpha, alpha, m00
237 UHADD8 alpha, alpha, m00
238 ADD alpha, alpha, m01, LSL #1
    [all...]
omxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s 38 alpha RN 6 label
164 ;// Check |p0-q0|<Alpha
168 USUB8 a, ap0q0, alpha
229 M_LDRD alpha, beta, pAlphaBeta0
242 ;// Since beta <= 18 and alpha <= 255 we know
308 M_LDRD alpha, beta, pAlphaBeta0
321 M_LDRD alpha, beta, pAlphaBeta1
324 M_STRD alpha, beta, pAlphaBeta0
  /frameworks/base/cmds/input/src/com/android/commands/input/
Input.java 211 float alpha = (float) elapsedTime / duration; local
212 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha),
213 lerp(y1, y2, alpha), 1.0f);
263 private static final float lerp(float a, float b, float alpha) {
264 return (b - a) * alpha + a;
  /frameworks/base/graphics/java/android/graphics/
Color.java 27 * Colors are represented as packed ints, made up of 4 bytes: alpha, red,
29 * stored solely in the alpha component, and not in the color components. The
30 * components are stored as follows (alpha << 24) | (red << 16) |
52 * Return the alpha component of a color int. This is the same as saying
55 public static int alpha(int color) { method in class:Color
85 * The alpha component is implicity 255 (fully opaque).
98 * Return a color-int from alpha, red, green, blue components.
102 * @param alpha Alpha component [0..255] of the color
107 public static int argb(int alpha, int red, int green, int blue)
    [all...]
  /frameworks/base/libs/hwui/
FontRenderer.h 67 int alpha, SkXfermode::Mode mode, SkPaint* paint): Functor(),
69 alpha(alpha), mode(mode), paint(paint) {
79 int alpha; member in class:android::uirenderer::TextSetupFunctor
GradientCache.cpp 218 const float alpha = start.a * oppAmount + end.a * amount; local
219 const float a = alpha / 255.0f;
224 *dst++ = uint8_t(alpha);
LayerRenderer.cpp 403 float alpha = layer->getAlpha(); local
478 layer->setAlpha(alpha, mode);
  /frameworks/base/media/mca/filterfw/native/core/
shader_program.h 350 void SetClearColor(float red, float green, float blue, float alpha);
430 float alpha; member in struct:android::filterfw::ShaderProgram::RGBAColor
432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {

Completed in 374 milliseconds

1 2 3 4 5 6 7 8 91011>>