/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/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()
|
/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/tests/tests/renderscript/src/android/renderscript/cts/ |
D | MatrixTest.rs | 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/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/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/tests/openglperf2/test/ |
D | MatrixTest.cpp | 173 float near = 1.0f; in TEST() local 176 Matrix* m = Matrix::newFrustum(left, right, bottom, top, near, far); in TEST()
|
/cts/tools/cts-tradefed/ |
D | README | 82 be forthcoming in the near future.
|
/cts/tools/tradefed-host/ |
D | README | 82 be forthcoming in the near future.
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoEncoderTest.java | 988 public boolean testExtreme(int x, int y, boolean flexYUV, boolean near) { in testExtreme() argument 990 for (Size s : (near ? mNearMinMax : mMinMax).get(new Size(x, y))) { in testExtreme() 1696 private void extreme(Encoder[] encoders, int x, int y, boolean flexYUV, boolean near) { in extreme() argument 1703 if (encoder.testExtreme(x, y, flexYUV, near)) { in extreme()
|