Home
last modified time | relevance | path

Searched refs:mantissa (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/opt/net/voip/src/jni/rtp/
DG711Codec.cpp61 int mantissa = (sample >> (exponent + 3)) & 0x0F; in encode() local
62 ulaws[i] = ~(sign | (exponent << 4) | mantissa); in encode()
76 int mantissa = ulaw & 0x0F; in decode() local
77 int sample = (((mantissa << 3) + 132) << exponent) - 132; in decode()
111 int mantissa = (sample >> (exponent == 0 ? 4 : exponent + 3)) & 0x0F; in encode() local
112 alaws[i] = (sign | (exponent << 4) | mantissa) ^ 0xD5; in encode()
126 int mantissa = alaw & 0x0F; in decode() local
127 int sample = (exponent == 0 ? (mantissa << 4) + 8 : in decode()
128 ((mantissa << 3) + 132) << exponent); in decode()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java571 public boolean setValue(int mantissa, int exponent, int formatType, int offset) { in setValue() argument
578 mantissa = intToSignedBits(mantissa, 12); in setValue()
580 mValue[offset++] = (byte)(mantissa & 0xFF); in setValue()
581 mValue[offset] = (byte)((mantissa >> 8) & 0x0F); in setValue()
586 mantissa = intToSignedBits(mantissa, 24); in setValue()
588 mValue[offset++] = (byte)(mantissa & 0xFF); in setValue()
589 mValue[offset++] = (byte)((mantissa >> 8) & 0xFF); in setValue()
590 mValue[offset++] = (byte)((mantissa >> 16) & 0xFF); in setValue()
646 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat() local
649 return (float)(mantissa * Math.pow(10, exponent)); in bytesToFloat()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLES10Ext.java31 int[] mantissa, in glQueryMatrixxOES() argument
40 java.nio.IntBuffer mantissa, in glQueryMatrixxOES() argument
DGLErrorWrapper.java946 public int glQueryMatrixxOES(int[] mantissa, int mantissaOffset, in glQueryMatrixxOES() argument
949 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, mantissaOffset, in glQueryMatrixxOES()
955 public int glQueryMatrixxOES(IntBuffer mantissa, IntBuffer exponent) { in glQueryMatrixxOES() argument
957 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, exponent); in glQueryMatrixxOES()
DGLLogWrapper.java2744 public int glQueryMatrixxOES(int[] mantissa, int mantissaOffset, in glQueryMatrixxOES() argument
2747 arg("mantissa", Arrays.toString(mantissa)); in glQueryMatrixxOES()
2750 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, mantissaOffset, in glQueryMatrixxOES()
2752 returns(toString(16, FORMAT_FIXED, mantissa, mantissaOffset)); in glQueryMatrixxOES()
2758 public int glQueryMatrixxOES(IntBuffer mantissa, IntBuffer exponent) { in glQueryMatrixxOES() argument
2760 arg("mantissa", mantissa.toString()); in glQueryMatrixxOES()
2763 int valid = mgl10Ext.glQueryMatrixxOES(mantissa, exponent); in glQueryMatrixxOES()
2764 returns(toString(16, FORMAT_FIXED, mantissa)); in glQueryMatrixxOES()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10Ext.java25 int[] mantissa, in glQueryMatrixxOES() argument
32 java.nio.IntBuffer mantissa, in glQueryMatrixxOES() argument
/frameworks/base/core/jni/
Dandroid_opengl_GLES10Ext.cpp330 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES___3II_3II() local
356 mantissa = mantissa_base + mantissaOffset; in android_glQueryMatrixxOES___3II_3II()
382 (GLfixed *)mantissa, in android_glQueryMatrixxOES___3II_3II()
414 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() local
418mantissa = (GLfixed *)getPointer(_env, mantissa_buf, &_mantissaArray, &_mantissaRemaining, &_manti… in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
432 if (mantissa == NULL) { in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
434 mantissa = (GLfixed *) (_mantissaBase + _mantissaBufferOffset); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
441 (GLfixed *)mantissa, in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
450 releasePointer(_env, _mantissaArray, mantissa, _exception ? JNI_FALSE : JNI_TRUE); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
Dcom_google_android_gles_jni_GLImpl.cpp3952 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES___3II_3II() local
3978 mantissa = mantissa_base + mantissaOffset; in android_glQueryMatrixxOES___3II_3II()
4004 (GLfixed *)mantissa, in android_glQueryMatrixxOES___3II_3II()
4036 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() local
4040mantissa = (GLfixed *)getPointer(_env, mantissa_buf, &_mantissaArray, &_mantissaRemaining, &_manti… in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
4054 if (mantissa == NULL) { in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
4056 mantissa = (GLfixed *) (_mantissaBase + _mantissaBufferOffset); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
4063 (GLfixed *)mantissa, in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
4072 releasePointer(_env, _mantissaArray, mantissa, _exception ? JNI_FALSE : JNI_TRUE); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp284 int32_t mantissa = ~x; in DecodeMLaw() local
285 int32_t exponent = (mantissa >> 4) & 7; in DecodeMLaw()
287 mantissa &= 0x0f; in DecodeMLaw()
291 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33; in DecodeMLaw()
/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/native/opengl/libagl/
Dfp.h54 inline int32_t mantissa(GLfloat) CONST;
153 int32_t mantissa(GLfloat v) { in mantissa() function
Dmatrix.cpp1131 m[i] = mantissa(f[i]); in glQueryMatrixxOES()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java464 int mantissa = (int)( in computeTypedValue()
467 mantissa = (-mantissa) & TypedValue.COMPLEX_MANTISSA_MASK; in computeTypedValue()
471 | (mantissa<<TypedValue.COMPLEX_MANTISSA_SHIFT); in computeTypedValue()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java1153 int[] mantissa, in glQueryMatrixxOES() argument
1162 java.nio.IntBuffer mantissa, in glQueryMatrixxOES() argument
/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 …itfield, glQueryMatrixxOES, (GLfixed mantissa[16], GLint exponent[16]), (mantissa, exponent), 2, "…
Dtrace.in400 …itfield, glQueryMatrixxOES, (GLfixed mantissa[16], GLint exponent[16]), (mantissa, exponent), 2, "…
Dentries.in400 GL_ENTRY(GLbitfield, glQueryMatrixxOES, GLfixed mantissa[16], GLint exponent[16])
/frameworks/native/opengl/include/GLES/
Dglext.h778 GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES (GLfixed mantissa[16], GLint exponent[16]);
780 typedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed mantissa[16], GLint exponent[16…
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4033 int32_t mantissa = (int32_t)( in stringToFloat() local
4036 mantissa = (-mantissa) & Res_value::COMPLEX_MANTISSA_MASK; in stringToFloat()
4040 | (mantissa<<Res_value::COMPLEX_MANTISSA_SHIFT); in stringToFloat()
/frameworks/rs/scriptc/
Drs_cl.rsh485 * Return the mantissa and place the exponent into iptr[0]
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_api.h556 GLbitfield GLTrace_glQueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]);

12