/frameworks/base/media/java/android/media/ |
D | ImageWriter.java | 127 public static ImageWriter newInstance(Surface surface, int maxImages) { in newInstance() argument 128 return new ImageWriter(surface, maxImages, ImageFormat.UNKNOWN); in newInstance() 173 public static ImageWriter newInstance(Surface surface, int maxImages, int format) { in newInstance() argument 177 return new ImageWriter(surface, maxImages, format); in newInstance() 183 protected ImageWriter(Surface surface, int maxImages, int format) { in ImageWriter() argument 184 if (surface == null || maxImages < 1) { in ImageWriter() 186 + ", maxImages: " + maxImages); in ImageWriter() 189 mMaxImages = maxImages; in ImageWriter() 196 mNativeContext = nativeInit(new WeakReference<>(this), surface, maxImages, format); in ImageWriter()
|
D | ImageReader.java | 131 public static ImageReader newInstance(int width, int height, int format, int maxImages) { in newInstance() argument 132 return new ImageReader(width, height, format, maxImages, BUFFER_USAGE_UNKNOWN); in newInstance() 217 public static ImageReader newInstance(int width, int height, int format, int maxImages, in newInstance() argument 223 return new ImageReader(width, height, format, maxImages, usage); in newInstance() 229 protected ImageReader(int width, int height, int format, int maxImages, long usage) { in ImageReader() argument 233 mMaxImages = maxImages; in ImageReader() 251 nativeInit(new WeakReference<>(this), width, height, format, maxImages, usage); in ImageReader()
|
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/ |
D | HeifWriter.java | 232 public Builder setMaxImages(int maxImages) { in setMaxImages() argument 233 if (maxImages <= 0) { in setMaxImages() 234 throw new IllegalArgumentException("Invalid maxImage: " + maxImages); in setMaxImages() 236 mMaxImages = maxImages; in setMaxImages() 289 int maxImages, in HeifWriter() argument 293 if (primaryIndex >= maxImages) { in HeifWriter() 295 "Invalid maxImages (" + maxImages + ") or primaryIndex (" + primaryIndex + ")"); in HeifWriter() 304 + ", maxImages: " + maxImages in HeifWriter() 317 mMaxImages = maxImages; in HeifWriter()
|
/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 251 int32_t maxImages) in AImageReader() argument 256 mMaxImages(maxImages), in AImageReader() 590 int32_t width, int32_t height, int32_t format, int32_t maxImages, in AImageReader_new() argument 594 width, height, format, AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN, maxImages, reader); in AImageReader_new() 600 int32_t maxImages, /*out*/ AImageReader** reader) { in AImageReader_newWithUsage() argument 609 if (maxImages < 1) { in AImageReader_newWithUsage() 611 __FUNCTION__, maxImages); in AImageReader_newWithUsage() 615 if (maxImages > BufferQueueDefs::NUM_BUFFER_SLOTS) { in AImageReader_newWithUsage() 617 __FUNCTION__, maxImages, BufferQueueDefs::NUM_BUFFER_SLOTS); in AImageReader_newWithUsage() 633 width, height, format, usage, maxImages); in AImageReader_newWithUsage() [all …]
|
D | NdkImageReaderPriv.h | 59 int32_t maxImages);
|
/frameworks/av/media/ndk/include/media/ |
D | NdkImageReader.h | 90 int32_t width, int32_t height, int32_t format, int32_t maxImages, 175 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages); 367 int32_t width, int32_t height, int32_t format, uint64_t usage, int32_t maxImages,
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 92 JNIImageReaderContext(JNIEnv* env, jobject weakThiz, jclass clazz, int maxImages); 136 jobject weakThiz, jclass clazz, int maxImages) : in JNIImageReaderContext() argument 143 for (int i = 0; i < maxImages; i++) { in JNIImageReaderContext() 353 jint format, jint maxImages, jlong ndkUsage) in ImageReader_init() argument 360 __FUNCTION__, width, height, format, maxImages); in ImageReader_init() 373 sp<JNIImageReaderContext> ctx(new JNIImageReaderContext(env, weakThiz, clazz, maxImages)); in ImageReader_init() 380 width, height, format, maxImages, getpid(), in ImageReader_init() 400 bufferConsumer = new BufferItemConsumer(gbConsumer, consumerUsage, maxImages, in ImageReader_init()
|
D | android_media_ImageWriter.cpp | 227 jint maxImages, jint userFormat) { in ImageWriter_init() argument 230 ALOGV("%s: maxImages:%d", __FUNCTION__, maxImages); in ImageWriter_init() 318 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()
|