Searched defs:scale (Results 51 - 75 of 1038) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dcb_mem_energy_augmentation.c25 int16_t scale, /* (i) The scaling of all energy values */
41 nrjRecursive = WebRtcSpl_DotProductWithScale( CBmemPtr-19, CBmemPtr-19, 15, scale);
48 WEBRTC_SPL_MUL_16_16_RSFT(*ppe, *ppe, scale);
53 energy += WebRtcSpl_DotProductWithScale(interpSamplesPtr, interpSamplesPtr, 4, scale);
58 energy += WebRtcSpl_DotProductWithScale(pp, pp, SUBL-lagcount, scale);
22 WebRtcIlbcfix_CbMemEnergyAugmentation( int16_t *interpSamples, int16_t *CBmem, int16_t scale, int16_t base_size, int16_t *energyW16, int16_t *energyShifts ) argument
H A Dcb_mem_energy_calc.c31 int16_t scale, /* (i) The scaling of all energy values */
50 energy += WEBRTC_SPL_RSHIFT_W32(tmp, scale);
24 WebRtcIlbcfix_CbMemEnergyCalc( int32_t energy, int16_t range, int16_t *ppi, int16_t *ppo, int16_t *energyW16, int16_t *energyShifts, int16_t scale, int16_t base_size ) argument
H A Dframe_classify.c32 int16_t max, scale; local
49 scale=WebRtcSpl_GetSizeInBits(WEBRTC_SPL_MUL_16_16(max,max));
52 scale = scale-24;
53 scale1 = WEBRTC_SPL_MAX(0, scale);
66 scale = WebRtcSpl_GetSizeInBits(maxW32) - 20;
67 scale1 = WEBRTC_SPL_MAX(0, scale);
H A Dgain_quant.c33 int16_t scale, returnVal, cblen; local
40 scale = WEBRTC_SPL_MAX(1638, maxIn);
65 measure1=WEBRTC_SPL_MUL_16_16(scale, (*cbPtr));
81 measure1=WEBRTC_SPL_MUL_16_16(scale, (*cbPtr));
84 measure2=WEBRTC_SPL_MUL_16_16(scale, (*(cbPtr+1)));
90 measure2=WEBRTC_SPL_MUL_16_16(scale, (*(cbPtr-1)));
102 returnVal=(int16_t)((WEBRTC_SPL_MUL_16_16(scale, cb[loc])+8192)>>14);
H A Dsimple_lpc_analysis.c36 int scale; local
65 WebRtcSpl_AutoCorrelation(windowedData, BLOCKL_MAX, LPC_FILTERORDER, R, &scale);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dfilters_unittest.cc21 int16_t scale = 0; local
35 kBuffer, kOrder + 1, &scale);
39 EXPECT_EQ(3, scale);
52 kBuffer, kOrder + 1, &scale);
56 EXPECT_EQ(0, scale);
/external/chromium_org/third_party/webrtc/modules/utility/source/
H A Daudio_frame_operations.cc91 int AudioFrameOperations::ScaleWithSat(float scale, AudioFrame& frame) { argument
97 temp_data = static_cast<int32_t>(scale * frame.data_[i]);
/external/chromium_org/ui/base/cursor/
H A Dcursor_loader.h30 // Returns the current scale of the mouse cursor icon.
31 float scale() const { function in class:ui::CursorLoader
35 // Sets the scale of the mouse cursor icon.
36 void set_scale(const float scale) { argument
37 scale_ = scale;
65 // The current scale of the mouse cursor icon.
/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());
H A Dimage_skia_rep.h14 // An ImageSkiaRep represents a bitmap and the scale factor it is intended for.
15 // 0.0f scale is used to indicate that this ImageSkiaRep is used for unscaled
16 // image (the image that only returns 1.0f scale image).
27 // Specifying 0 scale means the image is for unscaled image. (unscaled()
28 // returns truen, and scale() returns 1.0f;)
29 ImageSkiaRep(const gfx::Size& size, float scale);
31 // Creates a bitmap with given scale.
33 ImageSkiaRep(const SkBitmap& src, float scale);
49 // Retrieves the scale that the bitmap will be painted at.
50 float scale() cons function in class:gfx::ImageSkiaRep
[all...]
/external/freetype/src/base/
H A Dftadvanc.c32 FT_Fixed scale; local
43 scale = face->size->metrics.y_scale;
45 scale = face->size->metrics.x_scale;
51 advances[nn] = FT_MulDiv( advances[nn], scale, 64 );
152 /* scale from 26.6 to 16.16 */
/external/iproute2/lib/
H A Dipx_ntop.c7 static __inline__ int do_digit(char *str, u_int32_t addr, u_int32_t scale, size_t *pos, size_t len) argument
9 u_int32_t tmp = addr >> (scale * 4);
/external/libopus/silk/fixed/
H A Dwarped_autocorrelation_FIX.c40 opus_int *scale, /* O Scaling of the correlation vector */
76 *scale = -( QC + lsh );
77 silk_assert( *scale >= -30 && *scale <= 12 );
38 silk_warped_autocorrelation_FIX( opus_int32 *corr, opus_int *scale, const opus_int16 *input, const opus_int warping_Q16, const opus_int length, const opus_int order ) argument
/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/libvorbis/lib/
H A Dmdct.h63 DATA_TYPE scale; member in struct:__anon24746
/external/libvpx/libvpx/vp9/common/
H A Dvp9_reconinter.h52 const struct scale_factors *scale,
56 dst->buf = src + scaled_buffer_offset(x, y, stride, scale);
49 setup_pred_plane(struct buf_2d *dst, uint8_t *src, int stride, int mi_row, int mi_col, const struct scale_factors *scale, int subsampling_x, int subsampling_y) argument
H A Dvp9_tapify.py12 scale = 2**16 variable
26 return int((scale*dist(b,p)+s/2)/s)
33 t4 = scale - t(ul,p,sum) - t(ur,p,sum) - t(ll,p,sum);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_texture.c52 /* Compute sc = +/-scale and tc = +/-scale.
54 * though that can still sometimes happen with this scale factor...
56 const float scale = 0.9999f; local
57 const float sc = (2 * in_st[0] - 1) * scale;
58 const float tc = (2 * in_st[1] - 1) * scale;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftadvanc.c32 FT_Fixed scale; local
43 scale = face->size->metrics.y_scale;
45 scale = face->size->metrics.x_scale;
51 advances[nn] = FT_MulDiv( advances[nn], scale, 64 );
152 /* scale from 26.6 to 16.16 */
/external/skia/bench/
H A DColorPrivBench.cpp47 // depends on scale. Even here, these must be volatile arrays to prevent that
52 const unsigned scale = fScales[j]; variable
55 junk ^= SkFastFourByteInterp(src, dst, scale);
57 junk ^= SkFastFourByteInterp256(src, dst, scale);
59 junk ^= SkFourByteInterp(src, dst, scale);
61 junk ^= SkFourByteInterp256(src, dst, scale);
/external/skia/experimental/Intersection/
H A DCubicBezierClip.cpp38 const double scale = 3/4.0; // http://cagd.cs.byu.edu/~tom/papers/bezclip.pdf (13) local
40 top *= scale;
44 bottom *= scale;
47 const double scale = 4/9.0; // http://cagd.cs.byu.edu/~tom/papers/bezclip.pdf (15) local
48 top *= scale;
49 bottom *= scale;
/external/skia/gm/
H A Dbitmaprecttest.cpp30 // scaling the image down by the matrix' scale
42 SkScalar scale = 0.472560018f; local
44 canvas->scale(scale, scale);
48 canvas->scale(-1, 1);
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/ash/magnifier/
H A Dmagnification_controller_unittest.cc100 // Confirms the the scale can't be changed.
108 // Enables magnifier and confirms the default scale is 2.0x.
115 // Changes the scale.
360 float scale = 2.f; local
366 scale *= kMagnificationScaleFactor;
367 GetMagnificationController()->SetScale(scale, false);
375 scale *= kMagnificationScaleFactor;
376 GetMagnificationController()->SetScale(scale, false);
382 scale *= kMagnificationScaleFactor;
383 GetMagnificationController()->SetScale(scale, fals
406 float scale = 2.f; local
[all...]
/external/chromium_org/chrome/browser/ui/app_list/search/common/
H A Durl_icon_source.cc50 gfx::ImageSkiaRep UrlIconSource::GetImageForScale(float scale) { argument
55 return icon_.GetRepresentation(scale);
58 .GetImageSkiaNamed(default_icon_resource_id_)->GetRepresentation(scale);

Completed in 5135 milliseconds

1234567891011>>