/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 | 666 public boolean setValue(int mantissa, int exponent, int formatType, int offset) { in setValue() argument 673 mantissa = intToSignedBits(mantissa, 12); in setValue() 675 mValue[offset++] = (byte) (mantissa & 0xFF); in setValue() 676 mValue[offset] = (byte) ((mantissa >> 8) & 0x0F); in setValue() 681 mantissa = intToSignedBits(mantissa, 24); in setValue() 683 mValue[offset++] = (byte) (mantissa & 0xFF); in setValue() 684 mValue[offset++] = (byte) ((mantissa >> 8) & 0xFF); in setValue() 685 mValue[offset++] = (byte) ((mantissa >> 16) & 0xFF); in setValue() 741 int mantissa = unsignedToSigned(unsignedByteToInt(b0) in bytesToFloat() local 744 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 | 433 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES___3II_3II() local 459 mantissa = mantissa_base + mantissaOffset; in android_glQueryMatrixxOES___3II_3II() 485 (GLfixed *)mantissa, in android_glQueryMatrixxOES___3II_3II() 518 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() local 528 …mantissa = (GLfixed *)getPointer(_env, mantissa_buf, (jarray*)&_mantissaArray, &_mantissaRemaining… in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 548 if (mantissa == NULL) { in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 550 mantissa = (GLfixed *) (_mantissaBase + _mantissaBufferOffset); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 557 (GLfixed *)mantissa, in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 566 _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 | 4116 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES___3II_3II() local 4142 mantissa = mantissa_base + mantissaOffset; in android_glQueryMatrixxOES___3II_3II() 4168 (GLfixed *)mantissa, in android_glQueryMatrixxOES___3II_3II() 4201 GLfixed *mantissa = (GLfixed *) 0; in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() local 4211 …mantissa = (GLfixed *)getPointer(_env, mantissa_buf, (jarray*)&_mantissaArray, &_mantissaRemaining… in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 4231 if (mantissa == NULL) { in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 4233 mantissa = (GLfixed *) (_mantissaBase + _mantissaBufferOffset); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 4240 (GLfixed *)mantissa, in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 4249 _env->ReleaseIntArrayElements(_mantissaArray, (jint*)mantissa, _exception ? JNI_ABORT : 0); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
|
/frameworks/av/media/codec2/components/g711/ |
D | C2SoftG711Dec.cpp | 260 int32_t mantissa = ~x; in DecodeMLaw() local 261 int32_t exponent = (mantissa >> 4) & 7; in DecodeMLaw() 263 mantissa &= 0x0f; in DecodeMLaw() 267 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33; in DecodeMLaw()
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 370 int32_t mantissa = ~x; in DecodeMLaw() local 371 int32_t exponent = (mantissa >> 4) & 7; in DecodeMLaw() 373 mantissa &= 0x0f; in DecodeMLaw() 377 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/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 681 int mantissa = (int)( in computeTypedValue() 684 mantissa = (-mantissa) & TypedValue.COMPLEX_MANTISSA_MASK; in computeTypedValue() 688 | (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 | 1156 int[] mantissa, in glQueryMatrixxOES() argument 1165 java.nio.IntBuffer mantissa, in glQueryMatrixxOES() argument
|
/frameworks/base/tools/aapt2/ |
D | ResourceValues.cpp | 425 const uint64_t mantissa = uint64_t{(complex_value >> Res_value::COMPLEX_MANTISSA_SHIFT) & in ComplexToString() 428 const float value = mantissa * (1.0f / (1 << 23)); in ComplexToString()
|
/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/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | math_fp16.rscript | 358 // No. of possible values for mantissa = 2 ^ 10 = 1024
|
/frameworks/native/opengl/include/GLES/ |
D | glext.h | 386 typedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent); 388 GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
|
/frameworks/native/opengl/libs/ |
D | entries_gles1.in | 235 GL_ENTRY(GLbitfield, glQueryMatrixxOES, GLfixed *mantissa, GLint *exponent)
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 5353 int32_t mantissa = (int32_t)( in stringToFloat() local 5356 mantissa = (-mantissa) & Res_value::COMPLEX_MANTISSA_MASK; in stringToFloat() 5360 | (mantissa<<Res_value::COMPLEX_MANTISSA_SHIFT); in stringToFloat()
|