Searched defs:scale (Results 1 - 25 of 1038) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
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 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);
/external/chromium_org/ui/gfx/image/
H A Dimage_png_rep.h14 // An ImagePNGRep represents a bitmap's png encoded data and the scale factor it
30 float scale; member in struct:gfx::ImagePNGRep
H A Dcanvas_image_source.cc20 gfx::ImageSkiaRep CanvasImageSource::GetImageForScale(float scale) { argument
21 gfx::Canvas canvas(size_, scale, is_opaque_);
/external/chromium_org/third_party/opus/src/silk/fixed/
H A Dautocorr_FIX.c38 opus_int *scale, /* O Scaling of the correlation vector */
47 *scale = _celt_autocorr(inputData, results, NULL, 0, corrCount-1, inputDataSize, arch);
36 silk_autocorr( opus_int32 *results, opus_int *scale, const opus_int16 *inputData, const opus_int inputDataSize, const opus_int correlationCount, int arch ) argument
/external/chromium_org/third_party/opus/src/silk/
H A Dinner_prod_aligned.c37 const opus_int scale, /* I number of bits to shift */
44 sum = silk_ADD_RSHIFT32( sum, silk_SMULBB( inVec1[ i ], inVec2[ i ] ), scale );
34 silk_inner_prod_aligned_scale( const opus_int16 *const inVec1, const opus_int16 *const inVec2, const opus_int scale, const opus_int len ) argument
/external/chromium_org/third_party/skia/debugger/QT/
H A DSkSettingsWidget.cpp215 void SkSettingsWidget::setZoomText(float scale) { argument
216 fZoomBox.setText(QString::number(scale*100, 'f', 0).append("%"));
/external/libopus/silk/fixed/
H A Dautocorr_FIX.c38 opus_int *scale, /* O Scaling of the correlation vector */
47 *scale = _celt_autocorr(inputData, results, NULL, 0, corrCount-1, inputDataSize, arch);
36 silk_autocorr( opus_int32 *results, opus_int *scale, const opus_int16 *inputData, const opus_int inputDataSize, const opus_int correlationCount, int arch ) argument
/external/libopus/silk/
H A Dinner_prod_aligned.c37 const opus_int scale, /* I number of bits to shift */
44 sum = silk_ADD_RSHIFT32( sum, silk_SMULBB( inVec1[ i ], inVec2[ i ] ), scale );
34 silk_inner_prod_aligned_scale( const opus_int16 *const inVec1, const opus_int16 *const inVec2, const opus_int scale, const opus_int len ) argument
/external/skia/debugger/QT/
H A DSkSettingsWidget.cpp215 void SkSettingsWidget::setZoomText(float scale) { argument
216 fZoomBox.setText(QString::number(scale*100, 'f', 0).append("%"));
/external/skia/include/effects/
H A DSkTestImageFilters.h10 static SkDownSampleImageFilter* Create(SkScalar scale) { argument
11 return SkNEW_ARGS(SkDownSampleImageFilter, (scale));
17 SkDownSampleImageFilter(SkScalar scale) : INHERITED(0), fScale(scale) {} argument
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/
H A DWEBPImageDecoder.cpp49 inline uint8_t blendChannel(uint8_t src, uint8_t srcA, uint8_t dst, uint8_t dstA, unsigned scale) argument
52 ASSERT(blendUnscaled < (1ULL << 32) / scale);
53 return (blendUnscaled * scale) >> 24;
66 unsigned scale = (1UL << 24) / blendA;
68 uint8_t blendR = blendChannel(SkGetPackedR32(src), srcA, SkGetPackedR32(dst), dstFactorA, scale);
69 uint8_t blendG = blendChannel(SkGetPackedG32(src), srcA, SkGetPackedG32(dst), dstFactorA, scale);
70 uint8_t blendB = blendChannel(SkGetPackedB32(src), srcA, SkGetPackedB32(dst), dstFactorA, scale);
/external/chromium_org/third_party/skia/include/core/
H A DSkUnPreMultiply.h38 SkUnPreMultiply::Scale scale = table[a];
40 red = SkUnPreMultiply::ApplyScale(scale, red);
45 static U8CPU ApplyScale(Scale scale, U8CPU component) { argument
47 return (scale * component + (1 << 23)) >> 24;
/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/src/core/
H A DSkUnPreMultiply.cpp13 const Scale scale = GetScale(a); local
15 ApplyScale(scale, SkGetPackedR32(c)),
16 ApplyScale(scale, SkGetPackedG32(c)),
17 ApplyScale(scale, SkGetPackedB32(c)));
22 const Scale scale = GetScale(a); local
24 ApplyScale(scale, SkGetPackedR32(c)),
25 ApplyScale(scale, SkGetPackedG32(c)),
26 ApplyScale(scale, SkGetPackedB32(c)));
67 uint32_t scale; local
70 scale
[all...]
/external/chromium_org/third_party/skia/tests/
H A DMipMapTest.cpp36 SkScalar scale = SK_Scalar1; local
38 scale = scale * 2 / 3;
41 if (mm->extractLevel(scale, &level)) {
/external/chromium_org/ui/gfx/
H A Dtransform_util.h16 // Returns a scale transform at |anchor| point.
17 GFX_EXPORT Transform GetScaleTransform(const Point& anchor, float scale);
27 SkMScalar scale[3]; member in struct:gfx::DecomposedTransform
46 // Decomposes this transform into its translation, scale, skew, perspective,
52 // Composes a transform from the given translation, scale, skew, prespective,
H A Dtransform_util_unittest.cc19 Transform scale = GetScaleTransform(kAnchor, kScale); local
26 scale.TransformPoint(&test);
/external/skia/bench/
H A DImageCacheBench.cpp25 SkScalar scale = 1; local
29 fCache.unlock(fCache.addAndLock(fBM, scale, scale, tmp));
30 scale += 1;
45 // search for a miss (-1 scale)
/external/skia/include/core/
H A DSkUnPreMultiply.h38 SkUnPreMultiply::Scale scale = table[a];
40 red = SkUnPreMultiply::ApplyScale(scale, red);
45 static U8CPU ApplyScale(Scale scale, U8CPU component) { argument
47 return (scale * component + (1 << 23)) >> 24;
/external/skia/src/core/
H A DSkUnPreMultiply.cpp13 const Scale scale = GetScale(a); local
15 ApplyScale(scale, SkGetPackedR32(c)),
16 ApplyScale(scale, SkGetPackedG32(c)),
17 ApplyScale(scale, SkGetPackedB32(c)));
22 const Scale scale = GetScale(a); local
24 ApplyScale(scale, SkGetPackedR32(c)),
25 ApplyScale(scale, SkGetPackedG32(c)),
26 ApplyScale(scale, SkGetPackedB32(c)));
67 uint32_t scale; local
70 scale
[all...]
/external/skia/tests/
H A DMipMapTest.cpp36 SkScalar scale = SK_Scalar1; local
38 scale = scale * 2 / 3;
41 if (mm->extractLevel(scale, &level)) {
/external/srec/srec/include/
H A Dlog_tabl.h23 #define LOG_SCALE 1024 /* smallest scale is about 0.1 dB */
33 int scale; member in struct:__anon31116
/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/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...]

Completed in 483 milliseconds

1234567891011>>