/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 143 AImageReader::AImageReader(int32_t width, int32_t height, int32_t format, int32_t maxImages) : in AImageReader() argument 144 mWidth(width), mHeight(height), mFormat(format), mMaxImages(maxImages), in AImageReader() 440 int32_t width, int32_t height, int32_t format, int32_t maxImages, in AImageReader_new() argument 450 if (maxImages < 1) { in AImageReader_new() 452 __FUNCTION__, maxImages); in AImageReader_new() 468 AImageReader* tmpReader = new AImageReader(width, height, format, maxImages); in AImageReader_new() 542 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) { in AImageReader_getMaxImages() argument 544 if (reader == nullptr || maxImages == nullptr) { in AImageReader_getMaxImages() 546 __FUNCTION__, reader, maxImages); in AImageReader_getMaxImages() 549 *maxImages = reader->getMaxImages(); in AImageReader_getMaxImages()
|
D | NdkImageReaderPriv.h | 55 AImageReader(int32_t width, int32_t height, int32_t format, int32_t maxImages);
|
/frameworks/base/media/java/android/media/ |
D | ImageWriter.java | 120 public static ImageWriter newInstance(Surface surface, int maxImages) { in newInstance() argument 121 return new ImageWriter(surface, maxImages); in newInstance() 127 protected ImageWriter(Surface surface, int maxImages) { in ImageWriter() argument 128 if (surface == null || maxImages < 1) { in ImageWriter() 130 + ", maxImages: " + maxImages); in ImageWriter() 133 mMaxImages = maxImages; in ImageWriter() 136 mNativeContext = nativeInit(new WeakReference<ImageWriter>(this), surface, maxImages); in ImageWriter()
|
D | ImageReader.java | 123 public static ImageReader newInstance(int width, int height, int format, int maxImages) { in newInstance() argument 124 return new ImageReader(width, height, format, maxImages); in newInstance() 130 protected ImageReader(int width, int height, int format, int maxImages) { in ImageReader() argument 134 mMaxImages = maxImages; in ImageReader() 152 nativeInit(new WeakReference<ImageReader>(this), width, height, format, maxImages); in ImageReader()
|
/frameworks/av/include/ndk/ |
D | NdkImageReader.h | 86 int32_t width, int32_t height, int32_t format, int32_t maxImages, 171 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages);
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 82 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages); 126 jobject weakThiz, jclass clazz, int maxImages) : in JNIImageReaderContext() argument 133 for (int i = 0; i < maxImages; i++) { in JNIImageReaderContext() 330 jint width, jint height, jint format, jint maxImages) in ImageReader_init() argument 337 __FUNCTION__, width, height, format, maxImages); in ImageReader_init() 350 sp<JNIImageReaderContext> ctx(new JNIImageReaderContext(env, weakThiz, clazz, maxImages)); in ImageReader_init() 357 width, height, format, maxImages, getpid(), in ImageReader_init() 366 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()
|
D | android_media_ImageWriter.cpp | 225 jint maxImages) { in ImageWriter_init() argument 228 ALOGV("%s: maxImages:%d", __FUNCTION__, maxImages); in ImageWriter_init() 303 size_t totalBufferCount = maxImages + minUndequeuedBufferCount; in ImageWriter_init()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2ReprocessCaptureTest.java | 820 int reprocessOutputFormat, int maxImages) { in setupImageReaders() argument 827 maxImages *= 2; in setupImageReaders() 832 mFirstImageReader = makeImageReader(inputSize, inputFormat, maxImages, in setupImageReaders() 839 maxImages, mSecondImageReaderListener, mHandler); in setupImageReaders()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 195 Surface inputSurface, int maxImages, in makeImageWriter() argument 197 ImageWriter writer = ImageWriter.newInstance(inputSurface, maxImages); in makeImageWriter() 306 public SimpleImageReaderListener(boolean asyncMode, int maxImages) { in SimpleImageReaderListener() argument 308 mMaxImages = maxImages; in SimpleImageReaderListener()
|