HomeSort by relevance Sort by last modified time
    Searched refs:clamp (Results 26 - 50 of 145) sorted by null

12 3 4 5 6

  /device/generic/goldfish/camera/
Converters.h 133 clamp(int x) function in namespace:android
192 #define YUV2RO(C, D, E) clamp((298 * (C) + 409 * (E) + 128) >> 8)
193 #define YUV2GO(C, D, E) clamp((298 * (C) - 100 * (D) - 208 * (E) + 128) >> 8)
194 #define YUV2BO(C, D, E) clamp((298 * (C) + 516 * (D) + 128) >> 8)
199 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8)
200 #define YUV2G(y, u, v) clamp((298 * ((y)-16) - 100 * ((u)-128) - 208 * ((v)-128) + 128) >> 8)
201 #define YUV2B(y, u, v) clamp((298 * ((y)-16) + 516 * ((u)-128) + 128) >> 8)
EmulatedCameraDevice.h 303 return static_cast<uint8_t>(clamp(static_cast<float>(inputY) *
  /external/webkit/Source/WebCore/platform/chromium/
PlatformThemeChromiumGtk.cpp 48 static SkScalar clamp(SkScalar value, SkScalar min, SkScalar max) function in namespace:WebCore
57 color[1] = clamp(hsv[1] + saturateAmount, 0.0, 1.0);
58 color[2] = clamp(hsv[2] + brightenAmount, 0.0, 1.0);
91 SkScalar minDiff = clamp((hsv1[1] + hsv2[1]) * 1.2, 0.28, 0.5);
92 SkScalar diff = clamp(fabs(hsv1[2] - hsv2[2]) / 2, minDiff, 0.5);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
TextureGeneratorClouds.java 94 texres.intensity = FastMath.clamp(texres.intensity, 0.0f, 1.0f);
111 texres.green = FastMath.clamp(texres.green, 0.0f, 1.0f);
112 texres.blue = FastMath.clamp(texres.blue, 0.0f, 1.0f);
TexturePixel.java 277 public void clamp(float min, float max) { method in class:TexturePixel
278 this.red = FastMath.clamp(this.red, min, max);
279 this.green = FastMath.clamp(this.green, min, max);
280 this.blue = FastMath.clamp(this.blue, min, max);
281 this.alpha = FastMath.clamp(this.alpha, min, max);
282 this.intensity = FastMath.clamp(this.intensity, min, max);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
Paper.java 136 mValue = Utils.clamp(mValue + deltaDistance, -1.0f, 1.0f);
146 float finish = Utils.clamp(mValue + velocity * VELOCITY_FACTOR,
155 float t = Utils.clamp((float)(now() - mStartTime) / mDuration, 0.0f, 1.0f);
ScrollerHelper.java 89 int newPosition = Utils.clamp(finalPosition + distance, min, max);
  /external/icu4c/i18n/
decContext.c 71 context->clamp=0; /* no clamping */
85 context->clamp=1; /* clamp exponents */
96 context->clamp=1; /* clamp exponents */
107 context->clamp=1; /* clamp exponents */
  /external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
simple_water.frag 79 projCoord = clamp(projCoord, 0.001, 0.999);
119 fresnelTerm=clamp(fresnelTerm,0.0,1.0);
  /packages/apps/Gallery2/jni/filters/
filters.h 44 #define CLAMP(c) (MAX(0, MIN(255, c)))
46 __inline__ unsigned char clamp(int c);
wbalance.c 164 rgb[RED] = clamp(Rc);
165 rgb[GREEN] = clamp(Gc);
166 rgb[BLUE] = clamp(Bc);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
EyePosition.java 134 mX = Utils.clamp((x * USER_ANGEL_COS / glength
137 mY = -Utils.clamp((y * USER_ANGEL_COS / glength
173 mX = Utils.clamp((float) (mX + x * t / Math.hypot(mZ, mX)),
175 mY = Utils.clamp((float) (mY + y * t / Math.hypot(mZ, mY)),
  /external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_joints_Point2PointJoint.cpp 65 (JNIEnv * env, jobject object, jlong jointId, jfloat clamp) {
72 joint->m_setting.m_impulseClamp = clamp;
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
convolve3x3.fs 61 p20 = clamp(p20, 0.f, 255.f);
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
ip2_convolve3x3.rs 61 p20 = clamp(p20, 0.f, 255.f);
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
convolve3x3.fs 61 p20 = clamp(p20, 0.f, 255.f);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
convolve3x3.rs 65 p20 = clamp(p20, 0.f, 1.f);
  /external/eigen/test/eigen2/
eigen2_alignedbox.cpp 42 VERIFY_IS_APPROX(b2.clamp(b0), b0);
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/fractal/
FractalSum.java 77 return ShaderUtils.clamp(total, -1, 1);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
AbstractTextureBlender.java 81 result[0] = FastMath.clamp(result[0], 0.0f, 1.0f);
82 result[1] = FastMath.clamp(result[1], 0.0f, 1.0f);
83 result[2] = FastMath.clamp(result[2], 0.0f, 1.0f);
TextureBlenderLuminance.java 179 result[0] = FastMath.clamp(result[0], 0.0f, 1.0f);
180 result[1] = FastMath.clamp(result[1], 0.0f, 1.0f);
181 result[2] = FastMath.clamp(result[2], 0.0f, 1.0f);
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Utils.java 99 public static int clamp(int x, int min, int max) { method in class:Utils
106 public static float clamp(float x, float min, float max) { method in class:Utils
113 public static long clamp(long x, long min, long max) { method in class:Utils
  /frameworks/native/opengl/libs/ETC1/
etc1.cpp 122 static inline etc1_byte clamp(int x) { function
191 *q++ = clamp(r + delta);
192 *q++ = clamp(g + delta);
193 *q++ = clamp(b + delta);
311 int decodedG = clamp(g + modifier);
316 int decodedR = clamp(r + modifier);
321 int decodedB = clamp(b + modifier);
  /sdk/emulator/opengl/host/libs/Translator/GLcommon/
etc1.cpp 122 static inline etc1_byte clamp(int x) { function
191 *q++ = clamp(r + delta);
192 *q++ = clamp(g + delta);
193 *q++ = clamp(b + delta);
311 int decodedG = clamp(g + modifier);
316 int decodedR = clamp(r + modifier);
321 int decodedB = clamp(b + modifier);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/lights/
LightHelper.java 94 spotblend = FastMath.clamp(spotblend, 0, 1);

Completed in 780 milliseconds

12 3 4 5 6