/frameworks/opt/net/voip/src/jni/rtp/ |
D | G711Codec.cpp | 61 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/ |
D | BluetoothGattCharacteristic.java | 652 public boolean setValue(int mantissa, int exponent, int formatType, int offset) { in setValue() argument 659 mantissa = intToSignedBits(mantissa, 12); in setValue() 661 mValue[offset++] = (byte)(mantissa & 0xFF); in setValue() 662 mValue[offset] = (byte)((mantissa >> 8) & 0x0F); in setValue() 667 mantissa = intToSignedBits(mantissa, 24); in setValue() 669 mValue[offset++] = (byte)(mantissa & 0xFF); in setValue() 670 mValue[offset++] = (byte)((mantissa >> 8) & 0xFF); in setValue() 671 mValue[offset++] = (byte)((mantissa >> 16) & 0xFF); in setValue() 727 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat() local 730 return (float)(mantissa * Math.pow(10, exponent)); in bytesToFloat() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES10Ext.java | 31 int[] mantissa, in glQueryMatrixxOES() argument 40 java.nio.IntBuffer mantissa, in glQueryMatrixxOES() argument
|
D | GLErrorWrapper.java | 946 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()
|
D | GLLogWrapper.java | 2744 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/ |
D | GL10Ext.java | 25 int[] mantissa, in glQueryMatrixxOES() argument 32 java.nio.IntBuffer mantissa, in glQueryMatrixxOES() argument
|
/frameworks/base/core/jni/ |
D | android_opengl_GLES10Ext.cpp | 468 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES___3II_3II() local 494 mantissa = mantissa_base + mantissaOffset; in android_glQueryMatrixxOES___3II_3II() 520 (GLfixed *)mantissa, in android_glQueryMatrixxOES___3II_3II() 552 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() local 562 …mantissa = (GLfixed *)getPointer(_env, mantissa_buf, (jarray*)&_mantissaArray, &_mantissaRemaining… in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 582 if (mantissa == NULL) { in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 584 mantissa = (GLfixed *) (_mantissaBase + _mantissaBufferOffset); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 591 (GLfixed *)mantissa, in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 600 _env->ReleaseIntArrayElements(_mantissaArray, (jint*)mantissa, _exception ? JNI_ABORT : 0); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
|
D | com_google_android_gles_jni_GLImpl.cpp | 4176 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES___3II_3II() local 4202 mantissa = mantissa_base + mantissaOffset; in android_glQueryMatrixxOES___3II_3II() 4228 (GLfixed *)mantissa, in android_glQueryMatrixxOES___3II_3II() 4260 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() local 4270 …mantissa = (GLfixed *)getPointer(_env, mantissa_buf, (jarray*)&_mantissaArray, &_mantissaRemaining… in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 4290 if (mantissa == NULL) { in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 4292 mantissa = (GLfixed *) (_mantissaBase + _mantissaBufferOffset); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 4299 (GLfixed *)mantissa, in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 4308 _env->ReleaseIntArrayElements(_mantissaArray, (jint*)mantissa, _exception ? JNI_ABORT : 0); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 368 int32_t mantissa = ~x; in DecodeMLaw() local 369 int32_t exponent = (mantissa >> 4) & 7; in DecodeMLaw() 371 mantissa &= 0x0f; in DecodeMLaw() 375 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33; in DecodeMLaw()
|
/frameworks/native/opengl/tools/glgen/specs/jsr239/ |
D | glspec-1.0ext | 1 GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
|
D | glspec-checks | 27 glQueryMatrixxOES check mantissa 16 check exponent 16 return -1
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES10Ext.spec | 1 GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
|
D | checks.spec | 93 glQueryMatrixxOES check mantissa 16 check exponent 16 return -1
|
/frameworks/native/opengl/libagl/ |
D | fp.h | 54 inline int32_t mantissa(GLfloat) CONST; 153 int32_t mantissa(GLfloat v) { in mantissa() function
|
D | matrix.cpp | 1131 m[i] = mantissa(f[i]); in glQueryMatrixxOES()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 700 int mantissa = (int)( in computeTypedValue() 703 mantissa = (-mantissa) & TypedValue.COMPLEX_MANTISSA_MASK; in computeTypedValue() 707 | (mantissa<<TypedValue.COMPLEX_MANTISSA_SHIFT); in computeTypedValue()
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 1113 summary: Binary mantissa and exponent 1115 Returns the binary mantissa and exponent of v, i.e. <code>v == mantissa * 2 ^ exponent</code>. 1117 The mantissa is always between 0.5 (inclusive) and 1.0 (exclusive). 1214 Returns the base two exponent of a value, where the mantissa is between 1219 Because of the difference in mantissa, this number is one less than is returned by @frexp(). 1242 summary: Creates a floating point from mantissa and exponent 1244 Returns the floating point created from the mantissa and exponent, 1245 i.e. (mantissa * 2 ^ exponent). 1426 Returns the base two exponent of a value, where the mantissa is between 1431 Because of the difference in mantissa, this number is one less than is returned by frexp().
|
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/ |
D | MainActivity.java | 367 byte mantissa = (byte)(i); in initFloatAllocations() 369 buffer_half[i] = (short)((exponent << 8) | mantissa); in initFloatAllocations()
|
/frameworks/rs/script_api/include/ |
D | rs_math.rsh | 2026 * frexp: Binary mantissa and exponent 2028 * Returns the binary mantissa and exponent of v, i.e. v == mantissa * 2 ^ exponent. 2030 * The mantissa is always between 0.5 (inclusive) and 1.0 (exclusive). 2199 * Returns the base two exponent of a value, where the mantissa is between 2204 * Because of the difference in mantissa, this number is one less than is returned by frexp(). 2241 * ldexp: Creates a floating point from mantissa and exponent 2243 * Returns the floating point created from the mantissa and exponent, 2244 * i.e. (mantissa * 2 ^ exponent). 2249 * mantissa: Mantissa. 2253 ldexp(float mantissa, int exponent); [all …]
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | GLImpl.java | 1153 int[] mantissa, in glQueryMatrixxOES() argument 1162 java.nio.IntBuffer mantissa, in glQueryMatrixxOES() argument
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | glext_api.in | 235 GLbitfield API_ENTRY(glQueryMatrixxOES)(GLfixed *mantissa, GLint *exponent) { 236 CALL_GL_API_RETURN(glQueryMatrixxOES, mantissa, exponent);
|
/frameworks/native/opengl/include/GLES/ |
D | glext.h | 388 typedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent); 390 GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 5147 int32_t mantissa = (int32_t)( in stringToFloat() local 5150 mantissa = (-mantissa) & Res_value::COMPLEX_MANTISSA_MASK; in stringToFloat() 5154 | (mantissa<<Res_value::COMPLEX_MANTISSA_SHIFT); in stringToFloat()
|
/frameworks/native/opengl/libs/ |
D | entries.in | 690 GL_ENTRY(GLbitfield, glQueryMatrixxOES, GLfixed *mantissa, GLint *exponent)
|