/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
D | time_stretch.cc | 82 int scaling = 31 - WebRtcSpl_NormW32(max_input_value_ * max_input_value_) - in Process() local 84 scaling = std::max(0, scaling); in Process() 93 WebRtcSpl_DotProductWithScale(vec1, vec1, peak_index, scaling); in Process() 95 WebRtcSpl_DotProductWithScale(vec2, vec2, peak_index, scaling); in Process() 99 WebRtcSpl_DotProductWithScale(vec1, vec2, peak_index, scaling); in Process() 103 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 | 76 int scaling = 6 + fs_shift in Process() local 78 scaling = std::max(scaling, 0); // |scaling| should always be >= 0. in Process() 80 energy_length, scaling); in Process() 81 energy = energy / (energy_length >> scaling); in Process() 87 scaling = WebRtcSpl_NormW32(energy) - 16; in Process() 90 background_noise_.Energy(channel_ix) << (scaling+14); in Process() 91 int16_t energy_scaled = energy << scaling; in Process()
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
D | auto_correlation.c | 21 int scaling = 0; in WebRtcSpl_AutoCorrelation() local 36 scaling = 0; in WebRtcSpl_AutoCorrelation() 44 scaling = 0; in WebRtcSpl_AutoCorrelation() 46 scaling = nbits - t; in WebRtcSpl_AutoCorrelation() 55 sum += (in_vector[j + 0] * in_vector[i + j + 0]) >> scaling; in WebRtcSpl_AutoCorrelation() 56 sum += (in_vector[j + 1] * in_vector[i + j + 1]) >> scaling; in WebRtcSpl_AutoCorrelation() 57 sum += (in_vector[j + 2] * in_vector[i + j + 2]) >> scaling; in WebRtcSpl_AutoCorrelation() 58 sum += (in_vector[j + 3] * in_vector[i + j + 3]) >> scaling; in WebRtcSpl_AutoCorrelation() 61 sum += (in_vector[j] * in_vector[i + j]) >> scaling; in WebRtcSpl_AutoCorrelation() 66 *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 | 24 int scaling = WebRtcSpl_GetScalingSquare(vector, vector_length, vector_length); in WebRtcSpl_Energy() local 30 en += WEBRTC_SPL_MUL_16_16_RSFT(*vectorptr, *vectorptr, scaling); in WebRtcSpl_Energy() 33 *scale_factor = scaling; in WebRtcSpl_Energy()
|
/external/webrtc/src/common_audio/signal_processing/ |
D | auto_correlation.c | 32 int scaling = 0; in WebRtcSpl_AutoCorrelation() local 50 scaling = 0; in WebRtcSpl_AutoCorrelation() 58 scaling = 0; in WebRtcSpl_AutoCorrelation() 61 scaling = nbits - t; in WebRtcSpl_AutoCorrelation() 78 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1++, *xptr2++, scaling); in WebRtcSpl_AutoCorrelation() 83 if (scaling == 0) in WebRtcSpl_AutoCorrelation() 112 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling); in WebRtcSpl_AutoCorrelation() 115 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling); in WebRtcSpl_AutoCorrelation() 118 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling); in WebRtcSpl_AutoCorrelation() 121 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling); in WebRtcSpl_AutoCorrelation() [all …]
|
D | dot_product_with_scale.c | 21 int length, int scaling) in WebRtcSpl_DotProductWithScale() argument 35 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1++, *vector2++, scaling); in WebRtcSpl_DotProductWithScale() 38 if (scaling == 0) in WebRtcSpl_DotProductWithScale() 67 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); in WebRtcSpl_DotProductWithScale() 70 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); in WebRtcSpl_DotProductWithScale() 73 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); in WebRtcSpl_DotProductWithScale() 76 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); in WebRtcSpl_DotProductWithScale() 83 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); in WebRtcSpl_DotProductWithScale()
|
D | energy.c | 24 int scaling = WebRtcSpl_GetScalingSquare(vector, vector_length, vector_length); in WebRtcSpl_Energy() local 30 en += WEBRTC_SPL_MUL_16_16_RSFT(*vectorptr, *vectorptr, scaling); in WebRtcSpl_Energy() 33 *scale_factor = scaling; in WebRtcSpl_Energy()
|
/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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
D | cffparse.c | 133 FT_Long* scaling ) in cff_parse_real() argument 144 if ( scaling ) in cff_parse_real() 145 *scaling = 0; in cff_parse_real() 279 if ( scaling ) in cff_parse_real() 290 *scaling = exponent - fraction_length + 1; in cff_parse_real() 320 *scaling = exponent; in cff_parse_real() 328 *scaling = exponent - 4; in cff_parse_real() 333 *scaling = exponent - 5; in cff_parse_real() 415 FT_Long scaling ) in do_fixed() argument 418 return cff_parse_real( d[0], d[1], scaling, NULL ); in do_fixed() [all …]
|
/external/chromium_org/third_party/freetype/src/cff/ |
D | cffparse.c | 133 FT_Long* scaling ) in cff_parse_real() argument 144 if ( scaling ) in cff_parse_real() 145 *scaling = 0; in cff_parse_real() 279 if ( scaling ) in cff_parse_real() 290 *scaling = exponent - fraction_length + 1; in cff_parse_real() 320 *scaling = exponent; in cff_parse_real() 328 *scaling = exponent - 4; in cff_parse_real() 333 *scaling = exponent - 5; in cff_parse_real() 415 FT_Long scaling ) in do_fixed() argument 418 return cff_parse_real( d[0], d[1], scaling, NULL ); in do_fixed() [all …]
|
/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/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
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.c | 158 int16_t scaling,n,k; in PCorr2Q32() local 168 scaling = WebRtcSpl_GetScalingSquare ((int16_t *) in, PITCH_CORR_LEN2, PITCH_CORR_LEN2); in PCorr2Q32() 173 ysum32 += WEBRTC_SPL_MUL_16_16_RSFT( (int16_t) in[n],(int16_t) in[n], scaling); // Q0 in PCorr2Q32() 174 csum32 += WEBRTC_SPL_MUL_16_16_RSFT((int16_t) x[n],(int16_t) in[n], scaling); // Q0 in PCorr2Q32() 199 ysum32 -= WEBRTC_SPL_MUL_16_16_RSFT( (int16_t) in[k-1],(int16_t) in[k-1], scaling); in PCorr2Q32() 200 …_16_16_RSFT( (int16_t) in[PITCH_CORR_LEN2 + k - 1],(int16_t) in[PITCH_CORR_LEN2 + k - 1], scaling); in PCorr2Q32() 207 int32x4_t int_32x4_scale = vdupq_n_s32(-scaling); in PCorr2Q32() 228 if(scaling == 0) { in PCorr2Q32() 234 csum32 += (x[n] * inptr[n]) >> scaling; in PCorr2Q32()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | filters_neon.c | 39 int16_t scaling = 0; in WebRtcIsacfix_AutocorrNeon() local 71 scaling = (32 - zeros_high + 1); in WebRtcIsacfix_AutocorrNeon() 73 scaling = 1; in WebRtcIsacfix_AutocorrNeon() 75 reg64x1b = -scaling; in WebRtcIsacfix_AutocorrNeon() 155 [scaling]"r"(-scaling) in WebRtcIsacfix_AutocorrNeon() 164 *scale = scaling; in WebRtcIsacfix_AutocorrNeon()
|
D | filters.c | 34 int16_t scaling = 0; in WebRtcIsacfix_AutocorrC() local 47 scaling = 0; in WebRtcIsacfix_AutocorrC() 49 scaling = 32 - WebRtcSpl_NormU32(temp); in WebRtcIsacfix_AutocorrC() 51 r[0] = (int32_t)(prod >> scaling); in WebRtcIsacfix_AutocorrC() 59 sum = (int32_t)(prod >> scaling); in WebRtcIsacfix_AutocorrC() 63 *scale = scaling; in WebRtcIsacfix_AutocorrC()
|
/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/pixman/test/ |
D | Makefile.sources | 16 scaling-crash-test \ 17 scaling-helpers-test \ 26 scaling-test \
|
D | Makefile.in | 82 alpha-loop$(EXEEXT) scaling-crash-test$(EXEEXT) \ 83 scaling-helpers-test$(EXEEXT) gradient-crash-test$(EXEEXT) \ 87 glyph-test$(EXEEXT) scaling-test$(EXEEXT) affine-test$(EXEEXT) \ 213 scaling_crash_test_SOURCES = scaling-crash-test.c 214 scaling_crash_test_OBJECTS = scaling-crash-test.$(OBJEXT) 218 scaling_helpers_test_SOURCES = scaling-helpers-test.c 219 scaling_helpers_test_OBJECTS = scaling-helpers-test.$(OBJEXT) 223 scaling_test_SOURCES = scaling-test.c 224 scaling_test_OBJECTS = scaling-test.$(OBJEXT) 271 rotate-test.c scaling-crash-test.c scaling-helpers-test.c \ [all …]
|
/external/chromium_org/third_party/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/chromium_org/ash/desktop_background/ |
D | desktop_background_view.cc | 109 float scaling = display_info.GetEffectiveUIScale(); in OnPaint() local 110 if (scaling <= 1.0f) in OnPaint() 111 scaling = 1.0f; in OnPaint() 116 0, 0, wallpaper.width() * scaling, wallpaper.height() * scaling); in OnPaint()
|
/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/chromium_org/third_party/webrtc/voice_engine/ |
D | voe_volume_control_impl.cc | 391 float scaling) in SetChannelOutputVolumeScaling() argument 395 channel, scaling); in SetChannelOutputVolumeScaling() 401 if (scaling < kMinOutputVolumeScaling || in SetChannelOutputVolumeScaling() 402 scaling > kMaxOutputVolumeScaling) in SetChannelOutputVolumeScaling() 416 return channelPtr->SetChannelOutputVolumeScaling(scaling); in SetChannelOutputVolumeScaling() 420 float& scaling) in GetChannelOutputVolumeScaling() argument 437 return channelPtr->GetChannelOutputVolumeScaling(scaling); in GetChannelOutputVolumeScaling()
|