HomeSort by relevance Sort by last modified time
    Searched refs:scaling (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/chromium_org/third_party/webrtc/common_audio/signal_processing/
dot_product_with_scale.c 16 int scaling) {
22 sum += (vector1[i + 0] * vector2[i + 0]) >> scaling;
23 sum += (vector1[i + 1] * vector2[i + 1]) >> scaling;
24 sum += (vector1[i + 2] * vector2[i + 2]) >> scaling;
25 sum += (vector1[i + 3] * vector2[i + 3]) >> scaling;
28 sum += (vector1[i] * vector2[i]) >> scaling;
energy.c 24 int scaling = WebRtcSpl_GetScalingSquare(vector, vector_length, vector_length); local
30 en += WEBRTC_SPL_MUL_16_16_RSFT(*vectorptr, *vectorptr, scaling);
33 *scale_factor = scaling;
auto_correlation.c 21 int scaling = 0; local
36 scaling = 0;
44 scaling = 0;
46 scaling = nbits - t;
55 sum += (in_vector[j + 0] * in_vector[i + j + 0]) >> scaling;
56 sum += (in_vector[j + 1] * in_vector[i + j + 1]) >> scaling;
57 sum += (in_vector[j + 2] * in_vector[i + j + 2]) >> scaling;
58 sum += (in_vector[j + 3] * in_vector[i + j + 3]) >> scaling;
61 sum += (in_vector[j] * in_vector[i + j]) >> scaling;
66 *scale = scaling;
    [all...]
  /external/webrtc/src/common_audio/signal_processing/
energy.c 24 int scaling = WebRtcSpl_GetScalingSquare(vector, vector_length, vector_length); local
30 en += WEBRTC_SPL_MUL_16_16_RSFT(*vectorptr, *vectorptr, scaling);
33 *scale_factor = scaling;
dot_product_with_scale.c 21 int length, int scaling)
35 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1++, *vector2++, scaling);
38 if (scaling == 0)
67 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling);
70 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling);
73 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling);
76 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling);
83 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling);
auto_correlation.c 32 int scaling = 0; local
50 scaling = 0;
58 scaling = 0;
61 scaling = nbits - t;
78 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1++, *xptr2++, scaling);
83 if (scaling == 0)
112 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling);
115 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling);
118 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling);
121 sum += WEBRTC_SPL_MUL_16_16_RSFT(*xptr1, *xptr2, scaling);
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
fft.h 22 * scaling: normalizing constant by which the final result is *divided*
23 * scaling == -1, normalize by total dimension of the transform
24 * scaling < -1, normalize by the square-root of the total dimension
41 int isign, double scaling, FFTstr *fftstate);
  /external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
fft.h 22 * scaling: normalizing constant by which the final result is *divided*
23 * scaling == -1, normalize by total dimension of the transform
24 * scaling < -1, normalize by the square-root of the total dimension
41 int isign, double scaling, FFTstr *fftstate);
  /external/aac/libAACenc/src/
