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

  /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);
  /frameworks/base/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 );
  /development/tools/emulator/system/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)
  /frameworks/compile/libbcc/lib/ScriptCRT/
rs_cl.c 680 extern float __attribute__((overloadable)) clamp(float amount, float low, float high) { function
683 extern float2 __attribute__((overloadable)) clamp(float2 amount, float2 low, float2 high) { function
689 extern float3 __attribute__((overloadable)) clamp(float3 amount, float3 low, float3 high) { function
696 extern float4 __attribute__((overloadable)) clamp(float4 amount, float4 low, float4 high) { function
704 extern float2 __attribute__((overloadable)) clamp(float2 amount, float low, float high) { function
710 extern float3 __attribute__((overloadable)) clamp(float3 amount, float low, float high) { function
717 extern float4 __attribute__((overloadable)) clamp(float4 amount, float low, float high) { function
    [all...]
  /external/skia/tests/
MathTest.cpp 355 int clamp = SkClampMax(value, max); local
357 REPORTER_ASSERT(reporter, clamp == clamp2);
  /frameworks/base/media/libstagefright/yuv/
YUVImage.cpp 367 uint8_t clamp(uint8_t v, uint8_t minValue, uint8_t maxValue) { function in namespace:android
381 *r = clamp(*r, 0, 255);
382 *g = clamp(*g, 0, 255);
383 *b = clamp(*b, 0, 255);
  /external/icu4c/i18n/
decContext.h 42 /* clamp -- must be either 0 or 1 */
94 uint8_t clamp; /* flag: apply IEEE exponent clamp */ member in struct:__anon6253
  /frameworks/base/services/camera/libcameraservice/
FakeCamera.cpp 41 clamp(int x) function in namespace:android
80 * Y0 = clamp[ Y/kYy + 16 ]
145 * Cr0 = clamp(Cr + 128)
160 pTable[i] = (uint8_t) clamp( i/kRr + 128.5 );
171 * Cb0 = clamp(Cb + 128)
187 pTable[i] = (uint8_t) clamp( i/kBb + 128.5 );
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Utils.java 115 public static int clamp(int x, int min, int max) { method in class:Utils
122 public static float clamp(float x, float min, float max) { method in class:Utils
129 public static long clamp(long x, long min, long max) { method in class:Utils
  /development/tools/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);
  /frameworks/base/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);
  /packages/apps/Camera/src/com/android/camera/
Util.java 320 public static int clamp(int x, int min, int max) { method in class:Util
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
MediaItemView.java 460 startIdx = clamp(startIdx, 0, mNumberOfThumbnails - 1);
461 endIdx = clamp(endIdx, 0, mNumberOfThumbnails - 1);
536 private static int clamp(int v, int low, int high) { method in class:MediaItemView
  /external/qemu/android/camera/
camera-format-converters.c 141 clamp(int x) function
197 #define YUV2RO(C, D, E) clamp((298 * (C) + 409 * (E) + 128) >> 8)
198 #define YUV2GO(C, D, E) clamp((298 * (C) - 100 * (D) - 208 * (E) + 128) >> 8)
199 #define YUV2BO(C, D, E) clamp((298 * (C) + 516 * (D) + 128) >> 8)
204 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8)
205 #define YUV2G(y, u, v) clamp((298 * ((y)-16) - 100 * ((u)-128) - 208 * ((v)-128) + 128) >> 8)
206 #define YUV2B(y, u, v) clamp((298 * ((y)-16) + 516 * ((u)-128) + 128) >> 8)
    [all...]
  /frameworks/base/core/java/android/widget/
HorizontalScrollView.java 1525 private int clamp(int n, int my, int child) { method in class:HorizontalScrollView
    [all...]
ScrollView.java 1555 private int clamp(int n, int my, int child) { method in class:ScrollView
    [all...]
  /packages/apps/Browser/src/com/android/browser/view/
ScrollerView.java 1839 private int clamp(int n, int my, int child) { method in class:ScrollerView
    [all...]
  /frameworks/base/core/java/android/view/
MotionEvent.java 2739 private static final float clamp(float value, float low, float high) { method in class:MotionEvent
    [all...]
  /external/v8/benchmarks/
crypto.js 238 this.clamp();
242 // (protected) clamp off excess high words
354 r.clamp();
374 r.clamp();
410 r.clamp();
426 r.clamp();
447 r.clamp();
499 r.clamp();
597 x.clamp();
644 BigInteger.prototype.clamp = bnpClamp
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
v8-crypto.js 230 this.clamp();
234 // (protected) clamp off excess high words
346 r.clamp();
366 r.clamp();
402 r.clamp();
418 r.clamp();
439 r.clamp();
491 r.clamp();
589 x.clamp();
636 BigInteger.prototype.clamp = bnpClamp
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
v8-crypto.js 230 this.clamp();
234 // (protected) clamp off excess high words
346 r.clamp();
366 r.clamp();
402 r.clamp();
418 r.clamp();
439 r.clamp();
491 r.clamp();
589 x.clamp();
636 BigInteger.prototype.clamp = bnpClamp
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
v8-crypto.js 230 this.clamp();
234 // (protected) clamp off excess high words
346 r.clamp();
366 r.clamp();
402 r.clamp();
418 r.clamp();
439 r.clamp();
491 r.clamp();
589 x.clamp();
636 BigInteger.prototype.clamp = bnpClamp
    [all...]

Completed in 910 milliseconds