/frameworks/av/services/camera/libcameraservice/device3/ |
D | DistortionMapper.cpp | 238 const GridQuad *quad = findEnclosingQuad(coordPairs + i, mDistortedGrid); in mapRawToCorrected() local 239 if (quad == nullptr) { in mapRawToCorrected() 246 quad->coords[0], quad->coords[1], in mapRawToCorrected() 247 quad->coords[2], quad->coords[3], in mapRawToCorrected() 248 quad->coords[4], quad->coords[5], in mapRawToCorrected() 249 quad->coords[6], quad->coords[7]); in mapRawToCorrected() 251 const GridQuad *corrQuad = quad->src; in mapRawToCorrected() 262 float u = calculateUorV(coordPairs + i, *quad, /*calculateU*/ true); in mapRawToCorrected() 263 float v = calculateUorV(coordPairs + i, *quad, /*calculateU*/ false); in mapRawToCorrected() 458 for (const GridQuad& quad : grid) { in findEnclosingQuad() local [all …]
|
D | DistortionMapper.h | 141 static float calculateUorV(const int32_t pt[2], const GridQuad& quad, bool calculateU);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | StatsFilter.java | 81 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()
|
D | ImageShader.java | 419 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/ |
D | shader_program.cpp | 224 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()
|
D | shader_program.h | 143 void SetSourceRegion(const Quad& quad); 157 void SetTargetRegion(const Quad& quad);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | RotateFilter.java | 148 Quad quad = new Quad(x0, x1, x2, x3); in updateParameters() local 149 ((ShaderProgram) mProgram).setTargetRegion(quad); in updateParameters()
|
D | StraightenFilter.java | 146 Quad quad = new Quad(p0, p1, p2, p3); in updateParameters() local 147 ((ShaderProgram) mProgram).setSourceRegion(quad); in updateParameters()
|
/frameworks/native/opengl/tests/testViewport/ |
D | README | 7 The program clears the screen to blue, then draws a full screen white quad that
|
/frameworks/rs/script_api/ |
D | rs_graphics.spec | 497 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/core/jni/android/graphics/ |
D | Path.cpp | 384 const SkPoint* quad = quads + i * 2; in createVerbSegments() local 385 addBezier(quad, quadraticBezierCalculation, segmentPoints, lengths, in createVerbSegments()
|
/frameworks/rs/script_api/include/ |
D | rs_graphics.rsh | 802 * 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
|