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

1 2 3 4 5 6 7

  /external/webrtc/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;
auto_correlation.c 23 int scaling = 0; local
33 scaling = 0;
41 scaling = 0;
43 scaling = nbits - t;
52 sum += (in_vector[j + 0] * in_vector[i + j + 0]) >> scaling;
53 sum += (in_vector[j + 1] * in_vector[i + j + 1]) >> scaling;
54 sum += (in_vector[j + 2] * in_vector[i + j + 2]) >> scaling;
55 sum += (in_vector[j + 3] * in_vector[i + j + 3]) >> scaling;
58 sum += (in_vector[j] * in_vector[i + j]) >> scaling;
63 *scale = scaling;
    [all...]
energy.c 26 int scaling = local
33 en += (*vectorptr * *vectorptr) >> scaling;
36 *scale_factor = scaling;
cross_correlation_neon.c 19 int scaling) {
56 *cross_correlation = (int32_t)((sum2 + sum_res) >> scaling);
58 int64x1_t shift = vdup_n_s64(-scaling);
  /external/libgdx/gdx/src/com/badlogic/gdx/utils/viewport/
ScalingViewport.java 23 import com.badlogic.gdx.utils.Scaling;
25 /** A viewport that scales the world using {@link Scaling}.
27 * {@link Scaling#fit} keeps the aspect ratio by scaling the world up to fit the screen, adding black bars (letterboxing) for the
30 * {@link Scaling#fill} keeps the aspect ratio by scaling the world up to take the whole screen (some of the world may be off
33 * {@link Scaling#stretch} does not keep the aspect ratio, the world is scaled to take the whole screen.
35 * {@link Scaling#none} keeps the aspect ratio by using a fixed size world (the world may not fill the screen or some of the world
40 private Scaling scaling; field in class:ScalingViewport
    [all...]
  /external/webrtc/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/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/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/
ScaledNumericValue.java 11 private float[] scaling = {1}; field in class:ScaledNumericValue
47 return scaling;
51 this.scaling = values;
74 // return scaling[n - 1];
82 if (endIndex == -1) return scaling[n - 1];
84 float startValue = scaling[startIndex];
86 return startValue + (scaling[endIndex] - startValue) * ((percent - startTime) / (timeline[endIndex] - startTime));
93 scaling = new float[value.scaling.length];
94 System.arraycopy(value.scaling, 0, scaling, 0, scaling.length)
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/
time_stretch.cc 79 // Calculate scaling to ensure that |peak_index| samples can be square-summed
81 int scaling = 31 - WebRtcSpl_NormW32(max_input_value_ * max_input_value_) - local
83 scaling = std::max(0, scaling);
92 WebRtcSpl_DotProductWithScale(vec1, vec1, peak_index, scaling);
94 WebRtcSpl_DotProductWithScale(vec2, vec2, peak_index, scaling);
98 WebRtcSpl_DotProductWithScale(vec1, vec2, peak_index, scaling);
102 scaling);
115 // 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...]
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
btEmptyShape.h 45 virtual void setLocalScaling(const btVector3& scaling)
47 m_localScaling = scaling;
btConeShape.cpp 138 void btConeShape::setLocalScaling(const btVector3& scaling)
143 m_height *= scaling[axis] / m_localScaling[axis];
144 m_radius *= (scaling[r1] / m_localScaling[r1] + scaling[r2] / m_localScaling[r2]) / 2;
146 btConvexInternalShape::setLocalScaling(scaling);
btConvexInternalShape.cpp 28 void btConvexInternalShape::setLocalScaling(const btVector3& scaling)
30 m_localScaling = scaling.absolute();
98 void btConvexInternalAabbCachingShape::setLocalScaling(const btVector3& scaling)
100 btConvexInternalShape::setLocalScaling(scaling);
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
pitch_estimator_c.c 23 int16_t scaling,n,k; local
30 scaling = WebRtcSpl_GetScalingSquare((int16_t*)in,
37 ysum32 += in[n] * in[n] >> scaling; // Q0
38 csum32 += x[n] * in[n] >> scaling; // Q0
56 ysum32 -= in[k - 1] * in[k - 1] >> scaling;
58 scaling;
67 int32x4_t int_32x4_scale = vdupq_n_s32(-scaling);
88 if(scaling == 0) {
94 csum32 += (x[n] * inptr[n]) >> scaling;
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;
pitch_estimator_mips.c 18 int16_t scaling,n,k; local
25 scaling = WebRtcSpl_GetScalingSquare((int16_t*)in,
58 "srav %[tmp5], %[tmp5], %[scaling] \n\t"
59 "srav %[tmp1], %[tmp1], %[scaling] \n\t"
60 "srav %[tmp6], %[tmp6], %[scaling] \n\t"
61 "srav %[tmp2], %[tmp2], %[scaling] \n\t"
62 "srav %[tmp7], %[tmp7], %[scaling] \n\t"
63 "srav %[tmp3], %[tmp3], %[scaling] \n\t"
64 "srav %[tmp8], %[tmp8], %[scaling] \n\t"
65 "srav %[tmp4], %[tmp4], %[scaling] \n\t
    [all...]
filters_neon.c 24 int16_t scaling = 0; local
53 // Calculate scaling (the value of shifting).
56 scaling = temp ? 32 - WebRtcSpl_NormU32(temp) : 0;
57 r[0] = (int32_t)(prod >> scaling);
107 r[i] = (int32_t)((prod + prod_tail) >> scaling);
110 *scale = scaling;
  /external/webrtc/webrtc/voice_engine/include/
voe_volume_control.h 17 // - Additional stereo scaling methods.
93 // Sets a volume |scaling| applied to the outgoing signal of a specific
95 virtual int SetChannelOutputVolumeScaling(int channel, float scaling) = 0;
97 // Gets the current volume scaling for a specified |channel|.
98 virtual int GetChannelOutputVolumeScaling(int channel, float& scaling) = 0;
104 // Gets the current left and right scaling factors.
  /external/webrtc/webrtc/voice_engine/
voe_volume_control_impl.h 42 int SetChannelOutputVolumeScaling(int channel, float scaling) override;
44 int GetChannelOutputVolumeScaling(int channel, float& scaling) override;
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/data/
ModelNodeAnimation.java 30 /** the keyframes, defining the scaling of a node for a specific timestamp **/
31 public Array<ModelNodeKeyframe<Vector3>> scaling; field in class:ModelNodeAnimation
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
Image.java 30 import com.badlogic.gdx.utils.Scaling;
36 private Scaling scaling; field in class:Image
49 this(new NinePatchDrawable(patch), Scaling.stretch, Align.center);
55 this(new TextureRegionDrawable(region), Scaling.stretch, Align.center);
65 this(skin.getDrawable(drawableName), Scaling.stretch, Align.center);
71 this(drawable, Scaling.stretch, Align.center);
76 public Image (Drawable drawable, Scaling scaling) {
77 this(drawable, scaling, Align.center);
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/
NodeAnimation.java 34 /** the scaling keyframes if any (might be null), sorted by time ascending **/
35 public Array<NodeKeyframe<Vector3>> scaling = null; field in class:NodeAnimation
  /external/speex/libspeex/
filterbank.h 45 float *scaling; member in struct:__anon22685
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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...]

Completed in 457 milliseconds

1 2 3 4 5 6 7