Home
last modified time | relevance | path

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

/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraCaptureTest.java158 try (ImageReader imageReader = createImageReader(YUV_420_888)) { in virtualCamera_inputBuffer_doesntBlock()
188 try (ImageReader imageReader = createImageReader(outputPixelFormat)) { in virtualCamera_captureImage_succeeds()
210 try (ImageReader imageReader = createImageReader(outputPixelFormat)) { in virtualCamera_captureWithNoInput_capturesBlackImage()
234 try (ImageReader imageReader = createImageReader(outputPixelFormat, halfWidth, in virtualCamera_captureDownscaled_succeeds()
286 private static ImageReader createImageReader(int pixelFormat) { in createImageReader() method in VirtualCameraCaptureTest
291 private static ImageReader createImageReader(int pixelFormat, int width, int height) { in createImageReader() method in VirtualCameraCaptureTest
DVirtualCameraTest.java698 try (ImageReader imageReader = createImageReader(YUV_420_888)) { in vdContext_legacyCameraPreview_withVirtualCamera()
869 try (ImageReader reader = createImageReader(YUV_420_888)) { in verifyConfigureSessionForSupportedFormatSucceeds()
898 try (ImageReader reader = createImageReader(RGB_565)) { in verifyConfigureSessionForUnsupportedFormatFails()
911 private static ImageReader createImageReader(int pixelFormat) { in createImageReader() method in VirtualCameraTest
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java173 captureReader = createImageReader(activeArraySize, ImageFormat.RAW_SENSOR, 2, in testSingleImageBasic()
254 captureReader = createImageReader(activeArraySize, ImageFormat.RAW_SENSOR, 2, in testSingleImageBasicMaximumResolution()
257 reprocessCaptureReader = createImageReader(activeArraySize, ImageFormat.RAW_SENSOR, in testSingleImageBasicMaximumResolution()
351 captureReaders.add(createImageReader(activeArraySize, ImageFormat.RAW_SENSOR, 2, in testSingleImageThumbnail()
358 captureReaders.add(createImageReader(previewSize, ImageFormat.YUV_420_888, 2, in testSingleImageThumbnail()
719 captureReaders.add(createImageReader(activeArraySize, ImageFormat.RAW_SENSOR, 2, in captureRawJpegImagePair()
727 captureReaders.add(createImageReader(largestJpegSize, ImageFormat.JPEG, 2, in captureRawJpegImagePair()
809 rawCaptureReader = createImageReader(activeArraySize, ImageFormat.RAW_SENSOR, 2, in captureRawJpegImagePairMaximumResolution()
815 jpegCaptureReader = createImageReader(largestJpegSize, ImageFormat.JPEG, 2, in captureRawJpegImagePairMaximumResolution()
829 ImageReader outputRawCaptureReader = createImageReader(activeArraySize, in captureRawJpegImagePairMaximumResolution()
[all …]
DSurfaceViewPreviewTest.java231createImageReader(maxYuvSize, ImageFormat.YUV_420_888, MAX_IMAGES_TO_PREPARE, imageListener); in preparePerformanceTestByCamera()
478 createImageReader(mOrderedStillSizes.get(0), ImageFormat.JPEG, /*maxImages*/ 3, in testDeferredSurfacesByCamera()
801 createImageReader(maxYuvSize, ImageFormat.YUV_420_888, MAX_READER_IMAGES, imageListener); in surfaceSetTestByCamera()
DImageWriterTest.java449 mReaderForWriter = createImageReader( in readerWriterFormatTestByCamera()
453 mReaderForWriter = createImageReader( in readerWriterFormatTestByCamera()
DImageReaderTest.java1106 yuvReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in testAllOutputYUVResolutions()
1113 jpegReader = createImageReader(maxJpegSize, in testAllOutputYUVResolutions()
1557 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera()
1560 yuvReader = createImageReader(maxYuvSz, ImageFormat.YUV_420_888, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera()
1572 captureReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera()
1575 captureReader = createImageReader(captureSz, format, MAX_NUM_IMAGES, in bufferFormatWithYuvTestByCamera()
DOfflineSessionTest.java149 createImageReader(stillSize, ImageFormat.JPEG, MAX_READER_IMAGES, imageListener); in testInvalidOutput()
593 createImageReader(offlineSize, offlineFormat, MAX_READER_IMAGES, imageListener); in camera2OfflineSessionTest()
DRecordingTest.java1943 createImageReader( in videoSnapshotTestByCamera()
1958 createImageReader( in videoSnapshotTestByCamera()
1975 createImageReader( in videoSnapshotTestByCamera()
DStillCaptureTest.java246 createImageReader(stillSize, format, MAX_READER_IMAGES, imageListener); in stillJpegRTestByCamera()
DExtendedCameraCharacteristicsTest.java944 previewReader = createImageReader(previewSize, ImageFormat.YUV_420_888, in checkFormatLatency()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java415 mReader = createImageReader(size, format, maxNumImages, listener); in createDefaultImageReader()
440 mReader = createImageReader(size, format, maxNumImages, usage, listener); in createDefaultImageReader()
456 protected ImageReader createImageReader(Size size, int format, int maxNumImages, in createImageReader() method in Camera2AndroidTestCase
480 protected ImageReader createImageReader(Size size, int format, int maxNumImages, long usage, in createImageReader() method in Camera2AndroidTestCase
DCamera2AndroidTestRule.java472 mReader = createImageReader(size, format, maxNumImages, listener); in createDefaultImageReader()
497 mReader = createImageReader(size, format, maxNumImages, usage, listener); in createDefaultImageReader()
513 public ImageReader createImageReader(Size size, int format, int maxNumImages, in createImageReader() method in Camera2AndroidTestRule
537 public ImageReader createImageReader(Size size, int format, int maxNumImages, long usage, in createImageReader() method in Camera2AndroidTestRule
DCamera2SurfaceViewTestCase.java544 protected void createImageReader(Size size, int format, int maxNumImages, in createImageReader() method in Camera2SurfaceViewTestCase
784 createImageReader(captureSz, format, maxNumImages, imageListener); in prepareCaptureAndStartPreview()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DImageReaderDecoderTest.java440 createImageReader(width, height, imageFormat, MAX_NUM_IMAGES, mImageListener); in decodeFramesToImage()
811 private void createImageReader( in createImageReader() method in ImageReaderDecoderTest