Home
last modified time | relevance | path

Searched refs:far (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/image/
DRangeInverseDepthTransform.java29 private final float far; field in RangeInverseDepthTransform
31 public RangeInverseDepthTransform(float near, float far) { in RangeInverseDepthTransform() argument
33 this.far = far; in RangeInverseDepthTransform()
43 return far; in getFar()
54 (int) ((far - near * far / value) / (far - near) * 255f))); in quantize()
59 return (far * near) / (far - (far - near) * in reconstruct()
DRangeLinearDepthTransform.java30 private final float far; field in RangeLinearDepthTransform
32 public RangeLinearDepthTransform(float near, float far) { in RangeLinearDepthTransform() argument
34 this.far = far; in RangeLinearDepthTransform()
44 return far; in getFar()
55 (int) ((value - near) / (far - near) * 255f))); in quantize()
60 return near + (far - near) * Math.max(0, Math.min(255, value)) / 255f; in reconstruct()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DDepthImage.java41 public DepthImage(String format, double far, double near, in DepthImage() argument
47 mFar = far; in DepthImage()
80 double far = 120.0; in createFromDepthmap() local
81 DepthTransform transform = new RangeInverseDepthTransform((float)near, (float)far); in createFromDepthmap()
83 far, in createFromDepthmap()
/cts/tests/openglperf2/jni/primitive/fullpipeline/
DFullPipelineRenderer.cpp140 float far = 2.0f; in setUp() local
142 mProjectionMatrix = Matrix::newFrustum(left, right, bottom, top, near, far); in setUp()
/cts/tests/tests/hardware/
DOWNERS6 # Only input tests use JSON so far
/cts/tests/openglperf2/jni/graphics/
DMatrix.cpp192 float near, float far) { in newFrustum() argument
195 const float r_depth = 1.0f / (near - far); in newFrustum()
200 const float C = (far + near) * r_depth; in newFrustum()
201 const float D = 2.0f * (far * near * r_depth); in newFrustum()
DMatrix.h45 float near, float far);
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrixTest.rscript770 const float far = 7.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);
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/
DGlowingScene.cpp109 float far = 12.0f; in setUpProjectionMatrix() local
111 return Matrix::newFrustum(left, right, bottom, top, near, far); in setUpProjectionMatrix()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
DBaseRenderer.java135 final float far = 10.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()
DComplexMovementRenderer.java248 float far = 100f; in calculateProjectionMatrix() local
259 near, far); in calculateProjectionMatrix()
/cts/tests/openglperf2/jni/reference/scene/flocking/
DFlockingScene.cpp107 float far = 12.0f; in setUpProjectionMatrix() local
109 return Matrix::newFrustum(left, right, bottom, top, near, far); in setUpProjectionMatrix()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale34 Dhrystone is used most. There should be, as far as possible, only
43 o As far as it is possible without changes to the Dhrystone statistics,
/cts/apps/CtsVerifier/
DNOTICE.txt5374 # above as far as the program is concerned.