Searched refs:imageReaders (Results 1 – 3 of 3) sorted by relevance
437 ImageReader imageReaders[] = new ImageReader[IMG_READER_COUNT]; in testSharedSurfaceImageReaderSwitch() local466 imageReaders[i] = ImageReader.newInstance(previewSize.getWidth(), in testSharedSurfaceImageReaderSwitch()468 imageReaders[i].setOnImageAvailableListener(imageListeners[i], mHandler); in testSharedSurfaceImageReaderSwitch()469 readerSurfaces[i] = imageReaders[i].getSurface(); in testSharedSurfaceImageReaderSwitch()481 Image img = imageReaders[i].acquireLatestImage(); in testSharedSurfaceImageReaderSwitch()490 imageReaders[i].close(); in testSharedSurfaceImageReaderSwitch()553 ImageReader imageReaders[] = new ImageReader[YUV_IMG_READER_COUNT]; in testSharedSurfaceYUVImageReaderSwitch() local558 imageReaders[i] = ImageReader.newInstance(frameSize.getWidth(), frameSize.getHeight(), in testSharedSurfaceYUVImageReaderSwitch()560 imageReaders[i].setOnImageAvailableListener(imageListeners[i], mHandler); in testSharedSurfaceYUVImageReaderSwitch()561 readerSurfaces[i] = imageReaders[i].getSurface(); in testSharedSurfaceYUVImageReaderSwitch()[all …]
375 List<ImageReader> imageReaders = new ArrayList<>(); in testBasicPhysicalRequests() local385 imageReaders.add(yuvTarget); in testBasicPhysicalRequests()416 imageReaders.clear(); in testBasicPhysicalRequests()482 List<ImageReader> imageReaders = new ArrayList<>(); in testInvalidPhysicalCameraRequests() local487 imageReaders.add(yuvTarget); in testInvalidPhysicalCameraRequests()984 List<ImageReader> imageReaders = new ArrayList<>(); in testBasicPhysicalStreamingForCamera() local990 imageReaders.add(logicalTarget); in testBasicPhysicalStreamingForCamera()
1212 List<ImageReader> imageReaders = new ArrayList<>(); in testCreateSessionsByCamera() local1217 imageReaders.add(ImageReader.newInstance(yuvSize.getWidth(), yuvSize.getHeight(), in testCreateSessionsByCamera()1220 imageReaders.add(ImageReader.newInstance(jpegSize.getWidth(), jpegSize.getHeight(), in testCreateSessionsByCamera()1228 outputs.add(imageReaders.get(i).getSurface()); in testCreateSessionsByCamera()1246 ImageReader reader = imageReaders.get(imageReaders.size() - 1); in testCreateSessionsByCamera()1259 for (ImageReader reader : imageReaders) { in testCreateSessionsByCamera()