/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/ |
D | DepthOfField.frag | 65 float xScale = m_XScale; 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 | 68 float xScale = m_XScale; 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 | 69 float xScale = m_XScale; 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/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
D | DepthOfFieldFilter.java | 54 private float xScale; field in DepthOfFieldFilter 83 xScale = 1.0f / w; in initFilter() 86 material.setFloat("XScale", blurScale * xScale); in initFilter() 146 material.setFloat("XScale", blurScale * xScale); in setBlurScale()
|
/external/pdfium/xfa/src/fxbarcode/pdf417/ |
D | BC_PDF417BarcodeMatrix.cpp | 69 CFX_ByteArray& CBC_BarcodeMatrix::getScaledMatrix(int32_t xScale, in getScaledMatrix() argument 73 bytearray.Copy(((CBC_BarcodeRow*)m_matrix[0])->getScaledRow(xScale)); 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 | 394 SkScalar xScale = matrix.getScaleX(); in transform() local 395 const bool flipX = xScale < 0; in transform() 397 xScale = -xScale; in transform() 407 dst->fRadii[i].fX = SkScalarMul(fRadii[i].fX, xScale); in transform()
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/ |
D | SSAOFilter.java | 177 float xScale = 1.0f / w; in initFilter() local 181 material.setFloat("XScale", blurScale * xScale); in initFilter()
|
/external/skia/tests/ |
D | RoundRectTest.cpp | 652 SkScalar xScale = SkIntToScalar(3); in test_transform_helper() local 655 matrix.setScaleX(xScale); in test_transform_helper() 663 SkScalarMul(orig.radii((SkRRect::Corner) i).fX, xScale))); in test_transform_helper() 668 SkScalarMul(orig.rect().width(), xScale))); in test_transform_helper() 672 SkScalarMul(orig.rect().left(), xScale))); in test_transform_helper()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderDerivateTests.cpp | 1054 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local 1062 const tcu::Vec4 scale = isX ? xScale : yScale; in verify() 1121 const tcu::Vec4 dx = ((m_coordMax - m_coordMin) / w) * xScale; in verify() 1124 …u::Vec4 dxThreshold = getDerivateThreshold(m_precision, m_coordMin*xScale, m_coordMax*xScale, dx); in verify() 1346 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local 1357 const tcu::Vec4 scale = isX ? xScale : yScale; in verify() 1410 const tcu::Vec4 dx = ((m_texValueMax - m_texValueMin) / w) * xScale; in verify() 1413 …c4 dxThreshold = getDerivateThreshold(m_precision, m_texValueMin*xScale, m_texValueMax*xScale, dx); in verify()
|
/external/skia/src/gpu/ |
D | GrTextureToYUVPlanes.cpp | 25 SkScalar xScale = SkIntToScalar(src->width()) / dstW / src->width(); 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 27 rect->fLeft = SkScalarMul(rect->fLeft, xScale); in scale_rect() 29 rect->fRight = SkScalarMul(rect->fRight, xScale); in scale_rect()
|
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/ |
D | Lwjgl3Input.java | 117 …float xScale = window.getGraphics().getBackBufferWidth() / (float)window.getGraphics().getLogicalW… 119 deltaX = (int)(deltaX * xScale); 121 mouseX = (int)(mouseX * xScale); 322 …float xScale = window.getGraphics().getLogicalWidth() / (float)window.getGraphics().getBackBufferW… in setCursorPosition() local 324 x = (int)(x * xScale); in setCursorPosition()
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/ |
D | mat4.js | 1115 xScale = 2.0 / (leftTan + rightTan), 1118 out[0] = xScale; 1126 out[8] = -((leftTan - rightTan) * xScale * 0.5);
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 345 SkScalar xScale = SkIntToScalar(size.fWidth-2) / input.width(); in render_bitmap() local 351 xScale *= input.width() / (float) input.height(); in render_bitmap() 355 xScale * input.width(), in render_bitmap() 380 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1, in render_bitmap() 382 srcRect->fRight * xScale + SK_Scalar1, in render_bitmap()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/ |
D | ParticleSystem.java | 43 static final long xScale = 1 << xShift; field in ParticleSystem 44 static final long xOffset = xScale * (1 << (xTruncBits - 1)); 49 return (((long) (y + yOffset)) << yShift) + (((long) (xScale * x)) + xOffset); in computeTag()
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/dist/ |
D | gl-matrix.js | 2500 xScale = 2.0 / (leftTan + rightTan), 2503 out[0] = xScale; 2511 out[8] = -((leftTan - rightTan) * xScale * 0.5);
|