Searched refs:imageReaders (Results 1 – 3 of 3) sorted by relevance
455 ImageReader imageReaders[] = new ImageReader[IMG_READER_COUNT]; in testSharedSurfaceImageReaderSwitch() local484 imageReaders[i] = ImageReader.newInstance(previewSize.getWidth(), in testSharedSurfaceImageReaderSwitch()486 imageReaders[i].setOnImageAvailableListener(imageListeners[i], mHandler); in testSharedSurfaceImageReaderSwitch()487 readerSurfaces[i] = imageReaders[i].getSurface(); in testSharedSurfaceImageReaderSwitch()499 Image img = imageReaders[i].acquireLatestImage(); in testSharedSurfaceImageReaderSwitch()508 imageReaders[i].close(); in testSharedSurfaceImageReaderSwitch()571 ImageReader imageReaders[] = new ImageReader[YUV_IMG_READER_COUNT]; in testSharedSurfaceYUVImageReaderSwitch() local576 imageReaders[i] = ImageReader.newInstance(frameSize.getWidth(), frameSize.getHeight(), in testSharedSurfaceYUVImageReaderSwitch()578 imageReaders[i].setOnImageAvailableListener(imageListeners[i], mHandler); in testSharedSurfaceYUVImageReaderSwitch()579 readerSurfaces[i] = imageReaders[i].getSurface(); in testSharedSurfaceYUVImageReaderSwitch()[all …]
411 List<ImageReader> imageReaders = new ArrayList<>(); in testBasicPhysicalRequests() local421 imageReaders.add(yuvTarget); in testBasicPhysicalRequests()459 imageReaders.clear(); in testBasicPhysicalRequests()527 List<ImageReader> imageReaders = new ArrayList<>(); in testInvalidPhysicalCameraRequests() local532 imageReaders.add(yuvTarget); in testInvalidPhysicalCameraRequests()601 imageReaders.clear(); in testInvalidPhysicalCameraRequests()1107 List<ImageReader> imageReaders = new ArrayList<>(); in testBasicPhysicalStreamingForCamera() local1113 imageReaders.add(logicalTarget); in testBasicPhysicalStreamingForCamera()
1244 List<ImageReader> imageReaders = new ArrayList<>(); in testCreateSessionsByCamera() local1249 imageReaders.add(ImageReader.newInstance(yuvSize.getWidth(), yuvSize.getHeight(), in testCreateSessionsByCamera()1252 imageReaders.add(ImageReader.newInstance(jpegSize.getWidth(), jpegSize.getHeight(), in testCreateSessionsByCamera()1260 outputs.add(imageReaders.get(i).getSurface()); in testCreateSessionsByCamera()1278 ImageReader reader = imageReaders.get(imageReaders.size() - 1); in testCreateSessionsByCamera()1291 for (ImageReader reader : imageReaders) { in testCreateSessionsByCamera()