Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxbarcode/pdf417/
DBC_PDF417BarcodeMatrix.cpp68 CFX_ArrayTemplate<uint8_t>& CBC_BarcodeMatrix::getScaledMatrix(int32_t xScale, in getScaledMatrix() argument
72 bytearray.Copy(m_matrix[0]->getScaledRow(xScale)); in getScaledMatrix()
80 bytearray.Copy(m_matrix[i / yScale]->getScaledRow(xScale)); in getScaledMatrix()
DBC_PDF417BarcodeMatrix.h26 CFX_ArrayTemplate<uint8_t>& getScaledMatrix(int32_t xScale, int32_t yScale);
/external/skia/src/core/
DSkGpuBlurUtils.cpp23 static void scale_irect_roundout(SkIRect* rect, float xScale, float yScale) { in scale_irect_roundout() argument
24 rect->fLeft = SkScalarFloorToInt(rect->fLeft * xScale); in scale_irect_roundout()
26 rect->fRight = SkScalarCeilToInt(rect->fRight * xScale); in scale_irect_roundout()
30 static void scale_irect(SkIRect* rect, int xScale, int yScale) { in scale_irect() argument
31 rect->fLeft *= xScale; in scale_irect()
33 rect->fRight *= xScale; in scale_irect()
DSkRRect.cpp394 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 = fRadii[i].fX * xScale; in transform()
/external/skia/tools/
Dcolorspaceinfo.cpp232 const float xScale = 2071.25f; // Num pixels from 0 to 1 in x in draw_gamut() local
240 rgb[0].fX = xOffset + xScale * rgb[0].fX; in draw_gamut()
242 rgb[1].fX = xOffset + xScale * rgb[1].fX; in draw_gamut()
244 rgb[2].fX = xOffset + xScale * rgb[2].fX; in draw_gamut()
/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/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/skia/tests/
DRoundRectTest.cpp652 SkScalar xScale = SkIntToScalar(3); in test_transform_helper() local
655 matrix.setScaleX(xScale); in test_transform_helper()
663 orig.radii((SkRRect::Corner) i).fX * xScale)); in test_transform_helper()
668 orig.rect().width() * xScale)); in test_transform_helper()
672 orig.rect().left() * xScale)); in test_transform_helper()
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp26 SkScalar xScale = SkIntToScalar(src->width()) / dstW; in convert_proxy() local
39 SkMatrix::MakeScale(xScale, yScale), in convert_proxy()
/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/skia/tools/debugger/
DSkDrawCommand.cpp353 SkScalar xScale = SkIntToScalar(size.fWidth-2) / input.width(); in render_bitmap() local
359 xScale *= input.width() / (float) input.height(); in render_bitmap()
363 xScale * input.width(), in render_bitmap()
388 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1, in render_bitmap()
390 srcRect->fRight * xScale + SK_Scalar1, in render_bitmap()
/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/ ...