pre_echo_control.cpp 119 int scaling; local
132 scaling = 2*(mdctScale-*mdctScalenm1);
136 FDK_ASSERT(scaling>=0);
137 tmpThreshold1 = maxAllowedIncreaseFactor * (pbThresholdNm1[i]>>scaling);
151 scaling = 2*(*mdctScalenm1-mdctScale);
161 FDK_ASSERT(scaling>=0);
162 if((pbThreshold[i]>>(scaling+1)) > tmpThreshold1) {
163 pbThreshold[i] = tmpThreshold1<<(scaling+1);
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
pre_echo_control.c 65 Word32 scaling; local
70 scaling = ((mdctScale - mdctScalenm1) << 1);
72 if ( scaling > 0 ) {
74 tmpThreshold1 = pbThresholdNm1[i] >> (scaling-1);
92 scaling = -scaling;
102 if(((pbThreshold[i] >> scaling) > tmpThreshold1)) {
103 pbThreshold[i] = tmpThreshold1 << scaling;
  /external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
time_stretch.cc 80 // Calculate scaling to ensure that |peak_index| samples can be square-summed
82 int scaling = 31 - WebRtcSpl_NormW32(max_input_value_ * max_input_value_) - local
84 scaling = std::max(0, scaling);
93 WebRtcSpl_DotProductWithScale(vec1, vec1, peak_index, scaling);
95 WebRtcSpl_DotProductWithScale(vec2, vec2, peak_index, scaling);
99 WebRtcSpl_DotProductWithScale(vec1, vec2, peak_index, scaling);
103 scaling);
116 // Make sure total scaling is even (to simplify scale factor after sqrt).
161 // Set scaling factor for cross correlation to protect against overflow
162 int scaling = kLogCorrelationLen - WebRtcSpl_NormW32( local
    [all...]
normal.cc 76 int scaling = 6 + fs_shift local
78 scaling = std::max(scaling, 0); // |scaling| should always be >= 0.
80 energy_length, scaling);
81 energy = energy / (energy_length >> scaling);
87 scaling = WebRtcSpl_NormW32(energy) - 16;
90 background_noise_.Energy(channel_ix) << (scaling+14);
91 int16_t energy_scaled = energy << scaling;
  /external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
filters_neon.c 39 int16_t scaling = 0; local
42 // Step 1, calculate r[0] and how much scaling is needed.
61 // Calculate the value of shifting (scaling).
71 scaling = (32 - zeros_high + 1);
73 scaling = 1;
75 reg64x1b = -scaling;
90 sum = (int32_t)(prod >> scaling);
145 "mov %[tmp], %[scaling], asr #31\n\t"
146 "vmov.32 d16, %[scaling], %[tmp]\n\t"
155 [scaling]"r"(-scaling
    [all...]
filters.c 34 int16_t scaling = 0; local
44 // Calculate scaling (the value of shifting).
47 scaling = 0;
49 scaling = 32 - WebRtcSpl_NormU32(temp);
51 r[0] = (int32_t)(prod >> scaling);
59 sum = (int32_t)(prod >> scaling);
63 *scale = scaling;
  /external/chromium_org/third_party/webrtc/voice_engine/
voe_volume_control_impl.h 44 virtual int SetChannelOutputVolumeScaling(int channel, float scaling);
46 virtual int GetChannelOutputVolumeScaling(int channel, float& scaling);
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
filters_mips.c 21 int16_t scaling = 0; local
32 // Calculate r[0] and scaling needed.
102 // Calculate scaling (the value of shifting).
105 "subu %[scaling], $0, %[r1] \n\t"
107 "movn %[scaling], $0, %[r1] \n\t"
109 "extrv.w %[r0], $ac0, %[scaling] \n\t"
112 "addiu %[r1], %[scaling], -32 \n\t"
115 "srlv %[r0], %[r3], %[scaling] \n\t"
118 "slti %[r1], %[scaling], 32 \n\t"
126 [count] "+r" (count), [scaling] "=r" (scaling
    [all...]
filters.c 24 int16_t scaling = 0; local
38 // Calculate scaling (the value of shifting).
41 scaling = 0;
43 scaling = 32 - WebRtcSpl_NormU32(temp);
45 r[0] = (int32_t)(prod >> scaling);
53 sum = (int32_t)(prod >> scaling);
57 *scale = scaling;
  /external/chromium_org/third_party/webrtc/voice_engine/include/mock/
mock_voe_volume_control.h 39 MOCK_METHOD2(SetChannelOutputVolumeScaling, int(int channel, float scaling));
40 MOCK_METHOD2(GetChannelOutputVolumeScaling, int(int channel, float& scaling));
  /external/chromium_org/third_party/webrtc/voice_engine/include/
voe_volume_control.h 17 // - Additional stereo scaling methods.
94 // Sets a volume |scaling| applied to the outgoing signal of a specific
96 virtual int SetChannelOutputVolumeScaling(int channel, float scaling) = 0;
98 // Gets the current volume scaling for a specified |channel|.
99 virtual int GetChannelOutputVolumeScaling(int channel, float& scaling) = 0;
105 // Gets the current left and right scaling factors.
  /external/speex/libspeex/
filterbank.h 45 float *scaling; member in struct:__anon34705
  /external/chromium_org/third_party/freetype/src/cff/
cffparse.c 133 FT_Long* scaling )
144 if ( scaling )
145 *scaling = 0;
279 if ( scaling )
290 *scaling = exponent - fraction_length + 1;
299 /* Make `scaling' as small as possible. */
320 *scaling = exponent;
328 *scaling = exponent - 4;
333 *scaling = exponent - 5;
415 FT_Long scaling )
523 FT_Long scaling; local
    [all...]
  /external/freetype/src/cff/
cffparse.c 129 FT_Long* scaling )
140 if ( scaling )
141 *scaling = 0;
275 if ( scaling )
286 *scaling = exponent - fraction_length + 1;
295 /* Make `scaling' as small as possible. */
316 *scaling = exponent;
324 *scaling = exponent - 4;
329 *scaling = exponent - 5;
411 FT_Long scaling )
519 FT_Long scaling; local
    [all...]
  /external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
cffparse.c 133 FT_Long* scaling )
144 if ( scaling )
145 *scaling = 0;
279 if ( scaling )
290 *scaling = exponent - fraction_length + 1;
299 /* Make `scaling' as small as possible. */
320 *scaling = exponent;
328 *scaling = exponent - 4;
333 *scaling = exponent - 5;
415 FT_Long scaling )
523 FT_Long scaling; local
    [all...]
  /external/chromium_org/third_party/freetype/include/freetype/internal/
ftcalc.h 91 * the 64bit multiplication. Let `sa' and `sb' be the scaling factors of
92 * `a' and `b', respectively, then the scaling factor of the result is
98 FT_Long scaling );
108 FT_Long scaling );
  /external/freetype/include/internal/
ftcalc.h 95 * the 64bit multiplication. Let `sa' and `sb' be the scaling factors of
96 * `a' and `b', respectively, then the scaling factor of the result is
102 FT_Long scaling );
112 FT_Long scaling );

Completed in 764 milliseconds

1 2 3 4