Home
last modified time | relevance | path

Searched refs:xScale (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A DWaveformView.java87 float xScale = ((float) mCurrentWidth) / (mSampleCount - 1); in onDraw()
89 if (xScale < 1.0) { in onDraw()
94 float x1 = i * xScale; in onDraw()
110 float x1 = i * xScale; in onDraw()
119 float x = mCursors[i] * xScale; in onDraw()
/third_party/openmax/api/1.1.2/
H A DOMX_Other.h233 OMX_S32 xScale; /**< Current media time scale in Q16 format. */ member
246 OMX_S32 xScale; /**< This is a value in Q16 format which is used for member
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderDerivateTests.cpp1105 const tcu::Vec4 xScale = tcu::Vec4(0.5f, 0.5f, 0.5f, -0.5f); in verify() local
1114 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1191 const tcu::Vec4 dx = ((m_coordMax - m_coordMin) / w) * xScale; in verify()
1194 const tcu::Vec4 dxThreshold = getDerivateThreshold(m_precision, m_coordMin*xScale, m_coordMax*xScale, dx); in verify()
1196 const tcu::Vec4 dxThresholdW = getDerivateThresholdWarning(m_precision, m_coordMin*xScale, m_coordMax*xScale, dx); in verify()
1435 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.5f, 0.5f, -0.5f); in verify() local
1446 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1524 const tcu::Vec4 dx = ((m_texValueMax - m_texValueMin) / w) * xScale; in verify()
[all...]
/third_party/skia/src/core/
H A DSkDrawShadowInfo.cpp128 SkScalar xScale = 2/(pathBounds.fRight - pathBounds.fLeft); in GetSpotShadowTransform() local
130 toHomogeneous.setAll(xScale, 0, -xScale*pathBounds.fLeft - 1, in GetSpotShadowTransform()
H A DSkRRect.cpp474 SkScalar xScale = matrix.getScaleX(); in transform() local
484 xScale = matrix.getSkewY() * (isClockwise ? 1 : -1); in transform()
501 const bool flipX = xScale < 0; in transform()
503 xScale = -xScale; in transform()
513 dst->fRadii[i].fX *= xScale; in transform()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderDerivateTests.cpp1024 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1032 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1094 const tcu::Vec4 dx = ((m_values.coordMax - m_values.coordMin) / w) * xScale; in verify()
1097 const tcu::Vec4 dxThreshold = getDerivateThreshold(m_definitions.precision, m_values.coordMin*xScale, m_values.coordMax*xScale, dx); in verify()
1326 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1337 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1393 const tcu::Vec4 dx = ((m_textureValues.texValueMax - m_textureValues.texValueMin) / w) * xScale; in verify()
1396 const tcu::Vec4 dxThreshold = getDerivateThreshold(m_definitions.precision, m_textureValues.texValueMin*xScale, m_textureValues.texValueMax*xScale, d in verify()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderDerivateTests.cpp997 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1005 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1067 const tcu::Vec4 dx = ((m_values.coordMax - m_values.coordMin) / w) * xScale; in verify()
1070 const tcu::Vec4 dxThreshold = getDerivateThreshold(m_definitions.precision, m_values.coordMin*xScale, m_values.coordMax*xScale, dx); in verify()
1300 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1311 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1367 const tcu::Vec4 dx = ((m_textureValues.texValueMax - m_textureValues.texValueMin) / w) * xScale; in verify()
1370 const tcu::Vec4 dxThreshold = getDerivateThreshold(m_definitions.precision, m_textureValues.texValueMin*xScale, m_textureValues.texValueMax*xScale, d in verify()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationShaderInputOutputTests.cpp413 const float xScale = 1.0f / static_cast<float>(getNumPrimitives(caseDef.caseType)); in initPrograms() local
429 << " highp float x = (gl_TessCoord.x*float(" << xScale << ") + in_te_attr[0]) * 2.0 - 1.0;\n" in initPrograms()
869 const float xScale = 1.0f / 8.0f; in initPrograms() local
891 << " highp float x = (gl_TessCoord.x*float(" << xScale << ") + in_te_attr[0]) * 2.0 - 1.0;\n" in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationShaderInputOutputTests.cpp414 const float xScale = 1.0f / static_cast<float>(getNumPrimitives(caseDef.caseType)); in initPrograms() local
430 << " highp float x = (gl_TessCoord.x*float(" << xScale << ") + in_te_attr[0]) * 2.0 - 1.0;\n" in initPrograms()
870 const float xScale = 1.0f / 8.0f; in initPrograms() local
892 << " highp float x = (gl_TessCoord.x*float(" << xScale << ") + in_te_attr[0]) * 2.0 - 1.0;\n" in initPrograms()
/third_party/skia/third_party/externals/d3d12allocator/src/
H A DCommon.h296 float xScale = yScale / aspectRatio; in Perspective() local
298 xScale, 0.0f, 0.0f, 0.0f, in Perspective()
/third_party/skia/tests/
H A DRoundRectTest.cpp670 SkScalar xScale = SkIntToScalar(3); in test_transform_helper() local
673 matrix.setScaleX(xScale); in test_transform_helper()
681 orig.radii((SkRRect::Corner) i).fX * xScale)); in test_transform_helper()
686 orig.rect().width() * xScale)); in test_transform_helper()
690 orig.rect().left() * xScale)); in test_transform_helper()
/third_party/skia/src/pdf/
H A DSkPDFDevice.cpp742 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space()
744 SkRect glyphBounds = SkMatrix::Scale(xScale, yScale).mapRect(glyph->rect()); in get_glyph_bounds_device_space()
741 get_glyph_bounds_device_space(const SkGlyph* glyph, SkScalar xScale, SkScalar yScale, SkPoint xy, const SkMatrix& ctm) get_glyph_bounds_device_space() argument
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp4241 const float xScale = static_cast<float>(blit.srcOffsets[1].x - blit.srcOffsets[0].x) / static_cast<float>(blit.dstOffsets[1].x - blit.dstOffsets[0].x);
4254 (xScale * (static_cast<float>(x - blit.dstOffsets[0].x) + 0.5f) + static_cast<float>(blit.srcOffsets[0].x)) * srcInvW,
4725 const int xScale = (mirrorMode & MIRROR_MODE_X) ? -1 : 1;
4733 dst.setPixel(linearToSRGBIfNeeded(dst.getFormat(), src.sample3D(sampler, filter, ((float)x + 0.5f) * sX, ((float)y + 0.5f) * sY, ((float)z + 0.5f) * sZ)), x * xScale + xOffset, y * yScale + yOffset, z * zScale + zOffset);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp3797 const float xScale = static_cast<float>(blit.srcOffsets[1].x - blit.srcOffsets[0].x) / static_cast<float>(blit.dstOffsets[1].x - blit.dstOffsets[0].x); in forEach() local
3810 (xScale * (static_cast<float>(x - blit.dstOffsets[0].x) + 0.5f) + static_cast<float>(blit.srcOffsets[0].x)) * srcInvW, in forEach()
4281 const int xScale = (mirrorMode & MIRROR_MODE_X) ? -1 : 1; in blit() local
4289 dst.setPixel(linearToSRGBIfNeeded(dst.getFormat(), src.sample3D(sampler, filter, ((float)x + 0.5f) * sX, ((float)y + 0.5f) * sY, ((float)z + 0.5f) * sZ)), x * xScale + xOffset, y * yScale + yOffset, z * zScale + zOffset); in blit()

Completed in 81 milliseconds