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

12345

/frameworks/native/libs/utils/
H A Dprimes.py39 max = 2**31 - 1 variable
40 while n < max:
/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 register 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 register int min, max; local
147 max = min = *input_ptr;
154 if (*input_ptr > max)
156 max = *input_ptr;
169 *max_ptr = 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.java78 public LengthFilter(int max) { argument
79 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 int nativeNewClip(int min, int max); argument
/frameworks/ex/variablespeed/jni/
H A Dmacros.h26 inline float max(float a, float b) { function
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DProgressBarWrapper.java61 public void setMax(int max) { argument
62 mDeterminate.setMax(max);
/frameworks/base/core/java/android/speech/srec/
H A DUlawEncoderInputStream.java50 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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaProfileReader.java105 private static int getMinOrMaxFrameRateForCodec(int codec, boolean max) { argument
108 if (max) return cap.mMaxFrameRate;
/frameworks/compile/libbcc/lib/Renderscript/runtime/arch/
H A Dx86_generic.c142 extern char __attribute__((overloadable)) max(char v1, char v2) { function
146 extern char2 __attribute__((overloadable)) max(char2 v1, char2 v2) { function
153 extern char3 __attribute__((overloadable)) max(char3 v1, char3 v2) { function
161 extern char4 __attribute__((overloadable)) max(char4 v1, char4 v2) { function
170 extern short __attribute__((overloadable)) max(short v1, short v2) { function
174 extern short2 __attribute__((overloadable)) max(short2 v1, short2 v2) { function
181 extern short3 __attribute__((overloadable)) max(short3 v1, short3 v2) { function
189 extern short4 __attribute__((overloadable)) max(short4 v1, short4 v2) { function
198 extern int __attribute__((overloadable)) max(int v1, int v2) { function
202 extern int2 __attribute__((overloadable)) max(int function
209 extern int3 __attribute__((overloadable)) max(int3 v1, int3 v2) { function
217 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) { function
226 extern int64_t __attribute__((overloadable)) max(int64_t v1, int64_t v2) { function
230 extern long2 __attribute__((overloadable)) max(long2 v1, long2 v2) { function
237 extern long3 __attribute__((overloadable)) max(long3 v1, long3 v2) { function
245 extern long4 __attribute__((overloadable)) max(long4 v1, long4 v2) { function
254 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { function
258 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { function
265 extern uchar3 __attribute__((overloadable)) max(uchar3 v1, uchar3 v2) { function
273 extern uchar4 __attribute__((overloadable)) max(uchar4 v1, uchar4 v2) { function
282 extern ushort __attribute__((overloadable)) max(ushort v1, ushort v2) { function
286 extern ushort2 __attribute__((overloadable)) max(ushort2 v1, ushort2 v2) { function
293 extern ushort3 __attribute__((overloadable)) max(ushort3 v1, ushort3 v2) { function
301 extern ushort4 __attribute__((overloadable)) max(ushort4 v1, ushort4 v2) { function
310 extern uint __attribute__((overloadable)) max(uint v1, uint v2) { function
314 extern uint2 __attribute__((overloadable)) max(uint2 v1, uint2 v2) { function
321 extern uint3 __attribute__((overloadable)) max(uint3 v1, uint3 v2) { function
329 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { function
338 extern ulong __attribute__((overloadable)) max(ulong v1, ulong v2) { function
342 extern ulong2 __attribute__((overloadable)) max(ulong2 v1, ulong2 v2) { function
349 extern ulong3 __attribute__((overloadable)) max(ulong3 v1, ulong3 v2) { function
357 extern ulong4 __attribute__((overloadable)) max(ulong4 v1, ulong4 v2) { function
366 extern float __attribute__((overloadable)) max(float v1, float v2) { function
370 extern float2 __attribute__((overloadable)) max(float2 v1, float2 v2) { function
374 extern float2 __attribute__((overloadable)) max(float2 v1, float v2) { function
378 extern float3 __attribute__((overloadable)) max(float3 v1, float3 v2) { function
382 extern float3 __attribute__((overloadable)) max(float3 v1, float v2) { function
386 extern float4 __attribute__((overloadable)) max(float4 v1, float4 v2) { function
390 extern float4 __attribute__((overloadable)) max(float4 v1, float v2) { function
[all...]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_core.c92 extern uint32_t __attribute__((overloadable)) max(uint32_t, uint32_t);
93 extern int32_t __attribute__((overloadable)) max(int32_t, int32_t);
119 uint32_t n = max(value, prev);
129 int32_t n = max(value, prev);
142 extern float __attribute__((overloadable)) rsRand(float min, float max);/* {
145 r = r * (max - min) + min;
150 extern float __attribute__((overloadable)) rsRand(float max) { argument
151 return rsRand(0.f, max);
153 //r *= max;
158 extern int __attribute__((overloadable)) rsRand(int max) { argument
162 rsRand(int min, int max) argument
[all...]
/frameworks/native/libs/ui/
H A DRect.cpp26 static inline int32_t max(int32_t a, int32_t b) { function in namespace:android
89 result->left = max(left, with.left);
90 result->top = max(top, with.top);
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp75 template <typename T> inline T max(T a, T b) { return a>b ? a : b; } function in namespace:android
/frameworks/rs/cpu_ref/
H A DrsCpuRuntimeMathFuncs.cpp89 extern float SC_randf2(float min, float max);
90 float __attribute__((overloadable)) rsRand(float min, float max) { argument
91 return SC_randf2(min, max);
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Thread.c212 int max = 0; local
253 /* Get min and max priorities */
255 max = sched_get_priority_max( SCHED_FIFO );
257 M4OSA_TRACE1_2("M4OSA_threadSyncStart MAX=%d MIN=%d", max, min);
/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.cpp226 void MtpProperty::setFormRange(int min, int max, int step) { argument
231 mMaximumValue.u.i8 = max;
236 mMaximumValue.u.u8 = max;
241 mMaximumValue.u.i16 = max;
246 mMaximumValue.u.u16 = max;
251 mMaximumValue.u.i32 = max;
256 mMaximumValue.u.u32 = max;
261 mMaximumValue.u.i64 = max;
266 mMaximumValue.u.u64 = max;
/frameworks/base/core/jni/android/graphics/
H A DMaskFilter.cpp49 static SkMaskFilter* createClipTable(JNIEnv* env, jobject, int min, int max) { argument
50 return SkTableMaskFilter::CreateClip(min, max);
/frameworks/base/libs/androidfw/
H A DInputDevice.cpp174 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, argument
176 MotionRange range = { axis, source, min, max, flat, fuzz, resolution };
/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);

Completed in 1931 milliseconds

12345