/frameworks/base/media/java/android/media/ |
Image.java | 32 * {@link Plane} that describes the layout of the pixel data in that plane. Due 85 * <th>Plane count</th> 98 * <td>A luminance plane followed by the Cb and Cr chroma planes. 100 * plane (4:2:0 subsampling). Each pixel sample in each plane has 8 bits. 101 * Each plane has its own row stride and pixel stride.</td> 106 * <td>A luminance plane followed by the Cb and Cr chroma planes. 108 * plane (4:2:2 subsampling). Each pixel sample in each plane has 8 bits [all...] |
ImageUtils.java | 21 import android.media.Image.Plane; 117 Plane[] srcPlanes = src.getPlanes(); 118 Plane[] dstPlanes = dst.getPlanes(); 131 throw new IllegalArgumentException("Source plane image pixel stride " +
|
/cts/tests/tests/media/src/android/media/cts/ |
CodecImage.java | 32 * {@link Plane} that describes the layout of the pixel data in that plane. Due 64 * <th>Plane count</th> 77 * <td>A luminance plane followed by the Cb and Cr chroma planes. 79 * plane (4:2:0 subsampling). Each pixel sample in each plane has 8 bits. 80 * Each plane has its own row stride and pixel stride.</td> 85 * <td>A single plane of raw sensor image data, with 16 bits per color 99 * are subsampled, this is the width of the largest-resolution plane. 105 * are subsampled, this is the height of the largest-resolution plane [all...] |
YUVImage.java | 30 private final Plane[] mPlanes; 42 mPlanes = new Plane[3]; 93 public Plane[] getPlanes() { 104 class YUVPlane extends CodecImage.Plane {
|
CodecUtils.java | 44 private final Plane[] mPlanes; 48 Image.Plane[] planes = mImage.getPlanes(); 50 mPlanes = new Plane[planes.length]; 81 public Plane[] getPlanes() { 90 private static class PlaneWrapper extends CodecImage.Plane { 91 private final Image.Plane mPlane; 93 PlaneWrapper(Image.Plane plane) { 94 mPlane = plane; 162 Image.Plane[] planes = image.getPlanes() [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
ImageProxy.java | 40 * An interface for {@link android.media.Image.Plane} with two convenient 48 public interface Plane { 51 * @see {@link android.media.Image.Plane#getRowStride()} 56 * @see {@link android.media.Image.Plane#getPixelStride()} 61 * @see {@link android.media.Image.Plane#getBuffer()} 89 public List<Plane> getPlanes();
|
AndroidImageProxy.java | 39 * An {@link ImageProxy.Plane} backed by an 40 * {@link android.media.Image.Plane}. 42 public class Plane implements ImageProxy.Plane { 47 public Plane(Image.Plane imagePlane) { 48 // Copying out the contents of the Image.Plane means that this Plane 58 * @see {@link android.media.Image.Plane#getRowStride} 66 * @see {@link android.media.Image.Plane#getPixelStride [all...] |
ForwardingImageProxy.java | 75 public List<Plane> getPlanes() {
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Plane.java | 21 /** A plane defined via a unit length normal and the distance from the origin, as you learned in your math class.
24 public class Plane implements Serializable {
27 /** Enum specifying on which side a point lies respective to the plane and it's normal. {@link PlaneSide#Front} is the side to
39 * Constructs a new plane with all values set to 0
41 public Plane () {
45 /** Constructs a new plane based on the normal and distance to the origin.
47 * @param normal The plane normal
49 public Plane (Vector3 normal, float d) {
54 /** Constructs a new plane based on the normal and a point on the plane. [all...] |
Frustum.java | 22 import com.badlogic.gdx.math.Plane.PlaneSide;
45 public final Plane[] planes = new Plane[6];
54 planes[i] = new Plane(new Vector3(), 0);
58 /** Updates the clipping plane's based on the given inverse combined projection and view matrix, e.g. from an
130 /** Returns whether the given sphere is in the frustum not checking whether it is behind the near and far clipping plane.
142 /** Returns whether the given sphere is in the frustum not checking whether it is behind the near and far clipping plane.
|
/packages/apps/Camera2/jni/ |
jpegutil.h | 32 class Plane; 83 * Represents a model for accessing pixel data for a single plane of an image. 87 struct Plane { 88 // The dimensions of this plane of the image 102 * an image plane as contiguous arrays, suitable for use with libjpeg. 111 * @param plane the plane to iterate over 113 * coordinate space of the plane 118 inline RowIterator(Plane plane, Transform transform, int row_length) [all...] |
jpegutil.cpp | 308 /** Y Plane */ 310 /** Cb Plane */ 312 /** Cr Plane */ 338 const Plane yP = {width, height, yBuf, yPStride, yRStride}; 339 const Plane cbP = {width / 2, height / 2, cbBuf, cbPStride, cbRStride}; 340 const Plane crP = {width / 2, height / 2, crBuf, crPStride, crRStride};
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/utils/ |
PerspectiveCamController.java | 23 import com.badlogic.gdx.math.Plane;
65 Plane lookAtPlane = new Plane(new Vector3(0, 1, 0), 0);
|
/external/libgdx/gdx/test/com/badlogic/gdx/math/ |
IntersectorTest.java | 45 Plane plane = new Plane(new Vector3(1, 0, 0), 0); local 50 Intersector.splitTriangle(fTriangle, plane, split); 62 Intersector.splitTriangle(fTriangle, plane, split); 71 Intersector.splitTriangle(triangle, plane, split); // Split points are D (0,0,5) and E (0,0,-5) 91 Intersector.splitTriangle(triangle, plane, split); // Split points are D (0,0,5) and E (0,0,-5)
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
OcclusionCuller.java | 21 import com.badlogic.gdx.math.Plane; 158 /** @param frustum Set the frustum plane buffers to this frustum */ 164 Plane plane = frustum.planes[i]; local 165 // Since the plane normals map to an array of btVector3, all four vector components (x, y, z, w) 166 // required by the C++ struct must be provided. The plane offset from origin (d) must also be set. 167 frustumNormals.put(plane.normal.x); 168 frustumNormals.put(plane.normal.y); 169 frustumNormals.put(plane.normal.z); 171 frustumOffsets.put(plane.d) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
ImageReaderTest.java | 23 import android.media.Image.Plane; 67 mock(Plane.class);
|
/external/dng_sdk/source/ |
dng_misc_opcodes.cpp | 411 for (uint32 plane = fAreaSpec.Plane (); 412 plane < fAreaSpec.Plane () + fAreaSpec.Planes () && 413 plane < buffer.Planes (); 414 plane++) 417 DoMapArea16 (buffer.DirtyPixel_uint16 (overlap.t, overlap.l, plane), 634 for (uint32 plane = fAreaSpec.Plane (); 635 plane < fAreaSpec.Plane () + fAreaSpec.Planes () & [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
JpegUtilNative.java | 44 * The input is defined as a set of 3 planes of 8-bit samples, one plane for 46 * The Y plane is assumed to have the same width and height of the entire 50 * Each plane is specified by a direct java.nio.ByteBuffer, a pixel-stride, 106 * Copies the Image.Plane specified by planeBuf, pStride, and rStride to the 111 * @param planeBuf the native ByteBuffer containing the image plane data 122 public static void copyImagePlaneToBitmap(ImageProxy.Plane plane, Bitmap bitmap, int rot90) { 130 copyImagePlaneToBitmap(width, height, plane.getBuffer(), plane.getPixelStride(), 131 plane.getRowStride(), bitmap, rot90) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsUtils.java | 28 import android.media.Image.Plane; 174 Plane[] planes = image.getPlanes(); 220 "Reading image: fmt %d, plane %d, w %d, h %d, rowStride %d, pixStride %d", 270 Plane[] planes = image.getPlanes();
|
/external/eigen/test/ |
geo_hyperplane.cpp | 120 typedef Hyperplane<Scalar, 3> Plane; 134 Plane p0 = Plane::Through(v0, v1, v2);
|
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
CameraTooTest.java | 154 Image.Plane plane = mock(Image.Plane.class); local 155 when(plane.getBuffer()).thenReturn(buf); 156 when(plane.getPixelStride()).thenReturn(1); 157 when(plane.getRowStride()).thenReturn(5); 159 Image.Plane[] onlyPlaneThatMatters = { plane };
|
/frameworks/base/core/java/android/hardware/camera2/ |
DngCreator.java | 416 Image.Plane[] planes = pixels.getPlanes(); 535 Image.Plane yPlane = yuvImage.getPlanes()[0]; 536 Image.Plane uPlane = yuvImage.getPlanes()[1]; 537 Image.Plane vPlane = yuvImage.getPlanes()[2];
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
TaskChainedCompressImageToJpeg.java | 53 final List<ImageProxy.Plane> planeList = img.proxy.getPlanes();
|
TaskJpegEncode.java | 79 final List<ImageProxy.Plane> planeList = img.getPlanes(); 104 final List<ImageProxy.Plane> planeList = img.getPlanes();
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
ImageWriterTest.java | 28 import android.media.Image.Plane; 270 Plane closedPlane = inputImage.getPlanes()[0];
|