Searched defs:min (Results 1 - 25 of 100) sorted by relevance

1234

/frameworks/ex/framesequence/jni/utils/
H A Dmath.h25 #define min(a,b) \ macro
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dfind_min_max.cpp142 int min, max; local
147 max = min = *input_ptr;
158 else if (*input_ptr < min)
160 min = *input_ptr;
170 *min_ptr = min;
/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.h28 static inline T min(T a, T b) { function in namespace:android
32 static inline T min(T a, T b, T c) { function in namespace:android
33 return min(a, min(b, c));
36 static inline T min(T a, T b, T c, T d) { function in namespace:android
37 return min(a, b, min(c, d));
/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/base/core/java/android/hardware/
H A DConsumerIrManager.java102 * @param min The minimum transmittable frequency in this range segment.
105 public CarrierFrequencyRange(int min, int max) { argument
106 mMinFrequency = min;
/frameworks/rs/cpp/
H A DSampler.cpp33 Sampler::Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag, argument
37 RsSamplerValue mMin = min;
64 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, argument
67 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT,
69 return new Sampler(rs, id, min, mag, wrapS, wrapT, anisotropy);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_bug_char.java40 private byte min(byte v1, byte v2) { method in class:UT_bug_char
43 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_bug_char
47 rv[i] = min(v1[i], v2[i]);
67 // Set results for min
68 s.set_min_rand_sc1_sc1(min(rand_sc1_0, rand_sc1_1));
69 byte[] min_rand_sc2_raw = min(rand_sc2_0, rand_sc2_1);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_bug_char.java40 private byte min(byte v1, byte v2) { method in class:UT_bug_char
43 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_bug_char
47 rv[i] = min(v1[i], v2[i]);
67 // Set results for min
68 s.set_min_rand_sc1_sc1(min(rand_sc1_0, rand_sc1_1));
69 byte[] min_rand_sc2_raw = min(rand_sc2_0, rand_sc2_1);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_bug_char.java40 private byte min(byte v1, byte v2) { method in class:UT_bug_char
43 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_bug_char
47 rv[i] = min(v1[i], v2[i]);
67 // Set results for min
68 s.set_min_rand_sc1_sc1(min(rand_sc1_0, rand_sc1_1));
69 byte[] min_rand_sc2_raw = min(rand_sc2_0, rand_sc2_1);
/frameworks/av/include/media/stagefright/foundation/
H A DAUtils.h55 inline static const T &min(const T &a, const T &b) { function
/frameworks/av/media/libeffects/testlibs/
H A DAudioFormatAdapter.h24 #define min(x,y) (((x) < (y)) ? (x) : (y)) macro
76 uint32_t numSamplesIter = min(numSamples, mMaxSamplesPerCall);
/frameworks/av/media/libstagefright/filters/
H A DColorConvert.cpp22 #ifndef min
23 #define min(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/native/libs/ui/
H A DRect.cpp25 static inline int32_t min(int32_t a, int32_t b) { function in namespace:android
88 result->right = min(right, with.right);
89 result->bottom = min(bottom, with.bottom);
130 result.right = min(result.right, exclude.left);
132 result.bottom = min(result.bottom, exclude.top);
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp120 template <typename T> inline T min(T a, T b) { return a<b ? a : b; } function in namespace:android
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dset_sign.cpp177 Word16 val, min;
201 min = 0x7fff;
206 val = sub(dn2[j], min);
210 min = dn2[j];
252 Word16 val, min; local
280 min = 0x7fff;
285 if (dn2[j] < min)
287 min = dn2[j];
/frameworks/av/media/mtp/
H A DMtpProperty.cpp245 void MtpProperty::setFormRange(int min, int max, int step) { argument
249 mMinimumValue.u.i8 = min;
254 mMinimumValue.u.u8 = min;
259 mMinimumValue.u.i16 = min;
264 mMinimumValue.u.u16 = min;
269 mMinimumValue.u.i32 = min;
274 mMinimumValue.u.u32 = min;
279 mMinimumValue.u.i64 = min;
284 mMinimumValue.u.u64 = min;
/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
36 mMin = min;
43 mSeekBar.setMax(max-min);
/frameworks/base/services/core/java/com/android/server/notification/
H A DScheduleCalendar.java59 long nextScheduleTime = Math.min(nextStart, nextEnd);
64 private long getNextTime(long now, int hr, int min) { argument
65 final long time = getTime(now, hr, min);
69 private long getTime(long millis, int hour, int min) { argument
72 mCalendar.set(Calendar.MINUTE, min);
/frameworks/native/libs/input/
H A DInputDevice.cpp178 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, argument
180 MotionRange range = { axis, source, min, max, flat, fuzz, resolution };
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c432 extern int8_t __attribute__((overloadable)) min(int8_t v1, int8_t v2) { function
436 extern char2 __attribute__((overloadable)) min(char2 v1, char2 v2) { function
443 extern char3 __attribute__((overloadable)) min(char3 v1, char3 v2) { function
451 extern char4 __attribute__((overloadable)) min(char4 v1, char4 v2) { function
460 extern int16_t __attribute__((overloadable)) min(int16_t v1, int16_t v2) { function
464 extern short2 __attribute__((overloadable)) min(short2 v1, short2 v2) { function
471 extern short3 __attribute__((overloadable)) min(short3 v1, short3 v2) { function
479 extern short4 __attribute__((overloadable)) min(short4 v1, short4 v2) { function
488 extern int32_t __attribute__((overloadable)) min(int32_t v1, int32_t v2) { function
492 extern int2 __attribute__((overloadable)) min(int function
499 extern int3 __attribute__((overloadable)) min(int3 v1, int3 v2) { function
507 extern int4 __attribute__((overloadable)) min(int4 v1, int4 v2) { function
516 extern uchar __attribute__((overloadable)) min(uchar v1, uchar v2) { function
520 extern uchar2 __attribute__((overloadable)) min(uchar2 v1, uchar2 v2) { function
527 extern uchar3 __attribute__((overloadable)) min(uchar3 v1, uchar3 v2) { function
535 extern uchar4 __attribute__((overloadable)) min(uchar4 v1, uchar4 v2) { function
544 extern ushort __attribute__((overloadable)) min(ushort v1, ushort v2) { function
548 extern ushort2 __attribute__((overloadable)) min(ushort2 v1, ushort2 v2) { function
555 extern ushort3 __attribute__((overloadable)) min(ushort3 v1, ushort3 v2) { function
563 extern ushort4 __attribute__((overloadable)) min(ushort4 v1, ushort4 v2) { function
572 extern uint __attribute__((overloadable)) min(uint v1, uint v2) { function
576 extern uint2 __attribute__((overloadable)) min(uint2 v1, uint2 v2) { function
583 extern uint3 __attribute__((overloadable)) min(uint3 v1, uint3 v2) { function
591 extern uint4 __attribute__((overloadable)) min(uint4 v1, uint4 v2) { function
600 extern float __attribute__((overloadable)) min(float v1, float v2) { function
604 extern float2 __attribute__((overloadable)) min(float2 v1, float2 v2) { function
608 extern float2 __attribute__((overloadable)) min(float2 v1, float v2) { function
612 extern float3 __attribute__((overloadable)) min(float3 v1, float3 v2) { function
616 extern float3 __attribute__((overloadable)) min(float3 v1, float v2) { function
620 extern float4 __attribute__((overloadable)) min(float4 v1, float4 v2) { function
624 extern float4 __attribute__((overloadable)) min(float4 v1, float v2) { function
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DarmVCM4P10_DeblockingLuma_unsafe_s.s89 min RN 2 label
205 UQSUB8 min, p_1, tC0
208 USUB8 t4, P1a, min
209 SEL P1a, P1a, min
214 UQSUB8 min, q_1, tC0
217 USUB8 t0, Q1a, min
218 SEL Q1a, Q1a, min
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_inter_prediction.c924 i32 max,min,med; local
928 max = min = med = a;
933 else if (b < min)
935 min = b;
941 else if (c < min)
943 med = min;

Completed in 1271 milliseconds

1234