Home
last modified time | relevance | path

Searched refs:scale1 (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dsmooth.c34 int16_t maxtot, scale, scale1, scale2; in WebRtcIlbcfix_Smooth() local
70 scale1 = 31 - bitsw00; in WebRtcIlbcfix_Smooth()
73 if (scale2>(scale1-16)) { in WebRtcIlbcfix_Smooth()
74 scale2 = scale1 - 16; in WebRtcIlbcfix_Smooth()
76 scale1 = scale2 + 16; in WebRtcIlbcfix_Smooth()
79 w00prim = w00 << scale1; in WebRtcIlbcfix_Smooth()
98 if ( (6-scale+scale1) > 31) { in WebRtcIlbcfix_Smooth()
104 -(6-scale+scale1)); in WebRtcIlbcfix_Smooth()
115 scale1 = bitsw00-15; in WebRtcIlbcfix_Smooth()
118 if (scale2>scale1) { in WebRtcIlbcfix_Smooth()
[all …]
Dframe_classify.c37 int16_t scale1; in WebRtcIlbcfix_FrameClassify() local
53 scale1 = WEBRTC_SPL_MAX(0, scale); in WebRtcIlbcfix_FrameClassify()
59 (*seqEnPtr) = WebRtcSpl_DotProductWithScale(ssqPtr, ssqPtr, 76, scale1); in WebRtcIlbcfix_FrameClassify()
67 scale1 = WEBRTC_SPL_MAX(0, scale); in WebRtcIlbcfix_FrameClassify()
79 (*seqEnPtr)=WEBRTC_SPL_MUL(((*seqEnPtr)>>scale1), (*ssqPtr)); in WebRtcIlbcfix_FrameClassify()
Ddo_plc.c53 int16_t scale1, scale2; in WebRtcIlbcfix_DoThePlc() local
156 scale1=(int16_t)WebRtcSpl_NormW32(tmp2W32)-16; in WebRtcIlbcfix_DoThePlc()
157 tmp1=(int16_t)WEBRTC_SPL_SHIFT_W32(tmp2W32, scale1); in WebRtcIlbcfix_DoThePlc()
166 totscale = scale1+scale2-1; in WebRtcIlbcfix_DoThePlc()
Denhancer_interface.c41 int16_t scale, scale1; in WebRtcIlbcfix_EnhancerInterface() local
274 scale1=(int16_t)WebRtcSpl_NormW32(tmp1); in WebRtcIlbcfix_EnhancerInterface()
275 tmp1=WEBRTC_SPL_SHIFT_W32(tmp1, (scale1-16)); /* using 15 bits */ in WebRtcIlbcfix_EnhancerInterface()
277 tmp2=WEBRTC_SPL_SHIFT_W32(tmp2, (scale1)); in WebRtcIlbcfix_EnhancerInterface()
/external/eigen/bench/
Dquat_slerp.cpp37 Scalar scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_legacy() local
39 scale1 = -scale1; in slerp_legacy()
41 return Q(scale0 * a.coeffs() + scale1 * b.coeffs()); in slerp_legacy()
53 Scalar scale1; in slerp_legacy_nlerp() local
58 scale1 = t; in slerp_legacy_nlerp()
67 scale1 = internal::sin( ( t * theta) ) / sinTheta; in slerp_legacy_nlerp()
69 scale1 = -scale1; in slerp_legacy_nlerp()
72 return Q(scale0 * a.coeffs() + scale1 * b.coeffs()); in slerp_legacy_nlerp()
101 Scalar scale1 = t * sin_over_x( ( t * theta) ) / sinOverTheta; in slerp_rw() local
103 scale1 = -scale1; in slerp_rw()
[all …]
/external/libopus/silk/
Dstereo_find_predictor.c44 opus_int scale, scale1, scale2; in silk_stereo_find_predictor() local
48 silk_sum_sqr_shift( &nrgx, &scale1, x, length ); in silk_stereo_find_predictor()
50 scale = silk_max_int( scale1, scale2 ); in silk_stereo_find_predictor()
53 nrgx = silk_RSHIFT32( nrgx, scale - scale1 ); in silk_stereo_find_predictor()
/external/opencv3/modules/stitching/perf/
Dperf_stich.cpp107 float scale1 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img1_full.total())); in PERF_TEST_P() local
109 resize(img1_full, img1, Size(), scale1, scale1); in PERF_TEST_P()
160 float scale1 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img1_full.total())); variable
162 resize(img1_full, img1, Size(), scale1, scale1);
/external/fec/
Dviterbi29_av.c164 vector unsigned char scale0,scale1; in update_viterbi29_blk_av() local
168 scale1 = vp->new_metrics->v[1]; in update_viterbi29_blk_av()
171 scale1 = vec_min(scale1,vp->new_metrics->v[i+1]); in update_viterbi29_blk_av()
173 scale0 = vec_min(scale0,scale1); in update_viterbi29_blk_av()
Dviterbi27_av.c183 vector unsigned char scale0,scale1; in update_viterbi27_blk_av() local
187 scale1 = vec_min(vp->new_metrics->v[2],vp->new_metrics->v[3]); in update_viterbi27_blk_av()
188 scale0 = vec_min(scale0,scale1); in update_viterbi27_blk_av()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/
Dquat.js362 var omega, cosom, sinom, scale0, scale1;
380 scale1 = Math.sin(t * omega) / sinom;
385 scale1 = t;
388 out[0] = scale0 * ax + scale1 * bx;
389 out[1] = scale0 * ay + scale1 * by;
390 out[2] = scale0 * az + scale1 * bz;
391 out[3] = scale0 * aw + scale1 * bw;
/external/eigen/Eigen/src/Eigen2Support/Geometry/
DQuaternion.h423 Scalar scale1;
428 scale1 = t;
437 scale1 = ei_sin( ( t * theta) ) / sinTheta;
439 scale1 = -scale1;
442 return Quaternion<Scalar>(scale0 * coeffs() + scale1 * other.coeffs());
/external/webp/src/dsp/
Dalpha_processing_sse2.c162 const __m128i scale1 = _mm_mulhi_epu16(alpha2, MULT); \
164 const __m128i argb3 = _mm_mullo_epi16(argb1, scale1); \
239 const __m128i scale1 = _mm_or_si128(tmp2, kOne64); in MultARGBRow() local
241 const __m128i argb3 = _mm_mullo_epi16(argb1, scale1); in MultARGBRow()
/external/opencv3/modules/calib3d/src/
Dfundam.cpp557 double t, scale1 = 0, scale2 = 0; in run8Point() local
585 scale1 += std::sqrt(x*x + y*y); in run8Point()
591 scale1 *= t; in run8Point()
594 if( scale1 < FLT_EPSILON || scale2 < FLT_EPSILON ) in run8Point()
597 scale1 = std::sqrt(2.)/scale1; in run8Point()
607 double x1 = (m1[i].x - m1c.x)*scale1; in run8Point()
608 double y1 = (m1[i].y - m1c.y)*scale1; in run8Point()
649 double tt1[] = { scale1, 0, -scale1*m1c.x, 0, scale1, -scale1*m1c.y, 0, 0, 1 }; in run8Point()
/external/eigen/Eigen/src/Geometry/
DQuaternion.h697 Scalar scale1;
702 scale1 = t;
711 scale1 = sin( ( t * theta) ) / sinTheta;
713 if(d<Scalar(0)) scale1 = -scale1;
715 return Quaternion<Scalar>(scale0 * coeffs() + scale1 * other.coeffs());
/external/opencv/cv/src/
Dcvfundam.cpp800 double t, scale0 = 0, scale1 = 0; in run8Point() local
830 scale1 += sqrt(x*x + y*y); in run8Point()
834 scale1 *= t; in run8Point()
836 if( scale0 < FLT_EPSILON || scale1 < FLT_EPSILON ) in run8Point()
840 scale1 = sqrt(2.)/scale1; in run8Point()
851 double x1 = (m2[i].x - m1c.x)*scale1; in run8Point()
852 double y1 = (m2[i].y - m1c.y)*scale1; in run8Point()
893 double tt1[] = { scale1, 0, -scale1*m1c.x, 0, scale1, -scale1*m1c.y, 0, 0, 1 }; in run8Point()
/external/aac/libAACenc/src/
Dadj_thr.cpp1740 int scale0=0, scale1=0; in FDKaacEnc_adaptThresholdsToPe() local
1742 … FIXP_DBL tmp1 = CalcRedValPower( constPartGlobal-noRedPeGlobal, 4*nActiveLinesGlobal, &scale1 ); in FDKaacEnc_adaptThresholdsToPe()
1744 int scalMin = FDKmin(scale0, scale1)-1; in FDKaacEnc_adaptThresholdsToPe()
1746 redValue[elementId] = scaleValue(tmp0,(scalMin-scale0)) - scaleValue(tmp1,(scalMin-scale1)); in FDKaacEnc_adaptThresholdsToPe()
1805 int scale1 = 0; in FDKaacEnc_adaptThresholdsToPe() local
1808 …L tmp1 = CalcRedValPower( constPartNoAHGlobal-redPeNoAHGlobal, 4*nActiveLinesNoAHGlobal, &scale1 ); in FDKaacEnc_adaptThresholdsToPe()
1810 int scalMin = FDKmin(scale0, scale1)-1; in FDKaacEnc_adaptThresholdsToPe()
1812 tmp0 = scaleValue(tmp0,(scalMin-scale0)) - scaleValue(tmp1,(scalMin-scale1)); in FDKaacEnc_adaptThresholdsToPe()
1817 scale1 = redValScaling[elementId]; in FDKaacEnc_adaptThresholdsToPe()
1819 scalMin = fixMin(scale0,scale1)-1; in FDKaacEnc_adaptThresholdsToPe()
[all …]
/external/skia/src/core/
DSkDraw.cpp1787 int scale1 = ScalarTo256(src.fX); in shadeSpan() local
1789 int scale0 = 256 - scale1 - scale2; in shadeSpan()
1791 if (scale1 > scale2) { in shadeSpan()
1792 scale2 = 256 - scale1; in shadeSpan()
1794 scale1 = 256 - scale2; in shadeSpan()
1801 scale1 = SkAlphaMul(scale1, alphaScale); in shadeSpan()
1806 SkAlphaMulQ(fColors[1], scale1) + in shadeSpan()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/dist/
Dgl-matrix.js3036 var omega, cosom, sinom, scale0, scale1;
3054 scale1 = Math.sin(t * omega) / sinom;
3059 scale1 = t;
3062 out[0] = scale0 * ax + scale1 * bx;
3063 out[1] = scale0 * ay + scale1 * by;
3064 out[2] = scale0 * az + scale1 * bz;
3065 out[3] = scale0 * aw + scale1 * bw;
/external/dng_sdk/source/
Ddng_lens_correction.cpp2279 const real32 scale1 = 1.0f * (1 << fTableOutputBits); in Prepare() local
2286 real32 y = table32.Interpolate (x) * scale1; in Prepare()
/external/guice/extensions/struts2/lib/
Dfreemarker-2.3.16.jarMETA-INF/ META-INF/MANIFEST.MF freemarker/ freemarker/cache/ freemarker/ ...