Home
last modified time | relevance | path

Searched refs:yScale (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_viewport.c45 GLfloat yScale, yBias; in update_viewport() local
53 yScale = -1; in update_viewport()
58 yScale = 1.0; in update_viewport()
73 st->state.viewport.scale[1] = half_height * yScale; in update_viewport()
78 st->state.viewport.translate[1] = (half_height + y) * yScale + yBias; in update_viewport()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
DHighamHall54Integrator.java119 final double yScale = FastMath.max(FastMath.abs(y0[j]), FastMath.abs(y1[j])); in estimateError() local
121 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in estimateError()
122 (vecAbsoluteTolerance[j] + vecRelativeTolerance[j] * yScale); in estimateError()
DDormandPrince54Integrator.java145 final double yScale = FastMath.max(FastMath.abs(y0[j]), FastMath.abs(y1[j])); in estimateError() local
147 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in estimateError()
148 (vecAbsoluteTolerance[j] + vecRelativeTolerance[j] * yScale); in estimateError()
DDormandPrince853Integrator.java264 final double yScale = FastMath.max(FastMath.abs(y0[j]), FastMath.abs(y1[j])); in estimateError() local
266 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in estimateError()
267 (vecAbsoluteTolerance[j] + vecRelativeTolerance[j] * yScale); in estimateError()
DAdamsBashforthIntegrator.java237 final double yScale = FastMath.abs(y[i]); in integrate() local
239 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in integrate()
240 (vecAbsoluteTolerance[i] + vecRelativeTolerance[i] * yScale); in integrate()
DAdamsMoultonIntegrator.java400 … final double yScale = FastMath.max(FastMath.abs(previous[i]), FastMath.abs(after[i])); in end() local
402 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in end()
403 (vecAbsoluteTolerance[i] + vecRelativeTolerance[i] * yScale); in end()
/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417BarcodeMatrix.cpp70 int32_t yScale) { in getScaledMatrix() argument
71 int32_t yMax = m_height * yScale; in getScaledMatrix()
82 ((CBC_BarcodeRow*)m_matrix[i / yScale])->getScaledRow(xScale)); in getScaledMatrix()
DBC_PDF417BarcodeMatrix.h21 CFX_ByteArray& getScaledMatrix(int32_t xScale, int32_t yScale);
/external/skia/src/core/
DSkRRect.cpp399 SkScalar yScale = matrix.getScaleY(); in transform() local
400 const bool flipY = yScale < 0; in transform()
402 yScale = -yScale; in transform()
408 dst->fRadii[i].fY = SkScalarMul(fRadii[i].fY, yScale); in transform()
DSkScalerContext.cpp787 SkScalar yScale = SkScalarAbs(GA.get(SkMatrix::kMScaleY)); in computeMatrices() local
788 s->fX = yScale; in computeMatrices()
789 s->fY = yScale; in computeMatrices()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp1055 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1062 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1122 const tcu::Vec4 dy = ((m_coordMax - m_coordMin) / h) * yScale; in verify()
1125 …u::Vec4 dyThreshold = getDerivateThreshold(m_precision, m_coordMin*yScale, m_coordMax*yScale, dy); in verify()
1347 const tcu::Vec4 yScale = tcu::Vec4(0.0f, 1.0f, 0.5f, -0.5f); in verify() local
1357 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1411 const tcu::Vec4 dy = ((m_texValueMax - m_texValueMin) / h) * yScale; in verify()
1414 …c4 dyThreshold = getDerivateThreshold(m_precision, m_texValueMin*yScale, m_texValueMax*yScale, dy); in verify()
/external/skia/tests/
DRoundRectTest.cpp653 SkScalar yScale = 3.2f; in test_transform_helper() local
656 matrix.setScaleY(yScale); in test_transform_helper()
665 SkScalarMul(orig.radii((SkRRect::Corner) i).fY, yScale))); in test_transform_helper()
670 SkScalarMul(orig.rect().height(), yScale))); in test_transform_helper()
674 SkScalarMul(orig.rect().top(), yScale))); in test_transform_helper()
/external/opencv3/modules/videoio/src/
Dcap_v4l.cpp1420 const int yScale = 65536; in move_420_block() local
1432 yTL *= yScale; yTR *= yScale; in move_420_block()
1433 yBL *= yScale; yBR *= yScale; in move_420_block()
1459 const int yScale = 65536; in move_411_block() local
1471 yTL *= yScale; yTR *= yScale; in move_411_block()
1472 yBL *= yScale; yBR *= yScale; in move_411_block()
/external/skia/src/effects/
DSkGpuBlurUtils.cpp26 static void scale_rect(SkRect* rect, float xScale, float yScale) { in scale_rect() argument
28 rect->fTop = SkScalarMul(rect->fTop, yScale); in scale_rect()
30 rect->fBottom = SkScalarMul(rect->fBottom, yScale); in scale_rect()
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp26 SkScalar yScale = SkIntToScalar(src->height()) / dstH / src->height(); in convert_texture() local
35 GrSimpleTextureEffect::Create(src, SkMatrix::MakeScale(xScale, yScale), filter)); in convert_texture()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/
Dmat4.js1116 yScale = 2.0 / (upTan + downTan);
1123 out[5] = yScale;
1127 out[9] = ((upTan - downTan) * yScale * 0.5);
/external/skia/tools/debugger/
DSkDrawCommand.cpp346 SkScalar yScale = SkIntToScalar(size.fHeight-2) / input.height(); in render_bitmap() local
349 yScale *= input.height() / (float) input.width(); in render_bitmap()
356 yScale * input.height()); in render_bitmap()
381 srcRect->fTop * yScale + SK_Scalar1, in render_bitmap()
383 srcRect->fBottom * yScale + SK_Scalar1); in render_bitmap()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/dist/
Dgl-matrix.js2501 yScale = 2.0 / (upTan + downTan);
2508 out[5] = yScale;
2512 out[9] = ((upTan - downTan) * yScale * 0.5);