Home
last modified time | relevance | path

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

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DCameraOps.java73 private ImageReader mCaptureReader; field in CameraOps
377 if (mCaptureReader == null || mCaptureReader.getWidth() != width || in minimalJpegCapture()
378 mCaptureReader.getHeight() != height) { in minimalJpegCapture()
379 if (mCaptureReader != null) { in minimalJpegCapture()
380 mCaptureReader.close(); in minimalJpegCapture()
382 mCaptureReader = ImageReader.newInstance(width, height, in minimalJpegCapture()
387 outputSurfaces.add(mCaptureReader.getSurface()); in minimalJpegCapture()
395 captureBuilder.addTarget(mCaptureReader.getSurface()); in minimalJpegCapture()
414 mCaptureReader.setOnImageAvailableListener(readerListener, h); in minimalJpegCapture()