Home
last modified time | relevance | path

Searched refs:exponent (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/voip/jni/rtp/
DG711Codec.cpp60 int exponent = gExponents[sample >> 8]; in encode() local
61 int mantissa = (sample >> (exponent + 3)) & 0x0F; in encode()
62 ulaws[i] = ~(sign | (exponent << 4) | mantissa); in encode()
75 int exponent = (ulaw >> 4) & 0x07; in decode() local
77 int sample = (((mantissa << 3) + 132) << exponent) - 132; in decode()
110 int exponent = gExponents[sample >> 8]; in encode() local
111 int mantissa = (sample >> (exponent == 0 ? 4 : exponent + 3)) & 0x0F; in encode()
112 alaws[i] = (sign | (exponent << 4) | mantissa) ^ 0xD5; in encode()
125 int exponent = (alaw >> 4) & 0x07; in decode() local
127 int sample = (exponent == 0 ? (mantissa << 4) + 8 : in decode()
[all …]
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
Dlog2.c59 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ in Log2_norm() argument
67 *exponent = 0; in Log2_norm()
71 *exponent = (30 - exp); in Log2_norm()
100 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ in Log2() argument
107 Log2_norm ((L_x << exp), exp, exponent, fraction); in Log2()
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
Dlog2_norm.cpp199 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30)*/ in Log2_norm() argument
208 *exponent = 0; in Log2_norm()
214 *exponent = 30 - exp; in Log2_norm()
Dpow2.cpp177 Word16 exponent, /* (i) : Integer part. (range: 0<=val<=30) */ in Pow2() argument
198 exp = sub(30, exponent, pOverflow); in Pow2()
/frameworks/base/core/jni/
Dandroid_opengl_GLES10Ext.cpp115 GLint *exponent = (GLint *) 0; in android_glQueryMatrixxOES___3II_3II() local
155 exponent = exponent_base + exponentOffset; in android_glQueryMatrixxOES___3II_3II()
159 (GLint *)exponent in android_glQueryMatrixxOES___3II_3II()
185 GLint *exponent = (GLint *) 0; in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() local
193 exponent = (GLint *)getPointer(_env, exponent_buf, &_exponentArray, &_exponentRemaining); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
201 (GLint *)exponent in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
206 releasePointer(_env, _mantissaArray, exponent, _exception ? JNI_FALSE : JNI_TRUE); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/
Dlog2.h49 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
56 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
/frameworks/base/opengl/java/android/opengl/
DGLES10Ext.java33 int[] exponent, in glQueryMatrixxOES() argument
41 java.nio.IntBuffer exponent in glQueryMatrixxOES() argument
DGLErrorWrapper.java947 int[] exponent, int exponentOffset) { in glQueryMatrixxOES() argument
950 exponent, exponentOffset); in glQueryMatrixxOES()
955 public int glQueryMatrixxOES(IntBuffer mantissa, IntBuffer exponent) { in glQueryMatrixxOES() argument
957 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, exponent); in glQueryMatrixxOES()
DGLLogWrapper.java2745 int[] exponent, int exponentOffset) { in glQueryMatrixxOES() argument
2748 arg("exponent", Arrays.toString(exponent)); in glQueryMatrixxOES()
2751 exponent, exponentOffset); in glQueryMatrixxOES()
2753 returns(toString(16, FORMAT_INT, exponent, exponentOffset)); in glQueryMatrixxOES()
2758 public int glQueryMatrixxOES(IntBuffer mantissa, IntBuffer exponent) { in glQueryMatrixxOES() argument
2761 arg("exponent", exponent.toString()); in glQueryMatrixxOES()
2763 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, exponent); in glQueryMatrixxOES()
2765 returns(toString(16, FORMAT_INT, exponent)); in glQueryMatrixxOES()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10Ext.java27 int[] exponent, in glQueryMatrixxOES() argument
33 java.nio.IntBuffer exponent in glQueryMatrixxOES() argument
/frameworks/compile/libbcc/runtime/test/Unit/ppc/
Dqadd_test.c1831 int exponent = ilogb(r.hi); in testAccuracy() local
1832 exponent = (exponent < -1022 ? -1022 : exponent); in testAccuracy()
1833 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
Dqsub_test.c1833 int exponent = ilogb(r.hi); in testAccuracy() local
1834 exponent = (exponent < -1022 ? -1022 : exponent); in testAccuracy()
1835 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
Dqdiv_test.c754 int exponent = ilogb(r.hi); in testAccuracy() local
755 exponent = (exponent < -1022 ? -1022 : exponent); in testAccuracy()
756 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
Dqmul_test.c752 int exponent = ilogb(r.hi); in testAccuracy() local
753 exponent = (exponent < -1022 ? -1022 : exponent); in testAccuracy()
754 double ulpError = scalbn(error, 106 - exponent); in testAccuracy()
/frameworks/base/media/libstagefright/codecs/amrwb/src/
Dpvamrwb_math_op.cpp492 int16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ in Lg2_normalized() argument
501 *exponent = 0; in Lg2_normalized()
506 *exponent = 30 - exp; in Lg2_normalized()
540 int16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ in amrwb_log_2() argument
547 Lg2_normalized(shl_int32(L_x, exp), exp, exponent, fraction); in amrwb_log_2()
Dpvamrwb_math_op.h97 int16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
104 int16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
/frameworks/base/opengl/tools/glgen/specs/gles11/
DGLES10Ext.spec1 GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
Dchecks.spec29 glQueryMatrixxOES check mantissa 16 check exponent 16 return -1
/frameworks/base/opengl/tools/glgen/specs/jsr239/
Dglspec-1.0ext1 GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
Dglspec-checks27 glQueryMatrixxOES check mantissa 16 check exponent 16 return -1
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/
Dpow2.h103 Word16 exponent, /* (i) : Integer part. (range: 0<=val<=30) */
Dlog2_norm.h108 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
/frameworks/base/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp283 int32_t exponent = (mantissa >> 4) & 7; in DecodeMLaw() local
284 int32_t segment = exponent + 1; in DecodeMLaw()
289 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33; in DecodeMLaw()
/frameworks/base/media/libstagefright/codecs/aacdec/
Dfft_rx4_short.cpp227 Int exponent = 0; in fft_rx4_short() local
238 exponent = exp; /* keeps track of # of shifts */ in fft_rx4_short()
466 return (exponent); in fft_rx4_short()
/frameworks/base/opengl/libagl/
Dfp.h53 inline int exponent(GLfloat) CONST;
144 int exponent(GLfloat v) { in exponent() function

12