Searched refs:maxImages (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | ImageWriter.java | 114 public static ImageWriter newInstance(Surface surface, int maxImages) { in newInstance() argument 115 return new ImageWriter(surface, maxImages); in newInstance() 121 protected ImageWriter(Surface surface, int maxImages) { in ImageWriter() argument 122 if (surface == null || maxImages < 1) { in ImageWriter() 124 + ", maxImages: " + maxImages); in ImageWriter() 127 mMaxImages = maxImages; in ImageWriter() 130 mNativeContext = nativeInit(new WeakReference<ImageWriter>(this), surface, maxImages); in ImageWriter()
|
D | ImageReader.java | 121 public static ImageReader newInstance(int width, int height, int format, int maxImages) { in newInstance() argument 122 return new ImageReader(width, height, format, maxImages); in newInstance() 128 protected ImageReader(int width, int height, int format, int maxImages) { in ImageReader() argument 132 mMaxImages = maxImages; in ImageReader() 150 nativeInit(new WeakReference<ImageReader>(this), width, height, format, maxImages); in ImageReader() 158 maxImages); in ImageReader()
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 86 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages); 139 jobject weakThiz, jclass clazz, int maxImages) : in JNIImageReaderContext() argument 142 for (int i = 0; i < maxImages; i++) { in JNIImageReaderContext() 789 jint width, jint height, jint format, jint maxImages) in ImageReader_init() argument 796 __FUNCTION__, width, height, format, maxImages); in ImageReader_init() 809 sp<JNIImageReaderContext> ctx(new JNIImageReaderContext(env, weakThiz, clazz, maxImages)); in ImageReader_init() 818 width, height, format, maxImages, getpid(), in ImageReader_init() 824 new BufferItemConsumer(gbConsumer, GRALLOC_USAGE_SW_READ_NEVER, maxImages, in ImageReader_init() 834 cpuConsumer = new CpuConsumer(gbConsumer, maxImages, /*controlledByApp*/true); in ImageReader_init()
|
D | android_media_ImageWriter.cpp | 235 jint maxImages) { in ImageWriter_init() argument 238 ALOGV("%s: maxImages:%d", __FUNCTION__, maxImages); in ImageWriter_init() 313 size_t totalBufferCount = maxImages + minUndequeuedBufferCount; in ImageWriter_init()
|