Searched defs:min (Results 1 - 25 of 91) 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 register 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/av/include/media/stagefright/foundation/
H A DAUtils.h55 inline static const T &min(const T &a, const T &b) { function
/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/libs/hwui/
H A DTexture.cpp59 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, argument
62 if (mFirstFilter || force || min != mMinFilter || mag != mMagFilter) {
65 mMinFilter = min;
72 if (mipMap && min == GL_LINEAR) min = GL_LINEAR_MIPMAP_LINEAR;
74 glTexParameteri(renderTarget, GL_TEXTURE_MIN_FILTER, min);
H A DAssetAtlas.cpp105 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false, argument
107 mDelegate->setFilterMinMag(min, mag, bindTexture, force, renderTarget);
H A DGammaFontRenderer.cpp209 int min = -1; local
217 min = i;
222 if (count <= 1 || min < 0) return;
224 delete mRenderers[min];
225 mRenderers[min] = NULL;
/frameworks/ex/variablespeed/jni/
H A Dmacros.h22 inline float min(float a, float b) { function
/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.cpp52 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy) { argument
54 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT, RS_SAMPLER_WRAP, 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/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/media/libeffects/testlibs/
H A DAudioFormatAdapter.h24 #define min(x,y) (((x) < (y)) ? (x) : (y)) macro
76 uint32_t numSamplesIter = min(numSamples, mMaxSamplesPerCall);
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackQueueItem.java113 private static final float clip(float value, float min, float max) { argument
114 return value < min ? min : (value < max ? value : max);
/frameworks/native/libs/ui/
H A DRect.cpp22 static inline int32_t min(int32_t a, int32_t b) { function in namespace:android
85 result->right = min(right, with.right);
86 result->bottom = min(bottom, with.bottom);
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp85 template <typename T> inline T min(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/rs/driver/runtime/
H A Drs_core.c101 extern uint32_t __attribute__((overloadable)) min(uint32_t, uint32_t);
102 extern int32_t __attribute__((overloadable)) min(int32_t, int32_t);
110 uint32_t n = min(value, prev);
120 int32_t n = min(value, prev);
153 extern float __attribute__((overloadable)) rsRand(float min, float max);/* {
156 r = r * (max - min) + min;
173 extern int __attribute__((overloadable)) rsRand(int min, int max) { argument
174 return (int)rsRand((float)min, (float)max);
/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.cpp239 void MtpProperty::setFormRange(int min, int max, int step) { argument
243 mMinimumValue.u.i8 = min;
248 mMinimumValue.u.u8 = min;
253 mMinimumValue.u.i16 = min;
258 mMinimumValue.u.u16 = min;
263 mMinimumValue.u.i32 = min;
268 mMinimumValue.u.u32 = min;
273 mMinimumValue.u.i64 = min;
278 mMinimumValue.u.u64 = min;
/frameworks/base/core/jni/android/graphics/
H A DMaskFilter.cpp51 static jlong createClipTable(JNIEnv* env, jobject, jint min, jint max) { argument
52 SkMaskFilter* filter = SkTableMaskFilter::CreateClip(min, max);
/frameworks/base/libs/hwui/utils/
H A DMathUtils.h75 static inline T min(T a, T b) { function in class:android::uirenderer::MathUtils
81 return min(max(a, minValue), maxValue);
/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);

Completed in 602 milliseconds

1234