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.java77 private ImageReader mCaptureReader; field in CameraOps
463 if (mCaptureReader == null || mCaptureReader.getWidth() != width || in minimalStillCapture()
464 mCaptureReader.getHeight() != height || in minimalStillCapture()
465 mCaptureReader.getImageFormat() != format) { in minimalStillCapture()
466 if (mCaptureReader != null) { in minimalStillCapture()
467 mCaptureReader.close(); in minimalStillCapture()
469 mCaptureReader = ImageReader.newInstance(width, height, in minimalStillCapture()
474 outputSurfaces.add(mCaptureReader.getSurface()); in minimalStillCapture()
482 captureBuilder.addTarget(mCaptureReader.getSurface()); in minimalStillCapture()
488 mCaptureReader.setOnImageAvailableListener(readerListener, h); in minimalStillCapture()