Searched refs:scale (Results 1 - 25 of 1847) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dmy_corr.c32 int16_t max, scale, loops; local
38 scale=WebRtcSpl_GetSizeInBits(max);
40 scale = (int16_t)(WEBRTC_SPL_MUL_16_16(2,scale)-26);
41 if (scale<0) {
42 scale=0;
48 WebRtcSpl_CrossCorrelation(corr, (int16_t*)seq2, seq1, dim2, loops, scale, 1);
H A Dgain_dequant.c33 int16_t scale; local
36 /* obtain correct scale factor */
38 scale=WEBRTC_SPL_ABS_W16(maxIn);
39 scale = WEBRTC_SPL_MAX(1638, scale); /* if lower than 0.1, set it to 0.1 */
44 return((int16_t)((WEBRTC_SPL_MUL_16_16(scale, gain[index])+8192)>>14));
H A Dsmooth.c34 int16_t maxtot, scale, scale1, scale2; local
45 /* compute some inner products (ensure no overflow by first calculating proper scale factor) */
53 scale=WebRtcSpl_GetSizeInBits(maxtot);
54 scale = (int16_t)WEBRTC_SPL_MUL_16_16(2,scale)-26;
55 scale=WEBRTC_SPL_MAX(0, scale);
57 w00=WebRtcSpl_DotProductWithScale(current,current,ENH_BLOCKL,scale);
58 w11=WebRtcSpl_DotProductWithScale(surround,surround,ENH_BLOCKL,scale);
59 w10=WebRtcSpl_DotProductWithScale(surround,current,ENH_BLOCKL,scale);
[all...]
H A Dcomp_corr.c33 int16_t scale /* (i) number of rightshifts to use */
40 (*corr)=WebRtcSpl_DotProductWithScale(&buffer[bLen-sRange], w16ptr, sRange, scale);
41 (*ener)=WebRtcSpl_DotProductWithScale(w16ptr, w16ptr, sRange, scale);
/external/aac/libFDK/include/mips/
H A Dscale.h98 * \brief Scale input value by 2^{scale} and saturate output to 2^{dBits-1}
104 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \
105 (__builtin_mips_shll_s_w((src)>>scale,(DFRACT_BITS-(dBits)))>>(DFRACT_BITS-(dBits)))
/external/chromium_org/ui/gfx/image/
H A Dimage_skia_rep.cc17 ImageSkiaRep::ImageSkiaRep(const gfx::Size& size, float scale) : scale_(scale) { argument
18 bitmap_.allocN32Pixels(static_cast<int>(size.width() * this->scale()),
19 static_cast<int>(size.height() * this->scale()));
23 ImageSkiaRep::ImageSkiaRep(const SkBitmap& src, float scale) argument
25 scale_(scale) {
29 return static_cast<int>(bitmap_.width() / scale());
33 return static_cast<int>(bitmap_.height() / scale());
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-crbug-390918.js7 function f(scale) {
11 arr[2 * scale] = 0;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DSimpleBigDecimal.java10 * point is called the <code>scale</code> of the <code>SimpleBigDecimal</code>.
11 * Unlike in {@link java.math.BigDecimal BigDecimal}, the scale is not adjusted
13 * taking part in the same arithmetic operation must have equal scale. The
15 * <code>SimpleBigDecimal</code> with double scale.
23 private final int scale; field in class:SimpleBigDecimal
30 * @param scale The scale of the <code>SimpleBigDecimal</code> to be
34 public static SimpleBigDecimal getInstance(BigInteger value, int scale) argument
36 return new SimpleBigDecimal(value.shiftLeft(scale), scale);
46 SimpleBigDecimal(BigInteger bigInt, int scale) argument
[all...]
/external/aac/libFDK/include/arm/
H A Dscale.h95 inline static INT shiftRightSat(INT src, int scale) argument
102 : "r"(src>>scale), "M"(SAMPLE_BITS)
108 #define SATURATE_INT_PCM_RIGHT_SHIFT(src, scale) shiftRightSat(src, scale)
110 inline static INT shiftLeftSat(INT src, int scale) argument
117 : "r"(src<<scale), "M"(SAMPLE_BITS)
123 #define SATURATE_INT_PCM_LEFT_SHIFT(src, scale) shiftLeftSat(src, scale)
143 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \
144 ( (((LONG)(src) ^ ((LONG)(src) >> (DFRACT_BITS-1)))>>(scale)) > (LON
[all...]
/external/aac/libFDK/include/
H A Dscale.h102 #include "arm/scale.h"
105 #include "mips/scale.h"
110 #include "../src/scale.cpp"
196 * \brief Scale input value by 2^{scale} and saturate output to 2^{dBits-1}
204 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \
205 ( (((LONG)(src)>>(scale)) > (LONG)(((1U)<<((dBits)-1))-1)) ? (LONG)(((1U)<<((dBits)-1))-1) \
206 : (((LONG)(src)>>(scale)) < ~((LONG)(((1U)<<((dBits)-1))-1))) ? ~((LONG)(((1U)<<((dBits)-1))-1)) \
207 : ((LONG)(src) >> (scale)) )
211 #define SATURATE_LEFT_SHIFT(src, scale, dBits) \
212 ( ((LONG)(src) > ((LONG)(((1U)<<((dBits)-1))-1)>>(scale)))
[all...]
/external/chromium_org/third_party/opus/src/silk/
H A Dstereo_find_predictor.c44 opus_int scale, scale1, scale2; local
50 scale = silk_max_int( scale1, scale2 );
51 scale = scale + ( scale & 1 ); /* make even */
52 nrgy = silk_RSHIFT32( nrgy, scale - scale2 );
53 nrgx = silk_RSHIFT32( nrgx, scale - scale1 );
55 corr = silk_inner_prod_aligned_scale( x, y, scale, length );
65 scale = silk_RSHIFT( scale,
[all...]
/external/libopus/silk/
H A Dstereo_find_predictor.c44 opus_int scale, scale1, scale2; local
50 scale = silk_max_int( scale1, scale2 );
51 scale = scale + ( scale & 1 ); /* make even */
52 nrgy = silk_RSHIFT32( nrgy, scale - scale2 );
53 nrgx = silk_RSHIFT32( nrgx, scale - scale1 );
55 corr = silk_inner_prod_aligned_scale( x, y, scale, length );
65 scale = silk_RSHIFT( scale,
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapProcState_filter.h31 int scale = 256 - 16*y - 16*x + xy; local
32 uint32_t lo = (a00 & mask) * scale;
33 uint32_t hi = ((a00 >> 8) & mask) * scale;
35 scale = 16*x - xy;
36 lo += (a01 & mask) * scale;
37 hi += ((a01 >> 8) & mask) * scale;
39 scale = 16*y - xy;
40 lo += (a10 & mask) * scale;
41 hi += ((a10 >> 8) & mask) * scale;
61 int scale local
91 int scale = 256 - 16*t; local
113 int scale = 256 - 16*t; local
[all...]
/external/skia/src/core/
H A DSkBitmapProcState_filter.h31 int scale = 256 - 16*y - 16*x + xy; local
32 uint32_t lo = (a00 & mask) * scale;
33 uint32_t hi = ((a00 >> 8) & mask) * scale;
35 scale = 16*x - xy;
36 lo += (a01 & mask) * scale;
37 hi += ((a01 >> 8) & mask) * scale;
39 scale = 16*y - xy;
40 lo += (a10 & mask) * scale;
41 hi += ((a10 >> 8) & mask) * scale;
61 int scale local
91 int scale = 256 - 16*t; local
113 int scale = 256 - 16*t; local
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dutmstest.c100 static void roundTripTest(int64_t value, UDateTimeScale scale) argument
103 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status);
106 log_err("Round-trip error: time scale = %d, value = %lld, round-trip = %lld.\n", scale, value, rt);
110 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale) argument
113 int64_t result = utmscale_toInt64(toLimit, scale, &status);
116 log_err("toLimit failure: scale = %d, toLimit = %lld , utmscale_toInt64(toLimit, scale, &status) = %lld, fromLimit = %lld.\n",
117 scale, toLimi
121 epochOffsetTest(int64_t epochOffset, int64_t units, UDateTimeScale scale) argument
154 int32_t scale; local
167 int32_t scale; local
181 int32_t scale; local
196 int32_t scale; local
257 int32_t scale; local
332 int32_t scale; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dutmstest.c100 static void roundTripTest(int64_t value, UDateTimeScale scale) argument
103 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status);
106 log_err("Round-trip error: time scale = %d, value = %lld, round-trip = %lld.\n", scale, value, rt);
110 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale) argument
113 int64_t result = utmscale_toInt64(toLimit, scale, &status);
116 log_err("toLimit failure: scale = %d, toLimit = %lld , utmscale_toInt64(toLimit, scale, &status) = %lld, fromLimit = %lld.\n",
117 scale, toLimi
121 epochOffsetTest(int64_t epochOffset, int64_t units, UDateTimeScale scale) argument
154 int32_t scale; local
167 int32_t scale; local
181 int32_t scale; local
196 int32_t scale; local
257 int32_t scale; local
332 int32_t scale; local
[all...]
/external/chromium_org/third_party/polymer/components/paper-dialog/
H A Dpaper-dialog-transition.css22 transform: scale(0.9) translateY(200%);
23 -webkit-transform: scale(0.9) translateY(200%);
33 transform: scale(0.5) translateY(0);
34 -webkit-transform: scale(0.5) translateY(0);
37 transform: scale(1) translateY(-10px);
38 -webkit-transform: scale(1) translateY(-10px);
41 transform: scale(1) translateY(0);
42 -webkit-transform: scale(1) translateY(0);
48 transform: scale(0.5) translateY(0);
49 -webkit-transform: scale(0.
[all...]
/external/chromium_org/third_party/polymer/components-chromium/paper-dialog/
H A Dpaper-dialog-transition.css22 transform: scale(0.9) translateY(200%);
23 -webkit-transform: scale(0.9) translateY(200%);
33 transform: scale(0.5) translateY(0);
34 -webkit-transform: scale(0.5) translateY(0);
37 transform: scale(1) translateY(-10px);
38 -webkit-transform: scale(1) translateY(-10px);
41 transform: scale(1) translateY(0);
42 -webkit-transform: scale(1) translateY(0);
48 transform: scale(0.5) translateY(0);
49 -webkit-transform: scale(0.
[all...]
/external/chromium_org/third_party/skia/include/effects/
H A DSkTestImageFilters.h10 static SkDownSampleImageFilter* Create(SkScalar scale, SkImageFilter* input = NULL) { argument
11 if (!SkScalarIsFinite(scale)) {
14 // we don't support scale in this range
15 if (scale > SK_Scalar1 || scale <= 0) {
18 return SkNEW_ARGS(SkDownSampleImageFilter, (scale, input));
24 SkDownSampleImageFilter(SkScalar scale, SkImageFilter* input) argument
25 : INHERITED(1, &input), fScale(scale) {}
/external/chromium_org/third_party/skia/gm/
H A Dhittestpath.cpp51 int scale = 300; local
53 path.lineTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale);
54 path.quadTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale,
55 rand.nextUScalar1() * scale, rand.nextUScalar1() * scale);
56 path.cubicTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale,
57 rand.nextUScalar1() * scale, ran
[all...]
/external/skia/gm/
H A Dhittestpath.cpp51 int scale = 300; local
53 path.lineTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale);
54 path.quadTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale,
55 rand.nextUScalar1() * scale, rand.nextUScalar1() * scale);
56 path.cubicTo(rand.nextUScalar1() * scale, rand.nextUScalar1() * scale,
57 rand.nextUScalar1() * scale, ran
[all...]
/external/chromium_org/third_party/skia/tests/
H A DColorPrivTest.cpp23 for (unsigned scale = 0; scale <= 256; scale++) {
24 ASSERT(SkFourByteInterp256(src, dst, scale) == SkFastFourByteInterp256(src, dst, scale));
27 for (unsigned scale = 0; scale < 256; scale++) {
30 const SkPMColor slow = SkFourByteInterp(src, dst, scale);
31 const SkPMColor fast = SkFastFourByteInterp(src, dst, scale);
[all...]
/external/skia/tests/
H A DColorPrivTest.cpp23 for (unsigned scale = 0; scale <= 256; scale++) {
24 ASSERT(SkFourByteInterp256(src, dst, scale) == SkFastFourByteInterp256(src, dst, scale));
27 for (unsigned scale = 0; scale < 256; scale++) {
30 const SkPMColor slow = SkFourByteInterp(src, dst, scale);
31 const SkPMColor fast = SkFastFourByteInterp(src, dst, scale);
[all...]
/external/aac/libAACdec/src/arm/
H A Dblock_arm.cpp115 int scale = SpecScale_window-pSfbScale[window*16+band]; local
116 if (scale)
125 tmp0 >>= scale; local
126 tmp1 >>= scale; local
127 tmp2 >>= scale; local
128 tmp3 >>= scale; local
/external/chromium_org/media/base/
H A Dvector_math_testing.h17 MEDIA_EXPORT void FMAC_C(const float src[], float scale, int len, float dest[]);
18 MEDIA_EXPORT void FMUL_C(const float src[], float scale, int len, float dest[]);
23 MEDIA_EXPORT void FMAC_SSE(const float src[], float scale, int len,
25 MEDIA_EXPORT void FMUL_SSE(const float src[], float scale, int len,
32 MEDIA_EXPORT void FMAC_NEON(const float src[], float scale, int len,
34 MEDIA_EXPORT void FMUL_NEON(const float src[], float scale, int len,

Completed in 617 milliseconds

1234567891011>>