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

1 2 3 4

  /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
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
MathUtils.java 24 public static int clamp(int value, int a, int b) { method in class:MathUtils
42 public static long clamp(long value, long a, long b) { method in class:MathUtils
60 public static float clamp(float value, float a, float b) { method in class:MathUtils
  /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
  /external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
vp9_common.h 55 static INLINE int clamp(int value, int low, int high) { function
  /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 80 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/chromium_org/ppapi/proxy/
compositor_layer_resource.cc 26 float clamp(float value) { function in namespace:ppapi::proxy::__anon14085
115 data_.color->red = clamp(red);
116 data_.color->green = clamp(green);
117 data_.color->blue = clamp(blue);
118 data_.color->alpha = clamp(alpha);
259 data_.common.opacity = clamp(opacity);
  /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 );
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderLayerScrollableArea.h 117 void scrollToXOffset(int x, ScrollOffsetClamping clamp = ScrollOffsetUnclamped) { scrollToOffset(IntSize(x, scrollYOffset()), clamp); } local
118 void scrollToYOffset(int y, ScrollOffsetClamping clamp = ScrollOffsetUnclamped) { scrollToOffset(IntSize(scrollXOffset(), y), clamp); }
  /external/chromium_org/third_party/mesa/src/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;
  /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
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/image_editor/
image_util.js 64 ImageUtil.clamp = function(min, value, max) {
222 * Clamp the rectangle to the bounds by moving it.
227 Rect.prototype.clamp = function(bounds) {
  /external/chromium_org/ui/file_manager/gallery/js/image_editor/
image_util.js 64 ImageUtil.clamp = function(min, value, max) {
222 * Clamp the rectangle to the bounds by moving it.
227 Rect.prototype.clamp = function(bounds) {
  /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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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));
  /external/eigen/Eigen/src/Geometry/
AlignedBox.h 207 inline AlignedBox& clamp(const AlignedBox& b) function in class:Eigen::AlignedBox

Completed in 495 milliseconds

1 2 3 4