Searched refs:metrics (Results 1 - 25 of 707) sorted by last modified time

1234567891011>>

/external/webrtc/src/modules/audio_processing/aec/
H A Decho_cancellation.c702 WebRtc_Word32 WebRtcAec_GetMetrics(void *aecInst, AecMetrics *metrics) argument
713 if (metrics == NULL) {
724 metrics->erl.instant = (short) aecpc->aec->erl.instant;
729 metrics->erl.average = (short) dtmp;
732 metrics->erl.average = offsetLevel;
735 metrics->erl.max = (short) aecpc->aec->erl.max;
738 metrics->erl.min = (short) aecpc->aec->erl.min;
741 metrics->erl.min = offsetLevel;
745 metrics->erle.instant = (short) aecpc->aec->erle.instant;
750 metrics
[all...]
/external/webrtc/src/modules/audio_processing/aec/interface/
H A Decho_cancellation.h214 * Gets the current echo metrics for the session.
222 * AecMetrics *metrics Struct which will be filled out with the
223 * current echo metrics.
227 WebRtc_Word32 WebRtcAec_GetMetrics(void *aecInst, AecMetrics *metrics);
230 * Gets the current delay metrics for the session.
/external/webrtc/src/modules/audio_processing/
H A Decho_cancellation_impl.cc238 // TODO(ajm): we currently just use the metrics from the first AEC. Think more
240 int EchoCancellationImpl::GetMetrics(Metrics* metrics) { argument
242 if (metrics == NULL) {
252 memset(metrics, 0, sizeof(Metrics));
260 metrics->residual_echo_return_loss.instant = my_metrics.rerl.instant;
261 metrics->residual_echo_return_loss.average = my_metrics.rerl.average;
262 metrics->residual_echo_return_loss.maximum = my_metrics.rerl.max;
263 metrics->residual_echo_return_loss.minimum = my_metrics.rerl.min;
265 metrics->echo_return_loss.instant = my_metrics.erl.instant;
266 metrics
[all...]
H A Decho_cancellation_impl.h51 virtual int GetMetrics(Metrics* metrics);
/external/webrtc/src/modules/audio_processing/interface/
H A Daudio_processing.h297 // Enables the computation of various echo metrics. These are obtained
322 // TODO(ajm): discuss the metrics update period.
323 virtual int GetMetrics(Metrics* metrics) = 0;
330 // The delay metrics consists of the delay |median| and the delay standard
498 // An estimation component used to retrieve level metrics.
/external/webrtc/src/modules/audio_processing/test/
H A Dprocess_test.cc120 printf("\n Level metrics (enabled by default)\n");
892 printf("\n--Level metrics--\n");
896 EchoCancellation::Metrics metrics; local
897 apm->echo_cancellation()->GetMetrics(&metrics);
898 printf("\n--Echo metrics--\n");
901 PrintStat(metrics.echo_return_loss);
903 PrintStat(metrics.echo_return_loss_enhancement);
905 PrintStat(metrics.a_nlp);
911 printf("\n--Delay metrics--\n");
H A Dunit_test.cc512 EchoCancellation::Metrics metrics; local
514 apm_->echo_cancellation()->GetMetrics(&metrics));
/external/tcpdump/
H A Dospf.h161 struct tos_metric metrics; member in union:un_tos
H A Dprint-ospf.c527 * Print all the per-topology metrics.
544 metric_count ? tos->metrics.tos_type : 0),
545 metric_count ? tos->metrics.tos_type : 0,
546 EXTRACT_16BITS(&tos->metrics.tos_metric));
/external/skia/src/animator/
H A DSkDrawPaint.cpp177 SkPaint::FontMetrics metrics; local
180 paint.getFontMetrics(&metrics);
183 value->fOperand.fScalar = metrics.fAscent;
186 value->fOperand.fScalar = metrics.fDescent;
/external/skia/src/core/
H A DSkBBoxRecord.cpp91 SkPaint::FontMetrics metrics; local
92 paint.getFontMetrics(&metrics);
102 bbox.fBottom += metrics.fBottom;
103 bbox.fTop += metrics.fTop;
113 // Set vertical bounds to max extents from font metrics
114 bbox.fTop = metrics.fTop;
115 bbox.fBottom = metrics.fBottom;
122 SkScalar pad = (metrics.fBottom - metrics.fTop) / 2;
184 SkPaint::FontMetrics metrics; local
255 SkPaint::FontMetrics metrics; local
[all...]
H A DSkPaint.cpp1290 SkScalar SkPaint::getFontMetrics(FontMetrics* metrics, SkScalar zoom) const { argument
1302 if (NULL == metrics) {
1303 metrics = &storage;
1306 paint.descriptorProc(NULL, zoomPtr, FontMetricsDescProc, metrics, true);
1309 metrics->fTop = SkScalarMul(metrics->fTop, scale);
1310 metrics->fAscent = SkScalarMul(metrics->fAscent, scale);
1311 metrics->fDescent = SkScalarMul(metrics
[all...]
H A DSkPictureRecord.cpp1209 SkPaint::FontMetrics metrics; local
1210 paint.getFontMetrics(&metrics);
1214 bounds.set(0, metrics.fTop, SK_Scalar1, metrics.fBottom);
H A DSkRecordOpts.cpp233 // Rather than checking the top and bottom font metrics, we guess. Actually looking up the
234 // top and bottom metrics is slow, and this overapproximation should be good enough.
236 SkDEBUGCODE(SkPaint::FontMetrics metrics;)
237 SkDEBUGCODE(draw->paint.getFontMetrics(&metrics);)
238 SkASSERT(-buffer <= metrics.fTop);
239 SkASSERT(+buffer >= metrics.fBottom);
/external/skia/src/fonts/
H A DSkGScalerContext.cpp142 SkPaint::FontMetrics* metrics) {
143 fProxy->getFontMetrics(metrics);
144 if (metrics) {
146 metrics->fTop = SkScalarMul(metrics->fTop, scale);
147 metrics->fAscent = SkScalarMul(metrics->fAscent, scale);
148 metrics->fDescent = SkScalarMul(metrics->fDescent, scale);
149 metrics
141 generateFontMetrics(SkPaint::FontMetrics*, SkPaint::FontMetrics* metrics) argument
[all...]
/external/skia/src/ports/
H A DSkFontHost_FreeType.cpp1031 // FreeType does no provide linear metrics for bitmap fonts.
1169 vector.x = fFace->glyph->metrics.vertBearingX - fFace->glyph->metrics.horiBearingX;
1170 vector.y = -fFace->glyph->metrics.vertBearingY - fFace->glyph->metrics.horiBearingY;
1260 vector.x = fFace->glyph->metrics.vertBearingX - fFace->glyph->metrics.horiBearingX;
1261 vector.y = -fFace->glyph->metrics.vertBearingY - fFace->glyph->metrics.horiBearingY;
1305 if (fFace->glyph->format == FT_GLYPH_FORMAT_BITMAP && fScaleY && fFace->size->metrics
[all...]
H A DSkFontMgr_win_dw.cpp595 NONCLIENTMETRICSW metrics; local
596 metrics.cbSize = sizeof(metrics);
598 sizeof(metrics),
599 &metrics,
603 HRM(this->getByFamilyName(metrics.lfMessageFont.lfFaceName, fontFamily),
H A DSkRemotableFontMgr_win_dw.cpp223 NONCLIENTMETRICSW metrics; local
224 metrics.cbSize = sizeof(metrics);
226 sizeof(metrics),
227 &metrics,
232 size_t len = wcsnlen_s(metrics.lfMessageFont.lfFaceName, LF_FACESIZE) + 1;
233 if (0 != wcsncpy_s(name->reset(len), len, metrics.lfMessageFont.lfFaceName, _TRUNCATE)) {
H A DSkTypeface_win_dw.cpp119 DWRITE_FONT_METRICS metrics; local
120 fDWriteFontFace->GetMetrics(&metrics);
121 return metrics.designUnitsPerEm;
/external/skia/src/utils/
H A DSkGatherPixelRefsAndRects.h171 SkPaint::FontMetrics metrics; variable
172 paint.getFontMetrics(&metrics);
180 bounds.fBottom += metrics.fBottom;
181 bounds.fTop += metrics.fTop;
191 bounds.fTop = metrics.fTop;
192 bounds.fBottom = metrics.fBottom;
195 SkScalar pad = (metrics.fBottom - metrics.fTop) / 2;
237 SkPaint::FontMetrics metrics; variable
238 paint.getFontMetrics(&metrics);
259 SkPaint::FontMetrics metrics; variable
[all...]
/external/skia/src/views/
H A DSkTextBox.cpp180 SkPaint::FontMetrics metrics; local
195 fontHeight = paint.getFontMetrics(&metrics);
222 y += fBox.fTop - metrics.fAscent;
229 if (y + metrics.fDescent + metrics.fLeading > 0)
235 if (y + metrics.fAscent >= fBox.fBottom)
/external/smack/asmack-master/lib/
H A Dhttpcore-4.1.4.jar ... private org.apache.http.impl.HttpConnectionMetricsImpl metrics public void " href="/5.1.0_r1/s? ...
/external/skia/include/core/
H A DSkPaint.h746 /** Flags which indicate the confidence level of various metrics.
804 If metrics is not null, return in it the font metrics for the
806 @param metrics If not null, returns the font metrics for the
813 SkScalar getFontMetrics(FontMetrics* metrics, SkScalar scale = 0) const;
1112 * the cache for bits or metrics (we might overflow), so we just ask
/external/skia/include/gpu/gl/
H A DGrGLFunctions.h257 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathMetricsProc)(GrGLbitfield metricQueryMask, GrGLsizei numPaths, GrGLenum pathNameType, const GrGLvoid *paths, GrGLuint pathBase, GrGLsizei stride, GrGLfloat *metrics);
258 typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetPathMetricRangeProc)(GrGLbitfield metricQueryMask, GrGLuint fistPathName, GrGLsizei numPaths, GrGLsizei stride, GrGLfloat *metrics);
/external/replicaisland/src/com/replica/replicaisland/
H A DAnimationPlayerActivity.java89 DisplayMetrics metrics = new DisplayMetrics();
90 getWindowManager().getDefaultDisplay().getMetrics(metrics);
93 startX = 200 * metrics.density;
97 startX = -200 * metrics.density;

Completed in 2914 milliseconds

1234567891011>>