/frameworks/opt/net/voip/src/jni/rtp/ |
D | G711Codec.cpp | 60 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/ |
D | log2.c | 59 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/ml/nn/runtime/test/specs/V1_3/ |
D | pow_same_shape.mod.py | 17 exponent = Input("exponent", "TENSOR_FLOAT32", "{3, 2, 1}") variable 24 model = Model().Operation("POW", base, exponent).To(output).IntroducedIn("V1_2") 27 exponent: exponent_data,
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | pow.mod.py | 35 for exponent, output, exponent_data, output_data in zip(exponents, outputs, exponents_data, outputs… 36 model = Model().Operation("POW", base, exponent).To(output) 39 exponent: exponent_data,
|
/frameworks/av/media/codecs/g711/decoder/ |
D | g711DecMlaw.cpp | 27 int32_t exponent = (mantissa >> 4) & 7; in DecodeMLaw() local 28 int32_t segment = exponent + 1; in DecodeMLaw() 33 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33; in DecodeMLaw()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | log2_norm.cpp | 199 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()
|
D | pow2.cpp | 177 Word16 exponent, /* (i) : Integer part. (range: 0<=val<=30) */ in Pow2() argument 198 exp = sub(30, exponent, pOverflow); in Pow2()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattCharacteristic.java | 666 public boolean setValue(int mantissa, int exponent, int formatType, int offset) { in setValue() argument 674 exponent = intToSignedBits(exponent, 4); in setValue() 677 mValue[offset] += (byte) ((exponent & 0x0F) << 4); in setValue() 682 exponent = intToSignedBits(exponent, 8); in setValue() 686 mValue[offset] += (byte) (exponent & 0xFF); in setValue() 743 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); in bytesToFloat() local 744 return (float) (mantissa * Math.pow(10, exponent)); in bytesToFloat()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | log2.h | 49 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/ |
D | GLES10Ext.java | 33 int[] exponent, in glQueryMatrixxOES() argument 41 java.nio.IntBuffer exponent in glQueryMatrixxOES() argument
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
D | GL10Ext.java | 27 int[] exponent, in glQueryMatrixxOES() argument 33 java.nio.IntBuffer exponent in glQueryMatrixxOES() argument
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | pvamrwb_math_op.cpp | 492 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()
|
D | pvamrwb_math_op.h | 97 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/core/jni/ |
D | android_opengl_GLES10Ext.cpp | 436 GLint *exponent = (GLint *) 0; in android_glQueryMatrixxOES___3II_3II() local 482 exponent = exponent_base + exponentOffset; in android_glQueryMatrixxOES___3II_3II() 486 (GLint *)exponent in android_glQueryMatrixxOES___3II_3II() 520 GLint *exponent = (GLint *) 0; in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() local 541 …exponent = (GLint *)getPointer(_env, exponent_buf, (jarray*)&_exponentArray, &_exponentRemaining, … in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 552 if (exponent == NULL) { in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 554 exponent = (GLint *) (_exponentBase + _exponentBufferOffset); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 558 (GLint *)exponent in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() 563 _env->ReleaseIntArrayElements(_exponentArray, (jint*)exponent, _exception ? JNI_ABORT : 0); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
|
/frameworks/ml/nn/common/operations/ |
D | GroupedConv2D.cpp | 122 int exponent; in groupedConvQuant8() local 123 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in groupedConvQuant8() 124 outputShift = -exponent; in groupedConvQuant8() 225 int exponent; in groupedConvQuant8PerChannel() local 226 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in groupedConvQuant8PerChannel() 227 outputShift[i] = -exponent; in groupedConvQuant8PerChannel()
|
D | TransposeConv2D.cpp | 211 int exponent; in transposeConvNhwc() local 212 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc() 213 outputShift = -exponent; in transposeConvNhwc() 352 int exponent; in transposeConvQuant8PerChannelNhwc() local 353 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc() 354 outputShift[i] = -exponent; in transposeConvQuant8PerChannelNhwc()
|
D | FullyConnected.cpp | 123 int exponent; in fullyConnectedQuant8() local 124 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8() 125 outputShift = -exponent; in fullyConnectedQuant8()
|
/frameworks/native/opengl/tools/glgen/specs/jsr239/ |
D | glspec-1.0ext | 1 GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES10Ext.spec | 1 GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | pow2.h | 103 Word16 exponent, /* (i) : Integer part. (range: 0<=val<=30) */
|
D | log2_norm.h | 108 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */
|
/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. 2036 * exponent: If exponent is not null, *exponent will be set to the exponent of v. 2039 frexp(float v, int* exponent); 2042 frexp(float2 v, int2* exponent); 2045 frexp(float3 v, int3* exponent); 2048 frexp(float4 v, int4* exponent); 2052 frexp(half v, int* exponent); 2057 frexp(half2 v, int2* exponent); 2062 frexp(half3 v, int3* exponent); [all …]
|
/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>. 1212 summary: Base two exponent 1214 Returns the base two exponent of a value, where the mantissa is between 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). 1266 arg: int exponent 1275 arg: int exponent 1424 summary: Base two exponent [all …]
|
/frameworks/native/opengl/libagl/ |
D | fp.h | 53 inline int exponent(GLfloat) CONST; 144 int exponent(GLfloat v) { in exponent() function
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 371 int32_t exponent = (mantissa >> 4) & 7; in DecodeMLaw() local 372 int32_t segment = exponent + 1; in DecodeMLaw() 377 int32_t abs = (0x80L << exponent) + step * mantissa + step / 2 - 4 * 33; in DecodeMLaw()
|