Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DImageReader.java134 mMaxImages = maxImages; in ImageReader()
140 if (mMaxImages < 1) { in ImageReader()
231 return mMaxImages; in getMaxImages()
401 "call #close before acquiring more.", mMaxImages)); in acquireNextImage()
617 private final int mMaxImages; field in ImageReader
DImageWriter.java89 private final int mMaxImages; field in ImageWriter
133 mMaxImages = maxImages; in ImageWriter()
176 return mMaxImages; in getMaxImages()
230 if (mDequeuedImages.size() >= mMaxImages) { in dequeueInputImage()
231 throw new IllegalStateException("Already dequeued max number of Images " + mMaxImages); in dequeueInputImage()
/frameworks/av/media/ndk/
DNdkImageReaderPriv.h71 int32_t getMaxImages() const { return mMaxImages; }; in getMaxImages()
110 const int32_t mMaxImages; member
DNdkImageReader.cpp144 mWidth(width), mHeight(height), mFormat(format), mMaxImages(maxImages), in AImageReader()
160 mWidth, mHeight, mFormat, mMaxImages, getpid(), in init()
163 cpuConsumer = new CpuConsumer(gbConsumer, mMaxImages, /*controlledByApp*/true); in init()
200 for (int i = 0; i < mMaxImages; i++) { in init()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java277 private final int mMaxImages; field in CameraTestUtils.SimpleImageReaderListener
287 mMaxImages = 0; in SimpleImageReaderListener()
308 mMaxImages = maxImages; in SimpleImageReaderListener()
315 if (mAsyncMode && mQueue.size() >= mMaxImages) { in onImageAvailable()