Searched defs:max (Results 1 - 25 of 161) sorted by relevance

1234567

/frameworks/ex/framesequence/jni/utils/
H A Dmath.h20 #define max(a,b) \ macro
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgmed_n.cpp131 Word16 max;
143 max = -32767;
146 if (sub (tmp2[j], max) >= 0)
148 max = tmp2[j];
189 Word16 max; local
201 max = -32767;
204 if (*(tmp2 + j) >= max)
206 max = *(tmp2 + j);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dfind_min_max.cpp142 int min, max; local
147 max = min = *input_ptr;
154 if (*input_ptr > max)
156 max = *input_ptr;
169 *max_ptr = max;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dimgprocutil.h27 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/native/services/surfaceflinger/
H A Dclz.h41 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/amrnb/enc/src/
H A Dcor_h_x.cpp189 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 Dcor_h_x2.cpp173 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 Dhp_max.cpp88 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...]
H A Dset_sign.cpp58 of the max correlation. Updated copyright year.
368 Word16 val, cor, k_cn, k_dn, max, max_of_all;
418 max = -1;
423 val = sub (cor, max);
427 max = cor;
433 val = sub (max, max_of_all);
437 max_of_all = max;
502 Word16 max; local
567 max = -1;
572 if (cor > max)
[all...]
/frameworks/base/core/java/android/text/
H A DInputFilter.java80 public LengthFilter(int max) { argument
81 mMax = max;
/frameworks/base/graphics/java/android/graphics/
H A DTableMaskFilter.java35 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/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBucketTest.java44 int max = 0; field in class:BucketTest
61 max = 0;
66 max = Math.max(max, i);
77 for (int i = 0; i < max + 100; i++) {
86 for (int i = 0; i < max + 100; i++) {
143 max = Math.max(i, max);
[all...]
/frameworks/base/core/java/android/hardware/
H A DConsumerIrManager.java103 * @param max The maximum transmittable frequency in this range segment.
105 public CarrierFrequencyRange(int min, int max) { argument
107 mMaxFrequency = max;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DProgressBarWrapper.java61 public void setMax(int max) { argument
62 mDeterminate.setMax(max);
/frameworks/av/include/media/stagefright/foundation/
H A DAUtils.h60 inline static const T &max(const T &a, const T &b) { function
/frameworks/av/media/libstagefright/filters/
H A DColorConvert.cpp19 #ifndef max
20 #define max(a,b) ((a) > (b) ? (a) : (b)) macro
39 *r = min(262143, max(0, *r));
40 *g = min(262143, max(0, *g));
41 *b = min(262143, max(0, *b));
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackQueueItem.java112 private static final float clip(float value, float min, float max) { argument
113 return value < min ? min : (value < max ? value : max);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaProfileReader.java106 private static int getMinOrMaxFrameRateForCodec(int codec, boolean max) { argument
109 if (max) return cap.mMaxFrameRate;
/frameworks/native/libs/ui/
H A DRect.cpp29 static inline int32_t max(int32_t a, int32_t b) { function in namespace:android
86 result->left = max(left, with.left);
87 result->top = max(top, with.top);
134 result.left = max(result.left, exclude.right);
136 result.top = max(result.top, exclude.bottom);
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp121 template <typename T> inline T max(T a, T b) { return a>b ? a : b; } function in namespace:android
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dp_med_ol.c42 Word32 i, j, max, R0, R1, R2; local
55 max = MIN_32;
85 if(R0 >= max)
87 max = R0;
/frameworks/av/media/mtp/
H A DMtpProperty.cpp245 void MtpProperty::setFormRange(int min, int max, int step) { argument
250 mMaximumValue.u.i8 = max;
255 mMaximumValue.u.u8 = max;
260 mMaximumValue.u.i16 = max;
265 mMaximumValue.u.u16 = max;
270 mMaximumValue.u.i32 = max;
275 mMaximumValue.u.u32 = max;
280 mMaximumValue.u.i64 = max;
285 mMaximumValue.u.u64 = max;
/frameworks/base/core/jni/android/graphics/
H A DMaskFilter.cpp53 static jlong createClipTable(JNIEnv* env, jobject, jint min, jint max) { argument
54 SkMaskFilter* filter = SkTableMaskFilter::CreateClip(min, max);
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectParameter.java35 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/settings/
H A DToggleSlider.java116 public void setMax(int max) { argument
117 mSlider.setMax(max);
119 mMirror.setMax(max);

Completed in 505 milliseconds

1234567