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

/frameworks/base/media/java/android/media/
H A DImageReader.java44 * {@code maxImages} constructor parameter. New images sent to an ImageReader
64 * because the consumer has already acquired {@maxImages} and cannot
72 * <p>The {@code maxImages} parameter determines the maximum number of {@link Image}
89 * @param maxImages
92 * memory use. Once maxImages Images are obtained by the user, one of them
99 public static ImageReader newInstance(int width, int height, int format, int maxImages) { argument
100 return new ImageReader(width, height, format, maxImages);
106 protected ImageReader(int width, int height, int format, int maxImages) { argument
110 mMaxImages = maxImages;
128 nativeInit(new WeakReference<ImageReader>(this), width, height, format, maxImages);
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp79 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages);
119 jobject weakThiz, jclass clazz, int maxImages) :
122 for (int i = 0; i < maxImages; i++) {
682 jint width, jint height, jint format, jint maxImages)
687 ALOGV("%s: width:%d, height: %d, format: 0x%x, maxImages:%d",
688 __FUNCTION__, width, height, format, maxImages);
695 sp<CpuConsumer> consumer = new CpuConsumer(gbConsumer, maxImages,
708 sp<JNIImageReaderContext> ctx(new JNIImageReaderContext(env, weakThiz, clazz, maxImages));
783 " maxImages buffers");
118 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages) argument
681 ImageReader_init(JNIEnv* env, jobject thiz, jobject weakThiz, jint width, jint height, jint format, jint maxImages) argument

Completed in 3341 milliseconds