Home
last modified time | relevance | path

Searched refs:xScale (Results 1 – 22 of 22) sorted by relevance

/external/pdfium/fxbarcode/pdf417/
DBC_PDF417BarcodeMatrix.cpp56 std::vector<uint8_t>& CBC_BarcodeMatrix::getScaledMatrix(int32_t xScale, in getScaledMatrix() argument
59 std::vector<uint8_t> bytearray = m_matrix[0]->getScaledRow(xScale); in getScaledMatrix()
67 bytearray = m_matrix[i / yScale]->getScaledRow(xScale); in getScaledMatrix()
DBC_PDF417BarcodeMatrix.h29 std::vector<uint8_t>& getScaledMatrix(int32_t xScale, int32_t yScale);
/external/skqp/src/core/
DSkDrawShadowInfo.cpp103 SkScalar xScale = 2/(pathBounds.fRight - pathBounds.fLeft); in GetSpotShadowTransform() local
105 toHomogeneous.setAll(xScale, 0, -xScale*pathBounds.fLeft - 1, in GetSpotShadowTransform()
DSkGpuBlurUtils.cpp27 static void scale_irect_roundout(SkIRect* rect, float xScale, float yScale) { in scale_irect_roundout() argument
28 rect->fLeft = SkScalarFloorToInt(rect->fLeft * xScale); in scale_irect_roundout()
30 rect->fRight = SkScalarCeilToInt(rect->fRight * xScale); in scale_irect_roundout()
34 static void scale_irect(SkIRect* rect, int xScale, int yScale) { in scale_irect() argument
35 rect->fLeft *= xScale; in scale_irect()
37 rect->fRight *= xScale; in scale_irect()
DSkRRect.cpp432 SkScalar xScale = matrix.getScaleX(); in transform() local
433 const bool flipX = xScale < 0; in transform()
435 xScale = -xScale; in transform()
445 dst->fRadii[i].fX = fRadii[i].fX * xScale; in transform()
/external/skia/src/core/
DSkDrawShadowInfo.cpp103 SkScalar xScale = 2/(pathBounds.fRight - pathBounds.fLeft); in GetSpotShadowTransform() local
105 toHomogeneous.setAll(xScale, 0, -xScale*pathBounds.fLeft - 1, in GetSpotShadowTransform()
DSkGpuBlurUtils.cpp28 static void scale_irect_roundout(SkIRect* rect, float xScale, float yScale) { in scale_irect_roundout() argument
29 rect->fLeft = SkScalarFloorToInt(rect->fLeft * xScale); in scale_irect_roundout()
31 rect->fRight = SkScalarCeilToInt(rect->fRight * xScale); in scale_irect_roundout()
35 static void scale_irect(SkIRect* rect, int xScale, int yScale) { in scale_irect() argument
36 rect->fLeft *= xScale; in scale_irect()
38 rect->fRight *= xScale; in scale_irect()
DSkRRect.cpp432 SkScalar xScale = matrix.getScaleX(); in transform() local
433 const bool flipX = xScale < 0; in transform()
435 xScale = -xScale; in transform()
445 dst->fRadii[i].fX = fRadii[i].fX * xScale; in transform()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp1089 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1097 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1174 const tcu::Vec4 dx = ((m_coordMax - m_coordMin) / w) * xScale; in verify()
1177 …::Vec4 dxThreshold = getDerivateThreshold(m_precision, m_coordMin*xScale, m_coordMax*xScale, dx); in verify()
1179 … dxThresholdW = getDerivateThresholdWarning(m_precision, m_coordMin*xScale, m_coordMax*xScale, dx); in verify()
1417 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1428 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1506 const tcu::Vec4 dx = ((m_texValueMax - m_texValueMin) / w) * xScale; in verify()
1509 …4 dxThreshold = getDerivateThreshold(m_precision, m_texValueMin*xScale, m_texValueMax*xScale, dx); in verify()
1511 …esholdW = getDerivateThresholdWarning(m_precision, m_texValueMin*xScale, m_texValueMax*xScale, dx); in verify()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp994 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1002 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1064 const tcu::Vec4 dx = ((m_values.coordMax - m_values.coordMin) / w) * xScale; in verify()
1067 …DerivateThreshold(m_definitions.precision, m_values.coordMin*xScale, m_values.coordMax*xScale, dx); in verify()
1291 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1302 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1358 const tcu::Vec4 dx = ((m_textureValues.texValueMax - m_textureValues.texValueMin) / w) * xScale; in verify()
1361 …d(m_definitions.precision, m_textureValues.texValueMin*xScale, m_textureValues.texValueMax*xScale,… in verify()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationShaderInputOutputTests.cpp410 const float xScale = 1.0f / static_cast<float>(getNumPrimitives(caseDef.caseType)); in initPrograms() local
426 << " highp float x = (gl_TessCoord.x*float(" << xScale << ") + in_te_attr[0]) * 2.0 - 1.0;\n" in initPrograms()
866 const float xScale = 1.0f / 8.0f; in initPrograms() local
888 << " highp float x = (gl_TessCoord.x*float(" << xScale << ") + in_te_attr[0]) * 2.0 - 1.0;\n" in initPrograms()
/external/skia/tests/
DRoundRectTest.cpp669 SkScalar xScale = SkIntToScalar(3); in test_transform_helper() local
672 matrix.setScaleX(xScale); in test_transform_helper()
680 orig.radii((SkRRect::Corner) i).fX * xScale)); in test_transform_helper()
685 orig.rect().width() * xScale)); in test_transform_helper()
689 orig.rect().left() * xScale)); in test_transform_helper()
/external/skqp/tests/
DRoundRectTest.cpp669 SkScalar xScale = SkIntToScalar(3); in test_transform_helper() local
672 matrix.setScaleX(xScale); in test_transform_helper()
680 orig.radii((SkRRect::Corner) i).fX * xScale)); in test_transform_helper()
685 orig.rect().width() * xScale)); in test_transform_helper()
689 orig.rect().left() * xScale)); in test_transform_helper()
/external/python/cpython2/Lib/lib-tk/
DCanvas.py185 def scale(self, xOrigin, yOrigin, xScale, yScale): argument
186 self._do('scale', xOrigin, yOrigin, xScale, yScale)
/external/skqp/tools/debugger/
DSkDrawCommand.cpp322 SkScalar xScale = SkIntToScalar(size.fWidth-2) / input.width(); in render_bitmap() local
328 xScale *= input.width() / (float) input.height(); in render_bitmap()
332 xScale * input.width(), in render_bitmap()
357 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1, in render_bitmap()
359 srcRect->fRight * xScale + SK_Scalar1, in render_bitmap()
/external/skia/tools/debugger/
DSkDrawCommand.cpp323 SkScalar xScale = SkIntToScalar(size.fWidth-2) / input.width(); in render_bitmap() local
329 xScale *= input.width() / (float) input.height(); in render_bitmap()
333 xScale * input.width(), in render_bitmap()
358 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1, in render_bitmap()
360 srcRect->fRight * xScale + SK_Scalar1, in render_bitmap()
/external/skia/src/pdf/
DSkPDFDevice.cpp979 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space() argument
982 SkRect glyphBounds = {glyph.fLeft * xScale, in get_glyph_bounds_device_space()
984 (glyph.fLeft + glyph.fWidth) * xScale, in get_glyph_bounds_device_space()
/external/skqp/src/pdf/
DSkPDFDevice.cpp992 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space() argument
995 SkRect glyphBounds = {glyph.fLeft * xScale, in get_glyph_bounds_device_space()
997 (glyph.fLeft + glyph.fWidth) * xScale, in get_glyph_bounds_device_space()
/external/fonttools/Lib/fontTools/ufoLib/
Dvalidators.py730 xScale=((int, float), False), xyScale=((int, float), False),
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java1083 float xScale = scale, yScale = scale; in onDraw() local
1085 xScale = scale * ((float)sWidth/bitmap.getWidth()); in onDraw()
1091 matrix.postScale(xScale, yScale); in onDraw()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp2057 …const float xScale = static_cast<float>(blit.srcOffsets[1].x - blit.srcOffsets[0].x) / static_cast… in forEach() local
2068 …(xScale * (static_cast<float>(x - blit.dstOffsets[0].x) + 0.5f) + static_cast<float>(blit.srcOffse… in forEach()
/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c10070 Fixed xScale; in Qt_Media3DScaleNamedObjectTo() local
10078 PyMac_GetFixed, &xScale, in Qt_Media3DScaleNamedObjectTo()
10084 xScale, in Qt_Media3DScaleNamedObjectTo()