Home
last modified time | relevance | path

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

12

/frameworks/opt/net/voip/src/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/av/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/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java571 public boolean setValue(int mantissa, int exponent, int formatType, int offset) { in setValue() argument
579 exponent = intToSignedBits(exponent, 4); in setValue()
582 mValue[offset] += (byte)((exponent & 0x0F) << 4); in setValue()
587 exponent = intToSignedBits(exponent, 8); in setValue()
591 mValue[offset] += (byte)(exponent & 0xFF); in setValue()
648 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); in bytesToFloat() local
649 return (float)(mantissa * Math.pow(10, exponent)); in bytesToFloat()
/frameworks/av/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/av/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/base/core/jni/
Dandroid_opengl_GLES10Ext.cpp333 GLint *exponent = (GLint *) 0; in android_glQueryMatrixxOES___3II_3II() local
379 exponent = exponent_base + exponentOffset; in android_glQueryMatrixxOES___3II_3II()
383 (GLint *)exponent in android_glQueryMatrixxOES___3II_3II()
416 GLint *exponent = (GLint *) 0; in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() local
425exponent = (GLint *)getPointer(_env, exponent_buf, &_exponentArray, &_exponentRemaining, &_exponen… in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
436 if (exponent == NULL) { in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
438 exponent = (GLint *) (_exponentBase + _exponentBufferOffset); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
442 (GLint *)exponent in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
447 releasePointer(_env, _exponentArray, exponent, _exception ? JNI_FALSE : JNI_TRUE); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
/frameworks/av/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/native/opengl/tools/glgen/specs/gles11/
DGLES10Ext.spec1 GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
Dchecks.spec80 glQueryMatrixxOES check mantissa 16 check exponent 16 return -1
/frameworks/native/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/av/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/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp285 int32_t exponent = (mantissa >> 4) & 7; in DecodeMLaw() local
286 int32_t segment = exponent + 1; in DecodeMLaw()
291 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33; in DecodeMLaw()
/frameworks/native/opengl/libagl/
Dfp.h53 inline int exponent(GLfloat) CONST;
144 int exponent(GLfloat v) { in exponent() function
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java1155 int[] exponent, in glQueryMatrixxOES() argument
1163 java.nio.IntBuffer exponent in glQueryMatrixxOES() argument
/frameworks/rs/scriptc/
Drs_cl.rsh485 * Return the mantissa and place the exponent into iptr[0]
502 * Return the integer exponent of a value
569 * Compute the exponent of the value.
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in223 GLbitfield API_ENTRY(glQueryMatrixxOES)(GLfixed mantissa[16], GLint exponent[16]) {
224 CALL_GL_API_RETURN(glQueryMatrixxOES, mantissa, exponent);
/frameworks/native/opengl/libs/
Ddebug.in193 …ixxOES, (GLfixed mantissa[16], GLint exponent[16]), (mantissa, exponent), 2, "GLfixed", mantissa, …

12