Searched defs:exponent (Results 1 - 19 of 19) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlog2_norm.cpp93 exponent = pointer to the integer part of Log2 (of type Word16)
99 exponent points to the newly calculated integer part of Log2
118 1. exponent = 30 - norm_exponent
140 Word16 *exponent, // (o) : Integer part of Log2. (range: 0<=val<=30)
149 *exponent = 0;
154 *exponent = sub (30, exp);
199 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30)*/
208 *exponent = 0;
213 /* Calculate exponent portion of Log2 */
214 *exponent
196 Log2_norm( Word32 L_x, Word16 exp, Word16 *exponent, Word16 *fraction ) argument
[all...]
H A Dpow2.cpp82 exponent = Integer part whose valid range is: 0 <= value <= 30 (Word16)
103 This function computes L_x = pow(2.0, exponent.fraction)
110 4- L_x = L_x >> (30-exponent) (with rounding)
126 Word16 exponent, // (i) : Integer part. (range: 0<=val<=30)
143 exp = sub (30, exponent);
177 Word16 exponent, /* (i) : Integer part. (range: 0<=val<=30) */
198 exp = sub(30, exponent, pOverflow);
176 Pow2( Word16 exponent, Word16 fraction, Flag *pOverflow ) argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dlog2.c41 * normalized, and exp is the normalisation exponent
48 * 1- exponent = 30-norm_exponent
59 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
67 *exponent = 0;
71 *exponent = (30 - exp);
100 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
107 Log2_norm ((L_x << exp), exp, exponent, fraction);
56 Log2_norm( Word32 L_x, Word16 exp, Word16 *exponent, Word16 *fraction ) argument
98 Log2( Word32 L_x, Word16 *exponent, Word16 *fraction ) argument
/frameworks/base/opengl/java/android/opengl/
H A DGLES10Ext.java28 // C function GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
33 int[] exponent,
37 // C function GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
41 java.nio.IntBuffer exponent
30 glQueryMatrixxOES( int[] mantissa, int mantissaOffset, int[] exponent, int exponentOffset ) argument
H A DGLErrorWrapper.java947 int[] exponent, int exponentOffset) {
950 exponent, exponentOffset);
955 public int glQueryMatrixxOES(IntBuffer mantissa, IntBuffer exponent) { argument
957 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, exponent);
946 glQueryMatrixxOES(int[] mantissa, int mantissaOffset, int[] exponent, int exponentOffset) argument
H A DGLLogWrapper.java2745 int[] exponent, int exponentOffset) {
2748 arg("exponent", Arrays.toString(exponent));
2751 exponent, exponentOffset);
2753 returns(toString(16, FORMAT_INT, exponent, exponentOffset));
2758 public int glQueryMatrixxOES(IntBuffer mantissa, IntBuffer exponent) { argument
2761 arg("exponent", exponent.toString());
2763 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, exponent);
2765 returns(toString(16, FORMAT_INT, exponent));
2744 glQueryMatrixxOES(int[] mantissa, int mantissaOffset, int[] exponent, int exponentOffset) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10Ext.java27 int[] exponent,
33 java.nio.IntBuffer exponent
24 glQueryMatrixxOES( int[] mantissa, int mantissaOffset, int[] exponent, int exponentOffset ) argument
/frameworks/base/voip/jni/rtp/
H A DG711Codec.cpp60 int exponent = gExponents[sample >> 8]; local
61 int mantissa = (sample >> (exponent + 3)) & 0x0F;
62 ulaws[i] = ~(sign | (exponent << 4) | mantissa);
75 int exponent = (ulaw >> 4) & 0x07; local
77 int sample = (((mantissa << 3) + 132) << exponent) - 132;
110 int exponent = gExponents[sample >> 8]; local
111 int mantissa = (sample >> (exponent == 0 ? 4 : exponent + 3)) & 0x0F;
112 alaws[i] = (sign | (exponent << 4) | mantissa) ^ 0xD5;
125 int exponent local
[all...]
/frameworks/compile/libbcc/runtime/test/Unit/ppc/
H A Dqadd_test.c266 // Some test cases that cover the whole exponent range:
1831 int exponent = ilogb(r.hi); local
1832 exponent = (exponent < -1022 ? -1022 : exponent);
1833 double ulpError = scalbn(error, 106 - exponent);
H A Dqdiv_test.c754 int exponent = ilogb(r.hi); local
755 exponent = (exponent < -1022 ? -1022 : exponent);
756 double ulpError = scalbn(error, 106 - exponent);
H A Dqmul_test.c752 int exponent = ilogb(r.hi); local
753 exponent = (exponent < -1022 ? -1022 : exponent);
754 double ulpError = scalbn(error, 106 - exponent);
H A Dqsub_test.c268 // Some test cases that cover the whole exponent range:
1833 int exponent = ilogb(r.hi); local
1834 exponent = (exponent < -1022 ? -1022 : exponent);
1835 double ulpError = scalbn(error, 106 - exponent);
/frameworks/native/opengl/libagl/
H A Dfp.h53 inline int exponent(GLfloat) CONST;
144 int exponent(GLfloat v) { function in namespace:android::gl
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwb_math_op.cpp325 int16 * exp /* (i/o) : exponent (value = frac x 2^exponent) */
417 * The result is normalized (in Q31) with exponent (0..30).
428 int16 * exp /* (o) : exponent of result (0..+30) */
456 *exp = 30 - sft; /* exponent = 0..30 */
475 * normalized, and exp is the normalisation exponent
482 * 1- exponent = 30-norm_exponent
492 int16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
501 *exponent = 0;
506 *exponent
489 Lg2_normalized( int32 L_x, int16 exp, int16 *exponent, int16 *fraction ) argument
538 amrwb_log_2( int32 L_x, int16 *exponent, int16 *fraction ) argument
547 Lg2_normalized(shl_int32(L_x, exp), exp, exponent, fraction); local
[all...]
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp285 int32_t exponent = (mantissa >> 4) & 7; local
286 int32_t segment = exponent + 1;
291 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33;
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10Ext.cpp101 /* GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent ) */
114 GLint *exponent = (GLint *) 0; local
142 _exceptionMessage = "exponent == null";
160 exponent = exponent_base + exponentOffset;
164 (GLint *)exponent
182 /* GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent ) */
197 GLint *exponent = (GLint *) 0; local
206 exponent = (GLint *)getPointer(_env, exponent_buf, &_exponentArray, &_exponentRemaining, &_exponentBufferOffset);
217 if (exponent == NULL) {
219 exponent
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp3942 /* GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent ) */
3955 GLint *exponent = (GLint *) 0; local
3983 _exceptionMessage = "exponent == null";
4001 exponent = exponent_base + exponentOffset;
4005 (GLint *)exponent
4023 /* GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent ) */
4038 GLint *exponent = (GLint *) 0; local
4047 exponent = (GLint *)getPointer(_env, exponent_buf, &_exponentArray, &_exponentRemaining, &_exponentBufferOffset);
4058 if (exponent == NULL) {
4060 exponent
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java1150 // C function GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
1155 int[] exponent,
1159 // C function GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
1163 java.nio.IntBuffer exponent
1152 glQueryMatrixxOES( int[] mantissa, int mantissaOffset, int[] exponent, int exponentOffset ) argument
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp17132 GLbitfield GLTrace_glQueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]) { argument
17144 // copy argument exponent
17148 arg_exponent->add_intvalue((int)exponent);
17153 GLbitfield retValue = glContext->hooks->gl.glQueryMatrixxOES(mantissa, exponent);
17165 (void *) exponent,

Completed in 329 milliseconds