Searched defs:scaling (Results 1 - 25 of 65) sorted by relevance

123

/external/webrtc/webrtc/common_audio/signal_processing/
H A Ddot_product_with_scale.c16 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;
13 WebRtcSpl_DotProductWithScale(const int16_t* vector1, const int16_t* vector2, size_t length, int scaling) argument
H A Denergy.c26 int scaling = local
33 en += (*vectorptr * *vectorptr) >> scaling;
36 *scale_factor = scaling;
H A Dauto_correlation.c23 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...]
H A Dcross_correlation_neon.c19 int scaling) {
56 *cross_correlation = (int32_t)((sum2 + sum_res) >> scaling);
58 int64x1_t shift = vdup_n_s64(-scaling);
15 DotProductWithScaleNeon(int32_t* cross_correlation, const int16_t* vector1, const int16_t* vector2, size_t length, int scaling) argument
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/
H A DbtEmptyShape.h45 virtual void setLocalScaling(const btVector3& scaling) argument
47 m_localScaling = scaling;
H A DbtConvexInternalShape.cpp28 void btConvexInternalShape::setLocalScaling(const btVector3& scaling) argument
30 m_localScaling = scaling.absolute();
98 void btConvexInternalAabbCachingShape::setLocalScaling(const btVector3& scaling) argument
100 btConvexInternalShape::setLocalScaling(scaling);
H A DbtConeShape.cpp138 void btConeShape::setLocalScaling(const btVector3& scaling) argument
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);
H A DbtConvex2dShape.cpp65 void btConvex2dShape::setLocalScaling(const btVector3& scaling) argument
67 m_childConvexShape->setLocalScaling(scaling);
H A DbtConvexPointCloudShape.cpp21 void btConvexPointCloudShape::setLocalScaling(const btVector3& scaling) argument
23 m_localScaling = scaling;
H A DbtCylinderShape.h46 return m_implicitShapeDimensions;//changed in Bullet 2.63: assume the scaling and margin are included
112 virtual void setLocalScaling(const btVector3& scaling) argument
118 btConvexInternalShape::setLocalScaling(scaling);
H A DbtStaticPlaneShape.cpp100 void btStaticPlaneShape::setLocalScaling(const btVector3& scaling) argument
102 m_localScaling = scaling;
H A DbtBoxShape.h46 return m_implicitShapeDimensions;//scaling is included, margin is not
98 virtual void setLocalScaling(const btVector3& scaling) argument
104 btConvexInternalShape::setLocalScaling(scaling);
H A DbtCapsuleShape.h95 virtual void setLocalScaling(const btVector3& scaling) argument
101 btConvexInternalShape::setLocalScaling(scaling);
/external/speex/libspeex/
H A Dfilterbank.h45 float *scaling; member in struct:__anon17613
/external/aac/libAACenc/src/
H A Dpre_echo_control.cpp119 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);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/
H A DNodeAnimation.java34 /** the scaling keyframes if any (might be null), sorted by time ascending **/
35 public Array<NodeKeyframe<Vector3>> scaling = null; field in class:NodeAnimation
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/data/
H A DModelNodeAnimation.java30 /** 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/utils/viewport/
H A DScalingViewport.java27 * {@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
40 private Scaling scaling; field in class:ScalingViewport
43 public ScalingViewport (Scaling scaling, float worldWidth, float worldHeight) { argument
44 this(scaling, worldWidth, worldHeight, new OrthographicCamera());
47 public ScalingViewport (Scaling scaling, float worldWidth, float worldHeight, Camera camera) { argument
48 this.scaling = scaling;
55 Vector2 scaled = scaling.apply(getWorldWidth(), getWorldHeight(), screenWidth, screenHeight);
66 return scaling;
69 setScaling(Scaling scaling) argument
[all...]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dpitch_estimator_c.c23 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;
H A Dfilters.c24 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;
H A Dfilters_mips.c21 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] "
[all...]
H A Dfilters_neon.c24 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;
H A Dpitch_estimator_mips.c18 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] \
[all...]
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Dnormal.cc81 int scaling = 6 + fs_shift local
83 scaling = std::max(scaling, 0); // |scaling| should always be >= 0.
85 energy_length, scaling);
87 static_cast<int32_t>(energy_length >> scaling);
98 scaling = WebRtcSpl_NormW32(energy) - 16;
101 background_noise_.Energy(channel_ix) << (scaling+14);
102 int16_t energy_scaled = static_cast<int16_t>(energy << scaling);
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
H A Dvolume_test.cc205 float scaling = -1.0f; local
208 channel_, scaling));
209 EXPECT_FLOAT_EQ(1.0f, scaling);
216 float scaling = 1.0f; local
218 channel_, scaling));
220 EXPECT_FLOAT_EQ(0.1f, scaling);
222 TEST_LOG("Channel scaling set to 0.1: audio should be barely audible.\n");

Completed in 360 milliseconds

123