Home
last modified time | relevance | path

Searched refs:factor (Results 1 – 6 of 6) sorted by relevance

/system/core/libpixelflinger/codeflinger/
Dblending.cpp52 integer_t factor(scratches.obtain(), 16, CORRUPTIBLE); in build_fog() local
53 CONTEXT_LOAD(factor.reg, generated_vars.f); in build_fog()
57 BIC(AL, 0, factor.reg, factor.reg, reg_imm(factor.reg, ASR, 31)); in build_fog()
58 CMP(AL, factor.reg, imm( 0x10000 )); in build_fog()
59 MOV(HS, 0, factor.reg, imm( 0x10000 )); in build_fog()
61 build_blendFOneMinusF(temp, factor, fragment, fogColor); in build_fog()
171 integer_t factor; in build_blending() local
172 build_blend_factor(factor, fs, in build_blending()
176 build_blendFOneMinusF(temp, factor, fragment, fb); in build_blending()
179 integer_t factor; in build_blending() local
[all …]
Dtexturing.cpp1159 integer_t factor(locals.obtain(), 32, CORRUPTIBLE); in decal() local
1161 extract(factor, incomingTexel, GGLFormat::ALPHA); in decal()
1176 ADD(AL, 0, factor.reg, factor.reg, reg_imm(factor.reg, LSR, factor.s-1)); in decal()
1177 build_blendOneMinusFF(dest, factor, incomingNorm, texel); in decal()
1196 integer_t factor(locals.obtain(), 32, CORRUPTIBLE); in blend() local
1199 extract(factor, incomingTexel, component); in blend()
1214 ADD(AL, 0, factor.reg, factor.reg, reg_imm(factor.reg, LSR, factor.s-1)); in blend()
1215 build_blendOneMinusFF(dest, factor, incomingNorm, color); in blend()
DGGLAssembler.h491 integer_t& factor, int f, int component,
498 const integer_t& factor,
503 const integer_t& factor,
/system/update_engine/scripts/update_payload/
Dformat_utils.py51 factor = 10 ** precision
53 percent = num * 100 * factor / total
56 factor *= 10
59 whole, frac = divmod(percent, factor)
/system/media/audio_utils/
Dlimiter.c45 static const float factor = 4.3125; in limiter() local
46 static const float ratio = 1.0 / factor; in limiter()
47 out = crossover + atan_approximation((in_abs - crossover)*factor)*ratio; in limiter()
/system/core/libpixelflinger/
Dscanline.cpp465 static void blend_factor(context_t* c, pixel_t* r, uint32_t factor,
544 uint32_t factor, const pixel_t* src, const pixel_t* dst) in blend_factor() argument
546 switch (factor) { in blend_factor()
821 uint32_t factor = Ct + (Ct>>(st-1)); in scanline() local
822 Cf = (Cf * factor) >> st; in scanline()
836 uint32_t factor = Ct + (Ct>>(st-1)); in scanline() local
837 Cf = ((((1<<st) - factor) * Cf) + Ct*Cc)>>st; in scanline()