Home
last modified time | relevance | path

Searched refs:quad (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp211 const GridQuad *quad = findEnclosingQuad(coordPairs + i, mDistortedGrid); in mapRawToCorrected() local
212 if (quad == nullptr) { in mapRawToCorrected()
219 quad->coords[0], quad->coords[1], in mapRawToCorrected()
220 quad->coords[2], quad->coords[3], in mapRawToCorrected()
221 quad->coords[4], quad->coords[5], in mapRawToCorrected()
222 quad->coords[6], quad->coords[7]); in mapRawToCorrected()
224 const GridQuad *corrQuad = quad->src; in mapRawToCorrected()
235 float u = calculateUorV(coordPairs + i, *quad, /*calculateU*/ true); in mapRawToCorrected()
236 float v = calculateUorV(coordPairs + i, *quad, /*calculateU*/ false); in mapRawToCorrected()
430 for (const GridQuad& quad : grid) { in findEnclosingQuad() local
[all …]
DDistortionMapper.h151 static float calculateUorV(const int32_t pt[2], const GridQuad& quad, bool calculateU);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DStatsFilter.java81 private void calcMeanAndStd(ByteBuffer pixelBuffer, int width, int height, Quad quad) { in calcMeanAndStd() argument
84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y, in calcMeanAndStd()
85 quad.bottomRight().x, quad.bottomRight().y, mStats); in calcMeanAndStd()
DImageShader.java419 public void setSourceQuad(Quad quad) { in setSourceQuad() argument
420 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() argument
468 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()
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp224 Quad quad(Point(x, y), in SetSourceRect() local
228 SetSourceRegion(quad); in SetSourceRect()
231 void ShaderProgram::SetSourceRegion(const Quad& quad) { in SetSourceRegion() argument
234 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() local
244 SetTargetRegion(quad); in SetTargetRect()
247 void ShaderProgram::SetTargetRegion(const Quad& quad) { in SetTargetRegion() argument
250 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()
Dshader_program.h143 void SetSourceRegion(const Quad& quad);
157 void SetTargetRegion(const Quad& quad);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DRotateFilter.java148 Quad quad = new Quad(x0, x1, x2, x3); in updateParameters() local
149 ((ShaderProgram) mProgram).setTargetRegion(quad); in updateParameters()
DStraightenFilter.java146 Quad quad = new Quad(p0, p1, p2, p3); in updateParameters() local
147 ((ShaderProgram) mProgram).setSourceRegion(quad); in updateParameters()
/frameworks/native/opengl/tests/testViewport/
DREADME7 The program clears the screen to blue, then draws a full screen white quad that
/frameworks/rs/script_api/
Drs_graphics.spec497 summary: Draw a quad
499 Low performance utility function for drawing a simple quad. Not intended for
529 summary: Draw a textured quad
531 Low performance utility function for drawing a textured quad. Not intended
/frameworks/base/libs/hwui/jni/
DPath.cpp382 const SkPoint* quad = quads + i * 2; in createVerbSegments() local
383 addBezier(quad, quadraticBezierCalculation, segmentPoints, lengths, in createVerbSegments()
/frameworks/rs/script_api/include/
Drs_graphics.rsh802 * rsgDrawQuad: Draw a quad
806 * Low performance utility function for drawing a simple quad. Not intended for
822 * rsgDrawQuadTexCoords: Draw a textured quad
826 * Low performance utility function for drawing a textured quad. Not intended