HomeSort by relevance Sort by last modified time
    Searched defs:clamp (Results 1 - 25 of 69) sorted by null

1 2 3

  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
imgprocutil.h 27 inline int clamp(int min, int val, int max) { function
  /packages/apps/Contacts/src/com/android/contacts/util/
MoreMath.java 27 public static int clamp(int input, int lowerBound, int upperBound) { method in class:MoreMath
37 public static float clamp(float input, float lowerBound, float upperBound) { method in class:MoreMath
47 public static double clamp(double input, double lowerBound, double upperBound) { method in class:MoreMath
  /packages/apps/Gallery2/jni/filters/
contrast.c 20 unsigned char clamp(int c) function
50 rgb[RED] = clamp((int)(m*rgb[RED]+c));
51 rgb[GREEN] = clamp((int)(m*rgb[GREEN]+c));
52 rgb[BLUE] = clamp((int)(m*rgb[BLUE]+c));
  /external/replicaisland/src/com/replica/replicaisland/
Utils.java 39 public final static int clamp(int value, int min, int max) { method in class:Utils
52 result = clamp(value, max, min);
  /external/replicaisland/tools/
ExtractPoints.js 293 function clamp(input) { function
  /packages/apps/Camera2/src/com/android/camera/ui/motion/
LinearScale.java 42 * Clamp a given domain value to the given domain.
44 public float clamp(float domainValue) { method in class:LinearScale
  /external/deqp/framework/delibs/decpp/
deDefs.hpp 44 //!< Clamp x in range a <= x <= b.
45 template<typename T> inline T clamp (T x, T a, T b) { DE_ASSERT(a <= b); return x < a ? a : (x > b ? b : x); } function in namespace:de
  /external/libvpx/libvpx/vp9/common/
vp9_common.h 55 static INLINE int clamp(int value, int low, int high) { function
  /frameworks/base/core/java/android/util/
Range.java 173 public T clamp(T value) { method in class:Range
  /frameworks/base/libs/hwui/utils/
MathUtils.h 95 static inline T clamp(T a, T minValue, T maxValue) { function in class:android::uirenderer::MathUtils
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
vp9_common.h 55 static INLINE int clamp(int value, int low, int high) { function
  /external/eigen/Eigen/src/Eigen2Support/Geometry/
AlignedBox.h 91 inline AlignedBox& clamp(const AlignedBox& b) function in class:Eigen::AlignedBox
  /frameworks/native/services/sensorservice/
quat.h 65 } clamp; local
71 q.x = sqrtf( clamp( Hx - My - Az + 1) * 0.25f );
72 q.y = sqrtf( clamp(-Hx + My - Az + 1) * 0.25f );
73 q.z = sqrtf( clamp(-Hx - My + Az + 1) * 0.25f );
74 q.w = sqrtf( clamp( Hx + My + Az + 1) * 0.25f );
  /packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
PointMeteringParameters.java 114 // Clamp meteringRegion to cropRegion.
115 meteringRegion.left = clamp(meteringRegion.left, cropRegion.left,
117 meteringRegion.top = clamp(meteringRegion.top, cropRegion.top, cropRegion.bottom);
118 meteringRegion.right = clamp(meteringRegion.right, cropRegion.left,
120 meteringRegion.bottom = clamp(meteringRegion.bottom, cropRegion.top,
148 private int clamp(int value, int min, int max) { method in class:PointMeteringParameters
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
Utils.java 61 public static int clamp(int x, int min, int max) { method in class:Utils
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
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);
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_pipe_offset.c 46 float clamp; member in struct:offset_stage
94 if (offset->clamp)
95 zoffset = (offset->clamp < 0.0f) ? MAX2(zoffset, offset->clamp) :
96 MIN2(zoffset, offset->clamp);
102 v0[2] = CLAMP(v0[2] + zoffset, 0.0f, 1.0f);
103 v1[2] = CLAMP(v1[2] + zoffset, 0.0f, 1.0f);
104 v2[2] = CLAMP(v2[2] + zoffset, 0.0f, 1.0f);
133 offset->clamp = stage->draw->rasterizer->offset_clamp;
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicInlines.h 85 static inline int4 clamp(int4 amount, int low, int high) { function
94 static inline float4 clamp(float4 amount, float low, float high) { function
103 static inline int2 clamp(int2 amount, int low, int high) { function
110 static inline float2 clamp(float2 amount, float low, float high) { function
117 static inline int clamp(int amount, int low, int high) { function
121 static inline float clamp(float amount, float low, float high) { function
  /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)
  /external/eigen/Eigen/src/Geometry/
AlignedBox.h 207 inline AlignedBox& clamp(const AlignedBox& b) function in class:Eigen::AlignedBox
  /external/jmonkeyengine/engine/src/android/jme3tools/android/
Fixed.java 379 public static int clamp(int n, int min, int max) { method in class:Fixed
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
ColorRGBA.java 44 * values. A call to clamp will assure that the values are within the
209 * <code>clamp</code> insures that all values are between 0 and 1. If any
214 public void clamp() { method in class:ColorRGBA
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_pack.c 505 boolean clamp; local
513 clamp = TRUE;
516 * saturate them, so no need to clamp for those cases. */
521 clamp = FALSE;
523 if(clamp) {
  /external/mesa3d/src/mesa/swrast/
s_stencil.c 83 /** Clamp the stencil value to [0, 255] */
85 clamp(GLint val) function
150 STENCIL_OP(clamp(s + 1));
154 STENCIL_OP(clamp(s - 1));
  /frameworks/base/libs/hwui/
Glop.h 118 GLenum clamp; member in struct:android::uirenderer::Glop::Fill::TextureData

Completed in 899 milliseconds

1 2 3