Searched refs:scale (Results 51 - 75 of 1847) sorted by relevance

1234567891011>>

/external/mesa3d/src/mesa/math/
H A Dm_norm_tmp.h36 * scale - uniform scale factor of the transformation matrix (not always used)
44 GLfloat scale,
71 GLfloat scale = INV_SQRTF(len); local
72 out[i][0] = tx * scale;
73 out[i][1] = ty * scale;
74 out[i][2] = tz * scale;
83 if (scale != 1.0) {
84 m0 *= scale, m4 *= scale, m
43 transform_normalize_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
110 transform_normalize_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
138 GLfloat scale = INV_SQRTF(len); local
175 transform_rescale_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
204 transform_rescale_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
236 transform_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
266 transform_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
296 normalize_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
342 rescale_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DDragClientImpl.cpp76 float scale = m_webView->deviceScaleFactor() / resolutionScale; local
77 dragImage->scale(scale, scale);
/external/chromium_org/third_party/skia/bench/
H A DSKPBench.cpp10 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale) argument
13 , fScale(scale)
15 fUniqueName.printf("%s_%.2g", name, scale); // Scale makes this unqiue for skiaperf.com traces.
36 canvas->scale(fScale, fScale);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Daugmented_cb_corr.c34 int16_t scale) /* (i) Scale factor to use for
52 (*crossDotPtr) = WebRtcSpl_DotProductWithScale(target, buffer-lagcount, ilow, scale);
55 (*crossDotPtr) += WebRtcSpl_DotProductWithScale(target+ilow, iSPtr, 4, scale);
60 (*crossDotPtr) += WebRtcSpl_DotProductWithScale(targetPtr, buffer-lagcount, SUBL-lagcount, scale);
23 WebRtcIlbcfix_AugmentedCbCorr( int16_t *target, int16_t *buffer, int16_t *interpSamples, int32_t *crossDot, int16_t low, int16_t high, int16_t scale) argument
H A Daugmented_cb_corr.h39 int16_t scale); /* (i) Scale factor to use for
H A Dcb_mem_energy_augmentation.h25 int16_t scale, /* (i) The scaling of all energy values */
H A Dcb_mem_energy_calc.h29 int16_t scale, /* (i) The scaling of all energy values */
H A Dcomp_corr.h36 int16_t scale /* (i) number of rightshifts to use */
/external/chromium_org/ui/gfx/image/
H A Dimage_skia_source.h20 // Returns the ImageSkiaRep for the given |scale|. ImageSkia caches the
22 // ImageSkiaRep for given |scale|. There is no need for the implementation to
24 virtual gfx::ImageSkiaRep GetImageForScale(float scale) = 0;
/external/skia/bench/
H A DImageCacheBench.cpp25 SkScalar scale = 1; local
29 fCache.unlock(fCache.addAndLock(fBM, scale, scale, tmp));
30 scale += 1;
45 // search for a miss (-1 scale)
/external/skia/src/effects/
H A DSkLerpXfermode.cpp14 SkXfermode* SkLerpXfermode::Create(SkScalar scale) { argument
15 int scale256 = SkScalarRoundToInt(scale * 256);
38 const int scale = fScale256; local
45 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale);
54 dst[i] = SkFastFourByteInterp256(src[i], dst[i], scale);
61 const int scale = fScale256; local
68 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale);
78 SkPMColor resC = SkFastFourByteInterp256(src[i], dstC, scale);
86 const int scale = fScale256; local
93 unsigned resA = SkAlphaBlend(SkGetPackedA32(src[i]), dstA, scale);
[all...]
/external/chromium_org/media/base/
H A Dvector_math.h18 // Multiply each element of |src| (up to |len|) by |scale| and add to |dest|.
20 MEDIA_EXPORT void FMAC(const float src[], float scale, int len, float dest[]);
22 // Multiply each element of |src| by |scale| and store in |dest|. |src| and
24 MEDIA_EXPORT void FMUL(const float src[], float scale, int len, float dest[]);
/external/chromium_org/printing/
H A Dmetafile_skia_wrapper.h28 // Methods to set and retrieve custom scale factor for metafile from canvas.
29 static void SetCustomScaleOnCanvas(const SkCanvas& canvas, double scale);
30 static bool GetCustomScaleOnCanvas(const SkCanvas& canvas, double* scale);
/external/chromium_org/third_party/skia/include/core/
H A DSkUnPreMultiply.h38 SkUnPreMultiply::Scale scale = table[a];
40 red = SkUnPreMultiply::ApplyScale(scale, red);
45 static U8CPU ApplyScale(Scale scale, U8CPU component) { argument
47 return (scale * component + (1 << 23)) >> 24;
/external/chromium_org/third_party/skia/src/effects/
H A DSkTestImageFilters.cpp27 SkScalar scale = fScale; local
28 if (scale > SK_Scalar1 || scale <= 0) {
32 int dstW = SkScalarRoundToInt(src.width() * scale);
33 int dstH = SkScalarRoundToInt(src.height() * scale);
53 canvas.scale(scale, scale);
/external/clang/test/PCH/
H A Dblocks.h12 __block int scale = s;
13 return call_block(^(int x, int y) { return x*scale + y; }, a, b);
/external/skia/include/core/
H A DSkUnPreMultiply.h38 SkUnPreMultiply::Scale scale = table[a];
40 red = SkUnPreMultiply::ApplyScale(scale, red);
45 static U8CPU ApplyScale(Scale scale, U8CPU component) { argument
47 return (scale * component + (1 << 23)) >> 24;
/external/chromium_org/ash/magnifier/
H A Dmagnification_controller.cc74 virtual void SetScale(float scale, bool animate) OVERRIDE;
99 // given scale. Returns true if the window is changed; otherwise, false.
100 // These methods should be called internally just after the scale and/or
102 bool Redraw(const gfx::PointF& position, float scale, bool animate);
103 bool RedrawDIP(const gfx::PointF& position, float scale, bool animate);
113 // Redraw with the given zoom scale keeping the mouse cursor location. In
115 void RedrawKeepingMousePosition(float scale, bool animate);
131 // Returns if the magnification scale is 1.0 or not (larger then 1.0).
135 gfx::RectF GetWindowRectDIP(float scale) const;
139 // Correct the givin scale valu
196 RedrawKeepingMousePosition( float scale, bool animate) argument
214 Redraw(const gfx::PointF& position, float scale, bool animate) argument
222 RedrawDIP(const gfx::PointF& position_in_dip, float scale, bool animate) argument
404 ValidateScale(float* scale) argument
471 float scale = GetScale(); local
486 SetScale(float scale, bool animate) argument
520 float scale = local
581 float scale = GetScale(); local
[all...]
/external/chromium-trace/trace-viewer/src/ui/
H A Dquad_stack_viewer.js37 get scale() {
41 set scale(newValue) {
44 this.quadStack_.viewport.scale = newValue;
H A Dquad_view_viewport.js32 var scale;
34 scale = opt_quad_stack_scale;
36 scale = 0.125;
38 scale = scale * this.devicePixelRatio;
40 this.worldPixelsPerDevicePixel_ = scale;
51 // this 'scale' value.
52 set scale(scale) {
53 this.worldPixelsPerDevicePixel_ = scale;
[all...]
/external/chromium_org/ui/gfx/geometry/
H A Dsize_f.h24 void Scale(float scale) { argument
25 Scale(scale, scale);
45 inline SizeF ScaleSize(const SizeF& p, float scale) { argument
46 return ScaleSize(p, scale, scale);
/external/chromium_org/extensions/browser/
H A Dextension_icon_image.cc28 // requested scale factor is returned by ImageSkiaSource.
85 virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE;
110 gfx::ImageSkiaRep IconImage::Source::GetImageForScale(float scale) { argument
114 host_->LoadImageForScaleFactor(ui::GetSupportedScaleFactor(scale));
120 return blank_image_.GetRepresentation(scale);
163 const float scale = ui::GetScaleForScaleFactor(scale_factor); local
165 static_cast<int>(resource_size_in_dip_ * scale);
183 return default_icon_.GetRepresentation(scale);
190 gfx::Size(resource_size_in_dip_, resource_size_in_dip_), scale)),
198 scale));
203 OnImageLoaded(float scale, const gfx::Image& image_in) argument
[all...]
/external/chromium_org/third_party/polymer/components-chromium/core-iconset/
H A Dcore-iconset-extracted.js151 * @param {Number} scale (optional, defaults to 1) A scaling factor
155 applyIcon: function(element, icon, scale) {
157 scale = scale || 1;
162 style.backgroundPosition = (-offset.offsetX * scale + 'px') +
163 ' ' + (-offset.offsetY * scale + 'px');
164 style.backgroundSize = scale === 1 ? 'auto' :
165 this.width * scale + 'px';
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDOMMatrix.cpp68 DOMMatrix* DOMMatrix::scaleSelf(double scale, double ox, double oy) argument
70 return scaleNonUniformSelf(scale, scale, 1, ox, oy);
73 DOMMatrix* DOMMatrix::scale3dSelf(double scale, double ox, double oy, double oz) argument
75 return scaleNonUniformSelf(scale, scale, scale, ox, oy, oz);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DSpotLightSource.h38 virtual PassRefPtr<LightSource> create(const FloatPoint3D& scale, const FloatSize& offset) const OVERRIDE
40 FloatPoint3D position(m_position.x() * scale.x() - offset.width(), m_position.y() * scale.y() - offset.height(), m_position.z() * scale.z());
41 FloatPoint3D direction(m_direction.x() * scale.x() - offset.width(), m_direction.y() * scale.y() - offset.height(), m_direction.z() * scale.z());

Completed in 567 milliseconds

1234567891011>>