Searched defs:scale (Results 176 - 200 of 1038) sorted by relevance

1234567891011>>

/external/harfbuzz_ng/util/
H A Dview-cairo.hh40 lines (0), scale (1.0) {}
49 scale = double (view_options.font_size) / hb_face_get_upem (hb_font_get_face (font_opts->get_font ()));
74 helper_cairo_line_from_buffer (&l, buffer, text, text_len, scale, utf8_clusters);
103 double scale; member in struct:view_cairo_t
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_cliptest_tmp.h34 const float *scale = pvs->draw->viewport.scale; local
138 position[0] = position[0] * w * scale[0] + trans[0];
139 position[1] = position[1] * w * scale[1] + trans[1];
140 position[2] = position[2] * w * scale[2] + trans[2];
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_setup.h31 float scale; member in struct:lp_setup_variant_key
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_quad_depth_test_tmp.h64 const float scale = 65535.0; local
67 init_idepth[0] = (ushort)((z0) * scale);
68 init_idepth[1] = (ushort)((z0 + dzdx) * scale);
69 init_idepth[2] = (ushort)((z0 + dzdy) * scale);
70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale);
72 depth_step = (ushort)(dzdx * scale);
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/
H A DSDL_ps3yuv.c67 unsigned int scale; member in struct:private_yuvhwdata
230 /* Do we have to scale? */
232 hwdata->scale = 1;
233 deprintf(1, "[PS3] We need to scale\n");
235 hwdata->scale = 0;
256 if (hwdata->scale) {
307 if (hwdata->scale)
/external/skia/bench/
H A DBitmapScaleBench.cpp47 float scale() const { function in class:BitmapScaleBench
65 fMatrix.setScale( scale(), scale() );
/external/skia/gm/
H A Dfilltypespersp.cpp40 SkScalar scale, const SkPaint& paint) {
50 canvas->scale(scale, scale);
56 void showFour(SkCanvas* canvas, SkScalar scale, bool aa) { argument
72 scale, paint);
74 scale, paint);
76 scale, paint);
78 scale, paint);
116 const SkScalar scale local
39 showPath(SkCanvas* canvas, int x, int y, SkPath::FillType ft, SkScalar scale, const SkPaint& paint) argument
[all...]
H A Dpictureshader.cpp69 void drawSceneColumn(SkCanvas* canvas, const SkPoint& pos, SkScalar scale, SkScalar localScale, argument
74 ctm.preScale(scale, scale);
78 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale);
79 ctm.preScale(scale, scale);
84 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale);
85 ctm.preScale(scale, scale);
90 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 3.6f * scale);
[all...]
/external/skia/include/effects/
H A DSkDisplacementMapEffect.h28 SkScalar scale, SkImageFilter* displacement,
31 return SkNEW_ARGS(SkDisplacementMapEffect, (xChannelSelector, yChannelSelector, scale,
56 SkScalar scale, SkImageFilter* displacement,
26 Create(ChannelSelectorType xChannelSelector, ChannelSelectorType yChannelSelector, SkScalar scale, SkImageFilter* displacement, SkImageFilter* color = NULL, const CropRect* cropRect = NULL) argument
H A DSkLightingImageFilter.h27 SkScalar scale = SkScalarInvert(SkScalarSqrt(dot(*this)) + SK_ScalarNearlyZero); local
28 fX = fX * scale;
29 fY = fY * scale;
30 fZ = fZ * scale;
/external/skia/samplecode/
H A DSampleFilter.cpp61 const int scale = 32; local
65 canvas->drawText(name, strlen(name), x, SkIntToScalar(bm.height())*scale*5/8,
69 canvas->scale(SkIntToScalar(scale), SkIntToScalar(scale));
75 return x * scale / 3;
H A DSampleFilter2.cpp73 const SkScalar scale = 0.897917f; local
74 canvas->scale(SK_Scalar1, scale);
H A DSampleMeasure.cpp24 // exercise scale/linear/devkern
58 SkScalar scale = gSettings[i].fScale; local
61 SkScalar w = p.measureText(text, len, &bounds, scale);
/external/skia/src/animator/
H A DSkDrawMatrix.h53 void scale(SkScalar scaleX, SkScalar scaleY, SkPoint& center) { function in class:SkDrawMatrix
/external/skia/src/core/
H A DSkBlitRow_D32.cpp159 unsigned scale = 256 - SkAlpha255To256(colorA); local
161 *dst = color + SkAlphaMulQ(*src, scale);
/external/skia/src/effects/
H A DSkDiscretePathEffect.cpp16 static void Perterb(SkPoint* p, const SkVector& tangent, SkScalar scale) { argument
19 normal.setLength(scale);
40 SkScalar scale = fPerterb; local
60 Perterb(&p, v, SkScalarMul(rand.nextSScalar1(), scale));
66 Perterb(&p, v, SkScalarMul(rand.nextSScalar1(), scale));
H A DSkTransparentShader.cpp51 unsigned scale = SkAlpha255To256(this->getPaintAlpha()); local
55 if (scale == 256) {
63 span[i] = SkAlphaMulQ(src[i], scale);
69 if (scale == 256) {
82 SkAlphaMul(r, scale),
83 SkAlphaMul(g, scale),
84 SkAlphaMul(b, scale));
91 if (scale == 256) {
97 span[i] = SkPackARGB32(SkAlphaMul(src[i], scale), 0, 0, 0);
/external/skia/src/opts/
H A DSkBitmapProcState_filter_neon.h63 uint16_t scale) {
90 vscale = vdup_n_u16(scale); // duplicate scale
92 tmp = vmul_u16(tmp, vscale); // multiply result by scale
59 Filter_32_alpha_neon(unsigned x, unsigned y, SkPMColor a00, SkPMColor a01, SkPMColor a10, SkPMColor a11, SkPMColor *dst, uint16_t scale) argument
/external/skia/tests/
H A DImageCacheTest.cpp25 const SkScalar scale = 2; local
33 SkScaledImageCache::ID* id = cache.findAndLock(bm[i], scale, scale, &tmp);
37 id = cache.addAndLock(bm[i], scale, scale, tmp);
41 SkScaledImageCache::ID* id2 = cache.findAndLock(bm[i], scale, scale,
71 id = cache.findAndLock(bm[i], scale, scale, &tmp);
/external/skia/tools/
H A Dbench_playback.cpp80 const double scale = timescale(); local
88 samples[i] = timer.fWall * scale;
H A Dbench_record.cpp83 const double scale = timescale(); local
88 } while (timer.fWall * scale < timerOverhead); // Loop just in case something bizarre happens.
101 samples[i] = timer.fWall * scale / loops;
136 const double scale = timescale(); local
140 overheadEstimate += timer.fWall * scale;
/external/srec/audio/AudioIn/UNIX/src/
H A Dfilter.c74 * scale - fixed point scale factor
79 FIR_struct* FIR_construct(unsigned int nTaps, const typeCoeff *pCoeffs, int scale, int factor_up, int factor_down) argument
105 pFIR->scale = scale;
106 pFIR->round = (1 << (scale-1));
288 *pOutput = (typeSample) (accum >> pFIR->scale);
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dfilters.c31 WebRtc_Word16* __restrict scale) {
63 *scale = scaling;
27 WebRtcIsacfix_AutocorrC(WebRtc_Word32* __restrict r, const WebRtc_Word16* __restrict x, WebRtc_Word16 N, WebRtc_Word16 order, WebRtc_Word16* __restrict scale) argument
H A Dfilters_neon.c31 WebRtc_Word16* __restrict scale) {
164 *scale = scaling;
26 WebRtcIsacfix_AutocorrNeon( WebRtc_Word32* __restrict r, const WebRtc_Word16* __restrict x, WebRtc_Word16 N, WebRtc_Word16 order, WebRtc_Word16* __restrict scale) argument
/external/aac/libAACdec/src/
H A Dstereo.cpp262 FIXP_DBL scale = MantissaTable[lsb][0]; local
278 scale = -scale ;
285 scale = -scale ;
291 rightSpectrum[index] = fMult(leftSpectrum[index],scale);

Completed in 943 milliseconds

1234567891011>>