Searched refs:scale (Results 101 - 125 of 579) sorted by relevance

1234567891011>>

/external/opencv/cxcore/src/
H A Dcxconvert.cpp953 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 DImageDocument.cpp229 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 DAffineTransform.cpp57 // 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 Dtab_icon_view.cc110 // 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 Dui-commands-proxy.c203 uicmd_set_window_scale(double scale, int is_dpi) argument
206 cmd.scale = scale;
/external/skia/samplecode/
H A DSampleFilter2.cpp68 const SkScalar scale = SkFloatToScalar(0.897917f); local
69 canvas->scale(SK_Scalar1, scale);
H A DSampleMipMap.cpp58 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 DSkBlitter_A8.cpp49 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 DSkColor.cpp24 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 DSkKernel33MaskFilter.cpp40 unsigned scale = fPercent256; local
59 if (scale < 256) {
60 value = SkAlphaBlend(value, srcRows[1][1], scale);
/external/webkit/Source/JavaScriptCore/assembler/
H A DMacroAssemblerARM.cpp75 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 DSVGMatrix.h50 SVGMatrix scale(double s) function in class:WebCore::SVGMatrix
53 copy.scale(s, s);
60 copy.scale(sx, sy);
H A DSVGFEDisplacementMapElement.h53 DECLARE_ANIMATED_NUMBER(Scale, scale)
/external/quake/quake/src/QW/client/
H A Dr_part.c233 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 DGrTouchGesture.h50 float limitTotalZoom(float scale) const;
/external/webkit/Source/WebCore/platform/graphics/
H A DFloatSize.h68 void scale(float scale) argument
70 m_width *= scale;
71 m_height *= scale;
H A DIntSize.h84 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 DBaseRenderer.cpp87 renderInfo.scale, this, renderInfo.tilePainter, pictureCount);
133 canvas.scale(renderInfo.scale, renderInfo.scale);
H A DPaintedSurface.h77 float scale() { return m_scale; } function in class:WebCore::PaintedSurface
H A DTreeManager.h53 SkRect& visibleRect, float scale,
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFEDisplacementMap.h50 float scale() const;
H A DSourceGraphic.cpp50 paintRect.scale(filter->filterResolution().width(), filter->filterResolution().height());
/external/webkit/Source/WebCore/platform/mac/
H A DPlatformScreenMac.mm51 // 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 DSVGTextChunkBuilder.h55 void buildSpacingAndGlyphsTransform(bool isVerticalText, float scale, const SVGTextFragment&, AffineTransform&);
/external/webkit/Source/WebKit/android/
H A DRenderSkinMediaButton.cpp210 SkScalar scale = SkScalarDiv(width - 2*imageMargin, SIZE); local
213 canvas->scale(scale, scale);

Completed in 2565 milliseconds

1234567891011>>