/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | block.cpp | 82 int16 *coef = video->block; in dct_luma() local 91 coef += ((blkidx & 0x3) << 2) + ((blkidx >> 2) << 6); /* point to the 4x4 block */ in dct_luma() 109 coef[0] = r0 + r1; in dct_luma() 110 coef[2] = r0 - r1; in dct_luma() 111 coef[1] = (r3 << 1) + r2; in dct_luma() 112 coef[3] = r3 - (r2 << 1); in dct_luma() 114 coef += 16; in dct_luma() 120 coef -= 64; in dct_luma() 125 r0 = coef[0] + coef[48]; in dct_luma() 126 r3 = coef[0] - coef[48]; in dct_luma() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | az_isp.c | 69 Word16 *coef; in Az_isp() local 110 coef = f1; in Az_isp() 113 ylow = Chebps2(xlow, coef, order); in Az_isp() 121 ylow = Chebps2(xlow, coef, order); in Az_isp() 128 ymid = Chebps2(xmid, coef, order); in Az_isp() 170 coef = f2; in Az_isp() 175 coef = f1; in Az_isp() 178 ylow = Chebps2(xlow, coef, order); in Az_isp()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | az_lsp.cpp | 582 Word16 *coef; in Az_lsp() local 630 coef = f1; in Az_lsp() 633 ylow = Chebps(xlow, coef, NC, pOverflow); in Az_lsp() 643 ylow = Chebps(xlow, coef, NC, pOverflow); in Az_lsp() 655 ymid = Chebps(xmid, coef, NC, pOverflow); in Az_lsp() 707 coef = f2; in Az_lsp() 712 coef = f1; in Az_lsp() 715 ylow = Chebps(xlow, coef, NC, pOverflow); in Az_lsp()
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectsMath.h | 116 #define MULT_AUDIO_COEF(audio,coef) /*lint -e704 <avoid divide for performance>*/ \ argument 119 ((int32_t)(audio)) * ((int32_t)(coef)) \ 134 #define MULT_AUDIO_WET_DRY_COEF(audio,coef) /*lint -e(702) <avoid divide for performance>*/ \ argument 137 ((int32_t)(audio)) * ((int32_t)(coef)) \ 274 #define MULT_DENTS_COEF(dents,coef) /*lint -e704 <avoid divide for performance>*/ \ argument 277 ((int32_t)(dents)) * ((int32_t)(coef)) \
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_CalcCoef.c | 109 LVM_INT16 coef; in LVEQNB_DoublePrecCoefs() local 146 coef = LVEQNB_DPCosCoef[i]; /* Get the nth coefficient */ in LVEQNB_DoublePrecCoefs() 147 CosErr += (factor * coef) >> 5; /* The nth partial sum */ in LVEQNB_DoublePrecCoefs() 240 LVM_INT16 coef; in LVEQNB_SinglePrecCoefs() local 277 coef = LVEQNB_CosCoef[i]; /* Get the nth coefficient */ in LVEQNB_SinglePrecCoefs() 278 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */ in LVEQNB_SinglePrecCoefs()
|
/frameworks/base/core/java/android/widget/ |
D | Scroller.java | 121 float x, tx, coef; 124 coef = 3.0f * x * (1.0f - x); 125 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x; 130 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x; 136 coef = 3.0f * y * (1.0f - y); 137 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y; 142 SPLINE_TIME[i] = coef * ((1.0f - y) * P1 + y * P2) + y * y * y;
|
D | OverScroller.java | 611 float x, tx, coef; 614 coef = 3.0f * x * (1.0f - x); 615 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x; 620 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x; 626 coef = 3.0f * y * (1.0f - y); 627 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y; 632 SPLINE_TIME[i] = coef * ((1.0f - y) * P1 + y * P2) + y * y * y;
|
D | Editor.java | 3710 final float coef = 1.0f - (float) duration / FADE_OUT_DURATION; in updatePaint() local 3713 ((int) (highlightColorAlpha * coef) << 24); in updatePaint()
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Control.c | 484 LVM_INT16 coef; in LVPSA_BPSinglePrecCoefs() local 524 coef = LVPSA_CosCoef[i]; /* Get the nth coefficient */ in LVPSA_BPSinglePrecCoefs() 525 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */ in LVPSA_BPSinglePrecCoefs() 607 LVM_INT16 coef; in LVPSA_BPDoublePrecCoefs() local 646 coef = LVPSA_DPCosCoef[i]; /* Get the nth coefficient */ in LVPSA_BPDoublePrecCoefs() 647 CosErr += (factor * coef) >> 5; /* The nth partial sum */ in LVPSA_BPDoublePrecCoefs()
|
/frameworks/base/media/jni/ |
D | android_media_ResampleInputStream.cpp | 39 #define FIR_COEF(coef) (short)(0x10000 * coef) argument
|
/frameworks/rs/driver/ |
D | rsdIntrinsicColorMatrix.cpp | 57 extern "C" void rsdIntrinsicColorMatrix4x4_K(void *dst, const void *src, const short *coef, uint32_… 58 extern "C" void rsdIntrinsicColorMatrix3x3_K(void *dst, const void *src, const short *coef, uint32_… 59 extern "C" void rsdIntrinsicColorMatrixDot_K(void *dst, const void *src, const short *coef, uint32_…
|
D | rsdIntrinsicConvolve3x3.cpp | 51 …x3_K(void *dst, const void *y0, const void *y1, const void *y2, const short *coef, uint32_t count);
|
D | rsdIntrinsicConvolve5x5.cpp | 99 const short *coef, uint32_t count);
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
D | rsdIntrinsicColorMatrix.cpp | 57 extern "C" void rsdIntrinsicColorMatrix4x4_K(void *dst, const void *src, const short *coef, uint32_… 58 extern "C" void rsdIntrinsicColorMatrix3x3_K(void *dst, const void *src, const short *coef, uint32_… 59 extern "C" void rsdIntrinsicColorMatrixDot_K(void *dst, const void *src, const short *coef, uint32_…
|
D | rsdIntrinsicConvolve3x3.cpp | 51 …x3_K(void *dst, const void *y0, const void *y1, const void *y2, const short *coef, uint32_t count);
|
D | rsdIntrinsicConvolve5x5.cpp | 99 const short *coef, uint32_t count);
|
/frameworks/base/core/java/android/speech/srec/ |
D | UlawEncoderInputStream.java | 78 int coef = MAX_ULAW * (1 << SCALE_BITS) / max; in encode() local 82 pcm = (pcm * coef) >> SCALE_BITS; in encode()
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | stat_bits.c | 130 ptcoef = tnsInfo->coef + i*TNS_MAX_ORDER_SHORT; in tnsCount() 142 ptcoef = tnsInfo->coef + i*TNS_MAX_ORDER_SHORT; in tnsCount()
|
D | bitenc.c | 317 if (tnsInfo.coef[i*TNS_MAX_ORDER_SHORT+k] > 3 || in encodeTnsData() 318 tnsInfo.coef[i*TNS_MAX_ORDER_SHORT+k] < -4) { in encodeTnsData() 328 if (tnsInfo.coef[i*TNS_MAX_ORDER_SHORT+k] > 1 || in encodeTnsData() 329 tnsInfo.coef[i*TNS_MAX_ORDER_SHORT+k] < -2) { in encodeTnsData() 339 WriteBits(hBitStream,tnsInfo.coef[i*TNS_MAX_ORDER_SHORT+k] & rmask[coefBits],coefBits); in encodeTnsData()
|
D | tns.c | 415 tnsInfo->coef, in TnsEncode() 419 Index2Parcor(tnsInfo->coef, in TnsEncode() 460 &tnsInfo->coef[subBlockNumber*TNS_MAX_ORDER_SHORT], in TnsEncode() 464 Index2Parcor(&tnsInfo->coef[subBlockNumber*TNS_MAX_ORDER_SHORT], in TnsEncode()
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
D | tns.h | 105 Word16 coef[TRANS_FAC*TNS_MAX_ORDER_SHORT]; member
|
/frameworks/base/core/java/android/hardware/ |
D | SensorManager.java | 1119 final float coef = 1.0f / 5.255f; in getAltitude() local 1120 return 44330.0f * (1.0f - (float)Math.pow(p/p0, coef)); in getAltitude()
|