/frameworks/compile/libbcc/lib/ScriptCRT/ |
H A D | clamp.c | 20 extern float __attribute__((overloadable)) clamp(float amount, float low, float high) { argument 21 return amount < low ? low : (amount > high ? high : amount); 24 extern float2 __attribute__((overloadable)) clamp(float2 amount, float2 low, float2 high) { argument 26 r.x = amount.x < low.x ? low.x : (amount.x > high.x ? high.x : amount.x); 27 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); 31 extern float3 __attribute__((overloadable)) clamp(float3 amount, float3 low, float3 high) { argument 33 r.x = amount.x < low.x ? low.x : (amount.x > high 39 clamp(float4 amount, float4 low, float4 high) argument 48 clamp(float2 amount, float low, float high) argument 55 clamp(float3 amount, float low, float high) argument 63 clamp(float4 amount, float low, float high) argument [all...] |
H A D | rs_core.c | 193 extern uint __attribute__((overloadable, always_inline)) rsClamp(uint amount, uint low, uint high) { argument 194 return amount < low ? low : (amount > high ? high : amount); 196 extern int __attribute__((overloadable, always_inline)) rsClamp(int amount, int low, int high) { argument 197 return amount < low ? low : (amount > high ? high : amount); 199 extern ushort __attribute__((overloadable, always_inline)) rsClamp(ushort amount, ushort low, ushort high) { argument 200 return amount < low ? low : (amount > high ? high : amount); 202 extern short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, short high) { argument 205 rsClamp(uchar amount, uchar low, uchar high) argument 208 rsClamp(char amount, char low, char high) argument [all...] |
/frameworks/compile/libbcc/runtime/lib/ppc/ |
H A D | floatunditf.c | 19 doublebits high = { .d = twop84 }; local 22 high.x |= a >> 32; /* 0x1.0p84 + high 32 bits of a */ 25 const double high_addend = high.d - twop84_plus_twop52;
|
/frameworks/compile/libbcc/runtime/lib/ |
H A D | floatdidf.c | 40 const double high = (int32_t)(a >> 32) * twop32; local 43 const double result = (high - twop52) + low.d; 101 fb.u.high = ((su_int)s & 0x80000000) | /* sign */ 103 ((su_int)(a >> 32) & 0x000FFFFF); /* mantissa-high */
|
H A D | floatundidf.c | 40 union { uint64_t x; double d; } high = { .d = twop84 }; local 43 high.x |= a >> 32; 46 const double result = (high.d - twop84_plus_twop52) + low.d; 102 fb.u.high = ((e + 1023) << 20) | /* exponent */ 103 ((su_int)(a >> 32) & 0x000FFFFF); /* mantissa-high */
|
H A D | int_lib.h | 43 si_int high; member in struct:__anon1263::__anon1264 45 si_int high; 58 su_int high; member in struct:__anon1265::__anon1266 60 su_int high; 78 di_int high; member in struct:__anon1267::__anon1268 80 di_int high; 93 du_int high; member in struct:__anon1269::__anon1270 95 du_int high; 103 r.s.high = h; 110 r.s.high 133 udwords high; member in struct:__anon1273 [all...] |
/frameworks/av/media/libmedia/ |
H A D | autodetect.cpp | 852 int high = rangeCount; local 854 while (low < high) { 855 int i = (low + high) / 2; 862 high = i;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_DecodePadMV_PVOP.c | 96 OMX_S16 high, low, range; local 134 high = ( 32 * scaleFactor) - 1; 215 if (pDstMVCurMB[iBlk].dx > high) 224 if (pDstMVCurMB[iBlk].dy > high)
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LevelListDrawable.java | 66 public void addLevel(int low, int high, Drawable drawable) { argument 68 mLevelListState.addLevel(low, high, drawable); 113 int high = a.getInt( 120 if (high < 0) { 140 mLevelListState.addLevel(low, high, dr); 172 public void addLevel(int low, int high, Drawable drawable) { argument 175 mHighs[pos] = high;
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioEqualizer.cpp | 173 uint32_t & high) const { 177 high = mpLowShelf->getFrequency(); 180 high = mSampleRate * 500; 182 mpPeakingFilters[band - 1].getBandRange(low, high); 260 uint32_t high = mpHighShelf->getFrequency(); local 261 if (targetFreq >= high) { 268 high = freq; 274 // Now, low is right below the target and high is right above. See which one 277 high = Effects_log2(high); [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 232 size_t high = mTextVector.size() - 1; local 236 while (low <= high) { 237 mid = low + (high - low)/2; 246 if ((high == mid + 1) 247 && (seekTimeUs < mTextVector.keyAt(high))) { 253 high = mid - 1;
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 38 public static int constrain(int amount, int low, int high) { argument 39 return amount < low ? low : (amount > high ? high : amount); 42 public static long constrain(long amount, long low, long high) { argument 43 return amount < low ? low : (amount > high ? high : amount); 46 public static float constrain(float amount, float low, float high) { argument 47 return amount < low ? low : (amount > high ? high : amount);
|
/frameworks/base/services/java/com/android/server/ |
H A D | NotificationManagerService.java | 860 private final static int clamp(int x, int low, int high) { argument 861 return (x < low) ? low : ((x > high) ? high : x);
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 201 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; local 204 if (high & 2) { 206 int rBase = high >> 27; 207 int gBase = high >> 19; 208 int bBase = high >> 11; 210 r2 = convertDiff(rBase, high >> 24); 212 g2 = convertDiff(gBase, high >> 16); 214 b2 = convertDiff(bBase, high >> 8); 217 r1 = convert4To8(high >> 28); 218 r2 = convert4To8(high >> 2 234 etc1_uint32 high; member in struct:__anon1516 [all...] |
/frameworks/rs/driver/ |
H A D | rsdRuntimeMath.cpp | 108 static float SC_clamp_f32(float amount, float low, float high) { argument 109 return amount < low ? low : (amount > high ? high : amount);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode.cpp | 2766 Int high; local 2773 high = range - 1; 2777 else if (diff_vector > high)
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 677 * The value is normalized to a range from -1.0 (high) to 1.0 (low). 2841 private static final float clamp(float value, float low, float high) { argument 2844 } else if (value > high) { 2845 return high;
|