Home
last modified time | relevance | path

Searched refs:exponent (Results 1 – 25 of 34) 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/module/codecs/amrwb/enc/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/av/media/module/codecs/g711/decoder/
Dg711DecMlaw.cpp27 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/module/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/module/codecs/amrwb/enc/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/apct-tests/perftests/core/src/android/libcore/
DBigIntegerPerfTest.java174 BigInteger exponent = BigInteger.TEN.pow(i / 2 - 1); in repeatModPow() local
176 BigInteger newRes = base.modPow(exponent, product); in repeatModPow()
177 if (!newRes.mod(odd1).equals(base.modPow(exponent, odd1))) { in repeatModPow()
185 + base.modPow(exponent, odd1) in repeatModPow()
189 + exponent); in repeatModPow()
191 if (!newRes.mod(odd2).equals(base.modPow(exponent, odd2))) { in repeatModPow()
/frameworks/base/opengl/java/android/opengl/
DGLES10Ext.java33 int[] exponent, in glQueryMatrixxOES() argument
41 java.nio.IntBuffer exponent in glQueryMatrixxOES() argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10Ext.java27 int[] exponent, in glQueryMatrixxOES() argument
33 java.nio.IntBuffer exponent in glQueryMatrixxOES() argument
/frameworks/av/media/module/codecs/amrwb/dec/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/base/core/jni/
Dandroid_opengl_GLES10Ext.cpp437 GLint *exponent = (GLint *) 0; in android_glQueryMatrixxOES___3II_3II() local
483 exponent = exponent_base + exponentOffset; in android_glQueryMatrixxOES___3II_3II()
487 (GLint *)exponent in android_glQueryMatrixxOES___3II_3II()
521 GLint *exponent = (GLint *) 0; in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() local
542exponent = (GLint *)getPointer(_env, exponent_buf, (jarray*)&_exponentArray, &_exponentRemaining, … in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
553 if (exponent == NULL) { in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
555 exponent = (GLint *) (_exponentBase + _exponentBufferOffset); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
559 (GLint *)exponent in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
564 _env->ReleaseIntArrayElements(_exponentArray, (jint*)exponent, _exception ? JNI_ABORT : 0); in android_glQueryMatrixxOES__Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES10Ext.spec1 GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
Dchecks.spec93 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/module/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/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dintrinsics_float.h55 uint16_t exponent; in ExecuteFloatOperationRmm() member
61 if ((fp80_parts.exponent & 0x7fff) == 0x7fff || in ExecuteFloatOperationRmm()
/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/
DSliderHapticFeedbackProvider.kt90 return bookendsHitScale.pow(config.exponent) in scaleOnEdgeCollision()
154 return scale.pow(config.exponent) in scaleOnDragTexture()
DSliderHapticFeedbackConfig.kt49 @FloatRange(from = 0.0, fromInclusive = false) val exponent: Float = 1f / 0.89f, constant in com.android.systemui.haptics.slider.SliderHapticFeedbackConfig
/frameworks/rs/script_api/include/
Drs_math.rsh2026 * 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/
Drs_math.spec1113 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/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp371 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()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript355 // All-zero exponent is for zero and subnormals. All-one exponent is for
356 // Infinity and NaN. Hence number of possible values for exponent = 30

12