Searched refs:maxImages (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
H A DImageReader.java42 * {@code maxImages} constructor parameter. New images sent to an ImageReader
62 * because the consumer has already acquired {@maxImages} and cannot
70 * <p>The {@code maxImages} parameter determines the maximum number of {@link Image}
87 * @param maxImages
90 * memory use. Once maxImages Images are obtained by the user, one of them
97 public static ImageReader newInstance(int width, int height, int format, int maxImages) { argument
98 return new ImageReader(width, height, format, maxImages);
104 protected ImageReader(int width, int height, int format, int maxImages) { argument
108 mMaxImages = maxImages;
126 nativeInit(new WeakReference<ImageReader>(this), width, height, format, maxImages);
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp76 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages);
116 jobject weakThiz, jclass clazz, int maxImages) :
119 for (int i = 0; i < maxImages; i++) {
606 jint width, jint height, jint format, jint maxImages)
611 ALOGV("%s: width:%d, height: %d, format: 0x%x, maxImages:%d",
612 __FUNCTION__, width, height, format, maxImages);
617 sp<CpuConsumer> consumer = new CpuConsumer(bq, maxImages,
630 sp<JNIImageReaderContext> ctx(new JNIImageReaderContext(env, weakThiz, clazz, maxImages));
705 " maxImages buffers");
115 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages) argument
605 ImageReader_init(JNIEnv* env, jobject thiz, jobject weakThiz, jint width, jint height, jint format, jint maxImages) argument

Completed in 163 milliseconds