/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | find_min_max.cpp | 142 register int min, max; local 147 max = min = *input_ptr; 154 if (*input_ptr > max) 156 max = *input_ptr; 169 *max_ptr = max;
|
H A D | post_proc.h | 35 #define UPDATE_PV_MAXPV_MIN(p,max,min) if ((p) > max) max=(p); else if ((p) < min) min = (p);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | imgprocutil.h | 27 inline int clamp(int min, int val, int max) { argument 28 return val < min ? min : (val > max ? max : val); 29 // Note that for performance reasons, this function does *not* check if min < max!
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | TableMaskFilter.java | 35 public static TableMaskFilter CreateClipTable(int min, int max) { argument 36 return new TableMaskFilter(nativeNewClip(min, max)); 44 private static native long nativeNewClip(int min, int max); argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | gmed_n.cpp | 131 Word16 max; 143 max = -32767; 146 if (sub (tmp2[j], max) >= 0) 148 max = tmp2[j]; 189 register Word16 max; local 201 max = -32767; 204 if (*(tmp2 + j) >= max) 206 max = *(tmp2 + j);
|
/frameworks/native/services/surfaceflinger/ |
H A D | clz.h | 41 static inline T max(T a, T b) { function in namespace:android 45 static inline T max(T a, T b, T c) { function in namespace:android 46 return max(a, max(b, c)); 49 static inline T max(T a, T b, T c, T d) { function in namespace:android 50 return max(a, b, max(c, d));
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | spreading.c | 31 * higher frequencies thr(n) = max(thr(n), sh(n)*thr(n-1)) 32 * lower frequencies thr(n) = max(thr(n), sl(n)*thr(n+1)) 44 pbSpreadedEnergy[i] = max(pbSpreadedEnergy[i], 49 pbSpreadedEnergy[i] = max(pbSpreadedEnergy[i],
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | UlawEncoderInputStream.java | 50 byte[] ulawBuf, int ulawOffset, int length, int max) { 76 if (max <= 0) max = MAX_ULAW; 78 int coef = MAX_ULAW * (1 << SCALE_BITS) / max; 121 int max = 0; 125 if (pcm > max) max = pcm; 127 return max; 133 * @param max pcm value corresponding to maximum ulaw value. 135 public UlawEncoderInputStream(InputStream in, int max) { argument 49 encode(byte[] pcmBuf, int pcmOffset, byte[] ulawBuf, int ulawOffset, int length, int max) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | cor_h_x.cpp | 189 Word32 s, y32[L_CODE], max, tot; 197 max = 0; 207 if (L_sub (s, max) > (Word32) 0L) 208 max = s; 210 tot = L_add (tot, L_shr (max, 1)); 258 Word32 max; local 269 max = 0; 296 if (s > max) 298 max = s; 302 tot += (max >> [all...] |
H A D | cor_h_x2.cpp | 173 Word32 s, y32[L_CODE], max, tot; 181 max = 0; 191 if (L_sub (s, max) > (Word32) 0L) 192 max = s; 194 tot = L_add (tot, L_shr (max, 1)); 244 Word32 max; local 252 max = 0; 266 if (s > max) 268 max = s; 271 tot = (tot + (max >> [all...] |
H A D | hp_max.cpp | 88 cor_hp_max = pointer to max high-pass filtered norm. correlation (Word16) 92 cor_hp_max contains max high-pass filtered norm. correlation (Word16) 134 Word16 *cor_hp_max) // o : max high-pass filtered norm. correlation 138 Word32 max, t0, t1; 142 max = MIN_32; 154 if (L_sub (t0, max) >= 0) 156 max = t0; 181 // max/t0 182 shift1 = sub(norm_l(max), 1); 183 max16 = extract_h(L_shl(max, shift 249 Word32 max, t0, t1; local [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | SetTimeZonePermissionsTest.java | 51 int max = (mZones.length > 10) ? mZones.length : 10; 52 assertTrue("No system-defined time zones - test invalid", max > 0); 54 for (int i = 0; i < max; i++) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | DataUsageGraph.java | 55 mLimitLevel = Math.max(0, limitLevel); 56 mWarningLevel = Math.max(0, warningLevel); 57 mUsageLevel = Math.max(0, usageLevel); 58 mMaxLevel = Math.max(Math.max(Math.max(mLimitLevel, mWarningLevel), mUsageLevel), 1); 76 usageRight = Math.min(Math.max(usageRight, mMarkerWidth), w - mMarkerWidth * 2); 96 warningLeft = Math.min(Math.max(warningLeft, 0), w - mMarkerWidth);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BucketTest.java | 34 int max = 0; field in class:BucketTest 52 max = 0; 57 max = Math.max(max, i); 67 for (int i = 0; i < max + 100; i++) { 76 for (int i = 0; i < max + 100; i++) { 130 max = Math.max(i, max); [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | BigCacheTest.java | 58 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize(); 59 assertTrue(mTiny.getWidth() * mTiny.getHeight() * 2 < max); 66 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize(); 67 assertTrue(mLarge.getWidth() * mLarge.getHeight() * 2 > max);
|
/frameworks/ex/framesequence/jni/utils/ |
H A D | math.h | 20 #define max(a,b) \ macro
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | ProgressBarWrapper.java | 61 public void setMax(int max) { argument 62 mDeterminate.setMax(max);
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_math_agree.java | 201 // max reference functions 202 private float max(float v1, float v2) { method in class:UT_math_agree 205 private float[] max(float[] v1, float[] v2) { method in class:UT_math_agree 209 rv[i] = max(v1[i], v2[i]); 212 private byte max(byte v1, byte v2) { method in class:UT_math_agree 215 private byte[] max(byte[] v1, byte[] v2) { method in class:UT_math_agree 219 rv[i] = max(v1[i], v2[i]); 222 private short max(short v1, short v2) { method in class:UT_math_agree 225 private short[] max(short[] v1, short[] v2) { method in class:UT_math_agree 229 rv[i] = max(v 232 private int max(int v1, int v2) { method in class:UT_math_agree 235 private int[] max(int[] v1, int[] v2) { method in class:UT_math_agree 242 private long max(long v1, long v2) { method in class:UT_math_agree 245 private long[] max(long[] v1, long[] v2) { method in class:UT_math_agree [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UT_math_agree.java | 201 // max reference functions 202 private float max(float v1, float v2) { method in class:UT_math_agree 205 private float[] max(float[] v1, float[] v2) { method in class:UT_math_agree 209 rv[i] = max(v1[i], v2[i]); 212 private byte max(byte v1, byte v2) { method in class:UT_math_agree 215 private byte[] max(byte[] v1, byte[] v2) { method in class:UT_math_agree 219 rv[i] = max(v1[i], v2[i]); 222 private short max(short v1, short v2) { method in class:UT_math_agree 225 private short[] max(short[] v1, short[] v2) { method in class:UT_math_agree 229 rv[i] = max(v 232 private int max(int v1, int v2) { method in class:UT_math_agree 235 private int[] max(int[] v1, int[] v2) { method in class:UT_math_agree 242 private long max(long v1, long v2) { method in class:UT_math_agree 245 private long[] max(long[] v1, long[] v2) { method in class:UT_math_agree [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | Utils_test.cpp | 88 ASSERT_EQ(max(5.6f, 6.0f), 6.0f); 89 ASSERT_EQ(max(6.0f, 5.6f), 6.0f); 90 ASSERT_EQ(max(-4.3, 8.6), 8.6); 91 ASSERT_EQ(max(8.6, -4.3), 8.6);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EffectParameter.java | 35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) { argument 37 mMax = max; 43 mSeekBar.setMax(max-min);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ExpandableOutlineView.java | 44 Math.max(mActualHeight, mClipTopAmount)); 79 mOutlineRect.bottom = (int) Math.max(top, mOutlineRect.bottom); 80 mOutlineRect.right = (int) Math.max(left, mOutlineRect.right);
|
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
H A D | ColorUtils.java | 79 return Math.max(luminance1, luminance2) / Math.min(luminance1, luminance2); 122 // Conservatively return the max of the range of possible alphas, which is known to pass. 153 final float max = Math.max(rf, Math.max(gf, bf)); 155 final float deltaMaxMin = max - min; 158 float l = (max + min) / 2f; 160 if (max == min) { 164 if (max == rf) { 166 } else if (max [all...] |
/frameworks/av/media/libeffects/loudness/dsp/core/ |
H A D | dynamic_range_compression.cpp | 79 const float max_abs_x = std::max(std::fabs(x), kMinLogAbsValue); 84 const float rect = std::max(overshoot, 0.0f); 107 const float max_abs_x = std::max(std::fabs(*x1), 108 std::max(std::fabs(*x2), kMinLogAbsValue)); 113 const float rect = std::max(overshoot, 0.0f);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_core.c | 103 extern uint32_t __attribute__((overloadable)) max(uint32_t, uint32_t); 104 extern int32_t __attribute__((overloadable)) max(int32_t, int32_t); 130 uint32_t n = max(value, prev); 140 int32_t n = max(value, prev); 153 extern float __attribute__((overloadable)) rsRand(float min, float max);/* { 156 r = r * (max - min) + min; 161 extern float __attribute__((overloadable)) rsRand(float max) { argument 162 return rsRand(0.f, max); 164 //r *= max; 169 extern int __attribute__((overloadable)) rsRand(int max) { argument 173 rsRand(int min, int max) argument [all...] |