/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/image/ |
D | RangeLinearDepthTransform.java | 29 private final float near; field in RangeLinearDepthTransform 32 public RangeLinearDepthTransform(float near, float far) { in RangeLinearDepthTransform() argument 33 this.near = near; in RangeLinearDepthTransform() 39 return near; in getNear() 55 (int) ((value - near) / (far - near) * 255f))); in quantize() 60 return near + (far - near) * Math.max(0, Math.min(255, value)) / 255f; in reconstruct()
|
D | RangeInverseDepthTransform.java | 28 private final float near; field in RangeInverseDepthTransform 31 public RangeInverseDepthTransform(float near, float far) { in RangeInverseDepthTransform() argument 32 this.near = near; in RangeInverseDepthTransform() 38 return near; in getNear() 54 (int) ((far - near * far / value) / (far - near) * 255f))); in quantize() 59 return (far * near) / (far - (far - near) * in reconstruct()
|
/cts/hostsidetests/adpf/app/hintsession/src/cpp/ |
D | Utility.cpp | 51 float near, float far) { in buildOrthographicMatrix() argument 69 outMatrix[10] = -2.f / (far - near); in buildOrthographicMatrix() 70 outMatrix[11] = -(far + near) / (far - near); in buildOrthographicMatrix()
|
D | Utility.h | 42 float near, float far);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | DepthImage.java | 41 public DepthImage(String format, double far, double near, in DepthImage() argument 48 mNear = near; in DepthImage() 79 double near = 12.0; in createFromDepthmap() local 81 DepthTransform transform = new RangeInverseDepthTransform((float)near, (float)far); in createFromDepthmap() 84 near, in createFromDepthmap()
|
D | layered_filter_fast_d1new.rscript | 156 // Marks pixels near the boundary of active pixels to compute matte later. 216 // Marks pixels near the boundary of active pixels to compute matte later.
|
D | layered_filter_fast_f32.rscript | 175 // Marks pixels near the boundary of active pixels to compute matte later.
|
/cts/tests/openglperf2/jni/graphics/ |
D | Matrix.cpp | 192 float near, float far) { in newFrustum() argument 195 const float r_depth = 1.0f / (near - far); in newFrustum() 196 const float x = 2.0f * (near * r_width); in newFrustum() 197 const float y = 2.0f * (near * r_height); in newFrustum() 200 const float C = (far + near) * r_depth; in newFrustum() 201 const float D = 2.0f * (far * near * r_depth); in newFrustum()
|
D | Matrix.h | 45 float near, float far);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/ |
D | ComplexMovementRenderer.java | 247 float near = 0.1f; in calculateProjectionMatrix() local 250 float xScale = (float) (near / focalLengthX); in calculateProjectionMatrix() 251 float yScale = (float) (near / focalLengthY); in calculateProjectionMatrix() 259 near, far); in calculateProjectionMatrix()
|
D | BaseRenderer.java | 134 final float near = 1.0f; in onSurfaceChanged() local 163 Matrix.orthoM(mOrthogonalProjectionMatrix, 0, left, right, bottom, top, near, far); in onSurfaceChanged() 164 Matrix.frustumM(mFrustrumProjectionMatrix, 0, left, right, bottom, top, near, far); in onSurfaceChanged()
|
/cts/tests/openglperf2/jni/primitive/fullpipeline/ |
D | FullPipelineRenderer.cpp | 139 float near = 1.0f; in setUp() local 142 mProjectionMatrix = Matrix::newFrustum(left, right, bottom, top, near, far); in setUp()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | MatrixTest.rscript | 769 const float near = 2.f; 777 rsMatrixLoadOrtho(&m4, left, right, bottom, top, near, far); 781 0.f, 0.f, -2.f / (far - near), -(far + near) / (far - near), 793 rsMatrixLoadFrustum(&m4, left, right, bottom, top, near, far); 795 2.f * near / (right - left), 0.f, (right + left) / (right - left), 0.f, 796 0.f, 2.f * near / (top - bottom), (top + bottom) / (top - bottom), 0.f, 797 0.f, 0.f, -(far + near) / (far - near), -2.f * far * near / (far - near), 809 rsMatrixLoadPerspective(&m4, fovy, aspect, near, far); 814 0.f, 0.f, (near + far) / (near - far), 2.f * far * near / (near - far),
|
/cts/tests/openglperf2/jni/reference/scene/glowing/ |
D | GlowingScene.cpp | 108 float near = 8.0f; in setUpProjectionMatrix() local 111 return Matrix::newFrustum(left, right, bottom, top, near, far); in setUpProjectionMatrix()
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
D | FlockingScene.cpp | 106 float near = 8.0f; in setUpProjectionMatrix() local 109 return Matrix::newFrustum(left, right, bottom, top, near, far); in setUpProjectionMatrix()
|
/cts/tools/cts-tradefed/ |
D | README | 82 be forthcoming in the near future.
|
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/ |
D | VideoEncoderTest.java | 1303 for (boolean near : new boolean[] {false, true}) { in input() 1305 near ? encoderSize.mNearMinMax : encoderSize.mMinMax; in input()
|