/external/libchrome/base/strings/ |
string_util_unittest.cc | 536 const char* src_a; member in struct:base::__anon14377 545 EXPECT_TRUE(LowerCaseEqualsASCII(ASCIIToUTF16(lowercase_cases[i].src_a), 547 EXPECT_TRUE(LowerCaseEqualsASCII(lowercase_cases[i].src_a, [all...] |
/external/webp/src/demux/ |
anim_decode.c | 193 static uint8_t BlendChannelNonPremult(uint32_t src, uint8_t src_a, 198 const uint32_t blend_unscaled = src_channel * src_a + dst_channel * dst_a; 205 const uint8_t src_a = (src >> 24) & 0xff; local 207 if (src_a == 0) { 212 // dst_factor_a = (dst_a * (255 - src_a)) / 255. 213 const uint8_t dst_factor_a = (dst_a * (256 - src_a)) >> 8; 214 const uint8_t blend_a = src_a + dst_factor_a; 218 BlendChannelNonPremult(src, src_a, dst, dst_factor_a, scale, 0); 220 BlendChannelNonPremult(src, src_a, dst, dst_factor_a, scale, 8); 222 BlendChannelNonPremult(src, src_a, dst, dst_factor_a, scale, 16) 255 const uint8_t src_a = (src >> 24) & 0xff; local [all...] |
/external/webp/src/dec/ |
io.c | 275 const uint8_t* src_a = buf->a + p->last_y * buf->a_stride; local 280 WebPMultRows(dst_y, buf->y_stride, src_a, buf->a_stride,
|
/external/libgdx/gdx/jni/gdx2d/ |
gdx2d.c | 173 int32_t src_a = (src & 0xff);
local 180 dst_r = dst_r + src_a * (src_r - dst_r) / 255;
181 dst_g = dst_g + src_a * (src_g - dst_g) / 255;
182 dst_b = dst_b + src_a * (src_b - dst_b) / 255;
183 dst_a = (int32_t)((1.0f - (1.0f - src_a / 255.0f) * (1.0f - dst_a / 255.0f)) * 255);
|