HomeSort by relevance Sort by last modified time
    Searched refs:alpha (Results 1 - 25 of 2399) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libpng/tests/
pngvalid-gamma-alpha-mode 2 exec ./pngvalid --gamma-alpha-mode
pngvalid-gamma-expand16-alpha-mode 2 exec ./pngvalid --gamma-alpha-mode --expand16
  /external/clang/test/SemaTemplate/
instantiate-case.cpp 4 static int alpha(T c) function
15 alpha(1); // expected-note{{instantiation of function template}}
  /external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
Vertex.h 47 * 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) {
54 vertex[0].alpha = alpha;
57 static inline void setColor(AlphaVertex* vertex, float alpha) {
58 vertex[0].alpha = alpha;
63 * Simple structure to describe a vertex with a position and an alpha value.
  /external/skia/experimental/AndroidPathRenderer/
Vertex.h 47 * 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) {
54 vertex[0].alpha = alpha;
57 static inline void setColor(AlphaVertex* vertex, float alpha) {
58 vertex[0].alpha = alpha;
63 * Simple structure to describe a vertex with a position and an alpha value.
  /external/chromium_org/third_party/webrtc/modules/video_coding/utility/include/
exp_filter.h 24 VCMExpFilter(float alpha, float max = -1.0) : _alpha(alpha), _filtered(-1.0), _max(max) {}
26 // Resets the filter to its initial state, and resets alpha to the given value
29 // - alpha : the new value of the filter factor base.
30 void Reset(float alpha);
35 // - exp : Exponent T in y(k) = alpha^T * y(k-1) + (1 - alpha^T) * x(k)
47 // - alpha : The new filter factor base.
48 void UpdateBase(float alpha);
  /external/chromium_org/third_party/webrtc/modules/video_coding/utility/
exp_filter.cc 18 VCMExpFilter::Reset(float alpha)
20 _alpha = alpha;
38 float alpha = pow(_alpha, exp); local
39 _filtered = alpha * _filtered + (1 - alpha) * sample;
49 VCMExpFilter::UpdateBase(float alpha)
51 _alpha = alpha;
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
Canvas2DContextAttributes.idl 30 attribute boolean alpha;
WebGLContextAttributes.idl 30 attribute boolean alpha;
  /external/chromium_org/third_party/skia/src/core/
SkAntiRun.h 15 /** 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, x, middleCount)
    [all...]
  /external/skia/src/core/
SkAntiRun.h 15 /** 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, x, middleCount)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
GLColor.java 24 public final int alpha; field in class:GLColor
26 public GLColor(int red, int green, int blue, int alpha) {
30 this.alpha = alpha;
37 this.alpha = 0x10000;
47 alpha == color.alpha);
  /external/chromium_org/third_party/skia/tests/
BlendTest.cpp 28 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) {
42 for (unsigned src = 0; src <= alpha; src++) {
44 test(r, maxDiff, algorithm, dst, src, alpha);
53 for (unsigned alpha = 0; alpha < 256; alpha++)
124 const uint8_t alpha = 0x00; local
164 const uint8_t alpha = 0xFF; local
    [all...]
SrcOverTest.cpp 13 static int test_srcover0(unsigned dst, unsigned alpha) {
14 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha));
18 static int test_srcover1(unsigned dst, unsigned alpha) {
19 return alpha + SkAlphaMul(dst, 256 - alpha);
23 static int test_srcover2(unsigned dst, unsigned alpha) {
24 return alpha + SkMulDiv255Round(dst, 255 - alpha);
  /external/skia/tests/
BlendTest.cpp 28 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) {
42 for (unsigned src = 0; src <= alpha; src++) {
44 test(r, maxDiff, algorithm, dst, src, alpha);
53 for (unsigned alpha = 0; alpha < 256; alpha++)
124 const uint8_t alpha = 0x00; local
164 const uint8_t alpha = 0xFF; local
    [all...]
SrcOverTest.cpp 13 static int test_srcover0(unsigned dst, unsigned alpha) {
14 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha));
18 static int test_srcover1(unsigned dst, unsigned alpha) {
19 return alpha + SkAlphaMul(dst, 256 - alpha);
23 static int test_srcover2(unsigned dst, unsigned alpha) {
24 return alpha + SkMulDiv255Round(dst, 255 - alpha);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
lp_bld_alpha.c 29 * Alpha testing to LLVM IR translation.
54 LLVMValueRef alpha,
64 * Alpha testing needs to be done in the color buffer precision.
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);
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_bld_alpha.c 29 * Alpha testing to LLVM IR translation.
54 LLVMValueRef alpha,
64 * Alpha testing needs to be done in the color buffer precision.
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);
  /external/chromium_org/third_party/skia/include/core/
SkUnPreMultiply.h 22 // index this table with alpha [0..255]
27 static Scale GetScale(U8CPU alpha) {
28 SkASSERT(alpha <= 255);
29 return gTable[alpha];
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
ctor_double_double.pass.cpp 15 // 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/
SkUnPreMultiply.h 22 // index this table with alpha [0..255]
27 static Scale GetScale(U8CPU alpha) {
28 SkASSERT(alpha <= 255);
29 return gTable[alpha];
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
ctor_double_double.pass.cpp 15 // 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/ceres-solver/internal/ceres/
blas.h 41 // transpose = true : c = alpha * a'a + beta * c;
42 // transpose = false : c = alpha * aa' + beta * c;
49 double alpha,
  /frameworks/native/services/surfaceflinger/RenderEngine/
GLES10RenderEngine.cpp 31 bool premultipliedAlpha, bool opaque, int alpha) {
34 // alpha values. The alpha channel will be copied into the framebuffer or
38 if (CC_UNLIKELY(alpha < 0xFF)) {
39 GLfloat floatAlpha = alpha * (1.0f / 255.0f);
50 if (alpha < 0xFF || !opaque) {
  /external/chromium_org/third_party/WebKit/Source/modules/device_orientation/
DeviceOrientationInspectorAgent.cpp 20 static const char alpha[] = "alpha"; member in namespace:WebCore::DeviceOrientationInspectorAgentState
48 void DeviceOrientationInspectorAgent::setDeviceOrientationOverride(ErrorString* error, double alpha, double beta, double gamma)
51 m_state->setDouble(DeviceOrientationInspectorAgentState::alpha, alpha);
54 controller().setOverride(DeviceOrientationData::create(true, alpha, true, beta, true, gamma).get());
72 double alpha = m_state->getDouble(DeviceOrientationInspectorAgentState::alpha); local
75 controller().setOverride(DeviceOrientationData::create(true, alpha, true, beta, true, gamma).get());

Completed in 948 milliseconds

1 2 3 4 5 6 7 8 91011>>