Searched defs:scale (Results 1 - 25 of 429) sorted by last modified time

1234567891011>>

/external/webrtc/src/common_audio/signal_processing/
H A Dauto_correlation.c24 int* scale)
45 // In order to avoid overflow when computing the sum we should scale the samples so that
138 *scale = scaling;
20 WebRtcSpl_AutoCorrelation(G_CONST WebRtc_Word16* in_vector, int in_vector_length, int order, WebRtc_Word32* result, int* scale) argument
H A Dcomplex_fft.c289 int i, j, l, k, istep, n, m, scale, shift; local
301 scale = 0;
317 scale++;
323 scale++;
424 return scale;
/external/webrtc/src/modules/audio_processing/aec/
H A Daec_core.c41 static const float cnScaleHband = (float)0.4; // scale for comfort noise in H band
341 float scale = 2.0f / PART_LEN2; local
343 fft[j] *= scale;
637 float scale; local
787 scale = 2.0f / PART_LEN2;
789 y[i] = fft[PART_LEN + i] * scale; // fft scaling
857 float scale, dtmp; local
1131 scale = 2.0f / PART_LEN2;
1133 fft[i] *= scale; // fft scaling
1140 fft[PART_LEN + i] *= scale; // ff
[all...]
H A Daec_core_sse2.c174 float scale = 2.0f / PART_LEN2; local
175 const __m128 scale_ps = _mm_load_ps1(&scale);
/external/webrtc/src/modules/audio_processing/agc/
H A Danalog_agc.h74 WebRtc_Word16 analogTarget; // Digital reference level in ENV scale
115 WebRtc_Word16 scale; // Scale factor for internal volume levels member in struct:__anon15123
/external/webrtc/src/modules/audio_processing/utility/
H A Ddelay_estimator_wrapper.c55 // - scale : Scale for smoothing (should be less than 1.0).
61 float scale,
63 assert(scale < 1.0f);
64 *mean_value += (new_value - *mean_value) * scale;
60 MeanEstimatorFloat(float new_value, float scale, float* mean_value) argument
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGResourceFilter.cpp124 bool RenderSVGResourceFilter::fitsInMaximumImageSize(const FloatSize& size, FloatSize& scale) argument
128 scale.setWidth(scale.width() * kMaxFilterSize / size.width());
132 scale.setHeight(scale.height() * kMaxFilterSize / size.height());
191 // Calculate the scale factor for the use of filterRes.
193 FloatSize scale(1, 1);
195 scale.setWidth(filterElement->filterResX() / absoluteFilterBoundaries.width());
196 scale.setHeight(filterElement->filterResY() / absoluteFilterBoundaries.height());
199 if (scale
[all...]
H A DRenderSVGResourceFilter.h56 FloatSize scale; member in struct:WebCore::FilterData
H A DRenderSVGRoot.cpp246 float scale = svg->currentScale(); local
248 AffineTransform ctm(scale, 0, 0, scale, borderAndPadding.width() + translate.x(), borderAndPadding.height() + translate.y());
249 return ctm * svg->viewBoxToViewTransform(width() / scale, height() / scale);
H A DSVGTextChunkBuilder.cpp250 void SVGTextChunkBuilder::buildSpacingAndGlyphsTransform(bool isVerticalText, float scale, const SVGTextFragment& fragment, AffineTransform& spacingAndGlyphsTransform) argument
255 spacingAndGlyphsTransform.scaleNonUniform(1, scale);
257 spacingAndGlyphsTransform.scaleNonUniform(scale, 1);
/external/webkit/Source/WebCore/svg/
H A DSVGFont.cpp343 float scale; member in struct:WebCore::SVGTextRunWalkerMeasuredLengthData
351 data.length += identifier.horizontalAdvanceX * data.scale;
405 data.scale = convertEmUnitToPixel(font->size(), fontFaceElement->unitsPerEm(), 1.0f);
477 float scale = convertEmUnitToPixel(size(), fontFaceElement->unitsPerEm(), 1.0f); local
516 glyphOrigin.setX(fontData->horizontalOriginX() * scale);
517 glyphOrigin.setY(fontData->horizontalOriginY() * scale);
538 glyphOrigin.setX(identifier.verticalOriginX * scale);
539 glyphOrigin.setY(identifier.verticalOriginY * scale);
544 glyphPathTransform.scale(scale,
[all...]
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 DSVGSVGElement.cpp205 void SVGSVGElement::setCurrentScale(float scale) argument
211 frame->setPageZoomFactor(scale);
215 m_scale = scale;
H A DSVGTransform.cpp96 FloatSize SVGTransform::scale() const function in class:WebCore::SVGTransform
146 return makeString("scale(", String::number(m_matrix.xScale()), ' ', String::number(m_matrix.yScale()), ')');
H A DSVGTransformDistance.cpp77 float scaleX = toSVGTransform.scale().width() - fromSVGTransform.scale().width();
78 float scaleY = toSVGTransform.scale().height() - fromSVGTransform.scale().height();
98 return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform(m_transform).scale(scaleFactor));
138 FloatSize scale = first.scale() + second.scale(); local
139 transform.setScale(scale.width(), scale
213 FloatSize scale = transform.scale(); local
[all...]
H A DSVGZoomEvent.cpp44 void SVGZoomEvent::setPreviousScale(float scale) argument
46 m_previousScale = scale;
59 void SVGZoomEvent::setNewScale(float scale) argument
61 m_newScale = scale;
/external/webkit/Source/WebCore/tests/
H A DTreeManager_test.cpp59 bool drawGL(WebCore::IntRect& viewRect, SkRect& visibleRect, float scale) { argument
99 bool drawGL(WebCore::IntRect& viewRect, SkRect& visibleRect, float scale) { argument
/external/webkit/Source/WebKit/android/
H A DRenderSkinMediaButton.cpp209 SkScalar scale = SkScalarDiv(width - 2*imageMargin, SIZE); local
212 canvas->scale(scale, scale);
/external/webkit/Source/WebKit/android/jni/
H A DWebHistory.cpp490 // Screen scale
491 const float scale = bridge->scale(); local
492 ALOGV("Writing scale %f", scale);
493 vector.append((char*)&scale, sizeof(float));
495 ALOGV("Writing text wrap scale %f", textWrapScale);
778 // Read the screen scale
780 if (readFloat(data, end, fValue, "Screen scale"))
785 // Read the text wrap scale
[all...]
H A DWebViewCore.cpp769 scaleTemp.scale(m_scale);
772 scaledArea.scale(m_scale);
790 enclosingDocArea.scale(1 / m_scale);
799 bitmapCanvas->scale(m_scale, m_scale);
1010 // scale factor. This is important for www.yahoo.com as it is
1031 void WebViewCore::restoreScale(float scale, float textWrapScale) argument
1039 env->CallVoidMethod(javaObject.get(), m_javaGlue->m_restoreScale, scale, textWrapScale);
1124 int textWrapWidth, float scale, int screenWidth, int screenHeight,
1141 if (scale >= 0) // negative means keep the current scale
1123 setSizeScreenWidthAndScale(int width, int height, int textWrapWidth, float scale, int screenWidth, int screenHeight, int anchorX, int anchorY, bool ignoreHeight) argument
4491 SetSize(JNIEnv* env, jobject obj, jint nativeClass, jint width, jint height, jint textWrapWidth, jfloat scale, jint screenWidth, jint screenHeight, jint anchorX, jint anchorY, jboolean ignoreHeight) argument
[all...]
H A DWebViewCore.h198 * the scale. Also restore the scale for the text wrap.
200 void restoreScale(float scale, float textWrapScale);
308 float scale, int realScreenWidth, int screenHeight, int anchorX,
519 float scale() const { return m_scale; } function in class:android::WebViewCore
/external/webkit/Source/WebKit/android/nav/
H A DWebView.cpp256 WebCore::IntRect& screenClip, float scale, int extras, bool shouldDraw)
277 // once the correct scale is set
283 screenRect, titleBarHeight, screenClip, scale,
791 scale = _scale;
825 titlebarHeight, screenClip, scale, extras, shouldDraw);
852 scale = _scale;
863 jfloat scale; member in class:android::GLDrawFunctor
911 jfloat scale, jint extras) {
920 invScreenRect, scale, extras);
924 functor->updateScale(scale);
254 drawGL(WebCore::IntRect& invScreenRect, WebCore::IntRect* invalRect, WebCore::IntRect& screenRect, int titleBarHeight, WebCore::IntRect& screenClip, float scale, int extras, bool shouldDraw) argument
908 nativeCreateDrawGLFunction(JNIEnv *env, jobject obj, jint nativeView, jobject jinvscreenrect, jobject jscreenrect, jobject jvisiblecontentrect, jfloat scale, jint extras) argument
942 nativeUpdateDrawGLFunction(JNIEnv *env, jobject obj, jint nativeView, jobject jinvscreenrect, jobject jscreenrect, jobject jvisiblecontentrect, jfloat scale) argument
[all...]
/external/webkit/Source/WebKit/android/plugins/
H A DPluginWidgetAndroid.cpp137 //TODO hack to ensure that we grab the most recent screen dimensions and scale
140 float scale = m_core->scale(); local
141 bool scaleChanged = m_cachedZoomLevel != scale;
142 setVisibleScreen(screenCoords, scale);
144 // if the scale changed then setVisibleScreen will call this function and
403 const float zoomLevel = m_core->scale();
H A Dandroid_npapi.h621 void (*scale)(ANPCanvas*, float sx, float sy); member in struct:ANPCanvasInterfaceV0

Completed in 264 milliseconds

1234567891011>>