Home
last modified time | relevance | path

Searched refs:getPlanes (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/
DJpegEncoder.java104 ByteBuffer jpegBuffer = jpegImage.getPlanes()[0].getBuffer(); in encodeToJpeg()
110 Plane lumaPlane = yuvImage.getPlanes()[0]; in encodeToJpeg()
112 Plane crPlane = yuvImage.getPlanes()[1]; in encodeToJpeg()
113 Plane cbPlane = yuvImage.getPlanes()[2]; in encodeToJpeg()
DHdrAdvancedExtenderImpl.java276 ByteBuffer yByteBuffer = resultImage.getPlanes()[0].getBuffer(); in processImageCapture()
277 ByteBuffer uByteBuffer = resultImage.getPlanes()[2].getBuffer(); in processImageCapture()
278 ByteBuffer vByteBuffer = resultImage.getPlanes()[1].getBuffer(); in processImageCapture()
281 NORMAL_EXPOSED_CAPTURE_ID).first.get().getPlanes()[0].getBuffer()); in processImageCapture()
283 NORMAL_EXPOSED_CAPTURE_ID).first.get().getPlanes()[2].getBuffer()); in processImageCapture()
285 NORMAL_EXPOSED_CAPTURE_ID).first.get().getPlanes()[1].getBuffer()); in processImageCapture()
DBaseAdvancedExtenderImpl.java746 ByteBuffer yByteBuffer = resultImage.getPlanes()[0].getBuffer(); in processImageCapture()
747 ByteBuffer uByteBuffer = resultImage.getPlanes()[2].getBuffer(); in processImageCapture()
748 ByteBuffer vByteBuffer = resultImage.getPlanes()[1].getBuffer(); in processImageCapture()
751 DEFAULT_CAPTURE_ID).first.get().getPlanes()[0].getBuffer()); in processImageCapture()
753 DEFAULT_CAPTURE_ID).first.get().getPlanes()[2].getBuffer()); in processImageCapture()
755 DEFAULT_CAPTURE_ID).first.get().getPlanes()[1].getBuffer()); in processImageCapture()
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/
DBokehImageCaptureExtenderImpl.java146 ByteBuffer yByteBuffer = image.getPlanes()[0].getBuffer(); in getCaptureProcessor()
147 ByteBuffer uByteBuffer = image.getPlanes()[2].getBuffer(); in getCaptureProcessor()
148 ByteBuffer vByteBuffer = image.getPlanes()[1].getBuffer(); in getCaptureProcessor()
151 yByteBuffer.put(ByteBuffer.allocate(image.getPlanes()[0] in getCaptureProcessor()
153 uByteBuffer.put(ByteBuffer.allocate(image.getPlanes()[2] in getCaptureProcessor()
155 vByteBuffer.put(ByteBuffer.allocate(image.getPlanes()[1] in getCaptureProcessor()
272 ByteBuffer yByteBuffer = image.getPlanes()[0].getBuffer(); in getCaptureProcessor()
273 ByteBuffer uByteBuffer = image.getPlanes()[2].getBuffer(); in getCaptureProcessor()
274 ByteBuffer vByteBuffer = image.getPlanes()[1].getBuffer(); in getCaptureProcessor()
277 yByteBuffer.put(result.first.getPlanes()[0].getBuffer()); in getCaptureProcessor()
[all …]
DAutoImageCaptureExtenderImpl.java161 ByteBuffer yByteBuffer = image.getPlanes()[0].getBuffer(); in getCaptureProcessor()
162 ByteBuffer uByteBuffer = image.getPlanes()[2].getBuffer(); in getCaptureProcessor()
163 ByteBuffer vByteBuffer = image.getPlanes()[1].getBuffer(); in getCaptureProcessor()
166 yByteBuffer.put(result.first.getPlanes()[0].getBuffer()); in getCaptureProcessor()
167 uByteBuffer.put(result.first.getPlanes()[2].getBuffer()); in getCaptureProcessor()
168 vByteBuffer.put(result.first.getPlanes()[1].getBuffer()); in getCaptureProcessor()
DNightImageCaptureExtenderImpl.java161 ByteBuffer yByteBuffer = image.getPlanes()[0].getBuffer(); in getCaptureProcessor()
162 ByteBuffer uByteBuffer = image.getPlanes()[2].getBuffer(); in getCaptureProcessor()
163 ByteBuffer vByteBuffer = image.getPlanes()[1].getBuffer(); in getCaptureProcessor()
166 yByteBuffer.put(result.first.getPlanes()[0].getBuffer()); in getCaptureProcessor()
167 uByteBuffer.put(result.first.getPlanes()[2].getBuffer()); in getCaptureProcessor()
168 vByteBuffer.put(result.first.getPlanes()[1].getBuffer()); in getCaptureProcessor()
DBeautyImageCaptureExtenderImpl.java163 ByteBuffer yByteBuffer = image.getPlanes()[0].getBuffer(); in getCaptureProcessor()
164 ByteBuffer uByteBuffer = image.getPlanes()[2].getBuffer(); in getCaptureProcessor()
165 ByteBuffer vByteBuffer = image.getPlanes()[1].getBuffer(); in getCaptureProcessor()
168 yByteBuffer.put(result.first.getPlanes()[0].getBuffer()); in getCaptureProcessor()
169 uByteBuffer.put(result.first.getPlanes()[2].getBuffer()); in getCaptureProcessor()
170 vByteBuffer.put(result.first.getPlanes()[1].getBuffer()); in getCaptureProcessor()
DHdrImageCaptureExtenderImpl.java271 ByteBuffer yByteBuffer = image.getPlanes()[0].getBuffer(); in getCaptureProcessor()
272 ByteBuffer uByteBuffer = image.getPlanes()[2].getBuffer(); in getCaptureProcessor()
273 ByteBuffer vByteBuffer = image.getPlanes()[1].getBuffer(); in getCaptureProcessor()
277 NORMAL_STAGE_ID).first.getPlanes()[0].getBuffer()); in getCaptureProcessor()
279 NORMAL_STAGE_ID).first.getPlanes()[2].getBuffer()); in getCaptureProcessor()
281 NORMAL_STAGE_ID).first.getPlanes()[1].getBuffer()); in getCaptureProcessor()
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/
DImageCaptureExtenderImplStub.java105 ByteBuffer yByteBuffer = image.getPlanes()[0].getBuffer();
106 ByteBuffer uByteBuffer = image.getPlanes()[2].getBuffer();
107 ByteBuffer vByteBuffer = image.getPlanes()[1].getBuffer();
112 yByteBuffer.put(captureImage.getPlanes()[0].getBuffer());
113 uByteBuffer.put(captureImage.getPlanes()[2].getBuffer());
114 vByteBuffer.put(captureImage.getPlanes()[1].getBuffer());
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionJpegProcessor.java328 ByteBuffer jpegBuffer = jpegImage.getPlanes()[0].getBuffer(); in onImageAvailable()
333 Plane lumaPlane = yuvImage.getPlanes()[0]; in onImageAvailable()
334 Plane crPlane = yuvImage.getPlanes()[1]; in onImageAvailable()
335 Plane cbPlane = yuvImage.getPlanes()[2]; in onImageAvailable()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java439 Image.Plane[] planes = pixels.getPlanes(); in writeImage()
556 Image.Plane yPlane = yuvImage.getPlanes()[0]; in convertToRGB()
557 Image.Plane uPlane = yuvImage.getPlanes()[1]; in convertToRGB()
558 Image.Plane vPlane = yuvImage.getPlanes()[2]; in convertToRGB()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DImageWrapper.java62 mPlaneCount = image.getPlanes().length; in ImageWrapper()
216 public Plane[] getPlanes() { in getPlanes() method in ImageWrapper.ExtensionImage
/frameworks/base/media/java/android/media/
DImage.java379 public abstract Plane[] getPlanes(); in getPlanes() method in Image
DImageUtils.java163 Plane[] srcPlanes = src.getPlanes(); in imageCopy()
164 Plane[] dstPlanes = dst.getPlanes(); in imageCopy()
DImageWriter.java1164 public Plane[] getPlanes() { in getPlanes() method in ImageWriter.WriterSurfaceImage
DImageReader.java1288 public Plane[] getPlanes() { in getPlanes() method in ImageReader.SurfaceImage
DMediaCodec.java5834 public Plane[] getPlanes() { in getPlanes() method in MediaImage
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java852 Plane[] planes = image.getPlanes(); in getDataFromImage()
933 Plane[] planes = image.getPlanes(); in checkAndroidImageFormat()
1689 Plane[] srcPlanes = src.getPlanes(); in imageCopy()
1690 Plane[] dstPlanes = dst.getPlanes(); in imageCopy()
1761 Plane[] lhsPlanes = lhsImg.getPlanes(); in isImageStronglyEqual()
1762 Plane[] rhsPlanes = rhsImg.getPlanes(); in isImageStronglyEqual()
1827 assertNotNull("Image plane shouldn't be null", image.getPlanes()); in basicValidateJpegImage()
1828 assertEquals("Image plane number should be 1", 1, image.getPlanes().length); in basicValidateJpegImage()
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
DCameraTooTest.java161 when(image.getPlanes()).thenReturn(onlyPlaneThatMatters); in capturedImageSaver()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java417 ByteBuffer buffer = mCapture.getPlanes()[0].getBuffer(); in run()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java484 final Image.Plane plane = image.getPlanes()[0]; in scanImage()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java213 ByteBuffer buffer = mImage.getPlanes()[0].getBuffer(); in run()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java231 ByteBuffer buffer = mImage.getPlanes()[0].getBuffer(); in run()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java1155 ByteBuffer buffer = image.getPlanes()[0].getBuffer(); in takePicture()
/frameworks/base/core/java/com/android/internal/policy/
DTransitionAnimation.java1351 final Image.Plane plane = image.getPlanes()[0]; in getBorderLuma()

12