Searched refs:alpha (Results 1 - 25 of 1208) sorted by relevance

1234567891011>>

/external/libpng/tests/
H A Dpngvalid-gamma-alpha-mode2 exec ./pngvalid --gamma-alpha-mode
H A Dpngvalid-gamma-expand16-alpha-mode2 exec ./pngvalid --gamma-alpha-mode --expand16
/external/clang/test/SemaTemplate/
H A Dinstantiate-case.cpp4 static int alpha(T c) function
15 alpha(1); // expected-note{{instantiation of function template}}
/external/chromium_org/third_party/webrtc/base/
H A Dexp_filter.h23 explicit ExpFilter(float alpha, float max = kValueUndefined) argument
25 Reset(alpha);
29 // the given value |alpha|.
30 void Reset(float alpha);
39 // Changes the filter factor base to the given value |alpha|.
40 void UpdateBase(float alpha);
H A Dexp_filter.cc19 void ExpFilter::Reset(float alpha) { argument
20 alpha_ = alpha;
31 float alpha = pow(alpha_, exp); local
32 filtered_ = alpha * filtered_ + (1 - alpha) * sample;
40 void ExpFilter::UpdateBase(float alpha) { argument
41 alpha_ = alpha;
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
H A DVertex.h47 * Simple structure to describe a vertex with a position and an alpha value.
50 float alpha; member in struct:android::uirenderer::AlphaVertex
52 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { argument
54 vertex[0].alpha = alpha;
57 static inline void setColor(AlphaVertex* vertex, float alpha) { argument
58 vertex[0].alpha = alpha;
63 * Simple structure to describe a vertex with a position and an alpha value.
/external/skia/experimental/AndroidPathRenderer/
H A DVertex.h47 * Simple structure to describe a vertex with a position and an alpha value.
50 float alpha; member in struct:android::uirenderer::AlphaVertex
52 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { argument
54 vertex[0].alpha = alpha;
57 static inline void setColor(AlphaVertex* vertex, float alpha) { argument
58 vertex[0].alpha = alpha;
63 * Simple structure to describe a vertex with a position and an alpha value.
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvas2DContextAttributes.idl31 attribute boolean alpha;
H A DCanvas2DContextAttributes.cpp48 bool Canvas2DContextAttributes::alpha() const function in class:blink::Canvas2DContextAttributes
53 void Canvas2DContextAttributes::setAlpha(bool alpha) argument
55 m_alpha = alpha;
/external/chromium_org/third_party/skia/src/core/
H A DSkAntiRun.h15 /** Sparse array of run-length-encoded alpha (supersampling coverage) values.
26 /// of alpha value 0.
56 uint8_t* alpha = fAlpha + offsetX; local
57 uint8_t* lastAlpha = alpha;
61 SkAlphaRuns::Break(runs, alpha, x, 1);
62 /* I should be able to just add alpha[x] + startAlpha.
67 unsigned tmp = alpha[x] + startAlpha;
69 alpha[x] = SkToU8(tmp - (tmp >> 8)); // was (tmp >> 7), but that seems wrong if we're trying to catch 256
72 alpha += x + 1;
79 SkAlphaRuns::Break(runs, alpha,
117 Break(int16_t runs[], uint8_t alpha[], int x, int count) argument
170 BreakAt(int16_t runs[], uint8_t alpha[], int x) argument
[all...]
/external/skia/src/core/
H A DSkAntiRun.h15 /** Sparse array of run-length-encoded alpha (supersampling coverage) values.
26 /// of alpha value 0.
56 uint8_t* alpha = fAlpha + offsetX; local
57 uint8_t* lastAlpha = alpha;
61 SkAlphaRuns::Break(runs, alpha, x, 1);
62 /* I should be able to just add alpha[x] + startAlpha.
67 unsigned tmp = alpha[x] + startAlpha;
69 alpha[x] = SkToU8(tmp - (tmp >> 8)); // was (tmp >> 7), but that seems wrong if we're trying to catch 256
72 alpha += x + 1;
79 SkAlphaRuns::Break(runs, alpha,
117 Break(int16_t runs[], uint8_t alpha[], int x, int count) argument
170 BreakAt(int16_t runs[], uint8_t alpha[], int x) argument
[all...]
/external/chromium_org/third_party/skia/tests/
H A DBlendTest.cpp28 uint8_t dst, uint8_t src, uint8_t alpha) {
29 const uint8_t golden = blend_double_round(dst, src, alpha);
30 const uint8_t blend = algorithm(dst, src, alpha);
32 SkDebugf("dst %02x, src %02x, alpha %02x, |%02x - %02x| > %d\n",
33 dst, src, alpha, blend, golden, maxDiff);
38 // Exhaustively compare an algorithm against our golden, for a given alpha.
39 static void test_alpha(skiatest::Reporter* r, uint8_t alpha, int maxDiff, Blend algorithm) { argument
42 for (unsigned src = 0; src <= alpha; src++) {
44 test(r, maxDiff, algorithm, dst, src, alpha);
53 for (unsigned alpha
124 const uint8_t alpha = 0x00; local
164 const uint8_t alpha = 0xFF; local
[all...]
H A DSrcOverTest.cpp13 static int test_srcover0(unsigned dst, unsigned alpha) { argument
14 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha));
18 static int test_srcover1(unsigned dst, unsigned alpha) { argument
19 return alpha + SkAlphaMul(dst, 256 - alpha);
23 static int test_srcover2(unsigned dst, unsigned alpha) { argument
24 return alpha + SkMulDiv255Round(dst, 255 - alpha);
/external/skia/tests/
H A DBlendTest.cpp28 uint8_t dst, uint8_t src, uint8_t alpha) {
29 const uint8_t golden = blend_double_round(dst, src, alpha);
30 const uint8_t blend = algorithm(dst, src, alpha);
32 SkDebugf("dst %02x, src %02x, alpha %02x, |%02x - %02x| > %d\n",
33 dst, src, alpha, blend, golden, maxDiff);
38 // Exhaustively compare an algorithm against our golden, for a given alpha.
39 static void test_alpha(skiatest::Reporter* r, uint8_t alpha, int maxDiff, Blend algorithm) { argument
42 for (unsigned src = 0; src <= alpha; src++) {
44 test(r, maxDiff, algorithm, dst, src, alpha);
53 for (unsigned alpha
124 const uint8_t alpha = 0x00; local
164 const uint8_t alpha = 0xFF; local
[all...]
H A DSrcOverTest.cpp13 static int test_srcover0(unsigned dst, unsigned alpha) { argument
14 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha));
18 static int test_srcover1(unsigned dst, unsigned alpha) { argument
19 return alpha + SkAlphaMul(dst, 256 - alpha);
23 static int test_srcover2(unsigned dst, unsigned alpha) { argument
24 return alpha + SkMulDiv255Round(dst, 255 - alpha);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_bld_alpha.c54 LLVMValueRef alpha,
67 * alpha testing after converting the output colors, but that's not very
77 alpha = lp_build_clamp(&bld, alpha, bld.zero, bld.one);
80 alpha = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, alpha);
87 test = lp_build_cmp(&bld, func, alpha, ref);
49 lp_build_alpha_test(struct gallivm_state *gallivm, unsigned func, struct lp_type type, const struct util_format_description *cbuf_format_desc, struct lp_build_mask_context *mask, LLVMValueRef alpha, LLVMValueRef ref, boolean do_branch) argument
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_alpha.c54 LLVMValueRef alpha,
67 * alpha testing after converting the output colors, but that's not very
77 alpha = lp_build_clamp(&bld, alpha, bld.zero, bld.one);
80 alpha = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, alpha);
87 test = lp_build_cmp(&bld, func, alpha, ref);
49 lp_build_alpha_test(struct gallivm_state *gallivm, unsigned func, struct lp_type type, const struct util_format_description *cbuf_format_desc, struct lp_build_mask_context *mask, LLVMValueRef alpha, LLVMValueRef ref, boolean do_branch) argument
/external/chromium_org/third_party/skia/include/core/
H A DSkUnPreMultiply.h22 // index this table with alpha [0..255]
27 static Scale GetScale(U8CPU alpha) { argument
28 SkASSERT(alpha <= 255);
29 return gTable[alpha];
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
H A Dctor_double_double.pass.cpp15 // explicit gamma_distribution(result_type alpha = 0, result_type beta = 1);
25 assert(d.alpha() == 1);
31 assert(d.alpha() == 14.5);
37 assert(d.alpha() == 14.5);
/external/skia/include/core/
H A DSkUnPreMultiply.h22 // index this table with alpha [0..255]
27 static Scale GetScale(U8CPU alpha) { argument
28 SkASSERT(alpha <= 255);
29 return gTable[alpha];
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/
H A DDeviceOrientationInspectorAgent.cpp19 static const char alpha[] = "alpha"; member in namespace:blink::DeviceOrientationInspectorAgentState
47 void DeviceOrientationInspectorAgent::setDeviceOrientationOverride(ErrorString* error, double alpha, double beta, double gamma) argument
50 m_state->setDouble(DeviceOrientationInspectorAgentState::alpha, alpha);
53 controller().setOverride(DeviceOrientationData::create(true, alpha, true, beta, true, gamma));
71 double alpha = m_state->getDouble(DeviceOrientationInspectorAgentState::alpha); local
74 controller().setOverride(DeviceOrientationData::create(true, alpha, true, beta, true, gamma));
H A DDeviceRotationRate.idl30 readonly attribute double? alpha;
/external/eigen/blas/
H A Dsingle.cpp21 float BLASFUNC(sdsdot)(int* n, float* alpha, float* x, int* incx, float* y, int* incy) argument
22 { return *alpha + BLASFUNC(dsdot)(n, x, incx, y, incy); }
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2163.js41 dp(obj1, "alpha", { get: getter, set: setter });
43 dp(obj2, "alpha", { get: getter });
45 assertEquals(111, obj2.alpha);
47 assertEquals(111, obj2.alpha);
51 dp(obj1, "alpha", { get: getter, set: setter });
53 dp(obj2, "alpha", { get: getter });
57 dp(obj3, "alpha", { get: getter });
62 dp(obj1, "alpha", { get: getter, set: setter });
65 dp(obj2, "alpha", { get: getter, set: setter });
67 assertEquals(111, obj2.alpha);
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DColor.cpp99 RGBA32 makeRGBAFromHSLA(double hue, double saturation, double lightness, double alpha) argument
105 return makeRGBA(greyValue, greyValue, greyValue, static_cast<int>(alpha * scaleFactor));
114 static_cast<int>(alpha * scaleFactor));
210 const char* alphaString = numberToFixedPrecisionString(alpha() / 255.0f, 6, buffer, true);
241 if (!alpha())
244 result.append(Decimal::fromDouble(alpha() / 255.0).toString());
253 if (alpha() < 0xFF)
254 return String::format("#%02X%02X%02X%02X", red(), green(), blue(), alpha());
295 // Lightened black with alpha.
296 return Color(0x54, 0x54, 0x54, alpha());
[all...]

Completed in 455 milliseconds

1234567891011>>