/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_fs_exec.c | 84 setup_pos_vector(const struct tgsi_interp_coef *coef, 103 const float dadx = coef->dadx[chan]; 104 const float dady = coef->dady[chan]; 105 const float a0 = coef->a0[chan] + dadx * x + dady * y;
|
/frameworks/base/media/jni/ |
android_media_ResampleInputStream.cpp | 39 #define FIR_COEF(coef) (short)(0x10000 * coef)
|
/external/chromium_org/third_party/opus/src/silk/ |
VAD.c | 306 opus_int coef, min_coef; local 330 coef = VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 >> 3; 332 coef = VAD_NOISE_LEVEL_SMOOTH_COEF_Q16; 334 coef = silk_SMULWB( silk_SMULWW( inv_nrg, nl ), VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 << 1 ); 338 coef = silk_max_int( coef, min_coef ); 341 psSilk_VAD->inv_NL[ k ] = silk_SMLAWB( psSilk_VAD->inv_NL[ k ], inv_nrg - psSilk_VAD->inv_NL[ k ], coef );
|
/external/libopus/silk/ |
VAD.c | 306 opus_int coef, min_coef; local 330 coef = VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 >> 3; 332 coef = VAD_NOISE_LEVEL_SMOOTH_COEF_Q16; 334 coef = silk_SMULWB( silk_SMULWW( inv_nrg, nl ), VAD_NOISE_LEVEL_SMOOTH_COEF_Q16 << 1 ); 338 coef = silk_max_int( coef, min_coef ); 341 psSilk_VAD->inv_NL[ k ] = silk_SMLAWB( psSilk_VAD->inv_NL[ k ], inv_nrg - psSilk_VAD->inv_NL[ k ], coef );
|
/external/aac/libAACdec/src/ |
aacdec_tns.cpp | 185 UCHAR coef,s_mask; local 202 coef = (UCHAR) FDKreadBits(bs,filter->Resolution - coef_compress); 203 filter->Coeff[i] = (coef & s_mask) ? (coef | n_mask) : coef;
|
/external/chromium_org/third_party/opus/src/silk/float/ |
prefilter_FLP.c | 53 const silk_float coef[], /* I Coefficients [order] */ 73 acc = coef[ 0 ] * tmp2; 79 acc += coef[ i - 1 ] * tmp1; 83 acc += coef[ i ] * tmp2; 86 acc += coef[ order - 1 ] * tmp1;
|
/external/libopus/silk/float/ |
prefilter_FLP.c | 53 const silk_float coef[], /* I Coefficients [order] */ 73 acc = coef[ 0 ] * tmp2; 79 acc += coef[ i - 1 ] * tmp1; 83 acc += coef[ i ] * tmp2; 86 acc += coef[ order - 1 ] * tmp1;
|
/external/eigen/unsupported/Eigen/src/Skyline/ |
SkylineInplaceLU.h | 141 const double coef = lIt.value(); local 147 uIt.valueRef() -= uItPivot.value() * coef; 159 const double coef = lIt3.value(); local 163 m_lu.coeffRefLower(rrow, row + i + 1) -= uItPivot.value() * coef; 174 const double coef = lIt2.value(); local 177 m_lu.coeffRefDiag(rrow) -= uItPivot.value() * coef;
|
/external/eigen/bench/btl/libs/blitz/ |
tiny_blitz_interface.hh | 99 static inline void axpy(const real coef, const gene_vector & X, gene_vector & Y, int N){ 100 Y += coef * X;
|
blitz_interface.hh | 123 static inline void axpy(const real coef, const gene_vector & X, gene_vector & Y, int N) 126 Y = Y(i) + coef * X(i); 127 //Y += coef * X;
|
/external/eigen/bench/btl/libs/tvmet/ |
tvmet_interface.hh | 97 static inline void axpy(const real coef, const gene_vector & X, gene_vector & Y, int N){ 98 Y+=coef*X;
|
/frameworks/base/core/java/android/speech/srec/ |
UlawEncoderInputStream.java | 78 int coef = MAX_ULAW * (1 << SCALE_BITS) / max; local 82 pcm = (pcm * coef) >> SCALE_BITS;
|
/external/aac/libAACenc/src/ |
aacenc_tns.h | 188 INT coef[TRANS_FAC][MAX_NUM_OF_FILTERS][TNS_MAX_ORDER]; member in struct:__anon4705
|
aacenc_tns.cpp | 770 tnsInfo->coef[subBlockNumber][HIFILT][i] = tnsInfo->coef[subBlockNumber][LOFILT][i] = 0; 796 tnsInfo->coef[subBlockNumber][HIFILT], 802 if (tnsInfo->coef[subBlockNumber][HIFILT][i] != 0) { 811 sumSqrCoef += tnsInfo->coef[subBlockNumber][HIFILT][i] * tnsInfo->coef[subBlockNumber][HIFILT][i]; 835 tnsInfo->coef[subBlockNumber][LOFILT], 841 if (tnsInfo->coef[subBlockNumber][LOFILT][i] != 0) { 849 sumSqrCoef += tnsInfo->coef[subBlockNumber][LOFILT][i] * tnsInfo->coef[subBlockNumber][LOFILT][i] [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
tns.h | 105 Word16 coef[TRANS_FAC*TNS_MAX_ORDER_SHORT]; member in struct:__anon37894
|
/external/chromium_org/ui/gfx/android/ |
scroller.cc | 72 float x, tx, coef; local 75 coef = 3.0f * x * (1.0f - x); 76 tx = coef * ((1.0f - x) * kP1 + x * kP2) + x * x * x; 84 spline_position_[i] = coef * ((1.0f - x) * kStartTension + x) + x * x * x; 90 coef = 3.0f * y * (1.0f - y); 91 dy = coef * ((1.0f - y) * kStartTension + y) + y * y * y; 99 spline_time_[i] = coef * ((1.0f - y) * kP1 + y * kP2) + y * y * y;
|
/frameworks/base/core/java/android/widget/ |
Scroller.java | 122 float x, tx, coef; typedefs 125 coef = 3.0f * x * (1.0f - x); 126 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x; 131 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x; 137 coef = 3.0f * y * (1.0f - y); 138 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y; 143 SPLINE_TIME[i] = coef * ((1.0f - y) * P1 + y * P2) + y * y * y;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherScroller.java | 90 float x, tx, coef; typedefs 93 coef = 3.0f * x * (1.0f - x); 94 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x; 99 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x; 105 coef = 3.0f * y * (1.0f - y); 106 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y; 111 SPLINE_TIME[i] = coef * ((1.0f - y) * P1 + y * P2) + y * y * y;
|
/external/chromium_org/third_party/opus/src/celt/ |
quant_bands.c | 165 opus_val16 coef; local 172 coef = 0; 176 coef = pred_coef[LM]; 194 f = SHL32(EXTEND32(x),7) - PSHR32(MULT16_16(coef,oldE), 8) - prev[c]; 200 f = x-coef*oldE-prev[c]; 250 tmp = PSHR32(MULT16_16(coef,oldE),8) + prev[c] + SHL32(q,7); 432 opus_val16 coef; local 439 coef = 0; 443 coef = pred_coef[LM]; 482 tmp = PSHR32(MULT16_16(coef,oldEBands[i+c*m->nbEBands]),8) + prev[c] + SHL32(q,7) [all...] |
celt.h | 199 int N, int CC, int upsample, const opus_val16 *coef, celt_sig *mem, int clip); 208 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *coef, celt_sig *mem, celt_sig * OPUS_RESTRICT scratch);
|
/external/libopus/celt/ |
quant_bands.c | 165 opus_val16 coef; local 172 coef = 0; 176 coef = pred_coef[LM]; 194 f = SHL32(EXTEND32(x),7) - PSHR32(MULT16_16(coef,oldE), 8) - prev[c]; 200 f = x-coef*oldE-prev[c]; 250 tmp = PSHR32(MULT16_16(coef,oldE),8) + prev[c] + SHL32(q,7); 432 opus_val16 coef; local 439 coef = 0; 443 coef = pred_coef[LM]; 482 tmp = PSHR32(MULT16_16(coef,oldEBands[i+c*m->nbEBands]),8) + prev[c] + SHL32(q,7) [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
CropView.java | 290 float[] coef = mTempCoef; local 291 coef[0] = 1; 292 coef[1] = 1; 293 mRotateMatrix.mapPoints(coef); 308 if (coef[dim] > 0) adjustment[dim] = FloatMath.ceil(adjustment[dim]);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
CropView.java | 290 float[] coef = mTempCoef; local 291 coef[0] = 1; 292 coef[1] = 1; 293 mRotateMatrix.mapPoints(coef); 308 if (coef[dim] > 0) adjustment[dim] = FloatMath.ceil(adjustment[dim]);
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
LVPSA_Control.c | 484 LVM_INT16 coef; local 516 * Cos += coef(n) * t0^n For n = 0 to 6 524 coef = LVPSA_CosCoef[i]; /* Get the nth coefficient */ 525 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */ 607 LVM_INT16 coef; local [all...] |
/external/eigen/bench/btl/libs/gmm/ |
gmm_interface.hh | 105 static inline void axpy(const real coef, const gene_vector & X, gene_vector & Y, int N){ 106 gmm::add(gmm::scaled(X,coef), Y);
|