HomeSort by relevance Sort by last modified time
    Searched refs:Plane (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/base/media/java/android/media/
Image.java 29 * {@link Plane} that describes the layout of the pixel data in that plane. Due
67 * <th>Plane count</th>
80 * <td>A luminance plane followed by the Cb and Cr chroma planes.
82 * plane (4:2:0 subsampling). Each pixel sample in each plane has 8 bits.
83 * Each plane has its own row stride and pixel stride.</td>
93 * are subsampled, this is the width of the largest-resolution plane.
99 * are subsampled, this is the height of the largest-resolution plane.
118 public abstract Plane[] getPlanes()
    [all...]
ImageReader.java 433 * {@link Image.Plane#getBuffer Plane#getBuffer} call will
599 public Plane[] getPlanes() {
642 private class SurfacePlane extends android.media.Image.Plane {
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
PlaneCollisionShape.java 12 import com.jme3.math.Plane;
23 private Plane plane; field in class:PlaneCollisionShape
29 * Creates a plane Collision shape
30 * @param plane the plane that defines the shape
32 public PlaneCollisionShape(Plane plane) {
33 this.plane = plane;
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
PlaneCollisionShape.java 14 import com.jme3.math.Plane;
22 private Plane plane; field in class:PlaneCollisionShape
28 * Creates a plane Collision shape
29 * @param plane the plane that defines the shape
31 public PlaneCollisionShape(Plane plane) {
32 this.plane = plane;
    [all...]
  /external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
ReflectionProcessor.java 7 import com.jme3.math.Plane;
25 private Plane reflectionClipPlane;
31 * @param reflectionClipPlane the clipping plane
33 public ReflectionProcessor(Camera reflectionCam, FrameBuffer reflectionBuffer, Plane reflectionClipPlane) {
64 //setting the clip plane to the cam
65 reflectionCam.setClipPlane(reflectionClipPlane, Plane.Side.Positive);//,1
111 * returns the reflection clip plane
114 public Plane getReflectionClipPlane() {
119 * Sets the reflection clip plane
122 public void setReflectionClipPlane(Plane reflectionClipPlane)
    [all...]
SimpleWaterProcessor.java 54 * Simple Water renders a simple plane that use reflection and refraction to look like water.
65 * //setting the water plane
67 * waterProcessor.setPlane(new Plane(Vector3f.UNIT_Y, waterLocation.dot(Vector3f.UNIT_Y)));
107 protected Plane plane = new Plane(Vector3f.UNIT_Y, Vector3f.ZERO.dot(Vector3f.UNIT_Y)); field in class:SimpleWaterProcessor
119 private Plane reflectionClipPlane;
120 private Plane refractionClipPlane;
205 if (!ray.intersectsWherePlane(plane, targetLocation)) {
207 ray.intersectsWherePlane(plane, targetLocation)
    [all...]
WaterFilter.java 73 private Plane plane; field in class:WaterFilter
152 plane = new Plane(Vector3f.UNIT_Y, new Vector3f(0, waterHeight, 0).dot(Vector3f.UNIT_Y));
153 reflectionProcessor.setReflectionClipPlane(plane);
155 if (!ray.intersectsWherePlane(plane, targetLocation)) {
157 ray.intersectsWherePlane(plane, targetLocation);
160 Vector3f loc = plane.reflect(sceneCam.getLocation(), new Vector3f());
172 float planeDistance = plane.pseudoDistance(vars.vect1);
173 vars.vect2.set(plane.getNormal()).multLocal(planeDistance * 2.0f)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Plane.java 40 * <code>Plane</code> defines a plane where Normal dot (x,y,z) = Constant.
42 * plane. The distance is pseudo due to the fact that it can be negative if the
43 * point is on the non-normal side of the plane.
48 public class Plane implements Savable, Cloneable, java.io.Serializable {
53 .getLogger(Plane.class.getName());
62 * Vector normal to the plane.
67 * Constant of the plane. See formula in class definition.
72 * Constructor instantiates a new <code>Plane</code> object. This is the
75 public Plane() {
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/bounding/
BoundingVolume.java 96 * Sets the index of the plane that should be first checked during rendering.
140 * lies on a plane. Possible values are POSITIVE_SIDE, NEGATIVE_SIDE, and
143 * @param plane
144 * the plane to check against this bounding volume.
147 public abstract Plane.Side whichSide(Plane plane);
Intersection.java 35 import com.jme3.math.Plane;
266 // // test if the box intersects the plane of the triangle
267 // // compute plane equation of triangle: normal * x + d = 0
270 Plane p = vars.plane;
273 if (bbox.whichSide(p) == Plane.Side.Negative) {
BoundingSphere.java 436 * <code>whichSide</code> takes a plane (typically provided by a view
439 * @param plane
440 * the plane to check against.
443 public Plane.Side whichSide(Plane plane) {
444 float distance = plane.pseudoDistance(center);
447 return Plane.Side.Negative;
449 return Plane.Side.Positive;
451 return Plane.Side.None;
    [all...]
BoundingBox.java 336 * <code>whichSide</code> takes a plane (typically provided by a view
339 * @param plane
340 * the plane to check against.
342 public Plane.Side whichSide(Plane plane) {
343 float radius = FastMath.abs(xExtent * plane.getNormal().getX())
344 + FastMath.abs(yExtent * plane.getNormal().getY())
345 + FastMath.abs(zExtent * plane.getNormal().getZ());
347 float distance = plane.pseudoDistance(center);
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/util/
TempVars.java 200 * Plane
202 public final Plane plane = new Plane(); field in class:TempVars
  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestKinematicAddToPhysicsSpaceIssue.java 14 import com.jme3.math.Plane;
70 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new PlaneCollisionShape(new Plane(new Vector3f(0, 1, 0), 0)), 0);
TestLocalPhysics.java 39 import com.jme3.math.Plane;
101 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new PlaneCollisionShape(new Plane(new Vector3f(0, 1, 0), 0)), 0);
TestSimplePhysics.java 39 import com.jme3.math.Plane;
96 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new PlaneCollisionShape(new Plane(new Vector3f(0, 1, 0), 0)), 0);
TestPhysicsReadWrite.java 44 import com.jme3.math.Plane;
108 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new PlaneCollisionShape(new Plane(new Vector3f(0, 1, 0), 0)), 0);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
ImageReaderTest.java 23 import android.media.Image.Plane;
67 mock(Plane.class);
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
CameraTestUtils.java 28 import android.media.Image.Plane;
148 * the Y plane data first, followed by U(Cb), V(Cr) planes if there is any
162 Plane[] planes = image.getPlanes();
184 assertNotNull("Fail to get bytebuffer from plane", buffer);
218 if (VERBOSE) Log.v(TAG, "Finished reading data from plane " + i);
230 Plane[] planes = image.getPlanes();
239 assertEquals("Y8/Y16 Image should have 1 plane", 1, planes.length);
242 assertEquals("Jpeg Image should have one plane", 1, planes.length);
  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/
Camera.java 92 * LEFT_PLANE represents the left plane of the camera frustum.
96 * RIGHT_PLANE represents the right plane of the camera frustum.
100 * BOTTOM_PLANE represents the bottom plane of the camera frustum.
104 * TOP_PLANE represents the top plane of the camera frustum.
108 * FAR_PLANE represents the far plane of the camera frustum.
112 * NEAR_PLANE represents the near plane of the camera frustum.
132 * Distance from camera to near frustum plane.
136 * Distance from camera to far frustum plane.
140 * Distance from camera to left frustum plane.
144 * Distance from camera to right frustum plane
    [all...]
  /pdk/apps/CameraITS/service/src/com/android/camera2/its/
ItsUtils.java 26 import android.media.Image.Plane;
259 Plane[] planes = image.getPlanes();
318 Plane[] planes = image.getPlanes();
  /external/jmonkeyengine/engine/src/test/jme3test/water/
TestSceneWater.java 109 //setting the water plane
111 waterProcessor.setPlane(new Plane(Vector3f.UNIT_Y, waterLocation.dot(Vector3f.UNIT_Y)));
  /external/jmonkeyengine/engine/src/core/com/jme3/collision/
SweepSphere.java 51 private final Plane triPlane = new Plane();
221 // we are travelling exactly parrallel to the plane
  /cts/suite/cts/deviceTests/browserbench/assets/octane/
raytrace.js 66 // flog/shape/plane.js
467 Flog.RayTracer.Shape.Plane = Class.create();
469 Flog.RayTracer.Shape.Plane.prototype = {
513 return 'Plane [' + this.position + ', d=' + this.d + ']';
774 if(shadowInfo.isHit && shadowInfo.shape != info.shape /*&& shadowInfo.shape.type != 'PLANE'*/){
849 var plane = new Flog.RayTracer.Shape.Plane(
862 scene.shapes.push(plane);
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
v8-raytrace.js 61 // flog/shape/plane.js
493 Flog.RayTracer.Shape.Plane = Class.create();
495 Flog.RayTracer.Shape.Plane.prototype = {
539 return 'Plane [' + this.position + ', d=' + this.d + ']';
800 if(shadowInfo.isHit && shadowInfo.shape != info.shape /*&& shadowInfo.shape.type != 'PLANE'*/){
875 var plane = new Flog.RayTracer.Shape.Plane(
888 scene.shapes.push(plane);

Completed in 652 milliseconds

1 2