Searched refs:fScale (Results 1 - 7 of 7) sorted by relevance

/external/skia/src/utils/
H A DSkUnitMappers.cpp8 fScale = 0;
15 fScale = SK_Fract1 / (segments - 1);
22 x = x * fScale >> 14;
31 fScale = rb.readU32();
49 wb.write32(fScale);
/external/skia/include/utils/
H A DSkUnitMappers.h37 SkFract fScale; // computed from fSegments member in class:SkDiscreteMapper
/external/skia/include/core/
H A DSkDraw.h104 SkScalar getPathScale() const { return fScale; }
111 SkScalar fScale; member in class:SkTextToPathIter
/external/skia/src/core/
H A DSkBlitter_RGB16.cpp75 unsigned fScale; member in class:SkRGB16_Blitter
76 uint16_t fColor16; // already scaled by fScale
530 fScale = SkAlpha255To256(SkColorGetA(color));
544 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS),
545 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS),
546 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS));
550 if (!fDoDither && 256 == fScale) {
589 unsigned scale = fScale;
638 SkRGB16_BlendBW(fDevice, mask, clip, 256 - fScale, fColor16);
650 unsigned scale256 = fScale;
[all...]
H A DSkPaint.cpp1692 fScale = paint.getTextSize() / SkPaint::kCanonicalTextSizeForPaths;
1695 fScale = SK_Scalar1;
1723 SkScalar width = SkScalarMul(fPaint.measure_text(fCache, text, length, &count, NULL), fScale);
1746 fXPos += SkScalarMul(SkFixedToScalar(fPrevAdvance + fAutoKern.adjust(glyph)), fScale);
/external/skia/src/effects/
H A DSkGradientShader.cpp105 uint32_t fScale; // (1 << 24) / range member in struct:Gradient_Shader::Rec
220 // recs->fScale = 0; // unused;
249 recs->fScale = (1 << 24) / (curr - prev);
251 recs->fScale = 0; // ignore this segment
263 recs->fScale = scale;
298 recs[i].fScale = buffer.readU32();
328 buffer.write32(recs[i].fScale);
/external/opencore/engines/adapters/player/framemetadatautility/src/
H A Dpv_frame_metadata_mio_video.cpp746 float fScale = (fScaleWidth > fScaleHeight) ? fScaleHeight : fScaleWidth; local
747 iVideoDisplayWidth = (uint32)(iVideoDisplayWidth * fScale);
748 iVideoDisplayHeight = (uint32)(iVideoDisplayHeight * fScale);

Completed in 206 milliseconds