Home
last modified time | relevance | path

Searched refs:planeList (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskConvertImageToRGBPreview.java230 final List<ImageProxy.Plane> planeList = img.getPlanes(); in colorInscribedDataCircleFromYuvImage() local
231 if (planeList.size() != 3) { in colorInscribedDataCircleFromYuvImage()
232 throw new IllegalArgumentException("Incorrect number planes (" + planeList.size() in colorInscribedDataCircleFromYuvImage()
267 ByteBuffer buf0 = planeList.get(0).getBuffer(); in colorInscribedDataCircleFromYuvImage()
268 ByteBuffer bufU = planeList.get(1).getBuffer(); // Downsampled by 2 in colorInscribedDataCircleFromYuvImage()
269 ByteBuffer bufV = planeList.get(2).getBuffer(); // Downsampled by 2 in colorInscribedDataCircleFromYuvImage()
270 int yByteStride = planeList.get(0).getRowStride() * subsample; in colorInscribedDataCircleFromYuvImage()
271 int uByteStride = planeList.get(1).getRowStride() * subsample; in colorInscribedDataCircleFromYuvImage()
272 int vByteStride = planeList.get(2).getRowStride() * subsample; in colorInscribedDataCircleFromYuvImage()
273 int yPixelStride = planeList.get(0).getPixelStride() * subsample; in colorInscribedDataCircleFromYuvImage()
[all …]
DTaskJpegEncode.java79 final List<ImageProxy.Plane> planeList = img.getPlanes(); in convertYUV420ImageToPackedNV21() local
81 ByteBuffer y_buffer = planeList.get(0).getBuffer(); in convertYUV420ImageToPackedNV21()
82 ByteBuffer u_buffer = planeList.get(1).getBuffer(); in convertYUV420ImageToPackedNV21()
83 ByteBuffer v_buffer = planeList.get(2).getBuffer(); in convertYUV420ImageToPackedNV21()
104 final List<ImageProxy.Plane> planeList = img.getPlanes(); in convertYUV420ImageToPackedNV21() local
106 ByteBuffer y_buffer = planeList.get(0).getBuffer(); in convertYUV420ImageToPackedNV21()
107 ByteBuffer u_buffer = planeList.get(1).getBuffer(); in convertYUV420ImageToPackedNV21()
108 ByteBuffer v_buffer = planeList.get(2).getBuffer(); in convertYUV420ImageToPackedNV21()
109 final int color_pixel_stride = planeList.get(1).getPixelStride(); in convertYUV420ImageToPackedNV21()
DTaskChainedCompressImageToJpeg.java53 final List<ImageProxy.Plane> planeList = img.proxy.getPlanes(); in run() local
66 strides[0] = planeList.get(0).getRowStride() in run()
67 / planeList.get(0).getPixelStride(); in run()
68 strides[1] = planeList.get(1).getRowStride() in run()
69 / planeList.get(1).getPixelStride(); in run()
70 strides[2] = 2 * planeList.get(2).getRowStride() in run()
71 / planeList.get(2).getPixelStride(); in run()
/packages/apps/Camera2/src/com/android/camera/util/
DJpegUtilNative.java224 final List<ImageProxy.Plane> planeList = img.getPlanes(); in compressJpegFromYUV420Image()
225 Preconditions.checkState(planeList.size() == NUM_PLANES); in compressJpegFromYUV420Image()
232 ImageProxy.Plane plane = planeList.get(i); in compressJpegFromYUV420Image()