Home
last modified time | relevance | path

Searched refs:xScale (Results 1 – 25 of 25) 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/skia/src/core/
DSkGpuBlurUtils.cpp25 static void scale_irect_roundout(SkIRect* rect, float xScale, float yScale) { in scale_irect_roundout() argument
26 rect->fLeft = SkScalarFloorToInt(rect->fLeft * xScale); in scale_irect_roundout()
28 rect->fRight = SkScalarCeilToInt(rect->fRight * xScale); in scale_irect_roundout()
32 static void scale_irect(SkIRect* rect, int xScale, int yScale) { in scale_irect() argument
33 rect->fLeft *= xScale; in scale_irect()
35 rect->fRight *= xScale; in scale_irect()
DSkRRect.cpp405 SkScalar xScale = matrix.getScaleX(); in transform() local
406 const bool flipX = xScale < 0; in transform()
408 xScale = -xScale; in transform()
418 dst->fRadii[i].fX = fRadii[i].fX * xScale; in transform()
/external/skqp/src/core/
DSkGpuBlurUtils.cpp25 static void scale_irect_roundout(SkIRect* rect, float xScale, float yScale) { in scale_irect_roundout() argument
26 rect->fLeft = SkScalarFloorToInt(rect->fLeft * xScale); in scale_irect_roundout()
28 rect->fRight = SkScalarCeilToInt(rect->fRight * xScale); in scale_irect_roundout()
32 static void scale_irect(SkIRect* rect, int xScale, int yScale) { in scale_irect() argument
33 rect->fLeft *= xScale; in scale_irect()
35 rect->fRight *= xScale; in scale_irect()
DSkRRect.cpp405 SkScalar xScale = matrix.getScaleX(); in transform() local
406 const bool flipX = xScale < 0; in transform()
408 xScale = -xScale; in transform()
418 dst->fRadii[i].fX = fRadii[i].fX * xScale; in transform()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp968 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
976 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1038 const tcu::Vec4 dx = ((m_values.coordMax - m_values.coordMin) / w) * xScale; in verify()
1041 …DerivateThreshold(m_definitions.precision, m_values.coordMin*xScale, m_values.coordMax*xScale, dx); in verify()
1259 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1270 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1326 const tcu::Vec4 dx = ((m_textureValues.texValueMax - m_textureValues.texValueMin) / w) * xScale; in verify()
1329 …d(m_definitions.precision, m_textureValues.texValueMin*xScale, m_textureValues.texValueMax*xScale,… in verify()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp1054 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/tools/
Dcolorspaceinfo.cpp387 const float xScale = 2071.25f; // Num pixels from 0 to 1 in x in draw_gamut() local
395 rgb[0].fX = xOffset + xScale * rgb[0].fX; in draw_gamut()
397 rgb[1].fX = xOffset + xScale * rgb[1].fX; in draw_gamut()
399 rgb[2].fX = xOffset + xScale * rgb[2].fX; in draw_gamut()
/external/skqp/tools/
Dcolorspaceinfo.cpp387 const float xScale = 2071.25f; // Num pixels from 0 to 1 in x in draw_gamut() local
395 rgb[0].fX = xOffset + xScale * rgb[0].fX; in draw_gamut()
397 rgb[1].fX = xOffset + xScale * rgb[1].fX; in draw_gamut()
399 rgb[2].fX = xOffset + xScale * rgb[2].fX; in draw_gamut()
/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/deqp/external/vulkancts/modules/vulkan/tessellation/
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()
/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/skia/tools/debugger/
DSkDrawCommand.cpp357 SkScalar xScale = SkIntToScalar(size.fWidth-2) / input.width(); in render_bitmap() local
363 xScale *= input.width() / (float) input.height(); in render_bitmap()
367 xScale * input.width(), in render_bitmap()
392 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1, in render_bitmap()
394 srcRect->fRight * xScale + SK_Scalar1, in render_bitmap()
/external/skqp/tools/debugger/
DSkDrawCommand.cpp357 SkScalar xScale = SkIntToScalar(size.fWidth-2) / input.width(); in render_bitmap() local
363 xScale *= input.width() / (float) input.height(); in render_bitmap()
367 xScale * input.width(), in render_bitmap()
392 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1, in render_bitmap()
394 srcRect->fRight * xScale + SK_Scalar1, in render_bitmap()
/external/skia/src/pdf/
DSkPDFDevice.cpp1327 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space() argument
1330 SkRect glyphBounds = {glyph.fLeft * xScale, in get_glyph_bounds_device_space()
1332 (glyph.fLeft + glyph.fWidth) * xScale, in get_glyph_bounds_device_space()
/external/skqp/src/pdf/
DSkPDFDevice.cpp1327 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space() argument
1330 SkRect glyphBounds = {glyph.fLeft * xScale, in get_glyph_bounds_device_space()
1332 (glyph.fLeft + glyph.fWidth) * xScale, in get_glyph_bounds_device_space()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp2097 …const float xScale = static_cast<float>(blit.srcOffsets[1].x - blit.srcOffsets[0].x) / static_cast… in forEach() local
2107 …(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()
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...