Searched defs:maxImages (Results 1 - 7 of 7) sorted by last modified time

/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp82 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...]
H A Dandroid_media_ImageWriter.cpp225 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
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java189 * @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
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2ReprocessCaptureTest.java459 /*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/java/android/media/
H A DImageReader.java49 * {@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 DImageWriter.java56 * {@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/av/media/ndk/
H A DNdkImageReader.cpp143 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...]

Completed in 164 milliseconds