/external/opencv/cxcore/src/ |
H A D | cxconvert.cpp | 953 CvSize size, double scale, double shift, 970 for( i = 0; i < 128; i++, val += scale ) 979 for( ; i < 256; i++, val += scale ) 990 if( fabs( scale ) <= 1. && fabs(shift) < DBL_EPSILON ) 992 int iscale = cvRound(scale*(1 << ICV_FIX_SHIFT)); 1008 CV_CAST_8U, scale, shift ); 1012 if( fabs( scale ) <= 1. && 1015 int iscale = cvRound(scale*(1 << ICV_FIX_SHIFT)); 1032 CV_CAST_8U, scale, shift ); 1037 CV_CAST_8U, scale, shif 951 icvCvtScaleAbsTo_8u_C1R( const uchar* src, int srcstep, uchar* dst, int dststep, CvSize size, double scale, double shift, int param ) argument 1057 cvConvertScaleAbs( const void* srcarr, void* dstarr, double scale, double shift ) argument 1495 cvConvertScale( const void* srcarr, void* dstarr, double scale, double shift ) argument [all...] |
/external/webkit/Source/WebCore/html/ |
H A D | ImageDocument.cpp | 229 float ImageDocument::scale() const function in class:WebCore::ImageDocument 254 float scale = this->scale(); local 255 m_imageElement->setWidth(static_cast<int>(imageSize.width() * scale)); 256 m_imageElement->setHeight(static_cast<int>(imageSize.height() * scale)); 276 float scale = this->scale(); local 278 int scrollX = static_cast<int>(x / scale - (float)frame()->view()->width() / 2); 279 int scrollY = static_cast<int>(y / scale - (float)frame()->view()->height() / 2);
|
/external/webkit/Source/WebCore/platform/graphics/transforms/ |
H A D | AffineTransform.cpp | 57 // Remove scale from matrix 58 m.scale(1.0 / sx, 1.0 / sy); 87 m.scale(sr[0], sr[1]); 197 AffineTransform& AffineTransform::scale(double s) function in class:WebCore::AffineTransform 199 return scale(s, s); 202 AffineTransform& AffineTransform::scale(double sx, double sy) function in class:WebCore::AffineTransform 227 return scale(sx, sy); 237 return scale(-1, 1); 242 return scale(1, -1); 277 transform.scale(des [all...] |
/external/chromium/chrome/browser/ui/views/ |
H A D | tab_icon_view.cc | 110 // For source images smaller than the favicon square, scale them as if they 124 float scale = std::min(static_cast<float>(width()) / scalable_w, local 126 int dest_w = static_cast<int>(float_src_w * scale); 127 int dest_h = static_cast<int>(float_src_h * scale);
|
/external/qemu/android/protocol/ |
H A D | ui-commands-proxy.c | 203 uicmd_set_window_scale(double scale, int is_dpi) argument 206 cmd.scale = scale;
|
/external/skia/samplecode/ |
H A D | SampleFilter2.cpp | 68 const SkScalar scale = SkFloatToScalar(0.897917f); local 69 canvas->scale(SK_Scalar1, scale);
|
H A D | SampleMipMap.cpp | 58 canvas->scale(SK_ScalarHalf, SK_ScalarHalf); 71 c.scale(SK_Scalar1 / (1 << i), SK_Scalar1 / (1 << i)); 75 canvas->scale(SkIntToScalar(1 << i), SkIntToScalar(1 << i)); 85 canvas->scale(1.00000001f, 0.9999999f);
|
/external/skia/src/core/ |
H A D | SkBlitter_A8.cpp | 49 unsigned scale = 256 - SkAlpha255To256(fSrcA); local 53 device[i] = SkToU8(srcA + SkAlphaMul(device[i], scale)); 79 unsigned scale = 256 - sa; local 82 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); 157 // scale our src by the alpha value 174 int scale = 256 - SkAlpha255To256(sa); local 175 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); 199 unsigned scale = 256 - SkAlpha255To256(sa); local 202 *device = SkToU8(sa + SkAlphaMul(*device, scale)); 226 unsigned scale local 273 unsigned scale = 256 - SkAlpha255To256(srcA); local [all...] |
H A D | SkColor.cpp | 24 unsigned scale = SkAlpha255To256(a); 25 r = SkAlphaMul(r, scale); 26 g = SkAlphaMul(g, scale); 27 b = SkAlphaMul(b, scale);
|
/external/skia/src/effects/ |
H A D | SkKernel33MaskFilter.cpp | 40 unsigned scale = fPercent256; local 59 if (scale < 256) { 60 value = SkAlphaBlend(value, srcRows[1][1], scale);
|
/external/webkit/Source/JavaScriptCore/assembler/ |
H A D | MacroAssemblerARM.cpp | 75 ASSERT(address.scale >= 0 && address.scale <= 3); 76 op2 = m_assembler.lsl(address.index, static_cast<int>(address.scale));
|
/external/webkit/Source/WebCore/svg/ |
H A D | SVGMatrix.h | 50 SVGMatrix scale(double s) function in class:WebCore::SVGMatrix 53 copy.scale(s, s); 60 copy.scale(sx, sy);
|
H A D | SVGFEDisplacementMapElement.h | 53 DECLARE_ANIMATED_NUMBER(Scale, scale)
|
/external/quake/quake/src/QW/client/ |
H A D | r_part.c | 233 int scale; local 236 scale = 3; 238 scale = 2; 240 scale = 1; 256 p->org[j] = org[j] + scale*((rand()&15)-8); 460 float scale; local 528 // hack a scale up to keep particles from disapearing 529 scale = (p->org[0] - r_origin[0])*vpn[0] + (p->org[1] - r_origin[1])*vpn[1] 531 if (scale < 20) 532 scale [all...] |
/external/skia/gpu/include/ |
H A D | GrTouchGesture.h | 50 float limitTotalZoom(float scale) const;
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | FloatSize.h | 68 void scale(float scale) argument 70 m_width *= scale; 71 m_height *= scale;
|
H A D | IntSize.h | 84 void scale(float scale) argument 86 m_width = static_cast<int>(static_cast<float>(m_width) * scale); 87 m_height = static_cast<int>(static_cast<float>(m_height) * scale);
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
H A D | BaseRenderer.cpp | 87 renderInfo.scale, this, renderInfo.tilePainter, pictureCount); 133 canvas.scale(renderInfo.scale, renderInfo.scale);
|
H A D | PaintedSurface.h | 77 float scale() { return m_scale; } function in class:WebCore::PaintedSurface
|
H A D | TreeManager.h | 53 SkRect& visibleRect, float scale,
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
H A D | FEDisplacementMap.h | 50 float scale() const;
|
H A D | SourceGraphic.cpp | 50 paintRect.scale(filter->filterResolution().width(), filter->filterResolution().height());
|
/external/webkit/Source/WebCore/platform/mac/ |
H A D | PlatformScreenMac.mm | 51 // These functions scale between screen and page coordinates because JavaScript/DOM operations 93 userRect.scale(1 / windowScaleFactor(destination)); // scale down 101 deviceRect.scale(windowScaleFactor(source)); // scale up
|
/external/webkit/Source/WebCore/rendering/svg/ |
H A D | SVGTextChunkBuilder.h | 55 void buildSpacingAndGlyphsTransform(bool isVerticalText, float scale, const SVGTextFragment&, AffineTransform&);
|
/external/webkit/Source/WebKit/android/ |
H A D | RenderSkinMediaButton.cpp | 210 SkScalar scale = SkScalarDiv(width - 2*imageMargin, SIZE); local 213 canvas->scale(scale, scale);
|