Searched refs:quad (Results 1 – 14 of 14) sorted by relevance
244 const GridQuad *quad = findEnclosingQuad(coordPairs + i, mDistortedGrid); in mapRawToCorrected() local245 if (quad == nullptr) { in mapRawToCorrected()252 quad->coords[0], quad->coords[1], in mapRawToCorrected()253 quad->coords[2], quad->coords[3], in mapRawToCorrected()254 quad->coords[4], quad->coords[5], in mapRawToCorrected()255 quad->coords[6], quad->coords[7]); in mapRawToCorrected()257 const GridQuad *corrQuad = quad->src; in mapRawToCorrected()268 float u = calculateUorV(coordPairs + i, *quad, /*calculateU*/ true); in mapRawToCorrected()269 float v = calculateUorV(coordPairs + i, *quad, /*calculateU*/ false); in mapRawToCorrected()397 for (const GridQuad& quad : grid) { in findEnclosingQuad() local[all …]
130 static float calculateUorV(const int32_t pt[2], const GridQuad& quad, bool calculateU);
39 uint16_t quad = i * 4; in MeshState() local41 regionIndices[index] = quad; // top-left in MeshState()42 regionIndices[index + 1] = quad + 1; // top-right in MeshState()43 regionIndices[index + 2] = quad + 2; // bottom-left in MeshState()44 regionIndices[index + 3] = quad + 2; // bottom-left in MeshState()45 regionIndices[index + 4] = quad + 1; // top-right in MeshState()46 regionIndices[index + 5] = quad + 3; // bottom-right in MeshState()
81 private void calcMeanAndStd(ByteBuffer pixelBuffer, int width, int height, Quad quad) { in calcMeanAndStd() argument84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y, in calcMeanAndStd()85 quad.bottomRight().x, quad.bottomRight().y, mStats); in calcMeanAndStd()
419 public void setSourceQuad(Quad quad) { in setSourceQuad() argument420 setSourceCoords(new float[] { quad.topLeft().x, quad.topLeft().y, in setSourceQuad()421 quad.topRight().x, quad.topRight().y, in setSourceQuad()422 quad.bottomLeft().x, quad.bottomLeft().y, in setSourceQuad()423 quad.bottomRight().x, quad.bottomRight().y }); in setSourceQuad()467 public void setTargetQuad(Quad quad) { in setTargetQuad() argument468 setTargetCoords(new float[] { quad.topLeft().x, quad.topLeft().y, in setTargetQuad()469 quad.topRight().x, quad.topRight().y, in setTargetQuad()470 quad.bottomLeft().x, quad.bottomLeft().y, in setTargetQuad()471 quad.bottomRight().x, quad.bottomRight().y }); in setTargetQuad()
224 Quad quad(Point(x, y), in SetSourceRect() local228 SetSourceRegion(quad); in SetSourceRect()231 void ShaderProgram::SetSourceRegion(const Quad& quad) { in SetSourceRegion() argument234 source_coords_[index] = quad.point(i).x(); in SetSourceRegion()235 source_coords_[index+1] = quad.point(i).y(); in SetSourceRegion()240 Quad quad(Point(x, y), in SetTargetRect() local244 SetTargetRegion(quad); in SetTargetRect()247 void ShaderProgram::SetTargetRegion(const Quad& quad) { in SetTargetRegion() argument250 target_coords_[index] = (quad.point(i).x() * 2.0) - 1.0; in SetTargetRegion()251 target_coords_[index+1] = (quad.point(i).y() * 2.0) - 1.0; in SetTargetRegion()
143 void SetSourceRegion(const Quad& quad);157 void SetTargetRegion(const Quad& quad);
148 Quad quad = new Quad(x0, x1, x2, x3); in updateParameters() local149 ((ShaderProgram) mProgram).setTargetRegion(quad); in updateParameters()
146 Quad quad = new Quad(p0, p1, p2, p3); in updateParameters() local147 ((ShaderProgram) mProgram).setSourceRegion(quad); in updateParameters()
7 The program clears the screen to blue, then draws a full screen white quad that
497 summary: Draw a quad499 Low performance utility function for drawing a simple quad. Not intended for529 summary: Draw a textured quad531 Low performance utility function for drawing a textured quad. Not intended
389 const SkPoint* quad = quads + i * 2; in createVerbSegments() local390 addBezier(quad, quadraticBezierCalculation, segmentPoints, lengths, in createVerbSegments()
802 * rsgDrawQuad: Draw a quad806 * Low performance utility function for drawing a simple quad. Not intended for822 * rsgDrawQuadTexCoords: Draw a textured quad826 * Low performance utility function for drawing a textured quad. Not intended
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...