/frameworks/av/media/ndk/ |
H A D | NdkImageReader.cpp | 143 AImageReader::AImageReader(int32_t width, int32_t height, int32_t format, int32_t maxImages) : argument 144 mWidth(width), mHeight(height), mFormat(format), mMaxImages(maxImages), 258 " maxImages buffers"); 440 int32_t width, int32_t height, int32_t format, int32_t maxImages, 450 if (maxImages < 1) { 452 __FUNCTION__, maxImages); 467 //*reader = new AImageReader(width, height, format, maxImages); 468 AImageReader* tmpReader = new AImageReader(width, height, format, maxImages); 542 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) { argument 544 if (reader == nullptr || maxImages 439 AImageReader_new( int32_t width, int32_t height, int32_t format, int32_t maxImages, AImageReader** reader) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ImageReader.java | 49 * {@code maxImages} constructor parameter. New images sent to an ImageReader 69 * because the consumer has already acquired {@maxImages} and cannot 79 * The {@code maxImages} parameter determines the maximum number of 114 * @param maxImages The maximum number of images the user will want to 116 * limit memory use. Once maxImages Images are obtained by the 123 public static ImageReader newInstance(int width, int height, int format, int maxImages) { argument 124 return new ImageReader(width, height, format, maxImages); 130 protected ImageReader(int width, int height, int format, int maxImages) { argument 134 mMaxImages = maxImages; 152 nativeInit(new WeakReference<ImageReader>(this), width, height, format, maxImages); [all...] |
H A D | ImageWriter.java | 56 * {@code maxImages} constructor parameter. 100 * The {@code maxImages} parameter determines the maximum number of 112 * @param maxImages The maximum number of Images the user will want to 114 * as small as possible to limit memory use. Once maxImages 120 public static ImageWriter newInstance(Surface surface, int maxImages) { argument 121 return new ImageWriter(surface, maxImages); 127 protected ImageWriter(Surface surface, int maxImages) { argument 128 if (surface == null || maxImages < 1) { 130 + ", maxImages: " + maxImages); [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 225 jint maxImages) { 228 ALOGV("%s: maxImages:%d", __FUNCTION__, maxImages); 303 size_t totalBufferCount = maxImages + minUndequeuedBufferCount; 224 ImageWriter_init(JNIEnv* env, jobject thiz, jobject weakThiz, jobject jsurface, jint maxImages) argument
|
H A D | android_media_ImageReader.cpp | 82 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages); 126 jobject weakThiz, jclass clazz, int maxImages) : 133 for (int i = 0; i < maxImages; i++) { 330 jint width, jint height, jint format, jint maxImages) 336 ALOGV("%s: width:%d, height: %d, format: 0x%x, maxImages:%d", 337 __FUNCTION__, width, height, format, maxImages); 350 sp<JNIImageReaderContext> ctx(new JNIImageReaderContext(env, weakThiz, clazz, maxImages)); 357 width, height, format, maxImages, getpid(), 366 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, 493 " maxImages buffer 125 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages) argument 329 ImageReader_init(JNIEnv* env, jobject thiz, jobject weakThiz, jint width, jint height, jint format, jint maxImages) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2ReprocessCaptureTest.java | 459 /*maxImages*/1); 820 int reprocessOutputFormat, int maxImages) { 827 maxImages *= 2; 832 mFirstImageReader = makeImageReader(inputSize, inputFormat, maxImages, 839 maxImages, mSecondImageReaderListener, mHandler); 819 setupImageReaders(Size inputSize, int inputFormat, Size reprocessOutputSize, int reprocessOutputFormat, int maxImages) argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestUtils.java | 189 * @param maxImages The max number of Images that can be dequeued simultaneously. 195 Surface inputSurface, int maxImages, 197 ImageWriter writer = ImageWriter.newInstance(inputSurface, maxImages); 274 // when the queued images reaches the reader maxImages 276 // maxImages held by the queue in async mode. 294 * reach to maxImages queued. If the caller doesn't call getImage(), the 300 * @param maxImages The max number of images held by this listener. 306 public SimpleImageReaderListener(boolean asyncMode, int maxImages) { argument 308 mMaxImages = maxImages; 194 makeImageWriter( Surface inputSurface, int maxImages, ImageWriter.OnImageReleasedListener listener, Handler handler) argument
|