/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/ |
D | DepthOfField.frag | 66 float yScale = m_YScale; 69 sum += texture2D( m_Texture, vec2(x - 2.0 * xScale, y - 2.0 * yScale) ); 70 sum += texture2D( m_Texture, vec2(x - 0.0 * xScale, y - 2.0 * yScale) ); 71 sum += texture2D( m_Texture, vec2(x + 2.0 * xScale, y - 2.0 * yScale) ); 72 sum += texture2D( m_Texture, vec2(x - 1.0 * xScale, y - 1.0 * yScale) ); 73 sum += texture2D( m_Texture, vec2(x + 1.0 * xScale, y - 1.0 * yScale) ); 74 sum += texture2D( m_Texture, vec2(x - 2.0 * xScale, y - 0.0 * yScale) ); 75 sum += texture2D( m_Texture, vec2(x + 2.0 * xScale, y - 0.0 * yScale) ); 76 sum += texture2D( m_Texture, vec2(x - 1.0 * xScale, y + 1.0 * yScale) ); 77 sum += texture2D( m_Texture, vec2(x + 1.0 * xScale, y + 1.0 * yScale) ); [all …]
|
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/SSAO/ |
D | ssaoBlur.frag | 69 float yScale = m_YScale; 75 vec2 sample = vec2(x - 2.0 * xScale, y - 2.0 * yScale); 81 sample = vec2(x - 0.0 * xScale, y - 2.0 * yScale); 87 sample = vec2(x + 2.0 * xScale, y - 2.0 * yScale); 93 sample = vec2(x - 1.0 * xScale, y - 1.0 * yScale); 99 sample = vec2(x + 1.0 * xScale, y - 1.0 * yScale); 105 sample = vec2(x - 2.0 * xScale, y - 0.0 * yScale); 111 sample = vec2(x + 2.0 * xScale, y - 0.0 * yScale); 117 sample = vec2(x - 1.0 * xScale, y + 1.0 * yScale); 123 sample = vec2(x + 1.0 * xScale, y + 1.0 * yScale); [all …]
|
D | ssaoBlur15.frag | 70 float yScale = m_YScale; 76 vec2 sample = vec2(x - 2.0 * xScale, y - 2.0 * yScale); 82 sample = vec2(x - 0.0 * xScale, y - 2.0 * yScale); 88 sample = vec2(x + 2.0 * xScale, y - 2.0 * yScale); 94 sample = vec2(x - 1.0 * xScale, y - 1.0 * yScale); 100 sample = vec2(x + 1.0 * xScale, y - 1.0 * yScale); 106 sample = vec2(x - 2.0 * xScale, y - 0.0 * yScale); 112 sample = vec2(x + 2.0 * xScale, y - 0.0 * yScale); 118 sample = vec2(x - 1.0 * xScale, y + 1.0 * yScale); 124 sample = vec2(x + 1.0 * xScale, y + 1.0 * yScale); [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_viewport.c | 45 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/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
D | DepthOfFieldFilter.java | 55 private float yScale; field in DepthOfFieldFilter 84 yScale = 1.0f / h; in initFilter() 87 material.setFloat("YScale", blurScale * yScale); in initFilter() 147 material.setFloat("YScale", blurScale * yScale); in setBlurScale()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
D | HighamHall54Integrator.java | 119 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()
|
D | DormandPrince54Integrator.java | 145 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()
|
D | DormandPrince853Integrator.java | 264 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()
|
D | AdamsBashforthIntegrator.java | 237 final double yScale = FastMath.abs(y[i]); in integrate() local 239 (scalAbsoluteTolerance + scalRelativeTolerance * yScale) : in integrate() 240 (vecAbsoluteTolerance[i] + vecRelativeTolerance[i] * yScale); in integrate()
|
D | AdamsMoultonIntegrator.java | 400 … 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/ |
D | BC_PDF417BarcodeMatrix.cpp | 70 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()
|
D | BC_PDF417BarcodeMatrix.h | 21 CFX_ByteArray& getScaledMatrix(int32_t xScale, int32_t yScale);
|
/external/skia/src/core/ |
D | SkRRect.cpp | 399 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()
|
D | SkScalerContext.cpp | 787 SkScalar yScale = SkScalarAbs(GA.get(SkMatrix::kMScaleY)); in computeMatrices() local 788 s->fX = yScale; in computeMatrices() 789 s->fY = yScale; in computeMatrices()
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/ |
D | SSAOFilter.java | 178 float yScale = 1.0f / h; in initFilter() local 182 material.setFloat("YScale", blurScale * yScale); in initFilter()
|
/external/skia/tests/ |
D | RoundRectTest.cpp | 653 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/deqp/modules/gles3/functional/ |
D | es3fShaderDerivateTests.cpp | 1055 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/src/gpu/ |
D | GrTextureToYUVPlanes.cpp | 26 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/skia/src/effects/ |
D | SkGpuBlurUtils.cpp | 26 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/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/ |
D | Lwjgl3Input.java | 118 …float yScale = window.getGraphics().getBackBufferHeight() / (float)window.getGraphics().getLogical… 120 deltaY = (int)(deltaY * yScale); 122 mouseY = (int)(mouseY * yScale); 323 …float yScale = window.getGraphics().getLogicalHeight() / (float)window.getGraphics().getBackBuffer… in setCursorPosition() local 325 y = (int)(y * yScale); in setCursorPosition()
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/ |
D | mat4.js | 1116 yScale = 2.0 / (upTan + downTan); 1123 out[5] = yScale; 1127 out[9] = ((upTan - downTan) * yScale * 0.5);
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 346 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/ |
D | gl-matrix.js | 2501 yScale = 2.0 / (upTan + downTan); 2508 out[5] = yScale; 2512 out[9] = ((upTan - downTan) * yScale * 0.5);
|