/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | time_stretch.cc | 81 int scaling = 31 - WebRtcSpl_NormW32(max_input_value_ * max_input_value_) - in Process() local 83 scaling = std::max(0, scaling); in Process() 92 WebRtcSpl_DotProductWithScale(vec1, vec1, peak_index, scaling); in Process() 94 WebRtcSpl_DotProductWithScale(vec2, vec2, peak_index, scaling); in Process() 98 WebRtcSpl_DotProductWithScale(vec1, vec2, peak_index, scaling); in Process() 102 scaling); in Process() 162 int scaling = kLogCorrelationLen - WebRtcSpl_NormW32( in AutoCorrelation() local 164 scaling = std::max(0, scaling); in AutoCorrelation() 170 kCorrelationLen, kMaxLag - kMinLag, scaling, -1); in AutoCorrelation() 174 scaling = std::max(0, 17 - WebRtcSpl_NormW32(max_corr)); in AutoCorrelation() [all …]
|
D | normal.cc | 81 int scaling = 6 + fs_shift in Process() local 83 scaling = std::max(scaling, 0); // |scaling| should always be >= 0. in Process() 85 energy_length, scaling); in Process() 87 static_cast<int32_t>(energy_length >> scaling); in Process() 98 scaling = WebRtcSpl_NormW32(energy) - 16; in Process() 101 background_noise_.Energy(channel_ix) << (scaling+14); in Process() 102 int16_t energy_scaled = static_cast<int16_t>(energy << scaling); in Process()
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | auto_correlation.c | 23 int scaling = 0; in WebRtcSpl_AutoCorrelation() local 33 scaling = 0; in WebRtcSpl_AutoCorrelation() 41 scaling = 0; in WebRtcSpl_AutoCorrelation() 43 scaling = nbits - t; in WebRtcSpl_AutoCorrelation() 52 sum += (in_vector[j + 0] * in_vector[i + j + 0]) >> scaling; in WebRtcSpl_AutoCorrelation() 53 sum += (in_vector[j + 1] * in_vector[i + j + 1]) >> scaling; in WebRtcSpl_AutoCorrelation() 54 sum += (in_vector[j + 2] * in_vector[i + j + 2]) >> scaling; in WebRtcSpl_AutoCorrelation() 55 sum += (in_vector[j + 3] * in_vector[i + j + 3]) >> scaling; in WebRtcSpl_AutoCorrelation() 58 sum += (in_vector[j] * in_vector[i + j]) >> scaling; in WebRtcSpl_AutoCorrelation() 63 *scale = scaling; in WebRtcSpl_AutoCorrelation()
|
D | dot_product_with_scale.c | 16 int scaling) { in WebRtcSpl_DotProductWithScale() argument 22 sum += (vector1[i + 0] * vector2[i + 0]) >> scaling; in WebRtcSpl_DotProductWithScale() 23 sum += (vector1[i + 1] * vector2[i + 1]) >> scaling; in WebRtcSpl_DotProductWithScale() 24 sum += (vector1[i + 2] * vector2[i + 2]) >> scaling; in WebRtcSpl_DotProductWithScale() 25 sum += (vector1[i + 3] * vector2[i + 3]) >> scaling; in WebRtcSpl_DotProductWithScale() 28 sum += (vector1[i] * vector2[i]) >> scaling; in WebRtcSpl_DotProductWithScale()
|
D | energy.c | 26 int scaling = in WebRtcSpl_Energy() local 33 en += (*vectorptr * *vectorptr) >> scaling; in WebRtcSpl_Energy() 36 *scale_factor = scaling; in WebRtcSpl_Energy()
|
D | cross_correlation_neon.c | 19 int scaling) { in DotProductWithScaleNeon() argument 56 *cross_correlation = (int32_t)((sum2 + sum_res) >> scaling); in DotProductWithScaleNeon() 58 int64x1_t shift = vdup_n_s64(-scaling); in DotProductWithScaleNeon()
|
/external/aac/libAACenc/src/ |
D | pre_echo_control.cpp | 119 int scaling; in FDKaacEnc_PreEchoControl() local 132 scaling = 2*(mdctScale-*mdctScalenm1); in FDKaacEnc_PreEchoControl() 136 FDK_ASSERT(scaling>=0); in FDKaacEnc_PreEchoControl() 137 tmpThreshold1 = maxAllowedIncreaseFactor * (pbThresholdNm1[i]>>scaling); in FDKaacEnc_PreEchoControl() 151 scaling = 2*(*mdctScalenm1-mdctScale); in FDKaacEnc_PreEchoControl() 161 FDK_ASSERT(scaling>=0); in FDKaacEnc_PreEchoControl() 162 if((pbThreshold[i]>>(scaling+1)) > tmpThreshold1) { in FDKaacEnc_PreEchoControl() 163 pbThreshold[i] = tmpThreshold1<<(scaling+1); in FDKaacEnc_PreEchoControl()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | pitch_estimator_c.c | 23 int16_t scaling,n,k; in WebRtcIsacfix_PCorr2Q32() local 30 scaling = WebRtcSpl_GetScalingSquare((int16_t*)in, in WebRtcIsacfix_PCorr2Q32() 37 ysum32 += in[n] * in[n] >> scaling; // Q0 in WebRtcIsacfix_PCorr2Q32() 38 csum32 += x[n] * in[n] >> scaling; // Q0 in WebRtcIsacfix_PCorr2Q32() 56 ysum32 -= in[k - 1] * in[k - 1] >> scaling; in WebRtcIsacfix_PCorr2Q32() 58 scaling; in WebRtcIsacfix_PCorr2Q32() 67 int32x4_t int_32x4_scale = vdupq_n_s32(-scaling); in WebRtcIsacfix_PCorr2Q32() 88 if(scaling == 0) { in WebRtcIsacfix_PCorr2Q32() 94 csum32 += (x[n] * inptr[n]) >> scaling; in WebRtcIsacfix_PCorr2Q32()
|
D | filters_mips.c | 21 int16_t scaling = 0; in WebRtcIsacfix_AutocorrMIPS() local 126 [count] "+r" (count), [scaling] "=r" (scaling) in WebRtcIsacfix_AutocorrMIPS() 135 if (scaling == 0) { in WebRtcIsacfix_AutocorrMIPS() 204 } else if (scaling == 32) { in WebRtcIsacfix_AutocorrMIPS() 277 int32_t tmp_shift = 32 - scaling; in WebRtcIsacfix_AutocorrMIPS() 353 : [scaling] "r" (scaling) in WebRtcIsacfix_AutocorrMIPS() 362 *scale = scaling; in WebRtcIsacfix_AutocorrMIPS()
|
D | filters.c | 24 int16_t scaling = 0; in WebRtcIsacfix_AutocorrC() local 41 scaling = 0; in WebRtcIsacfix_AutocorrC() 43 scaling = 32 - WebRtcSpl_NormU32(temp); in WebRtcIsacfix_AutocorrC() 45 r[0] = (int32_t)(prod >> scaling); in WebRtcIsacfix_AutocorrC() 53 sum = (int32_t)(prod >> scaling); in WebRtcIsacfix_AutocorrC() 57 *scale = scaling; in WebRtcIsacfix_AutocorrC()
|
D | pitch_estimator_mips.c | 18 int16_t scaling,n,k; in WebRtcIsacfix_PCorr2Q32() local 25 scaling = WebRtcSpl_GetScalingSquare((int16_t*)in, in WebRtcIsacfix_PCorr2Q32() 83 : [scaling] "r" (scaling) in WebRtcIsacfix_PCorr2Q32() 176 [scaling] "r" (scaling) in WebRtcIsacfix_PCorr2Q32()
|
D | filters_neon.c | 24 int16_t scaling = 0; in WebRtcIsacfix_AutocorrNeon() local 56 scaling = temp ? 32 - WebRtcSpl_NormU32(temp) : 0; in WebRtcIsacfix_AutocorrNeon() 57 r[0] = (int32_t)(prod >> scaling); in WebRtcIsacfix_AutocorrNeon() 107 r[i] = (int32_t)((prod + prod_tail) >> scaling); in WebRtcIsacfix_AutocorrNeon() 110 *scale = scaling; in WebRtcIsacfix_AutocorrNeon()
|
/external/freetype/src/cff/ |
D | cffparse.c | 129 FT_Long* scaling ) in cff_parse_real() argument 140 if ( scaling ) in cff_parse_real() 141 *scaling = 0; in cff_parse_real() 275 if ( scaling ) in cff_parse_real() 286 *scaling = exponent - fraction_length + 1; in cff_parse_real() 316 *scaling = exponent; in cff_parse_real() 324 *scaling = exponent - 4; in cff_parse_real() 329 *scaling = exponent - 5; in cff_parse_real() 411 FT_Long scaling ) in do_fixed() argument 414 return cff_parse_real( d[0], d[1], scaling, NULL ); in do_fixed() [all …]
|
/external/pdfium/third_party/freetype/src/cff/ |
D | cffparse.c | 129 FT_Long* scaling ) in cff_parse_real() argument 140 if ( scaling ) in cff_parse_real() 141 *scaling = 0; in cff_parse_real() 275 if ( scaling ) in cff_parse_real() 286 *scaling = exponent - fraction_length + 1; in cff_parse_real() 316 *scaling = exponent; in cff_parse_real() 324 *scaling = exponent - 4; in cff_parse_real() 329 *scaling = exponent - 5; in cff_parse_real() 411 FT_Long scaling ) in do_fixed() argument 414 return cff_parse_real( d[0], d[1], scaling, NULL ); in do_fixed() [all …]
|
/external/speex/libspeex/ |
D | filterbank.c | 75 bank->scaling = (float*)speex_alloc(banks*sizeof(float)); in filterbank_new() 108 bank->scaling[i] = 0; in filterbank_new() 112 bank->scaling[id] += bank->filter_left[i]; in filterbank_new() 114 bank->scaling[id] += bank->filter_right[i]; in filterbank_new() 117 bank->scaling[i] = Q15_ONE/(bank->scaling[i]); in filterbank_new() 129 speex_free(bank->scaling); in filterbank_destroy() 187 mel[i] *= bank->scaling[i]; in filterbank_compute_bank()
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
D | volume_test.cc | 205 float scaling = -1.0f; in TEST_F() local 208 channel_, scaling)); in TEST_F() 209 EXPECT_FLOAT_EQ(1.0f, scaling); in TEST_F() 216 float scaling = 1.0f; in TEST_F() local 218 channel_, scaling)); in TEST_F() 220 EXPECT_FLOAT_EQ(0.1f, scaling); in TEST_F()
|
/external/eigen/test/eigen2/ |
D | eigen2_hyperplane.cpp | 53 Scaling<Scalar,HyperplaneType::AmbientDimAtCompileTime> scaling(VectorType::Random()); in hyperplane() local 61 …VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling).absDistance((rot*scaling) * p1), Scalar(1)… in hyperplane() 63 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling*translation) in hyperplane() 64 .absDistance((rot*scaling*translation) * p1), Scalar(1) ); in hyperplane()
|
/external/opencv3/modules/features2d/src/ |
D | brisk.cpp | 487 const int scaling = (int)(4194304.0 / area); in smoothedIntensity() local 488 const int scaling2 = int(float(scaling) * area / 1024.0); in smoothedIntensity() 511 const int A = (int)((r_x_1 * r_y_1) * scaling); in smoothedIntensity() 512 const int B = (int)((r_x1 * r_y_1) * scaling); in smoothedIntensity() 513 const int C = (int)((r_x1 * r_y1) * scaling); in smoothedIntensity() 514 const int D = (int)((r_x_1 * r_y1) * scaling); in smoothedIntensity() 515 const int r_x_1_i = (int)(r_x_1 * scaling); in smoothedIntensity() 516 const int r_y_1_i = (int)(r_y_1 * scaling); in smoothedIntensity() 517 const int r_x1_i = (int)(r_x1 * scaling); in smoothedIntensity() 518 const int r_y1_i = (int)(r_y1 * scaling); in smoothedIntensity() [all …]
|
/external/webrtc/webrtc/voice_engine/ |
D | voe_volume_control_impl.cc | 307 float scaling) { in SetChannelOutputVolumeScaling() argument 310 channel, scaling); in SetChannelOutputVolumeScaling() 315 if (scaling < kMinOutputVolumeScaling || scaling > kMaxOutputVolumeScaling) { in SetChannelOutputVolumeScaling() 328 return channelPtr->SetChannelOutputVolumeScaling(scaling); in SetChannelOutputVolumeScaling() 332 float& scaling) { in GetChannelOutputVolumeScaling() argument 345 return channelPtr->GetChannelOutputVolumeScaling(scaling); in GetChannelOutputVolumeScaling()
|
D | voe_volume_control_impl.h | 42 int SetChannelOutputVolumeScaling(int channel, float scaling) override; 44 int GetChannelOutputVolumeScaling(int channel, float& scaling) override;
|
/external/eigen/test/ |
D | geo_hyperplane.cpp | 53 DiagonalMatrix<Scalar,HyperplaneType::AmbientDimAtCompileTime> scaling(VectorType::Random()); in hyperplane() local 61 …VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling).absDistance((rot*scaling) * p1), Scalar(1)… in hyperplane() 63 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling*translation) in hyperplane() 64 .absDistance((rot*scaling*translation) * p1), Scalar(1) ); in hyperplane()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | fft.c | 163 double scaling, in WebRtcIsac_Fftns() argument 239 if (scaling && scaling != 1.0) in WebRtcIsac_Fftns() 242 if (scaling < 0.0) in WebRtcIsac_Fftns() 244 scaling = (double)nTotal; in WebRtcIsac_Fftns() 245 if (scaling < -1.0) in WebRtcIsac_Fftns() 246 scaling = sqrt (scaling); in WebRtcIsac_Fftns() 248 scaling = 1.0 / scaling; /* multiply is often faster */ in WebRtcIsac_Fftns() 251 Re [i] *= scaling; in WebRtcIsac_Fftns() 252 Im [i] *= scaling; in WebRtcIsac_Fftns()
|
/external/webrtc/webrtc/voice_engine/include/ |
D | voe_volume_control.h | 95 virtual int SetChannelOutputVolumeScaling(int channel, float scaling) = 0; 98 virtual int GetChannelOutputVolumeScaling(int channel, float& scaling) = 0;
|
/external/libjpeg-turbo/ |
D | README-turbo.txt | 140 -- libjpeg: IDCT scaling extensions in decompressor 141 libjpeg-turbo supports IDCT scaling with scaling factors of 1/8, 1/4, 3/8, 173 usefulness of DCT scaling as a means of data reduction and SmartScale as a 179 -- libjpeg: DCT scaling in compressor 181 There is no technical reason why DCT scaling could not be supported when 183 below), only scaling factors of 1/2, 8/15, 4/7, 8/13, 2/3, 8/11, 4/5, and 197 additional DCT scaling factors. 201 This requires the DCT scaling feature, which is not supported. 204 This requires both the DCT scaling and SmartScale features, which are not 298 -- When decompressing using scaling factors of 1/2 and 1/4, because libjpeg v8 [all …]
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
D | Transform.h | 237 void computeRotationScaling(RotationMatrixType *rotation, ScalingMatrixType *scaling) const; 239 void computeScalingRotation(ScalingMatrixType *scaling, RotationMatrixType *rotation) const; 619 …Scalar,Dim>::computeRotationScaling(RotationMatrixType *rotation, ScalingMatrixType *scaling) const 625 if(scaling) 627 scaling->noalias() = svd.matrixV() * sv.asDiagonal() * svd.matrixV().adjoint(); 650 void Transform<Scalar,Dim>::computeScalingRotation(ScalingMatrixType *scaling, RotationMatrixType *… 656 if(scaling) 658 scaling->noalias() = svd.matrixU() * sv.asDiagonal() * svd.matrixU().adjoint();
|